diff --git a/.gitignore b/.gitignore index 0da665fe..d2e4ca80 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ -dist/ .mypy_cache/ +.ruff_cache/ __pycache__/ +dist/ poetry.toml -.ruff_cache/ diff --git a/.mock/definition/accounting/__package__.yml b/.mock/definition/accounting/__package__.yml new file mode 100644 index 00000000..8b5d4d04 --- /dev/null +++ b/.mock/definition/accounting/__package__.yml @@ -0,0 +1,55865 @@ +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 + 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 + 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> + 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> + 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 + 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 + 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 + 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 + 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 + 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_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 new file mode 100644 index 00000000..a9e9606f --- /dev/null +++ b/.mock/definition/accounting/accountDetails.yml @@ -0,0 +1,36 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + retrieve: + path: /accounting/v1/account-details + method: GET + auth: true + docs: Get details for a linked account. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.AccountDetails + status-code: 200 + examples: + - headers: {} + 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 new file mode 100644 index 00000000..e5fa0475 --- /dev/null +++ b/.mock/definition/accounting/accountToken.yml @@ -0,0 +1,44 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + retrieve: + path: /accounting/v1/account-token/{public_token} + method: GET + auth: true + 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 + 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 new file mode 100644 index 00000000..d6fc7c6b --- /dev/null +++ b/.mock/definition/accounting/accountingPeriods.yml @@ -0,0 +1,119 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /accounting/v1/accounting-periods + method: GET + auth: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..c6746098 --- /dev/null +++ b/.mock/definition/accounting/accounts.yml @@ -0,0 +1,496 @@ +types: + 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 + 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: true + 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: + - headers: {} + 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: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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: true + docs: Returns metadata for `Account` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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 new file mode 100644 index 00000000..989f0df1 --- /dev/null +++ b/.mock/definition/accounting/addresses.yml @@ -0,0 +1,61 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + retrieve: + path: /accounting/v1/addresses/{id} + method: GET + auth: true + 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 + headers: {} + 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: + key: value + 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 new file mode 100644 index 00000000..da15bafd --- /dev/null +++ b/.mock/definition/accounting/asyncPassthrough.yml @@ -0,0 +1,70 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + create: + path: /accounting/v1/async-passthrough + method: POST + auth: true + 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: {} + 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: true + 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: {} + response: + body: + method: GET + path: /scooters + status: 200 + response: + key: value + 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 new file mode 100644 index 00000000..6365c3ab --- /dev/null +++ b/.mock/definition/accounting/asyncTasks.yml @@ -0,0 +1,81 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + retrieve: + path: /accounting/v1/async-tasks/{id} + method: GET + auth: true + 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: {} + 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 new file mode 100644 index 00000000..cae3762b --- /dev/null +++ b/.mock/definition/accounting/attachments.yml @@ -0,0 +1,402 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /accounting/v1/attachments + method: GET + auth: true + 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: + - headers: {} + 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: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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: true + docs: Returns metadata for `AccountingAttachment` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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 new file mode 100644 index 00000000..6e1b8672 --- /dev/null +++ b/.mock/definition/accounting/auditTrail.yml @@ -0,0 +1,94 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /accounting/v1/audit-trail + method: GET + auth: true + 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: + - 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 new file mode 100644 index 00000000..35fca3fa --- /dev/null +++ b/.mock/definition/accounting/availableActions.yml @@ -0,0 +1,50 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + retrieve: + path: /accounting/v1/available-actions + method: GET + auth: true + 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: {} + 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 new file mode 100644 index 00000000..dde810e4 --- /dev/null +++ b/.mock/definition/accounting/balanceSheets.yml @@ -0,0 +1,241 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /accounting/v1/balance-sheets + method: GET + auth: true + 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: + - headers: {} + 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 + 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 + 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 + 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 + retrieve: + path: /accounting/v1/balance-sheets/{id} + method: GET + auth: true + 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 + headers: {} + 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: + key: value + source: + openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/bankFeedAccounts.yml b/.mock/definition/accounting/bankFeedAccounts.yml new file mode 100644 index 00000000..2e64d197 --- /dev/null +++ b/.mock/definition/accounting/bankFeedAccounts.yml @@ -0,0 +1,386 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /accounting/v1/bank-feed-accounts + method: GET + auth: true + 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: + - headers: {} + 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 + create: + path: /accounting/v1/bank-feed-accounts + method: POST + auth: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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: true + docs: Returns metadata for `BankFeedAccount` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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 new file mode 100644 index 00000000..682615d0 --- /dev/null +++ b/.mock/definition/accounting/bankFeedTransactions.yml @@ -0,0 +1,403 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /accounting/v1/bank-feed-transactions + method: GET + auth: true + 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: + - headers: {} + 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: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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: true + docs: Returns metadata for `BankFeedTransaction` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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 new file mode 100644 index 00000000..179afb9c --- /dev/null +++ b/.mock/definition/accounting/cashFlowStatements.yml @@ -0,0 +1,241 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /accounting/v1/cash-flow-statements + method: GET + auth: true + 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: + - headers: {} + 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 + 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 + financing_activities: + - remote_id: '192406939' + created_at: '2021-11-15T00:00:00Z' + modified_at: '2021-11-15T00:00:00Z' + sub_items: + - remote_id: '10300' + name: Revenue - San Francisco + value: 500 + - remote_id: '10301' + name: Revenue - New York + value: 500 + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..488a4308 --- /dev/null +++ b/.mock/definition/accounting/companyInfo.yml @@ -0,0 +1,205 @@ +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: true + 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: + - headers: {} + 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' + 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: US + zip_code: '10027' + phone_numbers: + - created_at: '2021-09-15T00:00:00Z' + modified_at: '2021-10-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: /actions + data: + - Varies by platform + retrieve: + path: /accounting/v1/company-info/{id} + method: GET + auth: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..ba75cfb4 --- /dev/null +++ b/.mock/definition/accounting/contacts.yml @@ -0,0 +1,602 @@ +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 + 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: true + 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: + - headers: {} + 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 + create: + path: /accounting/v1/contacts + method: POST + auth: true + 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: + - headers: {} + 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 + 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: true + 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 + headers: {} + 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: + key: value + metaPostRetrieve: + path: /accounting/v1/contacts/meta/post + method: GET + auth: true + docs: Returns metadata for `Contact` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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: true + 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: + - headers: {} + 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_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 new file mode 100644 index 00000000..edd13752 --- /dev/null +++ b/.mock/definition/accounting/creditNotes.yml @@ -0,0 +1,1145 @@ +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: true + 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: + - headers: {} + 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: + - 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: true + 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: + - headers: {} + 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: + - 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: true + 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 + headers: {} + 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_category: tracking_category + 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: true + docs: Returns metadata for `CreditNote` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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 new file mode 100644 index 00000000..402b4e72 --- /dev/null +++ b/.mock/definition/accounting/deleteAccount.yml @@ -0,0 +1,15 @@ +service: + auth: false + base-path: '' + endpoints: + delete: + path: /accounting/v1/delete-account + method: POST + auth: true + docs: Delete a linked account. + source: + openapi: openapi/openapi.yml + examples: + - headers: {} + source: + openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/employees.yml b/.mock/definition/accounting/employees.yml new file mode 100644 index 00000000..3ccf25f6 --- /dev/null +++ b/.mock/definition/accounting/employees.yml @@ -0,0 +1,137 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /accounting/v1/employees + method: GET + auth: true + docs: Returns a list of `Employee` objects. + source: + openapi: openapi/openapi.yml + request: + name: EmployeesListRequest + 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.PaginatedEmployeeList + status-code: 200 + examples: + - headers: {} + 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: true + 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 + headers: {} + 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/expenses.yml b/.mock/definition/accounting/expenses.yml new file mode 100644 index 00000000..98c48edf --- /dev/null +++ b/.mock/definition/accounting/expenses.yml @@ -0,0 +1,964 @@ +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: true + 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: + - headers: {} + 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 + account: 2a56344a-a491-11ec-b909-0242ac120002 + description: Desk Lamp + 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 + create: + path: /accounting/v1/expenses + method: POST + auth: true + 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: + - headers: {} + 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 + account: 2a56344a-a491-11ec-b909-0242ac120002 + description: Desk Lamp + 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 + 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: true + 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 + headers: {} + 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_category: tracking_category + 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_category: tracking_category + 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: + key: value + linesRemoteFieldClassesList: + path: /accounting/v1/expenses/lines/remote-field-classes + method: GET + auth: true + 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: + - headers: {} + 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_required: true + field_type: string + field_format: string + field_choices: + - field_choices + metaPostRetrieve: + path: /accounting/v1/expenses/meta/post + method: GET + auth: true + docs: Returns metadata for `Expense` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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: true + 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: + - headers: {} + 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_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 new file mode 100644 index 00000000..7f106183 --- /dev/null +++ b/.mock/definition/accounting/fieldMapping.yml @@ -0,0 +1,1198 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + field_mappings_retrieve: + path: /accounting/v1/field-mappings + method: GET + auth: true + 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: + - headers: {} + 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 + 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: true + 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: + - headers: {} + 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: true + 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: {} + 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: true + 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: {} + 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: true + 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: + - headers: {} + 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: true + 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: {} + 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 + 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 new file mode 100644 index 00000000..8e7e969a --- /dev/null +++ b/.mock/definition/accounting/forceResync.yml @@ -0,0 +1,37 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + sync_status_resync_create: + path: /accounting/v1/sync-status/resync + method: POST + auth: true + 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: {} + 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 new file mode 100644 index 00000000..38fe7292 --- /dev/null +++ b/.mock/definition/accounting/generalLedgerTransactions.yml @@ -0,0 +1,289 @@ +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: true + 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: + - headers: {} + 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 + 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 + retrieve: + path: /accounting/v1/general-ledger-transactions/{id} + method: GET + auth: true + 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 + headers: {} + 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: + key: value + source: + openapi: openapi/openapi.yml diff --git a/.mock/definition/accounting/generateKey.yml b/.mock/definition/accounting/generateKey.yml new file mode 100644 index 00000000..4d79b8ce --- /dev/null +++ b/.mock/definition/accounting/generateKey.yml @@ -0,0 +1,36 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + create: + path: /accounting/v1/generate-key + method: POST + auth: true + 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: + - 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 new file mode 100644 index 00000000..92f62e77 --- /dev/null +++ b/.mock/definition/accounting/incomeStatements.yml @@ -0,0 +1,269 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /accounting/v1/income-statements + method: GET + auth: true + 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: + - headers: {} + 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 + 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 + 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 + 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 + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..a3d88012 --- /dev/null +++ b/.mock/definition/accounting/invoices.yml @@ -0,0 +1,28100 @@ +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: true + 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: + - headers: {} + 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 + applied_credit_notes: + - 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: + - 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 + create: + path: /accounting/v1/invoices + method: POST + auth: true + 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: + - headers: {} + 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 + applied_credit_notes: + - 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: + - 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 + 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: true + 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 + headers: {} + 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_category: tracking_category + 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 + 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: + key: value + partialUpdate: + path: /accounting/v1/invoices/{id} + method: PATCH + auth: true + 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 + headers: {} + 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 + applied_credit_notes: + - 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: + - 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 + 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: true + 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: + - headers: {} + 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_required: true + field_type: string + field_format: string + field_choices: + - field_choices + metaPatchRetrieve: + path: /accounting/v1/invoices/meta/patch/{id} + method: GET + auth: true + 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: {} + 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: true + docs: Returns metadata for `Invoice` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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: true + 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: + - headers: {} + 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_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 new file mode 100644 index 00000000..58c4f3b1 --- /dev/null +++ b/.mock/definition/accounting/issues.yml @@ -0,0 +1,129 @@ +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: true + 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: + - 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: true + 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 + 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 new file mode 100644 index 00000000..7ee5dea7 --- /dev/null +++ b/.mock/definition/accounting/items.yml @@ -0,0 +1,842 @@ +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: true + 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: + - headers: {} + 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 + 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: true + 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: + - headers: {} + 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 + 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: true + 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 + headers: {} + 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 + 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: true + 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 + headers: {} + 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 + 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: true + 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: {} + 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: true + docs: Returns metadata for `Item` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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 new file mode 100644 index 00000000..feb7bad3 --- /dev/null +++ b/.mock/definition/accounting/journalEntries.yml @@ -0,0 +1,959 @@ +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: true + 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: + - headers: {} + 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 + 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 + create: + path: /accounting/v1/journal-entries + method: POST + auth: true + 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: + - headers: {} + 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 + 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 + 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: true + 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 + headers: {} + 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_category: tracking_category + 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 + - 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_category: tracking_category + 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 + 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: + key: value + linesRemoteFieldClassesList: + path: /accounting/v1/journal-entries/lines/remote-field-classes + method: GET + auth: true + 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: + - headers: {} + 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_required: true + field_type: string + field_format: string + field_choices: + - field_choices + metaPostRetrieve: + path: /accounting/v1/journal-entries/meta/post + method: GET + auth: true + docs: Returns metadata for `JournalEntry` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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: true + 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: + - headers: {} + 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_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 new file mode 100644 index 00000000..5a2f0a6f --- /dev/null +++ b/.mock/definition/accounting/linkToken.yml @@ -0,0 +1,152 @@ +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: true + 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: + - 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 new file mode 100644 index 00000000..aa8806e8 --- /dev/null +++ b/.mock/definition/accounting/linkedAccounts.yml @@ -0,0 +1,150 @@ +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: true + 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: + - 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 new file mode 100644 index 00000000..25ab767c --- /dev/null +++ b/.mock/definition/accounting/passthrough.yml @@ -0,0 +1,40 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + create: + path: /accounting/v1/passthrough + method: POST + auth: true + 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: {} + request: + method: GET + path: /scooters + response: + body: + method: GET + path: /scooters + status: 200 + response: + key: value + 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 new file mode 100644 index 00000000..c53c952c --- /dev/null +++ b/.mock/definition/accounting/paymentMethods.yml @@ -0,0 +1,119 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /accounting/v1/payment-methods + method: GET + auth: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..688ed9c3 --- /dev/null +++ b/.mock/definition/accounting/paymentTerms.yml @@ -0,0 +1,133 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /accounting/v1/payment-terms + method: GET + auth: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..26c0f1b9 --- /dev/null +++ b/.mock/definition/accounting/payments.yml @@ -0,0 +1,1482 @@ +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: true + 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: + - headers: {} + 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: applied_amount + 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: applied_amount + 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 + create: + path: /accounting/v1/payments + method: POST + auth: true + 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: + - headers: {} + 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: applied_amount + 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: applied_amount + 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 + 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: true + 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 + headers: {} + 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: applied_amount + 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: applied_amount + 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: + key: value + partialUpdate: + path: /accounting/v1/payments/{id} + method: PATCH + auth: true + 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 + headers: {} + 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: applied_amount + 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: applied_amount + 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 + 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: true + 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: + - headers: {} + 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_required: true + field_type: string + field_format: string + field_choices: + - field_choices + metaPatchRetrieve: + path: /accounting/v1/payments/meta/patch/{id} + method: GET + auth: true + 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: {} + 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: true + docs: Returns metadata for `Payment` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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: true + 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: + - headers: {} + 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_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 new file mode 100644 index 00000000..b6732385 --- /dev/null +++ b/.mock/definition/accounting/phoneNumbers.yml @@ -0,0 +1,44 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + retrieve: + path: /accounting/v1/phone-numbers/{id} + method: GET + auth: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..097c0ff2 --- /dev/null +++ b/.mock/definition/accounting/projects.yml @@ -0,0 +1,146 @@ +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: true + docs: Returns a list of `Project` objects. + source: + openapi: openapi/openapi.yml + request: + name: ProjectsListRequest + 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.PaginatedProjectList + status-code: 200 + examples: + - headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..e0157639 --- /dev/null +++ b/.mock/definition/accounting/purchaseOrders.yml @@ -0,0 +1,1289 @@ +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: true + 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: + - headers: {} + 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 + 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 + 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 + create: + path: /accounting/v1/purchase-orders + method: POST + auth: true + 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: + - headers: {} + 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 + 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 + 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 + 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: true + 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 + headers: {} + 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_category: tracking_category + 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 + - 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_category: tracking_category + 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 + 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: + key: value + lineItemsRemoteFieldClassesList: + path: /accounting/v1/purchase-orders/line-items/remote-field-classes + method: GET + auth: true + 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: + - headers: {} + 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_required: true + field_type: string + field_format: string + field_choices: + - field_choices + metaPostRetrieve: + path: /accounting/v1/purchase-orders/meta/post + method: GET + auth: true + docs: Returns metadata for `PurchaseOrder` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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: true + 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: + - headers: {} + 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_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 new file mode 100644 index 00000000..39fe26f9 --- /dev/null +++ b/.mock/definition/accounting/regenerateKey.yml @@ -0,0 +1,36 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + create: + path: /accounting/v1/regenerate-key + method: POST + auth: true + 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: + - 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 new file mode 100644 index 00000000..ab81c591 --- /dev/null +++ b/.mock/definition/accounting/scopes.yml @@ -0,0 +1,160 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + default_scopes_retrieve: + path: /accounting/v1/default-scopes + method: GET + auth: true + 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: + - 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: true + 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: {} + 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: true + 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: {} + 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 new file mode 100644 index 00000000..38dcf2ce --- /dev/null +++ b/.mock/definition/accounting/syncStatus.yml @@ -0,0 +1,55 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /accounting/v1/sync-status + method: GET + auth: true + 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: + - headers: {} + 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 new file mode 100644 index 00000000..3ff15195 --- /dev/null +++ b/.mock/definition/accounting/taxRates.yml @@ -0,0 +1,185 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /accounting/v1/tax-rates + method: GET + auth: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..2e3f062f --- /dev/null +++ b/.mock/definition/accounting/trackingCategories.yml @@ -0,0 +1,182 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /accounting/v1/tracking-categories + method: GET + auth: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..94a999db --- /dev/null +++ b/.mock/definition/accounting/transactions.yml @@ -0,0 +1,385 @@ +types: + TransactionsListRequestExpand: + enum: + - account + - value: account,accounting_period + name: AccountAccountingPeriod + - accounting_period + - contact + - value: contact,account + name: ContactAccount + - value: contact,account,accounting_period + name: ContactAccountAccountingPeriod + - value: contact,accounting_period + name: ContactAccountingPeriod + - line_items + - value: line_items,account + name: LineItemsAccount + - value: line_items,account,accounting_period + name: LineItemsAccountAccountingPeriod + - value: line_items,accounting_period + name: LineItemsAccountingPeriod + - 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,accounting_period + name: LineItemsContactAccountingPeriod + - 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,accounting_period + name: LineItemsTrackingCategoriesAccountingPeriod + - 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,accounting_period + name: LineItemsTrackingCategoriesContactAccountingPeriod + - tracking_categories + - value: tracking_categories,account + name: TrackingCategoriesAccount + - value: tracking_categories,account,accounting_period + name: TrackingCategoriesAccountAccountingPeriod + - value: tracking_categories,accounting_period + name: TrackingCategoriesAccountingPeriod + - 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,accounting_period + name: TrackingCategoriesContactAccountingPeriod + source: + openapi: openapi/openapi.yml + TransactionsRetrieveRequestExpand: + enum: + - account + - value: account,accounting_period + name: AccountAccountingPeriod + - accounting_period + - contact + - value: contact,account + name: ContactAccount + - value: contact,account,accounting_period + name: ContactAccountAccountingPeriod + - value: contact,accounting_period + name: ContactAccountingPeriod + - line_items + - value: line_items,account + name: LineItemsAccount + - value: line_items,account,accounting_period + name: LineItemsAccountAccountingPeriod + - value: line_items,accounting_period + name: LineItemsAccountingPeriod + - 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,accounting_period + name: LineItemsContactAccountingPeriod + - 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,accounting_period + name: LineItemsTrackingCategoriesAccountingPeriod + - 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,accounting_period + name: LineItemsTrackingCategoriesContactAccountingPeriod + - tracking_categories + - value: tracking_categories,account + name: TrackingCategoriesAccount + - value: tracking_categories,account,accounting_period + name: TrackingCategoriesAccountAccountingPeriod + - value: tracking_categories,accounting_period + name: TrackingCategoriesAccountingPeriod + - 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,accounting_period + name: TrackingCategoriesContactAccountingPeriod + source: + openapi: openapi/openapi.yml +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /accounting/v1/transactions + method: GET + auth: true + 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: + - headers: {} + 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 + 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 + 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: true + 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 + headers: {} + 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_category: tracking_category + 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_category: tracking_category + 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 new file mode 100644 index 00000000..39b41415 --- /dev/null +++ b/.mock/definition/accounting/vendorCredits.yml @@ -0,0 +1,683 @@ +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: true + 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: + - headers: {} + 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 + tracking_categories: + - b38c59b0-a9d7-4740-b1ee-5436c6751e3d + - 9b840d2-686a-465a-8a8e-7b028498f8e4 + - a47e11b6-c73b-4a0c-be31-130fc48177fa + applied_to_lines: + - 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: true + 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: + - headers: {} + 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 + tracking_categories: + - b38c59b0-a9d7-4740-b1ee-5436c6751e3d + - 9b840d2-686a-465a-8a8e-7b028498f8e4 + - a47e11b6-c73b-4a0c-be31-130fc48177fa + applied_to_lines: + - 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: true + 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 + headers: {} + 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_category: tracking_category + 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_category: tracking_category + 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: true + docs: Returns metadata for `VendorCredit` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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 new file mode 100644 index 00000000..0c90c826 --- /dev/null +++ b/.mock/definition/accounting/webhookReceivers.yml @@ -0,0 +1,61 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /accounting/v1/webhook-receivers + method: GET + auth: true + docs: Returns a list of `WebhookReceiver` objects. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: list + status-code: 200 + examples: + - headers: {} + response: + body: + - event: event + is_active: true + key: key + create: + path: /accounting/v1/webhook-receivers + method: POST + auth: true + 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: {} + 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 new file mode 100644 index 00000000..6e83d157 --- /dev/null +++ b/.mock/definition/api.yml @@ -0,0 +1,20 @@ +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 new file mode 100644 index 00000000..8f3c7857 --- /dev/null +++ b/.mock/definition/ats/__package__.yml @@ -0,0 +1,4730 @@ +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 + - 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 + 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 new file mode 100644 index 00000000..fe37fa60 --- /dev/null +++ b/.mock/definition/ats/accountDetails.yml @@ -0,0 +1,36 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + retrieve: + path: /ats/v1/account-details + method: GET + auth: true + docs: Get details for a linked account. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.AccountDetails + status-code: 200 + examples: + - headers: {} + 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 new file mode 100644 index 00000000..0c372796 --- /dev/null +++ b/.mock/definition/ats/accountToken.yml @@ -0,0 +1,44 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + retrieve: + path: /ats/v1/account-token/{public_token} + method: GET + auth: true + 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 + 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 new file mode 100644 index 00000000..362836ad --- /dev/null +++ b/.mock/definition/ats/activities.yml @@ -0,0 +1,474 @@ +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: true + 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: + - headers: {} + 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: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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: true + docs: Returns metadata for `Activity` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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 new file mode 100644 index 00000000..4a5822f9 --- /dev/null +++ b/.mock/definition/ats/applications.yml @@ -0,0 +1,1903 @@ +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: true + 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: + - headers: {} + 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: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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: true + 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 + headers: {} + 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: true + 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: + - headers: {} + 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 new file mode 100644 index 00000000..94686f10 --- /dev/null +++ b/.mock/definition/ats/asyncPassthrough.yml @@ -0,0 +1,70 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + create: + path: /ats/v1/async-passthrough + method: POST + auth: true + 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: {} + 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: true + 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: {} + response: + body: + method: GET + path: /scooters + status: 200 + response: + key: value + 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 new file mode 100644 index 00000000..14b45b1b --- /dev/null +++ b/.mock/definition/ats/attachments.yml @@ -0,0 +1,432 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /ats/v1/attachments + method: GET + auth: true + 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: + - headers: {} + 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: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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: true + docs: Returns metadata for `Attachment` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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 new file mode 100644 index 00000000..36833ffe --- /dev/null +++ b/.mock/definition/ats/auditTrail.yml @@ -0,0 +1,94 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /ats/v1/audit-trail + method: GET + auth: true + 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: + - 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 new file mode 100644 index 00000000..8e529df3 --- /dev/null +++ b/.mock/definition/ats/availableActions.yml @@ -0,0 +1,50 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + retrieve: + path: /ats/v1/available-actions + method: GET + auth: true + 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: {} + 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 new file mode 100644 index 00000000..e5f23a79 --- /dev/null +++ b/.mock/definition/ats/candidates.yml @@ -0,0 +1,876 @@ +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: true + 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: + - headers: {} + 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: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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: true + 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 + headers: {} + 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: true + 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: {} + request: + reason: GENERAL_CUSTOMER_REQUEST + metaPatchRetrieve: + path: /ats/v1/candidates/meta/patch/{id} + method: GET + auth: true + 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: {} + 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: true + docs: Returns metadata for `Candidate` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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 new file mode 100644 index 00000000..6255a393 --- /dev/null +++ b/.mock/definition/ats/deleteAccount.yml @@ -0,0 +1,15 @@ +service: + auth: false + base-path: '' + endpoints: + delete: + path: /ats/v1/delete-account + method: POST + auth: true + docs: Delete a linked account. + source: + openapi: openapi/openapi.yml + examples: + - headers: {} + source: + openapi: openapi/openapi.yml diff --git a/.mock/definition/ats/departments.yml b/.mock/definition/ats/departments.yml new file mode 100644 index 00000000..8f001f43 --- /dev/null +++ b/.mock/definition/ats/departments.yml @@ -0,0 +1,136 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /ats/v1/departments + method: GET + auth: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..91dbf6b9 --- /dev/null +++ b/.mock/definition/ats/eeocs.yml @@ -0,0 +1,300 @@ +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: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..9d92fea8 --- /dev/null +++ b/.mock/definition/ats/fieldMapping.yml @@ -0,0 +1,892 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + field_mappings_retrieve: + path: /ats/v1/field-mappings + method: GET + auth: true + 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: + - headers: {} + 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: true + 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: + - headers: {} + 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: true + 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: {} + 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: true + 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: {} + 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: true + 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: + - headers: {} + 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: true + 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: {} + 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 new file mode 100644 index 00000000..8a603992 --- /dev/null +++ b/.mock/definition/ats/forceResync.yml @@ -0,0 +1,37 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + sync_status_resync_create: + path: /ats/v1/sync-status/resync + method: POST + auth: true + 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: {} + 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 new file mode 100644 index 00000000..40a39dcb --- /dev/null +++ b/.mock/definition/ats/generateKey.yml @@ -0,0 +1,36 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + create: + path: /ats/v1/generate-key + method: POST + auth: true + 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: + - 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 new file mode 100644 index 00000000..aa95289c --- /dev/null +++ b/.mock/definition/ats/interviews.yml @@ -0,0 +1,526 @@ +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: true + 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: + - headers: {} + 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: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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: true + docs: Returns metadata for `ScheduledInterview` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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 new file mode 100644 index 00000000..4984ce4e --- /dev/null +++ b/.mock/definition/ats/issues.yml @@ -0,0 +1,129 @@ +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: true + 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: + - 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: true + 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 + 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 new file mode 100644 index 00000000..5753b281 --- /dev/null +++ b/.mock/definition/ats/jobInterviewStages.yml @@ -0,0 +1,153 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /ats/v1/job-interview-stages + method: GET + auth: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..859b5bb4 --- /dev/null +++ b/.mock/definition/ats/jobPostings.yml @@ -0,0 +1,195 @@ +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: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..7ec7441a --- /dev/null +++ b/.mock/definition/ats/jobs.yml @@ -0,0 +1,454 @@ +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: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..1548f705 --- /dev/null +++ b/.mock/definition/ats/linkToken.yml @@ -0,0 +1,152 @@ +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: true + 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: + - 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 new file mode 100644 index 00000000..7acf3099 --- /dev/null +++ b/.mock/definition/ats/linkedAccounts.yml @@ -0,0 +1,150 @@ +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: true + 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: + - 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 new file mode 100644 index 00000000..cb2591c8 --- /dev/null +++ b/.mock/definition/ats/offers.yml @@ -0,0 +1,201 @@ +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: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..080386b8 --- /dev/null +++ b/.mock/definition/ats/offices.yml @@ -0,0 +1,138 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /ats/v1/offices + method: GET + auth: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..7141a6bd --- /dev/null +++ b/.mock/definition/ats/passthrough.yml @@ -0,0 +1,40 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + create: + path: /ats/v1/passthrough + method: POST + auth: true + 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: {} + request: + method: GET + path: /scooters + response: + body: + method: GET + path: /scooters + status: 200 + response: + key: value + 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 new file mode 100644 index 00000000..1ea4149a --- /dev/null +++ b/.mock/definition/ats/regenerateKey.yml @@ -0,0 +1,36 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + create: + path: /ats/v1/regenerate-key + method: POST + auth: true + 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: + - 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 new file mode 100644 index 00000000..1552c46c --- /dev/null +++ b/.mock/definition/ats/rejectReasons.yml @@ -0,0 +1,136 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /ats/v1/reject-reasons + method: GET + auth: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..422d3fa4 --- /dev/null +++ b/.mock/definition/ats/scopes.yml @@ -0,0 +1,160 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + default_scopes_retrieve: + path: /ats/v1/default-scopes + method: GET + auth: true + 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: + - 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: true + 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: {} + 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: true + 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: {} + 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 new file mode 100644 index 00000000..6f83e854 --- /dev/null +++ b/.mock/definition/ats/scorecards.yml @@ -0,0 +1,216 @@ +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: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..99b9bd54 --- /dev/null +++ b/.mock/definition/ats/syncStatus.yml @@ -0,0 +1,55 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /ats/v1/sync-status + method: GET + auth: true + 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: + - headers: {} + 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 new file mode 100644 index 00000000..f6007d90 --- /dev/null +++ b/.mock/definition/ats/tags.yml @@ -0,0 +1,88 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /ats/v1/tags + method: GET + auth: true + 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: + - headers: {} + 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 new file mode 100644 index 00000000..3bd2db1f --- /dev/null +++ b/.mock/definition/ats/users.yml @@ -0,0 +1,173 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /ats/v1/users + method: GET + auth: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..91d2ae65 --- /dev/null +++ b/.mock/definition/ats/webhookReceivers.yml @@ -0,0 +1,61 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /ats/v1/webhook-receivers + method: GET + auth: true + docs: Returns a list of `WebhookReceiver` objects. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: list + status-code: 200 + examples: + - headers: {} + response: + body: + - event: event + is_active: true + key: key + create: + path: /ats/v1/webhook-receivers + method: POST + auth: true + 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: {} + 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 new file mode 100644 index 00000000..4ad8f75d --- /dev/null +++ b/.mock/definition/crm/__package__.yml @@ -0,0 +1,5741 @@ +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 + 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_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 new file mode 100644 index 00000000..4fe53ba5 --- /dev/null +++ b/.mock/definition/crm/accountDetails.yml @@ -0,0 +1,36 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + retrieve: + path: /crm/v1/account-details + method: GET + auth: true + docs: Get details for a linked account. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.AccountDetails + status-code: 200 + examples: + - headers: {} + 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 new file mode 100644 index 00000000..f06c40c5 --- /dev/null +++ b/.mock/definition/crm/accountToken.yml @@ -0,0 +1,44 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + retrieve: + path: /crm/v1/account-token/{public_token} + method: GET + auth: true + 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 + 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 new file mode 100644 index 00000000..e2959115 --- /dev/null +++ b/.mock/definition/crm/accounts.yml @@ -0,0 +1,846 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /crm/v1/accounts + method: GET + auth: true + 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: + - headers: {} + 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 + create: + path: /crm/v1/accounts + method: POST + auth: true + 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: + - headers: {} + 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 + 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: true + 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 + headers: {} + 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: + key: value + partialUpdate: + path: /crm/v1/accounts/{id} + method: PATCH + auth: true + 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 + headers: {} + 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 + 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: true + 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: {} + 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: true + docs: Returns metadata for `CRMAccount` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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: true + 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: + - headers: {} + 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_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 new file mode 100644 index 00000000..01f582d6 --- /dev/null +++ b/.mock/definition/crm/associationTypes.yml @@ -0,0 +1,420 @@ +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: true + 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 + headers: {} + 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: true + 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 + headers: {} + 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: true + 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 + headers: {} + 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: true + 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: {} + 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 new file mode 100644 index 00000000..bf27f3eb --- /dev/null +++ b/.mock/definition/crm/associations.yml @@ -0,0 +1,142 @@ +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: true + 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 + headers: {} + 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: true + docs: >- + Creates an Association between `source_object_id` and `target_object_id` + of type `association_type_id`. + source: + openapi: openapi/openapi.yml + path-parameters: + association_type_id: string + source_class_id: string + source_object_id: string + target_class_id: string + target_object_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: + association_type_id: association_type_id + source_class_id: source_class_id + source_object_id: source_object_id + target_class_id: target_class_id + target_object_id: target_object_id + headers: {} + 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 new file mode 100644 index 00000000..6a7e257e --- /dev/null +++ b/.mock/definition/crm/asyncPassthrough.yml @@ -0,0 +1,70 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + create: + path: /crm/v1/async-passthrough + method: POST + auth: true + 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: {} + 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: true + 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: {} + response: + body: + method: GET + path: /scooters + status: 200 + response: + key: value + 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 new file mode 100644 index 00000000..68ad5c2f --- /dev/null +++ b/.mock/definition/crm/auditTrail.yml @@ -0,0 +1,94 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /crm/v1/audit-trail + method: GET + auth: true + 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: + - 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 new file mode 100644 index 00000000..40338033 --- /dev/null +++ b/.mock/definition/crm/availableActions.yml @@ -0,0 +1,50 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + retrieve: + path: /crm/v1/available-actions + method: GET + auth: true + 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: {} + 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 new file mode 100644 index 00000000..b9f0b0f0 --- /dev/null +++ b/.mock/definition/crm/contacts.yml @@ -0,0 +1,900 @@ +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: true + 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: + - headers: {} + 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 + create: + path: /crm/v1/contacts + method: POST + auth: true + 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: + - headers: {} + 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 + 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: true + 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 + headers: {} + 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: + key: value + partialUpdate: + path: /crm/v1/contacts/{id} + method: PATCH + auth: true + 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 + headers: {} + 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 + 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: true + 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: {} + request: + reason: GENERAL_CUSTOMER_REQUEST + metaPatchRetrieve: + path: /crm/v1/contacts/meta/patch/{id} + method: GET + auth: true + 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: {} + 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: true + docs: Returns metadata for `CRMContact` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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: true + 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: + - headers: {} + 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_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 new file mode 100644 index 00000000..7f6a5fba --- /dev/null +++ b/.mock/definition/crm/customObjectClasses.yml @@ -0,0 +1,196 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /crm/v1/custom-object-classes + method: GET + auth: true + 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: + - headers: {} + 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: + - {} + - 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: + - {} + - 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: true + 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 + headers: {} + 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: + - {} + - 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: + - {} + - 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: + - {} + - {} + association_types: + - key: value + source: + openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/customObjects.yml b/.mock/definition/crm/customObjects.yml new file mode 100644 index 00000000..d4904e56 --- /dev/null +++ b/.mock/definition/crm/customObjects.yml @@ -0,0 +1,476 @@ +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: true + 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 + headers: {} + 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 + custom_object_classes_custom_objects_create: + path: /crm/v1/custom-object-classes/{custom_object_class_id}/custom-objects + method: POST + auth: true + 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 + headers: {} + 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 + 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: true + 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 + headers: {} + 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: + key: value + 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: true + 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: {} + 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: true + 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: + - headers: {} + 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_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 new file mode 100644 index 00000000..b0bfe1cd --- /dev/null +++ b/.mock/definition/crm/deleteAccount.yml @@ -0,0 +1,15 @@ +service: + auth: false + base-path: '' + endpoints: + delete: + path: /crm/v1/delete-account + method: POST + auth: true + docs: Delete a linked account. + source: + openapi: openapi/openapi.yml + examples: + - headers: {} + source: + openapi: openapi/openapi.yml diff --git a/.mock/definition/crm/engagementTypes.yml b/.mock/definition/crm/engagementTypes.yml new file mode 100644 index 00000000..2070b2ef --- /dev/null +++ b/.mock/definition/crm/engagementTypes.yml @@ -0,0 +1,204 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /crm/v1/engagement-types + method: GET + auth: true + 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: + - headers: {} + 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 + retrieve: + path: /crm/v1/engagement-types/{id} + method: GET + auth: true + 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 + headers: {} + 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: + key: value + remoteFieldClassesList: + path: /crm/v1/engagement-types/remote-field-classes + method: GET + auth: true + 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: + - headers: {} + 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_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 new file mode 100644 index 00000000..aaf88ac0 --- /dev/null +++ b/.mock/definition/crm/engagements.yml @@ -0,0 +1,855 @@ +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: true + 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: + - headers: {} + 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 + create: + path: /crm/v1/engagements + method: POST + auth: true + 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: + - headers: {} + 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 + 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: true + 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 + headers: {} + 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: + key: value + partialUpdate: + path: /crm/v1/engagements/{id} + method: PATCH + auth: true + 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 + headers: {} + 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 + 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: true + 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: {} + 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: true + docs: Returns metadata for `Engagement` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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: true + 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: + - headers: {} + 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_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 new file mode 100644 index 00000000..5318dcf3 --- /dev/null +++ b/.mock/definition/crm/fieldMapping.yml @@ -0,0 +1,654 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + field_mappings_retrieve: + path: /crm/v1/field-mappings + method: GET + auth: true + 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: + - headers: {} + 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: true + 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: + - headers: {} + 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: true + 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: {} + 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: true + 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: {} + 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: true + 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: + - headers: {} + 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: true + 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: {} + 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 new file mode 100644 index 00000000..eb74ba18 --- /dev/null +++ b/.mock/definition/crm/forceResync.yml @@ -0,0 +1,37 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + sync_status_resync_create: + path: /crm/v1/sync-status/resync + method: POST + auth: true + 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: {} + 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 new file mode 100644 index 00000000..233479da --- /dev/null +++ b/.mock/definition/crm/generateKey.yml @@ -0,0 +1,36 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + create: + path: /crm/v1/generate-key + method: POST + auth: true + 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: + - 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 new file mode 100644 index 00000000..ed21c69c --- /dev/null +++ b/.mock/definition/crm/issues.yml @@ -0,0 +1,129 @@ +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: true + 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: + - 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: true + 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 + 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 new file mode 100644 index 00000000..1f1e46d1 --- /dev/null +++ b/.mock/definition/crm/leads.yml @@ -0,0 +1,626 @@ +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: true + 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: + - headers: {} + 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 + create: + path: /crm/v1/leads + method: POST + auth: true + 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: + - headers: {} + 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 + 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: true + 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 + headers: {} + 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: + key: value + metaPostRetrieve: + path: /crm/v1/leads/meta/post + method: GET + auth: true + docs: Returns metadata for `Lead` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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: true + 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: + - headers: {} + 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_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 new file mode 100644 index 00000000..f67b6892 --- /dev/null +++ b/.mock/definition/crm/linkToken.yml @@ -0,0 +1,152 @@ +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: true + 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: + - 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 new file mode 100644 index 00000000..c6f4399e --- /dev/null +++ b/.mock/definition/crm/linkedAccounts.yml @@ -0,0 +1,148 @@ +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: true + 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: + - 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 new file mode 100644 index 00000000..df9293aa --- /dev/null +++ b/.mock/definition/crm/notes.yml @@ -0,0 +1,577 @@ +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: true + 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: + - headers: {} + 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 + create: + path: /crm/v1/notes + method: POST + auth: true + 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: + - headers: {} + 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 + 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: true + 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 + headers: {} + 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: + key: value + metaPostRetrieve: + path: /crm/v1/notes/meta/post + method: GET + auth: true + docs: Returns metadata for `Note` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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: true + 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: + - headers: {} + 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_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 new file mode 100644 index 00000000..4a0253aa --- /dev/null +++ b/.mock/definition/crm/opportunities.yml @@ -0,0 +1,868 @@ +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: true + 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: + - headers: {} + 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 + create: + path: /crm/v1/opportunities + method: POST + auth: true + 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: + - headers: {} + 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 + 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: true + 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 + headers: {} + 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: + key: value + partialUpdate: + path: /crm/v1/opportunities/{id} + method: PATCH + auth: true + 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 + headers: {} + 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 + 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: true + 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: {} + 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: true + docs: Returns metadata for `Opportunity` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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: true + 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: + - headers: {} + 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_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 new file mode 100644 index 00000000..902b459d --- /dev/null +++ b/.mock/definition/crm/passthrough.yml @@ -0,0 +1,40 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + create: + path: /crm/v1/passthrough + method: POST + auth: true + 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: {} + request: + method: GET + path: /scooters + response: + body: + method: GET + path: /scooters + status: 200 + response: + key: value + 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 new file mode 100644 index 00000000..06a1b856 --- /dev/null +++ b/.mock/definition/crm/regenerateKey.yml @@ -0,0 +1,36 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + create: + path: /crm/v1/regenerate-key + method: POST + auth: true + 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: + - 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 new file mode 100644 index 00000000..67286e70 --- /dev/null +++ b/.mock/definition/crm/scopes.yml @@ -0,0 +1,160 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + default_scopes_retrieve: + path: /crm/v1/default-scopes + method: GET + auth: true + 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: + - 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: true + 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: {} + 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: true + 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: {} + 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 new file mode 100644 index 00000000..a8676fa5 --- /dev/null +++ b/.mock/definition/crm/stages.yml @@ -0,0 +1,222 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /crm/v1/stages + method: GET + auth: true + 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: + - headers: {} + 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 + retrieve: + path: /crm/v1/stages/{id} + method: GET + auth: true + 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 + headers: {} + 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: + key: value + remoteFieldClassesList: + path: /crm/v1/stages/remote-field-classes + method: GET + auth: true + 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: + - headers: {} + 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_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 new file mode 100644 index 00000000..52d8c36e --- /dev/null +++ b/.mock/definition/crm/syncStatus.yml @@ -0,0 +1,55 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /crm/v1/sync-status + method: GET + auth: true + 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: + - headers: {} + 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 new file mode 100644 index 00000000..befb0c54 --- /dev/null +++ b/.mock/definition/crm/tasks.yml @@ -0,0 +1,807 @@ +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: true + 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: + - headers: {} + 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 + create: + path: /crm/v1/tasks + method: POST + auth: true + 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: + - headers: {} + 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 + 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: true + 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 + headers: {} + 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: + key: value + partialUpdate: + path: /crm/v1/tasks/{id} + method: PATCH + auth: true + 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 + headers: {} + 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 + 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: true + 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: {} + 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: true + docs: Returns metadata for `Task` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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: true + 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: + - headers: {} + 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_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 new file mode 100644 index 00000000..6762984a --- /dev/null +++ b/.mock/definition/crm/users.yml @@ -0,0 +1,251 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /crm/v1/users + method: GET + auth: true + 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: + - headers: {} + 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 + retrieve: + path: /crm/v1/users/{id} + method: GET + auth: true + 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 + headers: {} + 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: + key: value + ignoreCreate: + path: /crm/v1/users/ignore/{model_id} + method: POST + auth: true + 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: {} + request: + reason: GENERAL_CUSTOMER_REQUEST + remoteFieldClassesList: + path: /crm/v1/users/remote-field-classes + method: GET + auth: true + 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: + - headers: {} + 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_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 new file mode 100644 index 00000000..c68cd98b --- /dev/null +++ b/.mock/definition/crm/webhookReceivers.yml @@ -0,0 +1,61 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /crm/v1/webhook-receivers + method: GET + auth: true + docs: Returns a list of `WebhookReceiver` objects. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: list + status-code: 200 + examples: + - headers: {} + response: + body: + - event: event + is_active: true + key: key + create: + path: /crm/v1/webhook-receivers + method: POST + auth: true + 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: {} + 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 new file mode 100644 index 00000000..16d7bfbc --- /dev/null +++ b/.mock/definition/filestorage/__package__.yml @@ -0,0 +1,2365 @@ +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 + 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 new file mode 100644 index 00000000..2411f37c --- /dev/null +++ b/.mock/definition/filestorage/accountDetails.yml @@ -0,0 +1,36 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + retrieve: + path: /filestorage/v1/account-details + method: GET + auth: true + docs: Get details for a linked account. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.AccountDetails + status-code: 200 + examples: + - headers: {} + 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 new file mode 100644 index 00000000..2c17a04f --- /dev/null +++ b/.mock/definition/filestorage/accountToken.yml @@ -0,0 +1,44 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + retrieve: + path: /filestorage/v1/account-token/{public_token} + method: GET + auth: true + 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 + 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 new file mode 100644 index 00000000..58df8351 --- /dev/null +++ b/.mock/definition/filestorage/asyncPassthrough.yml @@ -0,0 +1,70 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + create: + path: /filestorage/v1/async-passthrough + method: POST + auth: true + 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: {} + 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: true + 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: {} + response: + body: + method: GET + path: /scooters + status: 200 + response: + key: value + 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 new file mode 100644 index 00000000..f21c35fe --- /dev/null +++ b/.mock/definition/filestorage/auditTrail.yml @@ -0,0 +1,94 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /filestorage/v1/audit-trail + method: GET + auth: true + 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: + - 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 new file mode 100644 index 00000000..b7a5e2b1 --- /dev/null +++ b/.mock/definition/filestorage/availableActions.yml @@ -0,0 +1,50 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + retrieve: + path: /filestorage/v1/available-actions + method: GET + auth: true + 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: {} + 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 new file mode 100644 index 00000000..9b691154 --- /dev/null +++ b/.mock/definition/filestorage/deleteAccount.yml @@ -0,0 +1,15 @@ +service: + auth: false + base-path: '' + endpoints: + delete: + path: /filestorage/v1/delete-account + method: POST + auth: true + docs: Delete a linked account. + source: + openapi: openapi/openapi.yml + examples: + - headers: {} + source: + openapi: openapi/openapi.yml diff --git a/.mock/definition/filestorage/drives.yml b/.mock/definition/filestorage/drives.yml new file mode 100644 index 00000000..969b2321 --- /dev/null +++ b/.mock/definition/filestorage/drives.yml @@ -0,0 +1,145 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /filestorage/v1/drives + method: GET + auth: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..0ef97a18 --- /dev/null +++ b/.mock/definition/filestorage/fieldMapping.yml @@ -0,0 +1,518 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + field_mappings_retrieve: + path: /filestorage/v1/field-mappings + method: GET + auth: true + 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: + - headers: {} + 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: true + 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: + - headers: {} + 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: true + 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: {} + 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: true + 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: {} + 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: true + 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: + - headers: {} + 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: true + 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: {} + 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 new file mode 100644 index 00000000..7230424d --- /dev/null +++ b/.mock/definition/filestorage/files.yml @@ -0,0 +1,672 @@ +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: true + 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_id: + type: optional + docs: The API provider's ID for the given object. + response: + docs: '' + type: root.PaginatedFileList + status-code: 200 + examples: + - headers: {} + 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: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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: true + 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: true + 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 + headers: {} + 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: true + 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. + 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: + - headers: {} + 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: true + docs: Returns metadata for `FileStorageFile` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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 new file mode 100644 index 00000000..50ad205b --- /dev/null +++ b/.mock/definition/filestorage/folders.yml @@ -0,0 +1,466 @@ +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: true + 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: + - headers: {} + 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: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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: true + docs: Returns metadata for `FileStorageFolder` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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 new file mode 100644 index 00000000..644c49b8 --- /dev/null +++ b/.mock/definition/filestorage/forceResync.yml @@ -0,0 +1,37 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + sync_status_resync_create: + path: /filestorage/v1/sync-status/resync + method: POST + auth: true + 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: {} + 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 new file mode 100644 index 00000000..04ac41b8 --- /dev/null +++ b/.mock/definition/filestorage/generateKey.yml @@ -0,0 +1,36 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + create: + path: /filestorage/v1/generate-key + method: POST + auth: true + 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: + - 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 new file mode 100644 index 00000000..247ce30a --- /dev/null +++ b/.mock/definition/filestorage/groups.yml @@ -0,0 +1,154 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /filestorage/v1/groups + method: GET + auth: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..b6a1d19e --- /dev/null +++ b/.mock/definition/filestorage/issues.yml @@ -0,0 +1,129 @@ +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: true + 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: + - 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: true + 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 + 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 new file mode 100644 index 00000000..fda54a0c --- /dev/null +++ b/.mock/definition/filestorage/linkToken.yml @@ -0,0 +1,135 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + create: + path: /filestorage/v1/link-token + method: POST + auth: true + 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: + - 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 new file mode 100644 index 00000000..d8fb0eb6 --- /dev/null +++ b/.mock/definition/filestorage/linkedAccounts.yml @@ -0,0 +1,150 @@ +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: true + 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: + - 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 new file mode 100644 index 00000000..432034bc --- /dev/null +++ b/.mock/definition/filestorage/passthrough.yml @@ -0,0 +1,40 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + create: + path: /filestorage/v1/passthrough + method: POST + auth: true + 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: {} + request: + method: GET + path: /scooters + response: + body: + method: GET + path: /scooters + status: 200 + response: + key: value + 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 new file mode 100644 index 00000000..cd80f783 --- /dev/null +++ b/.mock/definition/filestorage/regenerateKey.yml @@ -0,0 +1,36 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + create: + path: /filestorage/v1/regenerate-key + method: POST + auth: true + 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: + - 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 new file mode 100644 index 00000000..a48a1642 --- /dev/null +++ b/.mock/definition/filestorage/scopes.yml @@ -0,0 +1,160 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + default_scopes_retrieve: + path: /filestorage/v1/default-scopes + method: GET + auth: true + 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: + - 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: true + 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: {} + 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: true + 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: {} + 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 new file mode 100644 index 00000000..53140e4d --- /dev/null +++ b/.mock/definition/filestorage/syncStatus.yml @@ -0,0 +1,55 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /filestorage/v1/sync-status + method: GET + auth: true + 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: + - headers: {} + 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 new file mode 100644 index 00000000..6921bd65 --- /dev/null +++ b/.mock/definition/filestorage/users.yml @@ -0,0 +1,143 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /filestorage/v1/users + method: GET + auth: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..3b0bcace --- /dev/null +++ b/.mock/definition/filestorage/webhookReceivers.yml @@ -0,0 +1,61 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /filestorage/v1/webhook-receivers + method: GET + auth: true + docs: Returns a list of `WebhookReceiver` objects. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: list + status-code: 200 + examples: + - headers: {} + response: + body: + - event: event + is_active: true + key: key + create: + path: /filestorage/v1/webhook-receivers + method: POST + auth: true + 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: {} + 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 new file mode 100644 index 00000000..3e17db3f --- /dev/null +++ b/.mock/definition/hris/__package__.yml @@ -0,0 +1,7691 @@ +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 + 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 + 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. + 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 + employer_benefit: + type: optional + docs: The employer benefit plan the employee is enrolled in. + validation: + format: uuid + 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 + 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 + 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 + 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 new file mode 100644 index 00000000..2d4833d3 --- /dev/null +++ b/.mock/definition/hris/accountDetails.yml @@ -0,0 +1,36 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + retrieve: + path: /hris/v1/account-details + method: GET + auth: true + docs: Get details for a linked account. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.AccountDetails + status-code: 200 + examples: + - headers: {} + 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 new file mode 100644 index 00000000..84185ffb --- /dev/null +++ b/.mock/definition/hris/accountToken.yml @@ -0,0 +1,44 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + retrieve: + path: /hris/v1/account-token/{public_token} + method: GET + auth: true + 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 + 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 new file mode 100644 index 00000000..841c4d91 --- /dev/null +++ b/.mock/definition/hris/asyncPassthrough.yml @@ -0,0 +1,70 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + create: + path: /hris/v1/async-passthrough + method: POST + auth: true + 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: {} + 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: true + 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: {} + response: + body: + method: GET + path: /scooters + status: 200 + response: + key: value + 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 new file mode 100644 index 00000000..19e653ea --- /dev/null +++ b/.mock/definition/hris/auditTrail.yml @@ -0,0 +1,94 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /hris/v1/audit-trail + method: GET + auth: true + 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: + - 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 new file mode 100644 index 00000000..74b6e655 --- /dev/null +++ b/.mock/definition/hris/availableActions.yml @@ -0,0 +1,50 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + retrieve: + path: /hris/v1/available-actions + method: GET + auth: true + 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: {} + 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 new file mode 100644 index 00000000..d8d8fc21 --- /dev/null +++ b/.mock/definition/hris/bankInfo.yml @@ -0,0 +1,212 @@ +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: true + 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. + 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: + - headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..2a98a378 --- /dev/null +++ b/.mock/definition/hris/benefits.yml @@ -0,0 +1,165 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /hris/v1/benefits + method: GET + auth: true + 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. + remote_id: + type: optional + docs: The API provider's ID for the given object. + response: + docs: '' + type: root.PaginatedBenefitList + status-code: 200 + examples: + - headers: {} + 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 + benefit_plan_type: benefit_plan_type + employee_contribution: 23.65 + company_contribution: 150 + start_date: '2020-11-15T00:59:25Z' + end_date: '2021-10-15T00:23:25Z' + remote_was_deleted: true + employer_benefit: 025fjlc6-6000-430a-848e-aafacbadf4fe + 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: true + 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 + headers: {} + 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 + benefit_plan_type: benefit_plan_type + employee_contribution: 23.65 + company_contribution: 150 + start_date: '2020-11-15T00:59:25Z' + end_date: '2021-10-15T00:23:25Z' + remote_was_deleted: true + employer_benefit: 025fjlc6-6000-430a-848e-aafacbadf4fe + 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 new file mode 100644 index 00000000..3b107952 --- /dev/null +++ b/.mock/definition/hris/companies.yml @@ -0,0 +1,146 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /hris/v1/companies + method: GET + auth: true + 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. + remote_id: + type: optional + docs: The API provider's ID for the given object. + response: + docs: '' + type: root.PaginatedCompanyList + status-code: 200 + examples: + - headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..d8b1e45c --- /dev/null +++ b/.mock/definition/hris/deleteAccount.yml @@ -0,0 +1,15 @@ +service: + auth: false + base-path: '' + endpoints: + delete: + path: /hris/v1/delete-account + method: POST + auth: true + docs: Delete a linked account. + source: + openapi: openapi/openapi.yml + examples: + - headers: {} + source: + openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/dependents.yml b/.mock/definition/hris/dependents.yml new file mode 100644 index 00000000..a4254ddd --- /dev/null +++ b/.mock/definition/hris/dependents.yml @@ -0,0 +1,166 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /hris/v1/dependents + method: GET + auth: true + 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. + 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. + remote_id: + type: optional + docs: The API provider's ID for the given object. + response: + docs: '' + type: root.PaginatedDependentList + status-code: 200 + examples: + - headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..c4ffb0b9 --- /dev/null +++ b/.mock/definition/hris/employeePayrollRuns.yml @@ -0,0 +1,301 @@ +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: true + 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. + 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: + - headers: {} + 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 + 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 + - id: babbced6-3a81-4775-8da2-490dc6385259 + 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 + deductions: + - id: 5fd439fc-1b64-4755-b275-64918936c365 + 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 + taxes: + - id: e3a825fd-c38d-4095-a717-df98c4cb9ebc + 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: /employee-payroll + data: + - Varies by platform + retrieve: + path: /hris/v1/employee-payroll-runs/{id} + method: GET + auth: true + 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 + headers: {} + 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 + - 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 + 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 + 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 new file mode 100644 index 00000000..bd50cfa6 --- /dev/null +++ b/.mock/definition/hris/employees.yml @@ -0,0 +1,1787 @@ +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: true + 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. + 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: + - headers: {} + 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 + team: team + 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' + hire_date: '2020-10-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: true + 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: + - headers: {} + 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 + team: team + 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' + hire_date: '2020-10-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: true + 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 + headers: {} + 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 + team: team + 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' + hire_date: '2020-10-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: true + 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: {} + request: + reason: GENERAL_CUSTOMER_REQUEST + metaPostRetrieve: + path: /hris/v1/employees/meta/post + method: GET + auth: true + docs: Returns metadata for `Employee` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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 new file mode 100644 index 00000000..f110617f --- /dev/null +++ b/.mock/definition/hris/employerBenefits.yml @@ -0,0 +1,140 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /hris/v1/employer-benefits + method: GET + auth: true + 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. + remote_id: + type: optional + docs: The API provider's ID for the given object. + response: + docs: '' + type: root.PaginatedEmployerBenefitList + status-code: 200 + examples: + - headers: {} + 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 + retrieve: + path: /hris/v1/employer-benefits/{id} + method: GET + auth: true + 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 + headers: {} + 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: + key: value + source: + openapi: openapi/openapi.yml diff --git a/.mock/definition/hris/employments.yml b/.mock/definition/hris/employments.yml new file mode 100644 index 00000000..f676c7df --- /dev/null +++ b/.mock/definition/hris/employments.yml @@ -0,0 +1,337 @@ +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: true + 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. + 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: + - headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..2c83b146 --- /dev/null +++ b/.mock/definition/hris/fieldMapping.yml @@ -0,0 +1,892 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + field_mappings_retrieve: + path: /hris/v1/field-mappings + method: GET + auth: true + 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: + - headers: {} + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + field_mappings_create: + path: /hris/v1/field-mappings + method: POST + auth: true + 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: + - headers: {} + 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: /hris/v1/field-mappings/{field_mapping_id} + method: DELETE + auth: true + 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: {} + 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: /hris/v1/field-mappings/{field_mapping_id} + method: PATCH + auth: true + 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: {} + 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: /hris/v1/remote-fields + method: GET + auth: true + 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: + - headers: {} + 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: true + 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: {} + 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 new file mode 100644 index 00000000..ccae8e7b --- /dev/null +++ b/.mock/definition/hris/forceResync.yml @@ -0,0 +1,37 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + sync_status_resync_create: + path: /hris/v1/sync-status/resync + method: POST + auth: true + 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: {} + 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 new file mode 100644 index 00000000..94a399fc --- /dev/null +++ b/.mock/definition/hris/generateKey.yml @@ -0,0 +1,36 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + create: + path: /hris/v1/generate-key + method: POST + auth: true + 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: + - 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 new file mode 100644 index 00000000..942ebedf --- /dev/null +++ b/.mock/definition/hris/groups.yml @@ -0,0 +1,179 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /hris/v1/groups + method: GET + auth: true + 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. + 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: + - headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..9fd39ae2 --- /dev/null +++ b/.mock/definition/hris/issues.yml @@ -0,0 +1,129 @@ +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: true + 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: + - 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: true + 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 + 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 new file mode 100644 index 00000000..c83a57e8 --- /dev/null +++ b/.mock/definition/hris/linkToken.yml @@ -0,0 +1,152 @@ +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: /hris/v1/link-token + method: POST + auth: true + 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: + - 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 new file mode 100644 index 00000000..3ed63936 --- /dev/null +++ b/.mock/definition/hris/linkedAccounts.yml @@ -0,0 +1,150 @@ +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: true + 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: + - 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 new file mode 100644 index 00000000..a4c2f9b6 --- /dev/null +++ b/.mock/definition/hris/locations.yml @@ -0,0 +1,218 @@ +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: true + 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. + 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: + - headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..602b2cd6 --- /dev/null +++ b/.mock/definition/hris/passthrough.yml @@ -0,0 +1,40 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + create: + path: /hris/v1/passthrough + method: POST + auth: true + 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: {} + request: + method: GET + path: /scooters + response: + body: + method: GET + path: /scooters + status: 200 + response: + key: value + 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 new file mode 100644 index 00000000..981803d8 --- /dev/null +++ b/.mock/definition/hris/payGroups.yml @@ -0,0 +1,136 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /hris/v1/pay-groups + method: GET + auth: true + 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. + remote_id: + type: optional + docs: The API provider's ID for the given object. + response: + docs: '' + type: root.PaginatedPayGroupList + status-code: 200 + examples: + - headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..b4414e43 --- /dev/null +++ b/.mock/definition/hris/payrollRuns.yml @@ -0,0 +1,243 @@ +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: true + 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. + 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: + - headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..e29e77d3 --- /dev/null +++ b/.mock/definition/hris/regenerateKey.yml @@ -0,0 +1,36 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + create: + path: /hris/v1/regenerate-key + method: POST + auth: true + 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: + - 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 new file mode 100644 index 00000000..59ec6a77 --- /dev/null +++ b/.mock/definition/hris/scopes.yml @@ -0,0 +1,160 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + default_scopes_retrieve: + path: /hris/v1/default-scopes + method: GET + auth: true + 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: + - 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: true + 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: {} + 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: true + 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: {} + 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 new file mode 100644 index 00000000..c7e03e66 --- /dev/null +++ b/.mock/definition/hris/syncStatus.yml @@ -0,0 +1,55 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /hris/v1/sync-status + method: GET + auth: true + 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: + - headers: {} + 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 new file mode 100644 index 00000000..4cb87414 --- /dev/null +++ b/.mock/definition/hris/teams.yml @@ -0,0 +1,151 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /hris/v1/teams + method: GET + auth: true + 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. + 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: + - headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..94818112 --- /dev/null +++ b/.mock/definition/hris/timeOff.yml @@ -0,0 +1,599 @@ +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: true + 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. + 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: + - headers: {} + 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: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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: true + docs: Returns metadata for `TimeOff` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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 new file mode 100644 index 00000000..509df361 --- /dev/null +++ b/.mock/definition/hris/timeOffBalances.yml @@ -0,0 +1,205 @@ +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: true + 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. + 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: + - headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..69380ef4 --- /dev/null +++ b/.mock/definition/hris/timesheetEntries.yml @@ -0,0 +1,444 @@ +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: true + 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. + 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: + - headers: {} + 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: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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: true + docs: Returns metadata for `TimesheetEntry` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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 new file mode 100644 index 00000000..05eae39d --- /dev/null +++ b/.mock/definition/hris/webhookReceivers.yml @@ -0,0 +1,61 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /hris/v1/webhook-receivers + method: GET + auth: true + docs: Returns a list of `WebhookReceiver` objects. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: list + status-code: 200 + examples: + - headers: {} + response: + body: + - event: event + is_active: true + key: key + create: + path: /hris/v1/webhook-receivers + method: POST + auth: true + 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: {} + 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 new file mode 100644 index 00000000..fef97a5f --- /dev/null +++ b/.mock/definition/ticketing/__package__.yml @@ -0,0 +1,3421 @@ +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 + 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 + 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. + 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 + 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 + 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>> + 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 + 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 + 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_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 new file mode 100644 index 00000000..1cd26dd4 --- /dev/null +++ b/.mock/definition/ticketing/accountDetails.yml @@ -0,0 +1,36 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + retrieve: + path: /ticketing/v1/account-details + method: GET + auth: true + docs: Get details for a linked account. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.AccountDetails + status-code: 200 + examples: + - headers: {} + 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 new file mode 100644 index 00000000..e3b505e5 --- /dev/null +++ b/.mock/definition/ticketing/accountToken.yml @@ -0,0 +1,44 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + retrieve: + path: /ticketing/v1/account-token/{public_token} + method: GET + auth: true + 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 + 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 new file mode 100644 index 00000000..9dc3f7a8 --- /dev/null +++ b/.mock/definition/ticketing/accounts.yml @@ -0,0 +1,142 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /ticketing/v1/accounts + method: GET + auth: true + 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: + - headers: {} + 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: true + 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 + headers: {} + 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 new file mode 100644 index 00000000..0a2001fe --- /dev/null +++ b/.mock/definition/ticketing/asyncPassthrough.yml @@ -0,0 +1,70 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + create: + path: /ticketing/v1/async-passthrough + method: POST + auth: true + 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: {} + 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: true + 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: {} + response: + body: + method: GET + path: /scooters + status: 200 + response: + key: value + 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 new file mode 100644 index 00000000..9a8a8a9c --- /dev/null +++ b/.mock/definition/ticketing/attachments.yml @@ -0,0 +1,446 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /ticketing/v1/attachments + method: GET + auth: true + 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. + 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: + - headers: {} + 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 + create: + path: /ticketing/v1/attachments + method: POST + auth: true + 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: + - headers: {} + 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 + 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: true + 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 + headers: {} + 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: + key: value + downloadRetrieve: + path: /ticketing/v1/attachments/{id}/download + method: GET + auth: true + 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: true + docs: Returns metadata for `TicketingAttachment` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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 new file mode 100644 index 00000000..82660fae --- /dev/null +++ b/.mock/definition/ticketing/auditTrail.yml @@ -0,0 +1,94 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /ticketing/v1/audit-trail + method: GET + auth: true + 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: + - 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 new file mode 100644 index 00000000..745b76c7 --- /dev/null +++ b/.mock/definition/ticketing/availableActions.yml @@ -0,0 +1,50 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + retrieve: + path: /ticketing/v1/available-actions + method: GET + auth: true + 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: {} + 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 new file mode 100644 index 00000000..dbf6f131 --- /dev/null +++ b/.mock/definition/ticketing/collections.yml @@ -0,0 +1,253 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /ticketing/v1/collections + method: GET + auth: true + 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. + page_size: + type: optional + docs: Number of results to return per page. + 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: + - headers: {} + 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 + 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 + viewersList: + path: /ticketing/v1/collections/{collection_id}/viewers + method: GET + auth: true + 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 + headers: {} + 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: true + 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 + headers: {} + 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 + 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: + key: value + source: + openapi: openapi/openapi.yml +types: + CollectionsViewersListRequestExpand: + enum: + - team + - user + - value: user,team + name: UserTeam + source: + openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/comments.yml b/.mock/definition/ticketing/comments.yml new file mode 100644 index 00000000..71a70dc5 --- /dev/null +++ b/.mock/definition/ticketing/comments.yml @@ -0,0 +1,461 @@ +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: true + 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. + 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: + - headers: {} + 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 + create: + path: /ticketing/v1/comments + method: POST + auth: true + 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: + - headers: {} + 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 + 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: true + 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 + headers: {} + 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: + key: value + metaPostRetrieve: + path: /ticketing/v1/comments/meta/post + method: GET + auth: true + docs: Returns metadata for `Comment` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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 new file mode 100644 index 00000000..e4a13d7c --- /dev/null +++ b/.mock/definition/ticketing/contacts.yml @@ -0,0 +1,406 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /ticketing/v1/contacts + method: GET + auth: true + 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. + 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.PaginatedContactList + status-code: 200 + examples: + - headers: {} + 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 + create: + path: /ticketing/v1/contacts + method: POST + auth: true + 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: + - headers: {} + 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 + 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: true + 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 + headers: {} + 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: + key: value + metaPostRetrieve: + path: /ticketing/v1/contacts/meta/post + method: GET + auth: true + docs: Returns metadata for `TicketingContact` POSTs. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: root.MetaResponse + status-code: 200 + examples: + - headers: {} + 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 new file mode 100644 index 00000000..b2d1911d --- /dev/null +++ b/.mock/definition/ticketing/deleteAccount.yml @@ -0,0 +1,15 @@ +service: + auth: false + base-path: '' + endpoints: + delete: + path: /ticketing/v1/delete-account + method: POST + auth: true + docs: Delete a linked account. + source: + openapi: openapi/openapi.yml + examples: + - headers: {} + source: + openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/fieldMapping.yml b/.mock/definition/ticketing/fieldMapping.yml new file mode 100644 index 00000000..3051c3fc --- /dev/null +++ b/.mock/definition/ticketing/fieldMapping.yml @@ -0,0 +1,722 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + field_mappings_retrieve: + path: /ticketing/v1/field-mappings + method: GET + auth: true + 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: + - headers: {} + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + field_mappings_create: + path: /ticketing/v1/field-mappings + method: POST + auth: true + 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: + - headers: {} + 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: /ticketing/v1/field-mappings/{field_mapping_id} + method: DELETE + auth: true + 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: {} + 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: /ticketing/v1/field-mappings/{field_mapping_id} + method: PATCH + auth: true + 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: {} + 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: /ticketing/v1/remote-fields + method: GET + auth: true + 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: + - headers: {} + 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: true + 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: {} + 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 new file mode 100644 index 00000000..a9669fa2 --- /dev/null +++ b/.mock/definition/ticketing/forceResync.yml @@ -0,0 +1,37 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + sync_status_resync_create: + path: /ticketing/v1/sync-status/resync + method: POST + auth: true + 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: {} + 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 new file mode 100644 index 00000000..54e7585c --- /dev/null +++ b/.mock/definition/ticketing/generateKey.yml @@ -0,0 +1,36 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + create: + path: /ticketing/v1/generate-key + method: POST + auth: true + 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: + - 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 new file mode 100644 index 00000000..badd03c1 --- /dev/null +++ b/.mock/definition/ticketing/issues.yml @@ -0,0 +1,129 @@ +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: true + 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: + - 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: true + 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 + 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 new file mode 100644 index 00000000..908ed584 --- /dev/null +++ b/.mock/definition/ticketing/linkToken.yml @@ -0,0 +1,152 @@ +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: /ticketing/v1/link-token + method: POST + auth: true + 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: + - 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 new file mode 100644 index 00000000..072cf0e3 --- /dev/null +++ b/.mock/definition/ticketing/linkedAccounts.yml @@ -0,0 +1,150 @@ +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: true + 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: + - 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 new file mode 100644 index 00000000..44434d15 --- /dev/null +++ b/.mock/definition/ticketing/passthrough.yml @@ -0,0 +1,40 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + create: + path: /ticketing/v1/passthrough + method: POST + auth: true + 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: {} + request: + method: GET + path: /scooters + response: + body: + method: GET + path: /scooters + status: 200 + response: + key: value + 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 new file mode 100644 index 00000000..dd749346 --- /dev/null +++ b/.mock/definition/ticketing/projects.yml @@ -0,0 +1,220 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /ticketing/v1/projects + method: GET + auth: true + 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. + remote_id: + type: optional + docs: The API provider's ID for the given object. + response: + docs: '' + type: root.PaginatedProjectList + status-code: 200 + examples: + - headers: {} + 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 + retrieve: + path: /ticketing/v1/projects/{id} + method: GET + auth: true + 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 + headers: {} + 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: + key: value + usersList: + path: /ticketing/v1/projects/{parent_id}/users + method: GET + auth: true + 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. + response: + docs: '' + type: root.PaginatedUserList + status-code: 200 + examples: + - path-parameters: + parent_id: parent_id + headers: {} + 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 + 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 new file mode 100644 index 00000000..5dab779d --- /dev/null +++ b/.mock/definition/ticketing/regenerateKey.yml @@ -0,0 +1,36 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + create: + path: /ticketing/v1/regenerate-key + method: POST + auth: true + 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: + - 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 new file mode 100644 index 00000000..09eb4680 --- /dev/null +++ b/.mock/definition/ticketing/roles.yml @@ -0,0 +1,144 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /ticketing/v1/roles + method: GET + auth: true + 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. + remote_id: + type: optional + docs: The API provider's ID for the given object. + response: + docs: '' + type: root.PaginatedRoleList + status-code: 200 + examples: + - headers: {} + 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 + retrieve: + path: /ticketing/v1/roles/{id} + method: GET + auth: true + 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 + headers: {} + 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: + key: value + source: + openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/scopes.yml b/.mock/definition/ticketing/scopes.yml new file mode 100644 index 00000000..11866654 --- /dev/null +++ b/.mock/definition/ticketing/scopes.yml @@ -0,0 +1,160 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + default_scopes_retrieve: + path: /ticketing/v1/default-scopes + method: GET + auth: true + 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: + - 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: true + 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: {} + 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: true + 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: {} + 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 new file mode 100644 index 00000000..5b49f2a3 --- /dev/null +++ b/.mock/definition/ticketing/syncStatus.yml @@ -0,0 +1,55 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /ticketing/v1/sync-status + method: GET + auth: true + 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: + - headers: {} + 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 new file mode 100644 index 00000000..7ebaf157 --- /dev/null +++ b/.mock/definition/ticketing/tags.yml @@ -0,0 +1,134 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /ticketing/v1/tags + method: GET + auth: true + 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: + - headers: {} + 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 + retrieve: + path: /ticketing/v1/tags/{id} + method: GET + auth: true + 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 + headers: {} + 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: + key: value + source: + openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/teams.yml b/.mock/definition/ticketing/teams.yml new file mode 100644 index 00000000..47bcb682 --- /dev/null +++ b/.mock/definition/ticketing/teams.yml @@ -0,0 +1,136 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /ticketing/v1/teams + method: GET + auth: true + 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. + remote_id: + type: optional + docs: The API provider's ID for the given object. + response: + docs: '' + type: root.PaginatedTeamList + status-code: 200 + examples: + - headers: {} + 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 + retrieve: + path: /ticketing/v1/teams/{id} + method: GET + auth: true + 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 + headers: {} + 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: + key: value + source: + openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/tickets.yml b/.mock/definition/ticketing/tickets.yml new file mode 100644 index 00000000..8177b0bf --- /dev/null +++ b/.mock/definition/ticketing/tickets.yml @@ -0,0 +1,2151 @@ +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 + 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: true + 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. + 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. + page_size: + type: optional + docs: Number of results to return per page. + 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: + - headers: {} + 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 + remote_fields: + - remote_field_class: remote_field_class + create: + path: /ticketing/v1/tickets + method: POST + auth: true + 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: + - headers: {} + 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 + remote_fields: + - remote_field_class: remote_field_class + 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: true + 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 + headers: {} + 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: + key: value + remote_fields: + - remote_field_class: remote_field_class + value: + key: value + partialUpdate: + path: /ticketing/v1/tickets/{id} + method: PATCH + auth: true + 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 + headers: {} + 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 + remote_fields: + - remote_field_class: remote_field_class + 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: true + 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. + response: + docs: '' + type: root.PaginatedViewerList + status-code: 200 + examples: + - path-parameters: + ticket_id: ticket_id + headers: {} + 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: true + 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: {} + 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: true + 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: + - headers: {} + 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: true + 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. + response: + docs: '' + type: root.PaginatedRemoteFieldClassList + status-code: 200 + examples: + - headers: {} + 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_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 new file mode 100644 index 00000000..76cfbe5f --- /dev/null +++ b/.mock/definition/ticketing/users.yml @@ -0,0 +1,185 @@ +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: true + 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. + 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: + - headers: {} + 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 + retrieve: + path: /ticketing/v1/users/{id} + method: GET + auth: true + 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 + headers: {} + 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: + key: value + source: + openapi: openapi/openapi.yml diff --git a/.mock/definition/ticketing/webhookReceivers.yml b/.mock/definition/ticketing/webhookReceivers.yml new file mode 100644 index 00000000..54b5126a --- /dev/null +++ b/.mock/definition/ticketing/webhookReceivers.yml @@ -0,0 +1,61 @@ +imports: + root: __package__.yml +service: + auth: false + base-path: '' + endpoints: + list: + path: /ticketing/v1/webhook-receivers + method: GET + auth: true + docs: Returns a list of `WebhookReceiver` objects. + source: + openapi: openapi/openapi.yml + response: + docs: '' + type: list + status-code: 200 + examples: + - headers: {} + response: + body: + - event: event + is_active: true + key: key + create: + path: /ticketing/v1/webhook-receivers + method: POST + auth: true + 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: {} + 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 new file mode 100644 index 00000000..c4faf103 --- /dev/null +++ b/.mock/fern.config.json @@ -0,0 +1,4 @@ +{ + "organization" : "merge", + "version" : "0.63.28" +} \ No newline at end of file diff --git a/README.md b/README.md index f7823471..c7883f36 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ # Merge Python Library -[![pypi](https://img.shields.io/pypi/v/MergePythonClient.svg)](https://pypi.python.org/pypi/MergePythonClient) +[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2Fmerge-api%2Fmerge-python-client) +[![pypi](https://img.shields.io/pypi/v/MergePythonClient)](https://pypi.python.org/pypi/MergePythonClient) -The Merge Python library provides access to the Merge API from Python. +The Merge Python library provides convenient access to the Merge API from Python. ## Documentation @@ -11,9 +12,13 @@ API reference documentation is available [here](https://docs.merge.dev/). ## Installation ```sh -pip install --upgrade MergePythonClient +pip install MergePythonClient ``` +## Reference + +A full reference for this library is available [here](https://github.com/merge-api/merge-python-client/blob/HEAD/./reference.md). + ## Instantiation ```python @@ -39,131 +44,61 @@ client.hris. # APIs specific to the HRIS Category ## Usage -### Async Client -The SDK also exports an async client so that you can make non-blocking -calls to our API. This client leverages `httpx`'s AsyncClient, and exports all the same functions and functionality of the sync client. - -```python -import asyncio -from merge.client import AsyncMerge - -client = AsyncMerge( - api_key="", - account_token="") - -async def main() -> None: - await merge_client.ats.link_token.create( - end_user_email_address="john.smith@gmail.com", - end_user_organization_name="acme", - end_user_origin_id="1234", - categories=[CategoriesEnum.ATS], - link_expiry_mins=30, - ) - -asyncio.run(main()) -``` - -### Create Link Token +Instantiate and use the client with the following: ```python -import merge -from merge.client import Merge -from merge.resources.ats.types import CategoriesEnum +from merge import Merge +from merge.resources.ats import ActivityRequest -merge_client = Merge( - api_key="", - account_token="") - -link_token_response = merge_client.ats.link_token.create( - end_user_email_address="john.smith@gmail.com", - end_user_organization_name="acme", - end_user_origin_id="1234", - categories=[CategoriesEnum.ATS], - link_expiry_mins=30, +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ats.activities.create( + model=ActivityRequest(), + remote_user_id="remote_user_id", ) - -print("Created link token", link_token_response.link_token) ``` -### Get Employee +## Async Client -```python -import merge -from merge.client import Merge - -merge_client = Merge( - api_key="", - account_token="") - -employee = merge_client.hris.employees.retrieve( - id="0958cbc6-6040-430a-848e-aafacbadf4ae") -``` - -### Get Candidate +The SDK also exports an `async` client so that you can make non-blocking calls to our API. ```python -import merge -from merge.client import Merge - -merge_client = Merge( - api_key="", - account_token="") +import asyncio -candidate = merge_client.ats.candidates.retrieve( - id="521b18c2-4d01-4297-b451-19858d07c133") -``` +from merge import AsyncMerge +from merge.resources.ats import ActivityRequest -### Filter Candidate +client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) -```python -import merge -from merge.client import Merge -merge_client = Merge( - api_key="", - account_token="") +async def main() -> None: + await client.ats.activities.create( + model=ActivityRequest(), + remote_user_id="remote_user_id", + ) -candidates_response = merge_client.ats.candidates.list( - created_after="2030-01-01") -print(candidates_response.results) +asyncio.run(main()) ``` -### Get Contact +## Exception Handling -```python -import merge -from merge.client import Merge - -merge_client = Merge( - api_key="", - account_token="") - -contact = merge_client.accounting.contacts.retrieve( - id="c640b80b-fac9-409f-aa19-1f9221aec445") -``` - -### Create Ticket +When the API returns a non-success status code (4xx or 5xx response), a subclass of the following error +will be thrown. ```python -import merge -from merge.client import Merge -from merge.resources.ticketing.types import TicketStatusEnum - -merge_client = Merge( - api_key="", - account_token="") +from merge.core.api_error import ApiError -merge_client.ticketing.tickets.create( - model=merge.ticketing.TicketRequest( - name="Please add more integrations", - assignees=[ - "17a54124-287f-494d-965e-3c5b330c9a68" - ], - creator="3fa85f64-5717-4562-b3fc-2c963f66afa6", - due_date="2022-10-11T00:00:00Z", - status=TicketStatusEnum.OPEN, - )) +try: + client.ats.activities.create(...) +except ApiError as e: + print(e.status_code) + print(e.body) ``` ## File Download @@ -209,8 +144,88 @@ while response.next is not None: created_after="2030-01-01") ``` +## Advanced + +### Access Raw Response Data + +The SDK provides access to raw response data, including headers, through the `.with_raw_response` property. +The `.with_raw_response` property returns a "raw" client that can be used to access the `.headers` and `.data` attributes. + +```python +from merge import Merge + +client = Merge( + ..., +) +response = client.ats.activities.with_raw_response.create(...) +print(response.headers) # access the response headers +print(response.data) # access the underlying object +``` + +### Retries + +The SDK is instrumented with automatic retries with exponential backoff. A request will be retried as long +as the request is deemed retryable and the number of retry attempts has not grown larger than the configured +retry limit (default: 2). + +A request is deemed retryable when any of the following HTTP status codes is returned: + +- [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout) +- [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests) +- [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500) (Internal Server Errors) + +Use the `max_retries` request option to configure this behavior. + +```python +client.ats.activities.create(..., request_options={ + "max_retries": 1 +}) +``` + +### Timeouts + +The SDK defaults to a 60 second timeout. You can configure this with a timeout option at the client or request level. + +```python + +from merge import Merge + +client = Merge( + ..., + timeout=20.0, +) + + +# Override timeout for a specific method +client.ats.activities.create(..., request_options={ + "timeout_in_seconds": 1 +}) +``` + +### Custom Client + +You can override the `httpx` client to customize it for your use-case. Some common use-cases include support for proxies +and transports. + +```python +import httpx +from merge import Merge + +client = Merge( + ..., + httpx_client=httpx.Client( + proxies="http://my.test.proxy.example.com", + transport=httpx.HTTPTransport(local_address="0.0.0.0"), + ), +) +``` + ## Contributing -While we value open-source contributions to this SDK, this library is generated programmatically. Additions made directly to this library would have to be moved over to our generation code, otherwise they would be overwritten upon the next generated release. Feel free to open a PR as a proof of concept, but know that we will not be able to merge it as-is. We suggest opening an issue first to discuss with us! +While we value open-source contributions to this SDK, this library is generated programmatically. +Additions made directly to this library would have to be moved over to our generation code, +otherwise they would be overwritten upon the next generated release. Feel free to open a PR as +a proof of concept, but know that we will not be able to merge it as-is. We suggest opening +an issue first to discuss with us! On the other hand, contributions to the README are always very welcome! diff --git a/poetry.lock b/poetry.lock index f13c117d..c8e7e14a 100644 --- a/poetry.lock +++ b/poetry.lock @@ -158,48 +158,55 @@ files = [ [[package]] name = "mypy" -version = "1.0.1" +version = "1.13.0" description = "Optional static typing for Python" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "mypy-1.0.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:71a808334d3f41ef011faa5a5cd8153606df5fc0b56de5b2e89566c8093a0c9a"}, - {file = "mypy-1.0.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:920169f0184215eef19294fa86ea49ffd4635dedfdea2b57e45cb4ee85d5ccaf"}, - {file = "mypy-1.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:27a0f74a298769d9fdc8498fcb4f2beb86f0564bcdb1a37b58cbbe78e55cf8c0"}, - {file = "mypy-1.0.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:65b122a993d9c81ea0bfde7689b3365318a88bde952e4dfa1b3a8b4ac05d168b"}, - {file = "mypy-1.0.1-cp310-cp310-win_amd64.whl", hash = "sha256:5deb252fd42a77add936b463033a59b8e48eb2eaec2976d76b6878d031933fe4"}, - {file = "mypy-1.0.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:2013226d17f20468f34feddd6aae4635a55f79626549099354ce641bc7d40262"}, - {file = "mypy-1.0.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:48525aec92b47baed9b3380371ab8ab6e63a5aab317347dfe9e55e02aaad22e8"}, - {file = "mypy-1.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c96b8a0c019fe29040d520d9257d8c8f122a7343a8307bf8d6d4a43f5c5bfcc8"}, - {file = "mypy-1.0.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:448de661536d270ce04f2d7dddaa49b2fdba6e3bd8a83212164d4174ff43aa65"}, - {file = "mypy-1.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:d42a98e76070a365a1d1c220fcac8aa4ada12ae0db679cb4d910fabefc88b994"}, - {file = "mypy-1.0.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:e64f48c6176e243ad015e995de05af7f22bbe370dbb5b32bd6988438ec873919"}, - {file = "mypy-1.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5fdd63e4f50e3538617887e9aee91855368d9fc1dea30da743837b0df7373bc4"}, - {file = "mypy-1.0.1-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:dbeb24514c4acbc78d205f85dd0e800f34062efcc1f4a4857c57e4b4b8712bff"}, - {file = "mypy-1.0.1-cp37-cp37m-win_amd64.whl", hash = "sha256:a2948c40a7dd46c1c33765718936669dc1f628f134013b02ff5ac6c7ef6942bf"}, - {file = "mypy-1.0.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:5bc8d6bd3b274dd3846597855d96d38d947aedba18776aa998a8d46fabdaed76"}, - {file = "mypy-1.0.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:17455cda53eeee0a4adb6371a21dd3dbf465897de82843751cf822605d152c8c"}, - {file = "mypy-1.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e831662208055b006eef68392a768ff83596035ffd6d846786578ba1714ba8f6"}, - {file = "mypy-1.0.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:e60d0b09f62ae97a94605c3f73fd952395286cf3e3b9e7b97f60b01ddfbbda88"}, - {file = "mypy-1.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:0af4f0e20706aadf4e6f8f8dc5ab739089146b83fd53cb4a7e0e850ef3de0bb6"}, - {file = "mypy-1.0.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:24189f23dc66f83b839bd1cce2dfc356020dfc9a8bae03978477b15be61b062e"}, - {file = "mypy-1.0.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:93a85495fb13dc484251b4c1fd7a5ac370cd0d812bbfc3b39c1bafefe95275d5"}, - {file = "mypy-1.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5f546ac34093c6ce33f6278f7c88f0f147a4849386d3bf3ae193702f4fe31407"}, - {file = "mypy-1.0.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:c6c2ccb7af7154673c591189c3687b013122c5a891bb5651eca3db8e6c6c55bd"}, - {file = "mypy-1.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:15b5a824b58c7c822c51bc66308e759243c32631896743f030daf449fe3677f3"}, - {file = "mypy-1.0.1-py3-none-any.whl", hash = "sha256:eda5c8b9949ed411ff752b9a01adda31afe7eae1e53e946dbdf9db23865e66c4"}, - {file = "mypy-1.0.1.tar.gz", hash = "sha256:28cea5a6392bb43d266782983b5a4216c25544cd7d80be681a155ddcdafd152d"}, + {file = "mypy-1.13.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:6607e0f1dd1fb7f0aca14d936d13fd19eba5e17e1cd2a14f808fa5f8f6d8f60a"}, + {file = "mypy-1.13.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:8a21be69bd26fa81b1f80a61ee7ab05b076c674d9b18fb56239d72e21d9f4c80"}, + {file = "mypy-1.13.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7b2353a44d2179846a096e25691d54d59904559f4232519d420d64da6828a3a7"}, + {file = "mypy-1.13.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:0730d1c6a2739d4511dc4253f8274cdd140c55c32dfb0a4cf8b7a43f40abfa6f"}, + {file = "mypy-1.13.0-cp310-cp310-win_amd64.whl", hash = "sha256:c5fc54dbb712ff5e5a0fca797e6e0aa25726c7e72c6a5850cfd2adbc1eb0a372"}, + {file = "mypy-1.13.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:581665e6f3a8a9078f28d5502f4c334c0c8d802ef55ea0e7276a6e409bc0d82d"}, + {file = "mypy-1.13.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:3ddb5b9bf82e05cc9a627e84707b528e5c7caaa1c55c69e175abb15a761cec2d"}, + {file = "mypy-1.13.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:20c7ee0bc0d5a9595c46f38beb04201f2620065a93755704e141fcac9f59db2b"}, + {file = "mypy-1.13.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:3790ded76f0b34bc9c8ba4def8f919dd6a46db0f5a6610fb994fe8efdd447f73"}, + {file = "mypy-1.13.0-cp311-cp311-win_amd64.whl", hash = "sha256:51f869f4b6b538229c1d1bcc1dd7d119817206e2bc54e8e374b3dfa202defcca"}, + {file = "mypy-1.13.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:5c7051a3461ae84dfb5dd15eff5094640c61c5f22257c8b766794e6dd85e72d5"}, + {file = "mypy-1.13.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:39bb21c69a5d6342f4ce526e4584bc5c197fd20a60d14a8624d8743fffb9472e"}, + {file = "mypy-1.13.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:164f28cb9d6367439031f4c81e84d3ccaa1e19232d9d05d37cb0bd880d3f93c2"}, + {file = "mypy-1.13.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:a4c1bfcdbce96ff5d96fc9b08e3831acb30dc44ab02671eca5953eadad07d6d0"}, + {file = "mypy-1.13.0-cp312-cp312-win_amd64.whl", hash = "sha256:a0affb3a79a256b4183ba09811e3577c5163ed06685e4d4b46429a271ba174d2"}, + {file = "mypy-1.13.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:a7b44178c9760ce1a43f544e595d35ed61ac2c3de306599fa59b38a6048e1aa7"}, + {file = "mypy-1.13.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:5d5092efb8516d08440e36626f0153b5006d4088c1d663d88bf79625af3d1d62"}, + {file = "mypy-1.13.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:de2904956dac40ced10931ac967ae63c5089bd498542194b436eb097a9f77bc8"}, + {file = "mypy-1.13.0-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:7bfd8836970d33c2105562650656b6846149374dc8ed77d98424b40b09340ba7"}, + {file = "mypy-1.13.0-cp313-cp313-win_amd64.whl", hash = "sha256:9f73dba9ec77acb86457a8fc04b5239822df0c14a082564737833d2963677dbc"}, + {file = "mypy-1.13.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:100fac22ce82925f676a734af0db922ecfea991e1d7ec0ceb1e115ebe501301a"}, + {file = "mypy-1.13.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:7bcb0bb7f42a978bb323a7c88f1081d1b5dee77ca86f4100735a6f541299d8fb"}, + {file = "mypy-1.13.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bde31fc887c213e223bbfc34328070996061b0833b0a4cfec53745ed61f3519b"}, + {file = "mypy-1.13.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:07de989f89786f62b937851295ed62e51774722e5444a27cecca993fc3f9cd74"}, + {file = "mypy-1.13.0-cp38-cp38-win_amd64.whl", hash = "sha256:4bde84334fbe19bad704b3f5b78c4abd35ff1026f8ba72b29de70dda0916beb6"}, + {file = "mypy-1.13.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:0246bcb1b5de7f08f2826451abd947bf656945209b140d16ed317f65a17dc7dc"}, + {file = "mypy-1.13.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:7f5b7deae912cf8b77e990b9280f170381fdfbddf61b4ef80927edd813163732"}, + {file = "mypy-1.13.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7029881ec6ffb8bc233a4fa364736789582c738217b133f1b55967115288a2bc"}, + {file = "mypy-1.13.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:3e38b980e5681f28f033f3be86b099a247b13c491f14bb8b1e1e134d23bb599d"}, + {file = "mypy-1.13.0-cp39-cp39-win_amd64.whl", hash = "sha256:a6789be98a2017c912ae6ccb77ea553bbaf13d27605d2ca20a76dfbced631b24"}, + {file = "mypy-1.13.0-py3-none-any.whl", hash = "sha256:9c250883f9fd81d212e0952c92dbfcc96fc237f4b7c92f56ac81fd48460b3e5a"}, + {file = "mypy-1.13.0.tar.gz", hash = "sha256:0291a61b6fbf3e6673e3405cfcc0e7650bebc7939659fdca2702958038bd835e"}, ] [package.dependencies] -mypy-extensions = ">=0.4.3" +mypy-extensions = ">=1.0.0" tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} -typing-extensions = ">=3.10" +typing-extensions = ">=4.6.0" [package.extras] dmypy = ["psutil (>=4.0)"] +faster-cache = ["orjson"] install-types = ["pip"] -python2 = ["typed-ast (>=1.4.0,<2)"] +mypyc = ["setuptools (>=50)"] reports = ["lxml"] [[package]] @@ -427,29 +434,29 @@ six = ">=1.5" [[package]] name = "ruff" -version = "0.5.7" +version = "0.11.5" description = "An extremely fast Python linter and code formatter, written in Rust." optional = false python-versions = ">=3.7" files = [ - {file = "ruff-0.5.7-py3-none-linux_armv6l.whl", hash = "sha256:548992d342fc404ee2e15a242cdbea4f8e39a52f2e7752d0e4cbe88d2d2f416a"}, - {file = "ruff-0.5.7-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:00cc8872331055ee017c4f1071a8a31ca0809ccc0657da1d154a1d2abac5c0be"}, - {file = "ruff-0.5.7-py3-none-macosx_11_0_arm64.whl", hash = "sha256:eaf3d86a1fdac1aec8a3417a63587d93f906c678bb9ed0b796da7b59c1114a1e"}, - {file = "ruff-0.5.7-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a01c34400097b06cf8a6e61b35d6d456d5bd1ae6961542de18ec81eaf33b4cb8"}, - {file = "ruff-0.5.7-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:fcc8054f1a717e2213500edaddcf1dbb0abad40d98e1bd9d0ad364f75c763eea"}, - {file = "ruff-0.5.7-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7f70284e73f36558ef51602254451e50dd6cc479f8b6f8413a95fcb5db4a55fc"}, - {file = "ruff-0.5.7-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:a78ad870ae3c460394fc95437d43deb5c04b5c29297815a2a1de028903f19692"}, - {file = "ruff-0.5.7-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9ccd078c66a8e419475174bfe60a69adb36ce04f8d4e91b006f1329d5cd44bcf"}, - {file = "ruff-0.5.7-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7e31c9bad4ebf8fdb77b59cae75814440731060a09a0e0077d559a556453acbb"}, - {file = "ruff-0.5.7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8d796327eed8e168164346b769dd9a27a70e0298d667b4ecee6877ce8095ec8e"}, - {file = "ruff-0.5.7-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:4a09ea2c3f7778cc635e7f6edf57d566a8ee8f485f3c4454db7771efb692c499"}, - {file = "ruff-0.5.7-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:a36d8dcf55b3a3bc353270d544fb170d75d2dff41eba5df57b4e0b67a95bb64e"}, - {file = "ruff-0.5.7-py3-none-musllinux_1_2_i686.whl", hash = "sha256:9369c218f789eefbd1b8d82a8cf25017b523ac47d96b2f531eba73770971c9e5"}, - {file = "ruff-0.5.7-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:b88ca3db7eb377eb24fb7c82840546fb7acef75af4a74bd36e9ceb37a890257e"}, - {file = "ruff-0.5.7-py3-none-win32.whl", hash = "sha256:33d61fc0e902198a3e55719f4be6b375b28f860b09c281e4bdbf783c0566576a"}, - {file = "ruff-0.5.7-py3-none-win_amd64.whl", hash = "sha256:083bbcbe6fadb93cd86709037acc510f86eed5a314203079df174c40bbbca6b3"}, - {file = "ruff-0.5.7-py3-none-win_arm64.whl", hash = "sha256:2dca26154ff9571995107221d0aeaad0e75a77b5a682d6236cf89a58c70b76f4"}, - {file = "ruff-0.5.7.tar.gz", hash = "sha256:8dfc0a458797f5d9fb622dd0efc52d796f23f0a1493a9527f4e49a550ae9a7e5"}, + {file = "ruff-0.11.5-py3-none-linux_armv6l.whl", hash = "sha256:2561294e108eb648e50f210671cc56aee590fb6167b594144401532138c66c7b"}, + {file = "ruff-0.11.5-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:ac12884b9e005c12d0bd121f56ccf8033e1614f736f766c118ad60780882a077"}, + {file = "ruff-0.11.5-py3-none-macosx_11_0_arm64.whl", hash = "sha256:4bfd80a6ec559a5eeb96c33f832418bf0fb96752de0539905cf7b0cc1d31d779"}, + {file = "ruff-0.11.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0947c0a1afa75dcb5db4b34b070ec2bccee869d40e6cc8ab25aca11a7d527794"}, + {file = "ruff-0.11.5-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ad871ff74b5ec9caa66cb725b85d4ef89b53f8170f47c3406e32ef040400b038"}, + {file = "ruff-0.11.5-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e6cf918390cfe46d240732d4d72fa6e18e528ca1f60e318a10835cf2fa3dc19f"}, + {file = "ruff-0.11.5-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:56145ee1478582f61c08f21076dc59153310d606ad663acc00ea3ab5b2125f82"}, + {file = "ruff-0.11.5-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e5f66f8f1e8c9fc594cbd66fbc5f246a8d91f916cb9667e80208663ec3728304"}, + {file = "ruff-0.11.5-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:80b4df4d335a80315ab9afc81ed1cff62be112bd165e162b5eed8ac55bfc8470"}, + {file = "ruff-0.11.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3068befab73620b8a0cc2431bd46b3cd619bc17d6f7695a3e1bb166b652c382a"}, + {file = "ruff-0.11.5-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:f5da2e710a9641828e09aa98b92c9ebbc60518fdf3921241326ca3e8f8e55b8b"}, + {file = "ruff-0.11.5-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:ef39f19cb8ec98cbc762344921e216f3857a06c47412030374fffd413fb8fd3a"}, + {file = "ruff-0.11.5-py3-none-musllinux_1_2_i686.whl", hash = "sha256:b2a7cedf47244f431fd11aa5a7e2806dda2e0c365873bda7834e8f7d785ae159"}, + {file = "ruff-0.11.5-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:81be52e7519f3d1a0beadcf8e974715b2dfc808ae8ec729ecfc79bddf8dbb783"}, + {file = "ruff-0.11.5-py3-none-win32.whl", hash = "sha256:e268da7b40f56e3eca571508a7e567e794f9bfcc0f412c4b607931d3af9c4afe"}, + {file = "ruff-0.11.5-py3-none-win_amd64.whl", hash = "sha256:6c6dc38af3cfe2863213ea25b6dc616d679205732dc0fb673356c2d69608f800"}, + {file = "ruff-0.11.5-py3-none-win_arm64.whl", hash = "sha256:67e241b4314f4eacf14a601d586026a962f4002a475aa702c69980a38087aa4e"}, + {file = "ruff-0.11.5.tar.gz", hash = "sha256:cae2e2439cb88853e421901ec040a758960b576126dab520fa08e9de431d1bef"}, ] [[package]] @@ -540,4 +547,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "6f6c191c1028d17a97fdfa84cedfd3cef94b5d63d98b8c1d333b3398eeea9055" +content-hash = "9c462a453d491f6c13e77f216c114935f5785c9e0c2288839fb0862ea2551003" diff --git a/pyproject.toml b/pyproject.toml index ff4d8f70..3e629282 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "MergePythonClient" [tool.poetry] name = "MergePythonClient" -version = "1.2.1" +version = "2.0.0" description = "" readme = "README.md" authors = [] @@ -40,13 +40,13 @@ pydantic = ">= 1.9.2" pydantic-core = "^2.18.2" typing_extensions = ">= 4.0.0" -[tool.poetry.dev-dependencies] -mypy = "1.0.1" +[tool.poetry.group.dev.dependencies] +mypy = "==1.13.0" pytest = "^7.4.0" pytest-asyncio = "^0.23.5" python-dateutil = "^2.9.0" types-python-dateutil = "^2.9.0.20240316" -ruff = "^0.5.6" +ruff = "==0.11.5" [tool.pytest.ini_options] testpaths = [ "tests" ] @@ -58,6 +58,26 @@ plugins = ["pydantic.mypy"] [tool.ruff] line-length = 120 +[tool.ruff.lint] +select = [ + "E", # pycodestyle errors + "F", # pyflakes + "I", # isort +] +ignore = [ + "E402", # Module level import not at top of file + "E501", # Line too long + "E711", # Comparison to `None` should be `cond is not None` + "E712", # Avoid equality comparisons to `True`; use `if ...:` checks + "E721", # Use `is` and `is not` for type comparisons, or `isinstance()` for insinstance checks + "E722", # Do not use bare `except` + "E731", # Do not assign a `lambda` expression, use a `def` + "F821", # Undefined name + "F841" # Local variable ... is assigned to but never used +] + +[tool.ruff.lint.isort] +section-order = ["future", "standard-library", "third-party", "first-party"] [build-system] requires = ["poetry-core"] diff --git a/reference.md b/reference.md index f549afa7..41b3c4f8 100644 --- a/reference.md +++ b/reference.md @@ -1797,7 +1797,7 @@ client.ats.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`, `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` +**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`
@@ -2444,7 +2444,7 @@ client.ats.candidates.ignore_create(
-**reason:** `ReasonEnum` +**reason:** `IgnoreCommonModelRequestReason`
@@ -5775,7 +5775,7 @@ client.ats.link_token.create(
-**language:** `typing.Optional[LanguageEnum]` +**language:** `typing.Optional[EndUserDetailsRequestLanguage]` The following subset of IETF language tags can be used to configure localization. @@ -7893,8 +7893,8 @@ client.ats.webhook_receivers.create(
-## Crm AccountDetails -
client.crm.account_details.retrieve() +## Filestorage AccountDetails +
client.filestorage.account_details.retrieve()
@@ -7927,7 +7927,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.account_details.retrieve() +client.filestorage.account_details.retrieve() ```
@@ -7955,8 +7955,8 @@ client.crm.account_details.retrieve()
-## Crm AccountToken -
client.crm.account_token.retrieve(...) +## Filestorage AccountToken +
client.filestorage.account_token.retrieve(...)
@@ -7989,7 +7989,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.account_token.retrieve( +client.filestorage.account_token.retrieve( public_token="public_token", ) @@ -8027,8 +8027,8 @@ client.crm.account_token.retrieve(
-## Crm Accounts -
client.crm.accounts.list(...) +## Filestorage AsyncPassthrough +
client.filestorage.async_passthrough.create(...)
@@ -8040,7 +8040,7 @@ client.crm.account_token.retrieve(
-Returns a list of `Account` objects. +Asynchronously pull data from an endpoint not currently supported by Merge.
@@ -8056,12 +8056,18 @@ Returns a list of `Account` objects. ```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.crm.accounts.list() +client.filestorage.async_passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", + ), +) ``` @@ -8077,7 +8083,7 @@ client.crm.accounts.list()
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**request:** `DataPassthroughRequest`
@@ -8085,103 +8091,70 @@ client.crm.accounts.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. -
-
-
-**expand:** `typing.Optional[typing.Literal["owner"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. -
+
+
client.filestorage.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.filestorage.async_passthrough.retrieve( + async_passthrough_receipt_id="async_passthrough_receipt_id", +) -**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. -
+#### ⚙️ 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`
@@ -8201,7 +8174,8 @@ client.crm.accounts.list()
-
client.crm.accounts.create(...) +## Filestorage AuditTrail +
client.filestorage.audit_trail.list(...)
@@ -8213,7 +8187,7 @@ client.crm.accounts.list()
-Creates an `Account` object with the given values. +Gets a list of audit trail events.
@@ -8229,15 +8203,12 @@ Creates an `Account` object with the given values. ```python from merge import Merge -from merge.resources.crm import AccountRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.accounts.create( - model=AccountRequest(), -) +client.filestorage.audit_trail.list() ``` @@ -8253,7 +8224,7 @@ client.crm.accounts.create(
-**model:** `AccountRequest` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -8261,7 +8232,7 @@ client.crm.accounts.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time
@@ -8269,7 +8240,31 @@ client.crm.accounts.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**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.
@@ -8289,7 +8284,8 @@ client.crm.accounts.create(
-
client.crm.accounts.retrieve(...) +## Filestorage AvailableActions +
client.filestorage.available_actions.retrieve()
@@ -8301,7 +8297,7 @@ client.crm.accounts.create(
-Returns an `Account` object with the given `id`. +Returns a list of models and actions available for an account.
@@ -8322,9 +8318,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.accounts.retrieve( - id="id", -) +client.filestorage.available_actions.retrieve() ``` @@ -8340,43 +8334,65 @@ client.crm.accounts.retrieve(
-**id:** `str` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**expand:** `typing.Optional[typing.Literal["owner"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. -
+
+## Filestorage Scopes +
client.filestorage.scopes.default_scopes_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_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). +
+
+#### 🔌 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.filestorage.scopes.default_scopes_retrieve() + +``` +
+
+#### ⚙️ Parameters + +
+
+
@@ -8392,7 +8408,7 @@ client.crm.accounts.retrieve(
-
client.crm.accounts.partial_update(...) +
client.filestorage.scopes.linked_account_scopes_retrieve()
@@ -8404,7 +8420,7 @@ client.crm.accounts.retrieve(
-Updates an `Account` object with the given `id`. +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).
@@ -8420,16 +8436,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", - model=PatchedAccountRequest(), -) +client.filestorage.scopes.linked_account_scopes_retrieve() ``` @@ -8445,38 +8457,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.
@@ -8489,7 +8469,7 @@ client.crm.accounts.partial_update(
-
client.crm.accounts.meta_patch_retrieve(...) +
client.filestorage.scopes.linked_account_scopes_create(...)
@@ -8501,7 +8481,7 @@ client.crm.accounts.partial_update(
-Returns metadata for `CRMAccount` PATCHs. +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)
@@ -8517,13 +8497,42 @@ Returns metadata for `CRMAccount` PATCHs. ```python 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.crm.accounts.meta_patch_retrieve( - id="id", +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, + ) + }, + ), + ], ) ``` @@ -8540,7 +8549,7 @@ client.crm.accounts.meta_patch_retrieve(
-**id:** `str` +**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for
@@ -8560,7 +8569,8 @@ client.crm.accounts.meta_patch_retrieve(
-
client.crm.accounts.meta_post_retrieve() +## Filestorage DeleteAccount +
client.filestorage.delete_account.delete()
@@ -8572,7 +8582,7 @@ client.crm.accounts.meta_patch_retrieve(
-Returns metadata for `CRMAccount` POSTs. +Delete a linked account.
@@ -8593,7 +8603,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.accounts.meta_post_retrieve() +client.filestorage.delete_account.delete() ``` @@ -8621,7 +8631,8 @@ client.crm.accounts.meta_post_retrieve()
-
client.crm.accounts.remote_field_classes_list(...) +## Filestorage Drives +
client.filestorage.drives.list(...)
@@ -8633,7 +8644,7 @@ client.crm.accounts.meta_post_retrieve()
-Returns a list of `RemoteFieldClass` objects. +Returns a list of `Drive` objects.
@@ -8654,7 +8665,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.accounts.remote_field_classes_list() +client.filestorage.drives.list() ``` @@ -8670,6 +8681,22 @@ client.crm.accounts.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.
@@ -8694,7 +8721,7 @@ client.crm.accounts.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).
@@ -8702,7 +8729,7 @@ client.crm.accounts.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). +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -8710,7 +8737,15 @@ client.crm.accounts.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_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.
@@ -8726,6 +8761,14 @@ client.crm.accounts.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.
@@ -8738,8 +8781,7 @@ client.crm.accounts.remote_field_classes_list()
-## Crm AsyncPassthrough -
client.crm.async_passthrough.create(...) +
client.filestorage.drives.retrieve(...)
@@ -8751,7 +8793,7 @@ client.crm.accounts.remote_field_classes_list()
-Asynchronously pull data from an endpoint not currently supported by Merge. +Returns a `Drive` object with the given `id`.
@@ -8767,17 +8809,13 @@ 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", - ), +client.filestorage.drives.retrieve( + id="id", ) ``` @@ -8794,7 +8832,23 @@ client.crm.async_passthrough.create(
-**request:** `DataPassthroughRequest` +**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).
@@ -8814,7 +8868,8 @@ client.crm.async_passthrough.create(
-
client.crm.async_passthrough.retrieve(...) +## Filestorage FieldMapping +
client.filestorage.field_mapping.field_mappings_retrieve(...)
@@ -8826,7 +8881,7 @@ client.crm.async_passthrough.create(
-Retrieves data from earlier async-passthrough POST request +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/).
@@ -8847,9 +8902,7 @@ 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.filestorage.field_mapping.field_mappings_retrieve() ``` @@ -8865,7 +8918,7 @@ client.crm.async_passthrough.retrieve(
-**async_passthrough_receipt_id:** `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.
@@ -8885,8 +8938,7 @@ client.crm.async_passthrough.retrieve(
-## Crm AuditTrail -
client.crm.audit_trail.list(...) +
client.filestorage.field_mapping.field_mappings_create(...)
@@ -8898,7 +8950,7 @@ client.crm.async_passthrough.retrieve(
-Gets a list of audit trail events. +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.
@@ -8919,7 +8971,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.audit_trail.list() +client.filestorage.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", +) ``` @@ -8935,7 +8994,7 @@ client.crm.audit_trail.list()
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**target_field_name:** `str` — The name of the target field you want this remote field to map to.
@@ -8943,7 +9002,7 @@ client.crm.audit_trail.list()
-**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time +**target_field_description:** `str` — The description of the target field you want this remote field to map to.
@@ -8951,7 +9010,7 @@ 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`, `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` +**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.
@@ -8959,7 +9018,7 @@ client.crm.audit_trail.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from.
@@ -8967,7 +9026,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_url_path:** `str` — The path of the remote endpoint where the remote field is coming from.
@@ -8975,7 +9034,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. +**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.
@@ -8995,8 +9062,7 @@ client.crm.audit_trail.list()
-## Crm AvailableActions -
client.crm.available_actions.retrieve() +
client.filestorage.field_mapping.field_mappings_destroy(...)
@@ -9008,7 +9074,7 @@ client.crm.audit_trail.list()
-Returns a list of models and actions available for an account. +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.
@@ -9029,7 +9095,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.available_actions.retrieve() +client.filestorage.field_mapping.field_mappings_destroy( + field_mapping_id="field_mapping_id", +) ``` @@ -9045,6 +9113,14 @@ client.crm.available_actions.retrieve()
+**field_mapping_id:** `str` + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -9057,8 +9133,7 @@ client.crm.available_actions.retrieve()
-## Crm Contacts -
client.crm.contacts.list(...) +
client.filestorage.field_mapping.field_mappings_partial_update(...)
@@ -9070,7 +9145,7 @@ client.crm.available_actions.retrieve()
-Returns a list of `Contact` 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.
@@ -9091,7 +9166,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.contacts.list() +client.filestorage.field_mapping.field_mappings_partial_update( + field_mapping_id="field_mapping_id", +) ``` @@ -9107,95 +9184,7 @@ client.crm.contacts.list()
-**account_id:** `typing.Optional[str]` — If provided, will only return contacts with this account. - -
-
- -
-
- -**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_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]` — 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. +**field_mapping_id:** `str`
@@ -9203,7 +9192,7 @@ client.crm.contacts.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**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.
@@ -9211,7 +9200,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. +**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from.
@@ -9219,7 +9208,7 @@ client.crm.contacts.list()
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**remote_url_path:** `typing.Optional[str]` — The path of the remote endpoint where the remote field is coming from.
@@ -9239,7 +9228,7 @@ client.crm.contacts.list()
-
client.crm.contacts.create(...) +
client.filestorage.field_mapping.remote_fields_retrieve(...)
@@ -9251,7 +9240,7 @@ client.crm.contacts.list()
-Creates a `Contact` object with the given values. +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/).
@@ -9267,15 +9256,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( - model=ContactRequest(), -) +client.filestorage.field_mapping.remote_fields_retrieve() ``` @@ -9291,15 +9277,7 @@ 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. +**common_models:** `typing.Optional[str]` — A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models.
@@ -9307,7 +9285,7 @@ client.crm.contacts.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**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.
@@ -9327,7 +9305,7 @@ client.crm.contacts.create(
-
client.crm.contacts.retrieve(...) +
client.filestorage.field_mapping.target_fields_retrieve()
@@ -9339,7 +9317,7 @@ client.crm.contacts.create(
-Returns a `Contact` 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/).
@@ -9360,9 +9338,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.contacts.retrieve( - id="id", -) +client.filestorage.field_mapping.target_fields_retrieve() ``` @@ -9378,31 +9354,69 @@ client.crm.contacts.retrieve(
-**id:** `str` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
+ + + + +
+## Filestorage Files +
client.filestorage.files.list(...)
-**expand:** `typing.Optional[ContactsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `File` 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", +) +client.filestorage.files.list() + +``` +
+
+#### ⚙️ 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. +
+
+ +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -9410,7 +9424,7 @@ 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). +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -9418,72 +9432,87 @@ client.crm.contacts.retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**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. +
-
-
client.crm.contacts.partial_update(...)
-#### 📝 Description +**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. + +
+
+
-Updates a `Contact` 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. + +
+
+
-```python -from merge import Merge -from merge.resources.crm import PatchedContactRequest +**include_shell_data:** `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.crm.contacts.partial_update( - id="id", - model=PatchedContactRequest(), -) +
+
-``` +**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. +
-#### ⚙️ Parameters -
+**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
+
-**id:** `str` +**name:** `typing.Optional[str]` — If provided, will only return files with this name. This performs an exact match.
@@ -9491,7 +9520,7 @@ client.crm.contacts.partial_update(
-**model:** `PatchedContactRequest` +**order_by:** `typing.Optional[FilesListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at.
@@ -9499,7 +9528,7 @@ client.crm.contacts.partial_update(
-**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.
@@ -9507,7 +9536,7 @@ client.crm.contacts.partial_update(
-**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.
@@ -9527,7 +9556,7 @@ client.crm.contacts.partial_update(
-
client.crm.contacts.ignore_create(...) +
client.filestorage.files.create(...)
@@ -9539,7 +9568,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. +Creates a `File` object with the given values.
@@ -9555,17 +9584,14 @@ 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 +from merge.resources.filestorage import FileRequest 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.filestorage.files.create( + model=FileRequest(), ) ``` @@ -9582,7 +9608,7 @@ client.crm.contacts.ignore_create(
-**model_id:** `str` +**model:** `FileRequest`
@@ -9590,7 +9616,15 @@ client.crm.contacts.ignore_create(
-**request:** `IgnoreCommonModelRequest` +**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.
@@ -9610,7 +9644,7 @@ client.crm.contacts.ignore_create(
-
client.crm.contacts.meta_patch_retrieve(...) +
client.filestorage.files.retrieve(...)
@@ -9622,7 +9656,7 @@ client.crm.contacts.ignore_create(
-Returns metadata for `CRMContact` PATCHs. +Returns a `File` object with the given `id`.
@@ -9643,7 +9677,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.contacts.meta_patch_retrieve( +client.filestorage.files.retrieve( id="id", ) @@ -9669,6 +9703,30 @@ client.crm.contacts.meta_patch_retrieve(
+**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.
@@ -9681,7 +9739,7 @@ client.crm.contacts.meta_patch_retrieve(
-
client.crm.contacts.meta_post_retrieve() +
client.filestorage.files.download_request_meta_retrieve(...)
@@ -9693,7 +9751,7 @@ client.crm.contacts.meta_patch_retrieve(
-Returns metadata for `CRMContact` POSTs. +Returns metadata to construct an authenticated file download request for a singular file, allowing you to download file directly from the third-party.
@@ -9714,7 +9772,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.contacts.meta_post_retrieve() +client.filestorage.files.download_request_meta_retrieve( + id="id", +) ``` @@ -9730,6 +9790,22 @@ client.crm.contacts.meta_post_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.
@@ -9742,7 +9818,7 @@ client.crm.contacts.meta_post_retrieve()
-
client.crm.contacts.remote_field_classes_list(...) +
client.filestorage.files.download_request_meta_list(...)
@@ -9754,7 +9830,7 @@ client.crm.contacts.meta_post_retrieve()
-Returns a list of `RemoteFieldClass` objects. +Returns metadata to construct authenticated file download requests, allowing you to download files directly from the third-party.
@@ -9775,7 +9851,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.contacts.remote_field_classes_list() +client.filestorage.files.download_request_meta_list() ``` @@ -9791,6 +9867,22 @@ client.crm.contacts.remote_field_classes_list()
+**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.
@@ -9807,7 +9899,7 @@ 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. +**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.
@@ -9815,7 +9907,7 @@ client.crm.contacts.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. +**modified_after:** `typing.Optional[str]` — If provided, will only return objects modified after this datetime.
@@ -9823,7 +9915,7 @@ client.crm.contacts.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). +**modified_before:** `typing.Optional[str]` — If provided, will only return objects modified before this datetime.
@@ -9831,7 +9923,7 @@ client.crm.contacts.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 +**order_by:** `typing.Optional[FilesDownloadRequestMetaListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at.
@@ -9859,8 +9951,7 @@ client.crm.contacts.remote_field_classes_list()
-## Crm CustomObjectClasses -
client.crm.custom_object_classes.list(...) +
client.filestorage.files.meta_post_retrieve()
@@ -9872,7 +9963,7 @@ client.crm.contacts.remote_field_classes_list()
-Returns a list of `CustomObjectClass` objects. +Returns metadata for `FileStorageFile` POSTs.
@@ -9893,7 +9984,69 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.custom_object_classes.list() +client.filestorage.files.meta_post_retrieve() + +``` + +
+ + + +#### ⚙️ Parameters + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + + + +
+ +## Filestorage Folders +
client.filestorage.folders.list(...) +
+
+ +#### 📝 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", +) +client.filestorage.folders.list() ```
@@ -9933,7 +10086,15 @@ 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. +**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.
@@ -9981,6 +10142,14 @@ client.crm.custom_object_classes.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.
@@ -9989,6 +10158,14 @@ client.crm.custom_object_classes.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.
@@ -10009,7 +10186,7 @@ client.crm.custom_object_classes.list()
-
client.crm.custom_object_classes.retrieve(...) +
client.filestorage.folders.create(...)
@@ -10021,7 +10198,7 @@ client.crm.custom_object_classes.list()
-Returns a `CustomObjectClass` object with the given `id`. +Creates a `Folder` object with the given values.
@@ -10037,13 +10214,14 @@ Returns a `CustomObjectClass` object with the given `id`. ```python from merge import Merge +from merge.resources.filestorage import FolderRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.custom_object_classes.retrieve( - id="id", +client.filestorage.folders.create( + model=FolderRequest(), ) ``` @@ -10060,15 +10238,7 @@ client.crm.custom_object_classes.retrieve(
-**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[typing.Literal["fields"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**model:** `FolderRequest`
@@ -10076,7 +10246,7 @@ client.crm.custom_object_classes.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.
@@ -10084,7 +10254,7 @@ client.crm.custom_object_classes.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.
@@ -10104,8 +10274,7 @@ client.crm.custom_object_classes.retrieve(
-## Crm AssociationTypes -
client.crm.association_types.custom_object_classes_association_types_list(...) +
client.filestorage.folders.retrieve(...)
@@ -10117,7 +10286,7 @@ client.crm.custom_object_classes.retrieve(
-Returns a list of `AssociationType` objects. +Returns a `Folder` object with the given `id`.
@@ -10138,8 +10307,8 @@ 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", +client.filestorage.folders.retrieve( + id="id", ) ``` @@ -10156,7 +10325,7 @@ client.crm.association_types.custom_object_classes_association_types_list(
-**custom_object_class_id:** `str` +**id:** `str`
@@ -10164,7 +10333,7 @@ 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. +**expand:** `typing.Optional[FoldersRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -10172,7 +10341,7 @@ client.crm.association_types.custom_object_classes_association_types_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.
@@ -10180,7 +10349,7 @@ client.crm.association_types.custom_object_classes_association_types_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).
@@ -10188,67 +10357,64 @@ client.crm.association_types.custom_object_classes_association_types_list(
-**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. +**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.filestorage.folders.meta_post_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). - -
-
-
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - +Returns metadata for `FileStorageFolder` POSTs. +
+
+#### 🔌 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. - +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.filestorage.folders.meta_post_retrieve() + +``` +
+
+#### ⚙️ Parameters +
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
-
@@ -10264,7 +10430,8 @@ client.crm.association_types.custom_object_classes_association_types_list(
-
client.crm.association_types.custom_object_classes_association_types_create(...) +## Filestorage GenerateKey +
client.filestorage.generate_key.create(...)
@@ -10276,7 +10443,7 @@ client.crm.association_types.custom_object_classes_association_types_list(
-Creates an `AssociationType` object with the given values. +Create a remote key.
@@ -10292,31 +10459,13 @@ Creates an `AssociationType` object with the given values. ```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", - ), +client.filestorage.generate_key.create( + name="Remote Deployment Key 1", ) ``` @@ -10333,31 +10482,7 @@ client.crm.association_types.custom_object_classes_association_types_create(
-**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. +**name:** `str` — The name of the remote key
@@ -10377,7 +10502,8 @@ client.crm.association_types.custom_object_classes_association_types_create(
-
client.crm.association_types.custom_object_classes_association_types_retrieve(...) +## Filestorage Groups +
client.filestorage.groups.list(...)
@@ -10389,7 +10515,7 @@ client.crm.association_types.custom_object_classes_association_types_create(
-Returns an `AssociationType` object with the given `id`. +Returns a list of `Group` objects.
@@ -10410,10 +10536,7 @@ 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", - id="id", -) +client.filestorage.groups.list() ``` @@ -10429,7 +10552,7 @@ client.crm.association_types.custom_object_classes_association_types_retrieve(
-**custom_object_class_id:** `str` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -10437,7 +10560,7 @@ client.crm.association_types.custom_object_classes_association_types_retrieve(
-**id:** `str` +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -10445,7 +10568,23 @@ 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. +**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/).
@@ -10469,6 +10608,38 @@ client.crm.association_types.custom_object_classes_association_types_retrieve(
+**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.
@@ -10481,7 +10652,7 @@ client.crm.association_types.custom_object_classes_association_types_retrieve(
-
client.crm.association_types.custom_object_classes_association_types_meta_post_retrieve(...) +
client.filestorage.groups.retrieve(...)
@@ -10493,7 +10664,7 @@ client.crm.association_types.custom_object_classes_association_types_retrieve(
-Returns metadata for `CRMAssociationType` POSTs. +Returns a `Group` object with the given `id`.
@@ -10514,8 +10685,8 @@ 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", +client.filestorage.groups.retrieve( + id="id", ) ``` @@ -10532,7 +10703,31 @@ client.crm.association_types.custom_object_classes_association_types_meta_post_r
-**custom_object_class_id:** `str` +**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).
@@ -10552,8 +10747,8 @@ client.crm.association_types.custom_object_classes_association_types_meta_post_r
-## Crm CustomObjects -
client.crm.custom_objects.custom_object_classes_custom_objects_list(...) +## Filestorage Issues +
client.filestorage.issues.list(...)
@@ -10565,7 +10760,7 @@ client.crm.association_types.custom_object_classes_association_types_meta_post_r
-Returns a list of `CustomObject` objects. +Gets all issues for Organization.
@@ -10586,9 +10781,7 @@ 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", -) +client.filestorage.issues.list() ``` @@ -10604,7 +10797,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_list(
-**custom_object_class_id:** `str` +**account_token:** `typing.Optional[str]`
@@ -10612,7 +10805,7 @@ 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. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -10620,7 +10813,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. +**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time
@@ -10628,7 +10821,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**end_user_organization_name:** `typing.Optional[str]`
@@ -10636,7 +10829,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/). +**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime.
@@ -10644,7 +10837,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. +**first_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was before this datetime.
@@ -10652,7 +10845,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. +**include_muted:** `typing.Optional[str]` — If true, will include muted issues
@@ -10660,7 +10853,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). +**integration_name:** `typing.Optional[str]`
@@ -10668,7 +10861,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_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.
@@ -10676,7 +10869,15 @@ client.crm.custom_objects.custom_object_classes_custom_objects_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. + +
+
+ +
+
+ +**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in.
@@ -10692,7 +10893,20 @@ client.crm.custom_objects.custom_object_classes_custom_objects_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
@@ -10712,7 +10926,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_list(
-
client.crm.custom_objects.custom_object_classes_custom_objects_create(...) +
client.filestorage.issues.retrieve(...)
@@ -10724,7 +10938,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_list(
-Creates a `CustomObject` object with the given values. +Get a specific issue.
@@ -10740,17 +10954,13 @@ Creates a `CustomObject` object with the given values. ```python from merge import Merge -from merge.resources.crm import CustomObjectRequest 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", - model=CustomObjectRequest( - fields={"test_field": "hello"}, - ), +client.filestorage.issues.retrieve( + id="id", ) ``` @@ -10767,31 +10977,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_create(
-**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. +**id:** `str`
@@ -10811,7 +10997,8 @@ client.crm.custom_objects.custom_object_classes_custom_objects_create(
-
client.crm.custom_objects.custom_object_classes_custom_objects_retrieve(...) +## Filestorage LinkToken +
client.filestorage.link_token.create(...)
@@ -10823,7 +11010,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_create(
-Returns a `CustomObject` object with the given `id`. +Creates a link token to be used when linking a new end user.
@@ -10839,14 +11026,17 @@ Returns a `CustomObject` object with the given `id`. ```python from merge import Merge +from merge.resources.filestorage import CategoriesEnum 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", - id="id", +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], ) ``` @@ -10863,7 +11053,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_retrieve(
-**custom_object_class_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.
@@ -10871,7 +11061,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_retrieve(
-**id:** `str` +**end_user_organization_name:** `str` — Your end user's organization.
@@ -10879,7 +11069,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_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.
@@ -10887,7 +11077,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_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. +**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link.
@@ -10895,7 +11085,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_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). +**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/.
@@ -10903,70 +11093,75 @@ client.crm.custom_objects.custom_object_classes_custom_objects_retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**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. +
-
-
client.crm.custom_objects.custom_object_classes_custom_objects_meta_post_retrieve(...)
-#### 📝 Description - -
-
+**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 `CRMCustomObject` 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[LanguageEnum]` -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", -) +The following subset of IETF language tags can be used to configure localization. -``` -
-
+* `en` - en +* `de` - de + -#### ⚙️ Parameters -
+**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled. + +
+
+
-**custom_object_class_id:** `str` +**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — A JSON object containing integration-specific configuration options.
@@ -10986,7 +11181,8 @@ 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(...) +## Filestorage LinkedAccounts +
client.filestorage.linked_accounts.list(...)
@@ -10998,7 +11194,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_meta_post_retriev
-Returns a list of `RemoteFieldClass` objects. +List linked accounts for your organization.
@@ -11019,7 +11215,7 @@ 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() +client.filestorage.linked_accounts.list() ``` @@ -11035,6 +11231,24 @@ client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_clas
+**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.
@@ -11043,7 +11257,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_clas
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is 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.
@@ -11051,7 +11265,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_clas
-**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.
@@ -11059,7 +11273,7 @@ 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. +**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID.
@@ -11067,7 +11281,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_clas
-**include_shell_data:** `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.
@@ -11075,7 +11289,39 @@ client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_clas
-**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]` + +
+
+ +
+
+ +**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.
@@ -11091,6 +11337,14 @@ client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_clas
+**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -11103,8 +11357,8 @@ client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_clas
-## Crm Associations -
client.crm.associations.custom_object_classes_custom_objects_associations_list(...) +## Filestorage Passthrough +
client.filestorage.passthrough.create(...)
@@ -11116,7 +11370,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_clas
-Returns a list of `Association` objects. +Pull data from an endpoint not currently supported by Merge.
@@ -11132,14 +11386,17 @@ Returns a list of `Association` objects. ```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.crm.associations.custom_object_classes_custom_objects_associations_list( - custom_object_class_id="custom_object_class_id", - object_id="object_id", +client.filestorage.passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", + ), ) ``` @@ -11156,7 +11413,7 @@ client.crm.associations.custom_object_classes_custom_objects_associations_list(
-**custom_object_class_id:** `str` +**request:** `DataPassthroughRequest`
@@ -11164,103 +11421,71 @@ client.crm.associations.custom_object_classes_custom_objects_associations_list(
-**object_id:** `str` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**association_type_id:** `typing.Optional[str]` — If provided, will only return opportunities with this association_type. -
-
-
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. -
+
+## Filestorage RegenerateKey +
client.filestorage.regenerate_key.create(...)
-**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[typing.Literal["association_type"]]` — 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. - -
-
-
-**include_shell_data:** `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.filestorage.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. - -
-
-
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**name:** `str` — The name of the remote key
@@ -11280,7 +11505,8 @@ client.crm.associations.custom_object_classes_custom_objects_associations_list(
-
client.crm.associations.custom_object_classes_custom_objects_associations_update(...) +## Filestorage SyncStatus +
client.filestorage.sync_status.list(...)
@@ -11292,7 +11518,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`. +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).
@@ -11313,13 +11539,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.associations.custom_object_classes_custom_objects_associations_update( - association_type_id="association_type_id", - source_class_id="source_class_id", - source_object_id="source_object_id", - target_class_id="target_class_id", - target_object_id="target_object_id", -) +client.filestorage.sync_status.list() ``` @@ -11335,7 +11555,7 @@ client.crm.associations.custom_object_classes_custom_objects_associations_update
-**association_type_id:** `str` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -11343,7 +11563,7 @@ client.crm.associations.custom_object_classes_custom_objects_associations_update
-**source_class_id:** `str` +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -11351,42 +11571,64 @@ client.crm.associations.custom_object_classes_custom_objects_associations_update
-**source_object_id:** `str` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**target_class_id:** `str` -
+
+## Filestorage ForceResync +
client.filestorage.force_resync.sync_status_resync_create()
-**target_object_id:** `str` - -
-
+#### 📝 Description
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - +
+
+ +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 +
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.filestorage.force_resync.sync_status_resync_create() + +```
+
+
+ +#### ⚙️ Parameters + +
+
@@ -11403,8 +11645,8 @@ client.crm.associations.custom_object_classes_custom_objects_associations_update
-## Crm Scopes -
client.crm.scopes.default_scopes_retrieve() +## Filestorage Users +
client.filestorage.users.list(...)
@@ -11416,7 +11658,7 @@ client.crm.associations.custom_object_classes_custom_objects_associations_update
-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 `User` objects.
@@ -11437,7 +11679,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.scopes.default_scopes_retrieve() +client.filestorage.users.list() ``` @@ -11453,64 +11695,91 @@ client.crm.scopes.default_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.crm.scopes.linked_account_scopes_retrieve()
-#### 📝 Description +**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/). + +
+
+
-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 -
+**is_me:** `typing.Optional[str]` — If provided, will only return the user object for requestor. + +
+
+
-```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.crm.scopes.linked_account_scopes_retrieve() +
+
-``` +**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. +
-#### ⚙️ Parameters -
+**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+
@@ -11526,7 +11795,7 @@ client.crm.scopes.linked_account_scopes_retrieve()
-
client.crm.scopes.linked_account_scopes_create(...) +
client.filestorage.users.retrieve(...)
@@ -11538,7 +11807,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 `User` object with the given `id`.
@@ -11554,42 +11823,13 @@ 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, - ) - }, - ), - ], +client.filestorage.users.retrieve( + id="id", ) ``` @@ -11606,7 +11846,23 @@ client.crm.scopes.linked_account_scopes_create(
-**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for +**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).
@@ -11626,8 +11882,8 @@ client.crm.scopes.linked_account_scopes_create(
-## Crm DeleteAccount -
client.crm.delete_account.delete() +## Filestorage WebhookReceivers +
client.filestorage.webhook_receivers.list()
@@ -11639,7 +11895,7 @@ client.crm.scopes.linked_account_scopes_create(
-Delete a linked account. +Returns a list of `WebhookReceiver` objects.
@@ -11660,7 +11916,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.delete_account.delete() +client.filestorage.webhook_receivers.list() ``` @@ -11688,8 +11944,7 @@ client.crm.delete_account.delete()
-## Crm EngagementTypes -
client.crm.engagement_types.list(...) +
client.filestorage.webhook_receivers.create(...)
@@ -11701,7 +11956,7 @@ client.crm.delete_account.delete()
-Returns a list of `EngagementType` objects. +Creates a `WebhookReceiver` object with the given values.
@@ -11722,7 +11977,10 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.engagement_types.list() +client.filestorage.webhook_receivers.create( + event="event", + is_active=True, +) ``` @@ -11738,7 +11996,7 @@ client.crm.engagement_types.list()
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**event:** `str`
@@ -11746,7 +12004,7 @@ client.crm.engagement_types.list()
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**is_active:** `bool`
@@ -11754,7 +12012,7 @@ client.crm.engagement_types.list()
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**key:** `typing.Optional[str]`
@@ -11762,67 +12020,65 @@ 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.
+ +
-
-
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. -
+
+## Ticketing AccountDetails +
client.ticketing.account_details.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). - -
-
-
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - +Get details for a linked account. +
+
+#### 🔌 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. - +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ticketing.account_details.retrieve() + +``` +
+
+#### ⚙️ Parameters +
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
-
@@ -11838,7 +12094,8 @@ client.crm.engagement_types.list()
-
client.crm.engagement_types.retrieve(...) +## Ticketing AccountToken +
client.ticketing.account_token.retrieve(...)
@@ -11850,7 +12107,7 @@ client.crm.engagement_types.list()
-Returns an `EngagementType` object with the given `id`. +Returns the account token for the end user with the provided public token.
@@ -11871,8 +12128,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.engagement_types.retrieve( - id="id", +client.ticketing.account_token.retrieve( + public_token="public_token", ) ``` @@ -11889,31 +12146,7 @@ client.crm.engagement_types.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_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). +**public_token:** `str`
@@ -11933,7 +12166,8 @@ client.crm.engagement_types.retrieve(
-
client.crm.engagement_types.remote_field_classes_list(...) +## Ticketing Accounts +
client.ticketing.accounts.list(...)
@@ -11945,7 +12179,7 @@ client.crm.engagement_types.retrieve(
-Returns a list of `RemoteFieldClass` objects. +Returns a list of `Account` objects.
@@ -11966,7 +12200,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.engagement_types.remote_field_classes_list() +client.ticketing.accounts.list() ``` @@ -11982,6 +12216,22 @@ client.crm.engagement_types.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.
@@ -12006,7 +12256,7 @@ client.crm.engagement_types.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).
@@ -12014,7 +12264,7 @@ client.crm.engagement_types.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). +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -12022,7 +12272,7 @@ client.crm.engagement_types.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_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -12038,6 +12288,14 @@ client.crm.engagement_types.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.
@@ -12050,8 +12308,7 @@ client.crm.engagement_types.remote_field_classes_list()
-## Crm Engagements -
client.crm.engagements.list(...) +
client.ticketing.accounts.retrieve(...)
@@ -12063,7 +12320,7 @@ client.crm.engagement_types.remote_field_classes_list()
-Returns a list of `Engagement` objects. +Returns an `Account` object with the given `id`.
@@ -12084,7 +12341,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.engagements.list() +client.ticketing.accounts.retrieve( + id="id", +) ``` @@ -12100,7 +12359,7 @@ client.crm.engagements.list()
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**id:** `str`
@@ -12108,7 +12367,7 @@ client.crm.engagements.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.
@@ -12116,7 +12375,7 @@ client.crm.engagements.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).
@@ -12124,87 +12383,75 @@ 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. +**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. -
+
+## Ticketing AsyncPassthrough +
client.ticketing.async_passthrough.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). - -
-
-
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - +Asynchronously pull data from an endpoint not currently supported by Merge.
- -
-
- -**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. - -
-
-
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - +```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", + ), +) + +``` +
+
+#### ⚙️ Parameters +
-**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return engagements started after this datetime. - -
-
-
-**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return engagements started before this datetime. +**request:** `DataPassthroughRequest`
@@ -12224,7 +12471,7 @@ client.crm.engagements.list()
-
client.crm.engagements.create(...) +
client.ticketing.async_passthrough.retrieve(...)
@@ -12236,7 +12483,7 @@ client.crm.engagements.list()
-Creates an `Engagement` object with the given values. +Retrieves data from earlier async-passthrough POST request
@@ -12252,14 +12499,13 @@ Creates an `Engagement` object with the given values. ```python from merge import Merge -from merge.resources.crm import EngagementRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.engagements.create( - model=EngagementRequest(), +client.ticketing.async_passthrough.retrieve( + async_passthrough_receipt_id="async_passthrough_receipt_id", ) ``` @@ -12276,23 +12522,7 @@ client.crm.engagements.create(
-**model:** `EngagementRequest` - -
-
- -
-
- -**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. +**async_passthrough_receipt_id:** `str`
@@ -12312,7 +12542,8 @@ client.crm.engagements.create(
-
client.crm.engagements.retrieve(...) +## Ticketing Attachments +
client.ticketing.attachments.list(...)
@@ -12324,7 +12555,7 @@ client.crm.engagements.create(
-Returns an `Engagement` object with the given `id`. +Returns a list of `Attachment` objects.
@@ -12345,9 +12576,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.engagements.retrieve( - id="id", -) +client.ticketing.attachments.list() ``` @@ -12363,7 +12592,7 @@ client.crm.engagements.retrieve(
-**id:** `str` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -12371,7 +12600,7 @@ 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. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -12379,7 +12608,7 @@ client.crm.engagements.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.
@@ -12387,7 +12616,23 @@ client.crm.engagements.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. +**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/). + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -12403,6 +12648,54 @@ client.crm.engagements.retrieve(
+**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_created_after:** `typing.Optional[dt.datetime]` — If provided, will only return attachments created in the third party platform after this datetime. + +
+
+ +
+
+ +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+ +
+
+ +**ticket_id:** `typing.Optional[str]` — If provided, will only return comments for this ticket. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -12415,7 +12708,7 @@ client.crm.engagements.retrieve(
-
client.crm.engagements.partial_update(...) +
client.ticketing.attachments.create(...)
@@ -12427,7 +12720,7 @@ client.crm.engagements.retrieve(
-Updates an `Engagement` object with the given `id`. +Creates an `Attachment` object with the given values.
@@ -12443,15 +12736,14 @@ Updates an `Engagement` object with the given `id`. ```python from merge import Merge -from merge.resources.crm import PatchedEngagementRequest +from merge.resources.ticketing import AttachmentRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.engagements.partial_update( - id="id", - model=PatchedEngagementRequest(), +client.ticketing.attachments.create( + model=AttachmentRequest(), ) ``` @@ -12468,15 +12760,7 @@ client.crm.engagements.partial_update(
-**id:** `str` - -
-
- -
-
- -**model:** `PatchedEngagementRequest` +**model:** `AttachmentRequest`
@@ -12512,7 +12796,7 @@ client.crm.engagements.partial_update(
-
client.crm.engagements.meta_patch_retrieve(...) +
client.ticketing.attachments.retrieve(...)
@@ -12524,7 +12808,7 @@ client.crm.engagements.partial_update(
-Returns metadata for `Engagement` PATCHs. +Returns an `Attachment` object with the given `id`.
@@ -12545,7 +12829,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.engagements.meta_patch_retrieve( +client.ticketing.attachments.retrieve( id="id", ) @@ -12571,6 +12855,30 @@ client.crm.engagements.meta_patch_retrieve(
+**expand:** `typing.Optional[typing.Literal["ticket"]]` — 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.
@@ -12583,7 +12891,7 @@ client.crm.engagements.meta_patch_retrieve(
-
client.crm.engagements.meta_post_retrieve() +
client.ticketing.attachments.meta_post_retrieve()
@@ -12595,7 +12903,7 @@ client.crm.engagements.meta_patch_retrieve(
-Returns metadata for `Engagement` POSTs. +Returns metadata for `TicketingAttachment` POSTs.
@@ -12616,7 +12924,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.engagements.meta_post_retrieve() +client.ticketing.attachments.meta_post_retrieve() ``` @@ -12644,7 +12952,8 @@ client.crm.engagements.meta_post_retrieve()
-
client.crm.engagements.remote_field_classes_list(...) +## Ticketing AuditTrail +
client.ticketing.audit_trail.list(...)
@@ -12656,7 +12965,7 @@ client.crm.engagements.meta_post_retrieve()
-Returns a list of `RemoteFieldClass` objects. +Gets a list of audit trail events.
@@ -12677,7 +12986,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.engagements.remote_field_classes_list() +client.ticketing.audit_trail.list() ``` @@ -12701,15 +13010,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/). - -
-
- -
-
- -**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
@@ -12717,7 +13018,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. +**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`
@@ -12725,7 +13026,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). +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -12733,7 +13034,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 +**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time
@@ -12741,7 +13042,7 @@ client.crm.engagements.remote_field_classes_list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**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.
@@ -12761,8 +13062,8 @@ client.crm.engagements.remote_field_classes_list()
-## Crm FieldMapping -
client.crm.field_mapping.field_mappings_retrieve(...) +## Ticketing AvailableActions +
client.ticketing.available_actions.retrieve()
@@ -12774,7 +13075,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/). +Returns a list of models and actions available for an account.
@@ -12795,7 +13096,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.field_mapping.field_mappings_retrieve() +client.ticketing.available_actions.retrieve() ``` @@ -12811,14 +13112,6 @@ 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_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -12831,7 +13124,8 @@ client.crm.field_mapping.field_mappings_retrieve()
-
client.crm.field_mapping.field_mappings_create(...) +## Ticketing Collections +
client.ticketing.collections.list(...)
@@ -12843,7 +13137,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 `Collection` objects.
@@ -12864,14 +13158,7 @@ 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", -) +client.ticketing.collections.list() ``` @@ -12887,7 +13174,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. +**collection_type:** `typing.Optional[str]` — If provided, will only return collections of the given type.
@@ -12895,7 +13182,7 @@ client.crm.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.
@@ -12903,7 +13190,7 @@ client.crm.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.
@@ -12911,7 +13198,7 @@ client.crm.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.
@@ -12919,7 +13206,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. +**expand:** `typing.Optional[typing.Literal["parent_collection"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -12927,7 +13214,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_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -12935,7 +13222,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. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -12943,70 +13230,63 @@ client.crm.field_mapping.field_mappings_create(
-**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).
- -
+
+
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +
-
-
client.crm.field_mapping.field_mappings_destroy(...)
-#### 📝 Description - -
-
+**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. +
-#### 🔌 Usage -
+**parent_collection_id:** `typing.Optional[str]` — If provided, will only return collections whose parent collection matches the given id. + +
+
+
-```python -from merge import Merge - -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", -) - -``` -
-
+**remote_fields:** `typing.Optional[typing.Literal["collection_type"]]` — Deprecated. Use show_enum_origins. + -#### ⚙️ Parameters -
+**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+
-**field_mapping_id:** `str` +**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)
@@ -13026,7 +13306,7 @@ client.crm.field_mapping.field_mappings_destroy(
-
client.crm.field_mapping.field_mappings_partial_update(...) +
client.ticketing.collections.viewers_list(...)
@@ -13038,7 +13318,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 `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)
@@ -13059,8 +13339,8 @@ 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", +client.ticketing.collections.viewers_list( + collection_id="collection_id", ) ``` @@ -13077,7 +13357,7 @@ client.crm.field_mapping.field_mappings_partial_update(
-**field_mapping_id:** `str` +**collection_id:** `str`
@@ -13085,7 +13365,7 @@ 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. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -13093,7 +13373,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. +**expand:** `typing.Optional[CollectionsViewersListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -13101,7 +13381,7 @@ 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_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -13109,68 +13389,15 @@ client.crm.field_mapping.field_mappings_partial_update(
-**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.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.crm.field_mapping.remote_fields_retrieve() - -``` -
-
-
-
- -#### ⚙️ 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_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -13178,7 +13405,7 @@ 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. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -13198,7 +13425,7 @@ client.crm.field_mapping.remote_fields_retrieve()
-
client.crm.field_mapping.target_fields_retrieve() +
client.ticketing.collections.retrieve(...)
@@ -13210,7 +13437,7 @@ client.crm.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 `Collection` object with the given `id`.
@@ -13231,7 +13458,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.field_mapping.target_fields_retrieve() +client.ticketing.collections.retrieve( + id="id", +) ``` @@ -13247,71 +13476,47 @@ client.crm.field_mapping.target_fields_retrieve()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**id:** `str`
- -
+
+
+**expand:** `typing.Optional[typing.Literal["parent_collection"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +
-
-## Crm GenerateKey -
client.crm.generate_key.create(...)
-#### 📝 Description - -
-
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
-Create a remote key. -
-
+**include_shell_data:** `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 - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.generate_key.create( - name="Remote Deployment Key 1", -) - -``` -
-
+**remote_fields:** `typing.Optional[typing.Literal["collection_type"]]` — Deprecated. Use show_enum_origins. +
-#### ⚙️ Parameters - -
-
-
-**name:** `str` — The name of the remote key +**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)
@@ -13331,8 +13536,8 @@ client.crm.generate_key.create(
-## Crm Issues -
client.crm.issues.list(...) +## Ticketing Comments +
client.ticketing.comments.list(...)
@@ -13344,7 +13549,7 @@ client.crm.generate_key.create(
-Gets all issues for Organization. +Returns a list of `Comment` objects.
@@ -13365,7 +13570,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.issues.list() +client.ticketing.comments.list() ``` @@ -13381,15 +13586,7 @@ client.crm.issues.list()
-**account_token:** `typing.Optional[str]` - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -13397,7 +13594,7 @@ client.crm.issues.list()
-**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -13405,7 +13602,7 @@ client.crm.issues.list()
-**end_user_organization_name:** `typing.Optional[str]` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -13413,7 +13610,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. +**expand:** `typing.Optional[CommentsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -13421,7 +13618,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. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -13429,7 +13626,7 @@ client.crm.issues.list()
-**include_muted:** `typing.Optional[str]` — If true, will include muted issues +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -13437,7 +13634,7 @@ client.crm.issues.list()
-**integration_name:** `typing.Optional[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).
@@ -13445,7 +13642,7 @@ 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. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -13453,7 +13650,7 @@ client.crm.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_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -13461,7 +13658,7 @@ client.crm.issues.list()
-**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.
@@ -13469,7 +13666,7 @@ client.crm.issues.list()
-**page_size:** `typing.Optional[int]` — 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.
@@ -13477,7 +13674,7 @@ client.crm.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.
@@ -13485,12 +13682,7 @@ client.crm.issues.list()
-**status:** `typing.Optional[IssuesListRequestStatus]` - -Status of the issue. Options: ('ONGOING', 'RESOLVED') - -* `ONGOING` - ONGOING -* `RESOLVED` - RESOLVED +**ticket_id:** `typing.Optional[str]` — If provided, will only return comments for this ticket.
@@ -13510,7 +13702,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-
client.crm.issues.retrieve(...) +
client.ticketing.comments.create(...)
@@ -13522,7 +13714,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-Get a specific issue. +Creates a `Comment` object with the given values.
@@ -13538,13 +13730,14 @@ Get a specific issue. ```python from merge import Merge +from merge.resources.ticketing import CommentRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.issues.retrieve( - id="id", +client.ticketing.comments.create( + model=CommentRequest(), ) ``` @@ -13561,7 +13754,23 @@ client.crm.issues.retrieve(
-**id:** `str` +**model:** `CommentRequest` + +
+
+ +
+
+ +**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.
@@ -13581,8 +13790,7 @@ client.crm.issues.retrieve(
-## Crm Leads -
client.crm.leads.list(...) +
client.ticketing.comments.retrieve(...)
@@ -13594,7 +13802,7 @@ client.crm.issues.retrieve(
-Returns a list of `Lead` objects. +Returns a `Comment` object with the given `id`.
@@ -13615,7 +13823,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.leads.list() +client.ticketing.comments.retrieve( + id="id", +) ``` @@ -13631,7 +13841,7 @@ client.crm.leads.list()
-**converted_account_id:** `typing.Optional[str]` — If provided, will only return leads with this account. +**id:** `str`
@@ -13639,7 +13849,7 @@ client.crm.leads.list()
-**converted_contact_id:** `typing.Optional[str]` — If provided, will only return leads with this contact. +**expand:** `typing.Optional[CommentsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -13647,7 +13857,7 @@ client.crm.leads.list()
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created 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.
@@ -13655,7 +13865,7 @@ client.crm.leads.list()
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created 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).
@@ -13663,23 +13873,130 @@ client.crm.leads.list()
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
+ + + + +
+
client.ticketing.comments.meta_post_retrieve()
-**email_addresses:** `typing.Optional[str]` — If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas. +#### 📝 Description + +
+
+ +
+
+ +Returns metadata for `Comment` POSTs. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ticketing.comments.meta_post_retrieve() + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+ + +
+
+
+ +## Ticketing Contacts +
client.ticketing.contacts.list(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `Contact` objects. +
+
+
+
+ +#### 🔌 Usage
-**expand:** `typing.Optional[LeadsListRequestExpand]` — 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", +) +client.ticketing.contacts.list() + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -13687,7 +14004,7 @@ client.crm.leads.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_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -13695,7 +14012,7 @@ client.crm.leads.list()
-**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.
@@ -13703,7 +14020,7 @@ client.crm.leads.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. +**expand:** `typing.Optional[typing.Literal["account"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -13711,7 +14028,7 @@ client.crm.leads.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/).
@@ -13719,7 +14036,7 @@ client.crm.leads.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.
@@ -13727,7 +14044,7 @@ client.crm.leads.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).
@@ -13735,7 +14052,7 @@ client.crm.leads.list()
-**owner_id:** `typing.Optional[str]` — If provided, will only return leads with this owner. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -13743,7 +14060,7 @@ client.crm.leads.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -13751,7 +14068,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. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -13779,7 +14096,7 @@ client.crm.leads.list()
-
client.crm.leads.create(...) +
client.ticketing.contacts.create(...)
@@ -13791,7 +14108,7 @@ client.crm.leads.list()
-Creates a `Lead` object with the given values. +Creates a `Contact` object with the given values.
@@ -13807,14 +14124,14 @@ Creates a `Lead` object with the given values. ```python from merge import Merge -from merge.resources.crm import LeadRequest +from merge.resources.ticketing import ContactRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.leads.create( - model=LeadRequest(), +client.ticketing.contacts.create( + model=ContactRequest(), ) ``` @@ -13831,7 +14148,7 @@ client.crm.leads.create(
-**model:** `LeadRequest` +**model:** `ContactRequest`
@@ -13867,7 +14184,7 @@ client.crm.leads.create(
-
client.crm.leads.retrieve(...) +
client.ticketing.contacts.retrieve(...)
@@ -13879,7 +14196,7 @@ client.crm.leads.create(
-Returns a `Lead` object with the given `id`. +Returns a `Contact` object with the given `id`.
@@ -13900,7 +14217,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.leads.retrieve( +client.ticketing.contacts.retrieve( id="id", ) @@ -13926,7 +14243,7 @@ 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. +**expand:** `typing.Optional[typing.Literal["account"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -13942,7 +14259,7 @@ client.crm.leads.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).
@@ -13950,10 +14267,63 @@ client.crm.leads.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). +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
+ + + + +
+ +
client.ticketing.contacts.meta_post_retrieve() +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Returns metadata for `TicketingContact` POSTs. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ticketing.contacts.meta_post_retrieve() + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
@@ -13970,7 +14340,8 @@ client.crm.leads.retrieve(
-
client.crm.leads.meta_post_retrieve() +## Ticketing Scopes +
client.ticketing.scopes.default_scopes_retrieve()
@@ -13982,7 +14353,7 @@ client.crm.leads.retrieve(
-Returns metadata for `Lead` POSTs. +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).
@@ -14003,7 +14374,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.leads.meta_post_retrieve() +client.ticketing.scopes.default_scopes_retrieve() ``` @@ -14031,7 +14402,7 @@ client.crm.leads.meta_post_retrieve()
-
client.crm.leads.remote_field_classes_list(...) +
client.ticketing.scopes.linked_account_scopes_retrieve()
@@ -14043,7 +14414,7 @@ client.crm.leads.meta_post_retrieve()
-Returns a list of `RemoteFieldClass` objects. +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).
@@ -14064,7 +14435,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.leads.remote_field_classes_list() +client.ticketing.scopes.linked_account_scopes_retrieve() ``` @@ -14080,55 +14451,99 @@ client.crm.leads.remote_field_classes_list()
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**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.scopes.linked_account_scopes_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_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). - +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 +
-**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 +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, + ) + }, + ), + ], +) + +``` +
+
+#### ⚙️ 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
@@ -14148,8 +14563,8 @@ client.crm.leads.remote_field_classes_list()
-## Crm LinkToken -
client.crm.link_token.create(...) +## Ticketing DeleteAccount +
client.ticketing.delete_account.delete()
@@ -14161,7 +14576,7 @@ client.crm.leads.remote_field_classes_list()
-Creates a link token to be used when linking a new end user. +Delete a linked account.
@@ -14177,18 +14592,12 @@ 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.ticketing.delete_account.delete() ``` @@ -14204,115 +14613,69 @@ 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. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**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. -
+
+## Ticketing FieldMapping +
client.ticketing.field_mapping.field_mappings_retrieve(...)
-**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link. - -
-
+#### 📝 Description
-**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. - +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/).
- -
-
- -**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. -
+#### 🔌 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. - -
-
-
-**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. - -
-
+```python +from merge import Merge -
-
+client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ticketing.field_mapping.field_mappings_retrieve() -**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 -
+#### ⚙️ Parameters +
-**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.
@@ -14332,8 +14695,7 @@ The following subset of IETF language tags can be used to configure localization
-## Crm LinkedAccounts -
client.crm.linked_accounts.list(...) +
client.ticketing.field_mapping.field_mappings_create(...)
@@ -14345,7 +14707,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.
@@ -14366,7 +14728,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.linked_accounts.list() +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", +) ``` @@ -14382,17 +14751,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 +**target_field_name:** `str` — The name of the target field you want this remote field to map to.
@@ -14400,7 +14759,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**target_field_description:** `str` — The description of the target field you want this remote field to map to.
@@ -14408,7 +14767,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. +**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.
@@ -14416,7 +14775,7 @@ 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. +**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from.
@@ -14424,7 +14783,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID. +**remote_url_path:** `str` — The path of the remote endpoint where the remote field is coming from.
@@ -14432,7 +14791,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. +**common_model_name:** `str` — The name of the Common Model that the remote field corresponds to in a given category.
@@ -14440,7 +14799,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**id:** `typing.Optional[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.
@@ -14448,47 +14807,70 @@ 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. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**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.ticketing.field_mapping.field_mappings_destroy(...)
-**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name. - -
-
+#### 📝 Description
-**is_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts. - +
+
+ +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
-**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.ticketing.field_mapping.field_mappings_destroy( + field_mapping_id="field_mapping_id", +) + +``` +
+
+#### ⚙️ Parameters +
-**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` +
+
+ +**field_mapping_id:** `str`
@@ -14508,8 +14890,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-## Crm Notes -
client.crm.notes.list(...) +
client.ticketing.field_mapping.field_mappings_partial_update(...)
@@ -14521,7 +14902,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-Returns a list of `Note` 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.
@@ -14542,7 +14923,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.notes.list() +client.ticketing.field_mapping.field_mappings_partial_update( + field_mapping_id="field_mapping_id", +) ``` @@ -14558,7 +14941,7 @@ client.crm.notes.list()
-**account_id:** `typing.Optional[str]` — If provided, will only return notes with this account. +**field_mapping_id:** `str`
@@ -14566,7 +14949,7 @@ client.crm.notes.list()
-**contact_id:** `typing.Optional[str]` — If provided, will only return notes with this contact. +**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.
@@ -14574,7 +14957,7 @@ client.crm.notes.list()
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from.
@@ -14582,7 +14965,7 @@ client.crm.notes.list()
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**remote_url_path:** `typing.Optional[str]` — The path of the remote endpoint where the remote field is coming from.
@@ -14590,87 +14973,68 @@ client.crm.notes.list()
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**expand:** `typing.Optional[NotesListRequestExpand]` — 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/). -
+
+
client.ticketing.field_mapping.remote_fields_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_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). - +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/).
- -
-
- -**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. - -
-
-
-**opportunity_id:** `typing.Optional[str]` — If provided, will only return notes with this opportunity. - +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ticketing.field_mapping.remote_fields_retrieve() + +```
+ + + +#### ⚙️ Parameters
-**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. +**common_models:** `typing.Optional[str]` — A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models.
@@ -14678,7 +15042,7 @@ client.crm.notes.list()
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**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.
@@ -14698,7 +15062,7 @@ client.crm.notes.list()
-
client.crm.notes.create(...) +
client.ticketing.field_mapping.target_fields_retrieve()
@@ -14710,7 +15074,7 @@ client.crm.notes.list()
-Creates a `Note` object with the given values. +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/).
@@ -14726,15 +15090,12 @@ Creates a `Note` object with the given values. ```python from merge import Merge -from merge.resources.crm import NoteRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.notes.create( - model=NoteRequest(), -) +client.ticketing.field_mapping.target_fields_retrieve() ``` @@ -14750,30 +15111,6 @@ client.crm.notes.create(
-**model:** `NoteRequest` - -
-
- -
-
- -**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.
@@ -14786,7 +15123,8 @@ client.crm.notes.create(
-
client.crm.notes.retrieve(...) +## Ticketing GenerateKey +
client.ticketing.generate_key.create(...)
@@ -14798,7 +15136,7 @@ client.crm.notes.create(
-Returns a `Note` object with the given `id`. +Create a remote key.
@@ -14819,8 +15157,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.notes.retrieve( - id="id", +client.ticketing.generate_key.create( + name="Remote Deployment Key 1", ) ``` @@ -14837,39 +15175,7 @@ client.crm.notes.retrieve(
-**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[NotesRetrieveRequestExpand]` — 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). +**name:** `str` — The name of the remote key
@@ -14889,7 +15195,8 @@ client.crm.notes.retrieve(
-
client.crm.notes.meta_post_retrieve() +## Ticketing Issues +
client.ticketing.issues.list(...)
@@ -14901,7 +15208,7 @@ client.crm.notes.retrieve(
-Returns metadata for `Note` POSTs. +Gets all issues for Organization.
@@ -14922,7 +15229,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.notes.meta_post_retrieve() +client.ticketing.issues.list() ``` @@ -14938,68 +15245,63 @@ client.crm.notes.meta_post_retrieve()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**account_token:** `typing.Optional[str]`
- -
+
+
+**cursor:** `typing.Optional[str]` — The pagination cursor value. +
-
-
client.crm.notes.remote_field_classes_list(...)
-#### 📝 Description - -
-
+**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time + +
+
-Returns a list of `RemoteFieldClass` objects. -
-
+**end_user_organization_name:** `typing.Optional[str]` +
-#### 🔌 Usage -
+**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime. + +
+
+
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.notes.remote_field_classes_list() - -``` -
-
+**first_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was before this datetime. + -#### ⚙️ Parameters -
+**include_muted:** `typing.Optional[str]` — If true, will include muted issues + +
+
+
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**integration_name:** `typing.Optional[str]`
@@ -15007,7 +15309,7 @@ client.crm.notes.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/). +**last_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was after this datetime.
@@ -15015,7 +15317,7 @@ client.crm.notes.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. +**last_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was before this datetime.
@@ -15023,7 +15325,7 @@ 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. +**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in.
@@ -15031,7 +15333,7 @@ client.crm.notes.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). +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -15039,7 +15341,7 @@ client.crm.notes.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 +**start_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred after this time
@@ -15047,7 +15349,12 @@ client.crm.notes.remote_field_classes_list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**status:** `typing.Optional[IssuesListRequestStatus]` + +Status of the issue. Options: ('ONGOING', 'RESOLVED') + +* `ONGOING` - ONGOING +* `RESOLVED` - RESOLVED
@@ -15067,8 +15374,7 @@ client.crm.notes.remote_field_classes_list()
-## Crm Opportunities -
client.crm.opportunities.list(...) +
client.ticketing.issues.retrieve(...)
@@ -15080,7 +15386,7 @@ client.crm.notes.remote_field_classes_list()
-Returns a list of `Opportunity` objects. +Get a specific issue.
@@ -15101,7 +15407,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.opportunities.list() +client.ticketing.issues.retrieve( + id="id", +) ``` @@ -15117,7 +15425,7 @@ client.crm.opportunities.list()
-**account_id:** `typing.Optional[str]` — If provided, will only return opportunities with this account. +**id:** `str`
@@ -15125,47 +15433,75 @@ client.crm.opportunities.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. -
+
+## Ticketing LinkToken +
client.ticketing.link_token.create(...)
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
+#### 📝 Description
-**expand:** `typing.Optional[OpportunitiesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - +
+
+ +Creates a link token to be used when linking a new end user.
+
+
+ +#### 🔌 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.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 +
-**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:** `str` — Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent.
@@ -15173,7 +15509,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. +**end_user_organization_name:** `str` — Your end user's organization.
@@ -15181,7 +15517,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). +**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.
@@ -15189,7 +15525,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. +**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link.
@@ -15197,7 +15533,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. +**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/.
@@ -15205,7 +15541,7 @@ client.crm.opportunities.list()
-**owner_id:** `typing.Optional[str]` — If provided, will only return opportunities with this owner. +**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.
@@ -15213,7 +15549,7 @@ client.crm.opportunities.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**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.
@@ -15221,7 +15557,7 @@ 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. +**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.
@@ -15229,7 +15565,7 @@ client.crm.opportunities.list()
-**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. +**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.
@@ -15237,7 +15573,14 @@ client.crm.opportunities.list()
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**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.
@@ -15245,7 +15588,12 @@ client.crm.opportunities.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) +**language:** `typing.Optional[EndUserDetailsRequestLanguage]` + +The following subset of IETF language tags can be used to configure localization. + +* `en` - en +* `de` - de
@@ -15253,7 +15601,7 @@ client.crm.opportunities.list()
-**stage_id:** `typing.Optional[str]` — If provided, will only return opportunities with this stage. +**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled.
@@ -15261,13 +15609,7 @@ client.crm.opportunities.list()
-**status:** `typing.Optional[OpportunitiesListRequestStatus]` - -If provided, will only return opportunities with this status. Options: ('OPEN', 'WON', 'LOST') - -* `OPEN` - OPEN -* `WON` - WON -* `LOST` - LOST +**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — A JSON object containing integration-specific configuration options.
@@ -15287,7 +15629,8 @@ If provided, will only return opportunities with this status. Options: ('OPEN',
-
client.crm.opportunities.create(...) +## Ticketing LinkedAccounts +
client.ticketing.linked_accounts.list(...)
@@ -15299,7 +15642,7 @@ If provided, will only return opportunities with this status. Options: ('OPEN',
-Creates an `Opportunity` object with the given values. +List linked accounts for your organization.
@@ -15315,15 +15658,12 @@ 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( - model=OpportunityRequest(), -) +client.ticketing.linked_accounts.list() ``` @@ -15339,7 +15679,17 @@ client.crm.opportunities.create(
-**model:** `OpportunityRequest` +**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
@@ -15347,7 +15697,7 @@ client.crm.opportunities.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -15355,7 +15705,7 @@ client.crm.opportunities.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address.
@@ -15363,70 +15713,31 @@ client.crm.opportunities.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name.
- -
- - - -
- -
client.crm.opportunities.retrieve(...)
-#### 📝 Description - -
-
- -
-
- -Returns an `Opportunity` object with the given `id`. -
-
+**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID. +
-#### 🔌 Usage -
-
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.opportunities.retrieve( - id="id", -) - -``` -
-
+**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. +
-#### ⚙️ Parameters - -
-
-
-**id:** `str` +**id:** `typing.Optional[str]`
@@ -15434,7 +15745,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. +**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once.
@@ -15442,7 +15753,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. +**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.
@@ -15450,7 +15761,7 @@ 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. +**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name.
@@ -15458,7 +15769,7 @@ client.crm.opportunities.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_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts.
@@ -15466,7 +15777,7 @@ client.crm.opportunities.retrieve(
-**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -15474,7 +15785,7 @@ 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) +**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED`
@@ -15494,7 +15805,8 @@ client.crm.opportunities.retrieve(
-
client.crm.opportunities.partial_update(...) +## Ticketing Passthrough +
client.ticketing.passthrough.create(...)
@@ -15506,7 +15818,7 @@ client.crm.opportunities.retrieve(
-Updates an `Opportunity` object with the given `id`. +Pull data from an endpoint not currently supported by Merge.
@@ -15522,15 +15834,17 @@ Updates an `Opportunity` object with the given `id`. ```python from merge import Merge -from merge.resources.crm import PatchedOpportunityRequest +from merge.resources.ticketing import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.opportunities.partial_update( - id="id", - model=PatchedOpportunityRequest(), +client.ticketing.passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", + ), ) ``` @@ -15547,31 +15861,7 @@ client.crm.opportunities.partial_update(
-**id:** `str` - -
-
- -
-
- -**model:** `PatchedOpportunityRequest` - -
-
- -
-
- -**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:** `DataPassthroughRequest`
@@ -15591,7 +15881,8 @@ client.crm.opportunities.partial_update(
-
client.crm.opportunities.meta_patch_retrieve(...) +## Ticketing Projects +
client.ticketing.projects.list(...)
@@ -15603,7 +15894,7 @@ client.crm.opportunities.partial_update(
-Returns metadata for `Opportunity` PATCHs. +Returns a list of `Project` objects.
@@ -15624,9 +15915,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.opportunities.meta_patch_retrieve( - id="id", -) +client.ticketing.projects.list() ``` @@ -15642,7 +15931,7 @@ client.crm.opportunities.meta_patch_retrieve(
-**id:** `str` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -15650,64 +15939,75 @@ client.crm.opportunities.meta_patch_retrieve(
-**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.crm.opportunities.meta_post_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. + +
+
+
-Returns metadata for `Opportunity` POSTs. -
-
+**include_shell_data:** `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 - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.opportunities.meta_post_retrieve() - -``` +**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. +
-#### ⚙️ Parameters -
+**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+
@@ -15723,7 +16023,7 @@ client.crm.opportunities.meta_post_retrieve()
-
client.crm.opportunities.remote_field_classes_list(...) +
client.ticketing.projects.retrieve(...)
@@ -15735,7 +16035,7 @@ client.crm.opportunities.meta_post_retrieve()
-Returns a list of `RemoteFieldClass` objects. +Returns a `Project` object with the given `id`.
@@ -15756,7 +16056,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.opportunities.remote_field_classes_list() +client.ticketing.projects.retrieve( + id="id", +) ``` @@ -15772,15 +16074,7 @@ client.crm.opportunities.remote_field_classes_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/). +**id:** `str`
@@ -15796,14 +16090,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).
@@ -15812,22 +16098,6 @@ 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 - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -15840,8 +16110,7 @@ client.crm.opportunities.remote_field_classes_list()
-## Crm Passthrough -
client.crm.passthrough.create(...) +
client.ticketing.projects.users_list(...)
@@ -15853,7 +16122,7 @@ client.crm.opportunities.remote_field_classes_list()
-Pull data from an endpoint not currently supported by Merge. +Returns a list of `User` objects.
@@ -15869,17 +16138,13 @@ 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", - ), +client.ticketing.projects.users_list( + parent_id="parent_id", ) ``` @@ -15896,7 +16161,55 @@ client.crm.passthrough.create(
-**request:** `DataPassthroughRequest` +**parent_id:** `str` + +
+
+ +
+
+ +**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+ +
+
+ +**expand:** `typing.Optional[ProjectsUsersListRequestExpand]` — 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.
@@ -15916,8 +16229,8 @@ client.crm.passthrough.create(
-## Crm RegenerateKey -
client.crm.regenerate_key.create(...) +## Ticketing RegenerateKey +
client.ticketing.regenerate_key.create(...)
@@ -15950,7 +16263,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.regenerate_key.create( +client.ticketing.regenerate_key.create( name="Remote Deployment Key 1", ) @@ -15988,8 +16301,8 @@ client.crm.regenerate_key.create(
-## Crm Stages -
client.crm.stages.list(...) +## Ticketing Roles +
client.ticketing.roles.list(...)
@@ -16001,7 +16314,7 @@ client.crm.regenerate_key.create(
-Returns a list of `Stage` objects. +Returns a list of `Role` objects.
@@ -16022,7 +16335,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.stages.list() +client.ticketing.roles.list() ``` @@ -16078,14 +16391,6 @@ 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_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -16138,7 +16443,7 @@ client.crm.stages.list()
-
client.crm.stages.retrieve(...) +
client.ticketing.roles.retrieve(...)
@@ -16150,7 +16455,7 @@ client.crm.stages.list()
-Returns a `Stage` object with the given `id`. +Returns a `Role` object with the given `id`.
@@ -16171,7 +16476,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.stages.retrieve( +client.ticketing.roles.retrieve( id="id", ) @@ -16205,14 +16510,6 @@ 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. - -
-
- -
-
- **include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -16233,7 +16530,8 @@ client.crm.stages.retrieve(
-
client.crm.stages.remote_field_classes_list(...) +## Ticketing SyncStatus +
client.ticketing.sync_status.list(...)
@@ -16245,7 +16543,7 @@ client.crm.stages.retrieve(
-Returns a list of `RemoteFieldClass` 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).
@@ -16266,7 +16564,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.stages.remote_field_classes_list() +client.ticketing.sync_status.list() ``` @@ -16290,7 +16588,7 @@ 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/). +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -16298,43 +16596,65 @@ client.crm.stages.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. -
+
+## 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
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value - +
+
+ +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 +
-**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.ticketing.force_resync.sync_status_resync_create() + +``` +
+
+#### ⚙️ Parameters + +
+
+
@@ -16350,8 +16670,8 @@ client.crm.stages.remote_field_classes_list()
-## Crm SyncStatus -
client.crm.sync_status.list(...) +## Ticketing Tags +
client.ticketing.tags.list(...)
@@ -16363,7 +16683,7 @@ client.crm.stages.remote_field_classes_list()
-Get syncing status. Possible values: `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 `Tag` objects.
@@ -16384,7 +16704,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.sync_status.list() +client.ticketing.tags.list() ``` @@ -16400,7 +16720,7 @@ client.crm.sync_status.list()
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -16408,7 +16728,7 @@ client.crm.sync_status.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -16416,65 +16736,67 @@ client.crm.sync_status.list()
-**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/). +
-
-## Crm ForceResync -
client.crm.force_resync.sync_status_resync_create()
-#### 📝 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). + +
+
+
-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_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 - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.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. + +
+
+
@@ -16490,8 +16812,7 @@ client.crm.force_resync.sync_status_resync_create()
-## Crm Tasks -
client.crm.tasks.list(...) +
client.ticketing.tags.retrieve(...)
@@ -16503,7 +16824,7 @@ client.crm.force_resync.sync_status_resync_create()
-Returns a list of `Task` objects. +Returns a `Tag` object with the given `id`.
@@ -16524,7 +16845,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.tasks.list() +client.ticketing.tags.retrieve( + id="id", +) ``` @@ -16540,7 +16863,7 @@ client.crm.tasks.list()
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**id:** `str`
@@ -16548,7 +16871,7 @@ client.crm.tasks.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.
@@ -16556,7 +16879,7 @@ client.crm.tasks.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).
@@ -16564,63 +16887,69 @@ 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. +**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/). -
+
+## Ticketing Teams +
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. - -
-
+#### 📝 Description
-**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). - +Returns a list of `Team` objects. +
+
+#### 🔌 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.teams.list() + +``` +
+
+#### ⚙️ 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.
@@ -16628,7 +16957,7 @@ client.crm.tasks.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.
@@ -16636,71 +16965,47 @@ client.crm.tasks.list()
-**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.crm.tasks.create(...)
-#### 📝 Description - -
-
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
-Creates a `Task` object with the given values. -
-
+**include_shell_data:** `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.crm import TaskRequest - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.tasks.create( - model=TaskRequest(), -) - -``` -
-
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +
-#### ⚙️ Parameters - -
-
-
-**model:** `TaskRequest` +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -16708,7 +17013,7 @@ client.crm.tasks.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.
@@ -16716,7 +17021,7 @@ client.crm.tasks.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.
@@ -16736,7 +17041,7 @@ client.crm.tasks.create(
-
client.crm.tasks.retrieve(...) +
client.ticketing.teams.retrieve(...)
@@ -16748,7 +17053,7 @@ client.crm.tasks.create(
-Returns a `Task` object with the given `id`. +Returns a `Team` object with the given `id`.
@@ -16769,7 +17074,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.tasks.retrieve( +client.ticketing.teams.retrieve( id="id", ) @@ -16795,14 +17100,6 @@ 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. - -
-
- -
-
- **include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -16811,14 +17108,6 @@ client.crm.tasks.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).
@@ -16839,7 +17128,8 @@ client.crm.tasks.retrieve(
-
client.crm.tasks.partial_update(...) +## Ticketing Tickets +
client.ticketing.tickets.list(...)
@@ -16851,7 +17141,7 @@ client.crm.tasks.retrieve(
-Updates a `Task` object with the given `id`. +Returns a list of `Ticket` objects.
@@ -16867,16 +17157,12 @@ Updates a `Task` object with the given `id`. ```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(), -) +client.ticketing.tickets.list() ``` @@ -16892,7 +17178,7 @@ client.crm.tasks.partial_update(
-**id:** `str` +**account_id:** `typing.Optional[str]` — If provided, will only return tickets for this account.
@@ -16900,7 +17186,7 @@ client.crm.tasks.partial_update(
-**model:** `PatchedTaskRequest` +**assignee_ids:** `typing.Optional[str]` — If provided, will only return tickets assigned to the assignee_ids; multiple assignee_ids can be separated by commas.
@@ -16908,7 +17194,7 @@ client.crm.tasks.partial_update(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**collection_ids:** `typing.Optional[str]` — If provided, will only return tickets assigned to the collection_ids; multiple collection_ids can be separated by commas.
@@ -16916,7 +17202,7 @@ client.crm.tasks.partial_update(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**completed_after:** `typing.Optional[dt.datetime]` — If provided, will only return tickets completed after this datetime.
@@ -16924,70 +17210,47 @@ client.crm.tasks.partial_update(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**completed_before:** `typing.Optional[dt.datetime]` — If provided, will only return tickets completed before this datetime.
- -
+
+
+**contact_id:** `typing.Optional[str]` — If provided, will only return tickets for this contact. +
-
-
client.crm.tasks.meta_patch_retrieve(...)
-#### 📝 Description - -
-
+**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. + +
+
-Returns metadata for `Task` PATCHs. -
-
+**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.crm.tasks.meta_patch_retrieve( - id="id", -) - -``` -
-
+**cursor:** `typing.Optional[str]` — The pagination cursor value. +
-#### ⚙️ Parameters -
-
-
- -**id:** `str` +**due_after:** `typing.Optional[dt.datetime]` — If provided, will only return tickets due after this datetime.
@@ -16995,129 +17258,134 @@ client.crm.tasks.meta_patch_retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**due_before:** `typing.Optional[dt.datetime]` — If provided, will only return tickets due before this datetime.
-
-
+
+
+**expand:** `typing.Optional[TicketsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +
-
-
client.crm.tasks.meta_post_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. + +
+
+
-Returns metadata for `Task` POSTs. -
-
+**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). + +
+
+
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.tasks.meta_post_retrieve() - -``` -
-
+**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. + +
+
+
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**page_size:** `typing.Optional[int]` — 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. +
-
-
client.crm.tasks.remote_field_classes_list(...)
-#### 📝 Description +**priority:** `typing.Optional[TicketsListRequestPriority]` -
-
+If provided, will only return tickets of this priority. + +* `URGENT` - URGENT +* `HIGH` - HIGH +* `NORMAL` - NORMAL +* `LOW` - LOW + +
+
-Returns a list of `RemoteFieldClass` objects. -
-
+**remote_created_after:** `typing.Optional[dt.datetime]` — If provided, will only return tickets created in the third party platform after this datetime. +
-#### 🔌 Usage -
+**remote_created_before:** `typing.Optional[dt.datetime]` — If provided, will only return tickets created in the third party platform before this datetime. + +
+
+
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.tasks.remote_field_classes_list() - -``` -
-
+**remote_fields:** `typing.Optional[TicketsListRequestRemoteFields]` — Deprecated. Use show_enum_origins. + -#### ⚙️ Parameters -
+**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**remote_updated_after:** `typing.Optional[dt.datetime]` — If provided, will only return tickets updated in the third party platform after this datetime.
@@ -17125,7 +17393,7 @@ client.crm.tasks.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/). +**remote_updated_before:** `typing.Optional[dt.datetime]` — If provided, will only return tickets updated in the third party platform before this datetime.
@@ -17133,7 +17401,7 @@ client.crm.tasks.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. +**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)
@@ -17141,7 +17409,7 @@ client.crm.tasks.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. +**status:** `typing.Optional[str]` — If provided, will only return tickets of this status.
@@ -17149,7 +17417,7 @@ client.crm.tasks.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). +**tags:** `typing.Optional[str]` — If provided, will only return tickets matching the tags; multiple tags can be separated by commas.
@@ -17157,7 +17425,7 @@ client.crm.tasks.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 +**ticket_type:** `typing.Optional[str]` — If provided, will only return tickets of this type.
@@ -17165,7 +17433,7 @@ client.crm.tasks.remote_field_classes_list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**ticket_url:** `typing.Optional[str]` — If provided, will only return tickets where the URL matches or contains the substring
@@ -17185,8 +17453,7 @@ client.crm.tasks.remote_field_classes_list()
-## Crm Users -
client.crm.users.list(...) +
client.ticketing.tickets.create(...)
@@ -17198,7 +17465,7 @@ client.crm.tasks.remote_field_classes_list()
-Returns a list of `User` objects. +Creates a `Ticket` object with the given values.
@@ -17214,12 +17481,15 @@ Returns a list of `User` objects. ```python from merge import Merge +from merge.resources.ticketing import TicketRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.users.list() +client.ticketing.tickets.create( + model=TicketRequest(), +) ``` @@ -17235,79 +17505,7 @@ client.crm.users.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. - -
-
- -
-
- -**email:** `typing.Optional[str]` — If provided, will only return users with this email. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-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. +**model:** `TicketRequest`
@@ -17315,7 +17513,7 @@ client.crm.users.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -17323,7 +17521,7 @@ client.crm.users.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.
@@ -17343,7 +17541,7 @@ client.crm.users.list()
-
client.crm.users.retrieve(...) +
client.ticketing.tickets.retrieve(...)
@@ -17355,7 +17553,7 @@ client.crm.users.list()
-Returns a `User` object with the given `id`. +Returns a `Ticket` object with the given `id`.
@@ -17376,7 +17574,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.users.retrieve( +client.ticketing.tickets.retrieve( id="id", ) @@ -17402,6 +17600,14 @@ client.crm.users.retrieve(
+**expand:** `typing.Optional[TicketsRetrieveRequestExpand]` — 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.
@@ -17426,6 +17632,22 @@ client.crm.users.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.
@@ -17438,7 +17660,7 @@ client.crm.users.retrieve(
-
client.crm.users.ignore_create(...) +
client.ticketing.tickets.partial_update(...)
@@ -17450,7 +17672,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. +Updates a `Ticket` object with the given `id`.
@@ -17466,17 +17688,15 @@ 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 +from merge.resources.ticketing import PatchedTicketRequest 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.ticketing.tickets.partial_update( + id="id", + model=PatchedTicketRequest(), ) ``` @@ -17493,7 +17713,7 @@ client.crm.users.ignore_create(
-**model_id:** `str` +**id:** `str`
@@ -17501,7 +17721,23 @@ client.crm.users.ignore_create(
-**request:** `IgnoreCommonModelRequest` +**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.
@@ -17521,7 +17757,7 @@ client.crm.users.ignore_create(
-
client.crm.users.remote_field_classes_list(...) +
client.ticketing.tickets.viewers_list(...)
@@ -17533,7 +17769,7 @@ client.crm.users.ignore_create(
-Returns a list of `RemoteFieldClass` 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)
@@ -17554,7 +17790,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.users.remote_field_classes_list() +client.ticketing.tickets.viewers_list( + ticket_id="ticket_id", +) ``` @@ -17570,7 +17808,7 @@ client.crm.users.remote_field_classes_list()
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**ticket_id:** `str`
@@ -17578,7 +17816,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/). +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -17586,7 +17824,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. +**expand:** `typing.Optional[TicketsViewersListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -17594,7 +17832,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. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -17602,7 +17840,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). +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -17610,7 +17848,7 @@ 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 +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -17638,8 +17876,7 @@ client.crm.users.remote_field_classes_list()
-## Crm WebhookReceivers -
client.crm.webhook_receivers.list() +
client.ticketing.tickets.meta_patch_retrieve(...)
@@ -17651,7 +17888,7 @@ client.crm.users.remote_field_classes_list()
-Returns a list of `WebhookReceiver` objects. +Returns metadata for `Ticket` PATCHs.
@@ -17672,7 +17909,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.webhook_receivers.list() +client.ticketing.tickets.meta_patch_retrieve( + id="id", +) ``` @@ -17688,6 +17927,14 @@ client.crm.webhook_receivers.list()
+**id:** `str` + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -17700,7 +17947,7 @@ client.crm.webhook_receivers.list()
-
client.crm.webhook_receivers.create(...) +
client.ticketing.tickets.meta_post_retrieve(...)
@@ -17712,7 +17959,7 @@ client.crm.webhook_receivers.list()
-Creates a `WebhookReceiver` object with the given values. +Returns metadata for `Ticket` POSTs.
@@ -17733,10 +17980,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.webhook_receivers.create( - event="event", - is_active=True, -) +client.ticketing.tickets.meta_post_retrieve() ``` @@ -17752,7 +17996,7 @@ client.crm.webhook_receivers.create(
-**event:** `str` +**collection_id:** `typing.Optional[str]` — If provided, will only return tickets for this collection.
@@ -17760,15 +18004,7 @@ client.crm.webhook_receivers.create(
-**is_active:** `bool` - -
-
- -
-
- -**key:** `typing.Optional[str]` +**ticket_type:** `typing.Optional[str]` — If provided, will only return tickets for this ticket type.
@@ -17788,8 +18024,7 @@ client.crm.webhook_receivers.create(
-## Filestorage AccountDetails -
client.filestorage.account_details.retrieve() +
client.ticketing.tickets.remote_field_classes_list(...)
@@ -17801,7 +18036,7 @@ client.crm.webhook_receivers.create(
-Get details for a linked account. +Returns a list of `RemoteFieldClass` objects.
@@ -17822,7 +18057,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.account_details.retrieve() +client.ticketing.tickets.remote_field_classes_list() ``` @@ -17838,71 +18073,63 @@ client.filestorage.account_details.retrieve()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
- -
+
+
+**ids:** `typing.Optional[str]` — If provided, will only return remote field classes with the `ids` in this list +
-
-## Filestorage AccountToken -
client.filestorage.account_token.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 the account token for the end user with the provided public token. -
-
+**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 - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.filestorage.account_token.retrieve( - public_token="public_token", -) - -``` -
-
+**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value + -#### ⚙️ Parameters -
+**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value + +
+
+
-**public_token:** `str` +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -17922,8 +18149,8 @@ client.filestorage.account_token.retrieve(
-## Filestorage AsyncPassthrough -
client.filestorage.async_passthrough.create(...) +## Ticketing Users +
client.ticketing.users.list(...)
@@ -17935,7 +18162,7 @@ client.filestorage.account_token.retrieve(
-Asynchronously pull data from an endpoint not currently supported by Merge. +Returns a list of `User` objects.
@@ -17951,18 +18178,12 @@ Asynchronously 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.async_passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), -) +client.ticketing.users.list() ``` @@ -17978,7 +18199,7 @@ client.filestorage.async_passthrough.create(
-**request:** `DataPassthroughRequest` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -17986,70 +18207,95 @@ client.filestorage.async_passthrough.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. +
-
-
client.filestorage.async_passthrough.retrieve(...)
-#### 📝 Description +**email_address:** `typing.Optional[str]` — If provided, will only return users with emails equal to this value (case insensitive). + +
+
+**expand:** `typing.Optional[UsersListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+
-Retrieves data from earlier async-passthrough POST request +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-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.filestorage.async_passthrough.retrieve( - async_passthrough_receipt_id="async_passthrough_receipt_id", -) +
+
-``` +**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. +
-#### ⚙️ Parameters -
+**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+
-**async_passthrough_receipt_id:** `str` +**team:** `typing.Optional[str]` — If provided, will only return users matching in this team.
@@ -18069,8 +18315,7 @@ client.filestorage.async_passthrough.retrieve(
-## Filestorage AuditTrail -
client.filestorage.audit_trail.list(...) +
client.ticketing.users.retrieve(...)
@@ -18082,7 +18327,7 @@ client.filestorage.async_passthrough.retrieve(
-Gets a list of audit trail events. +Returns a `User` object with the given `id`.
@@ -18103,7 +18348,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.audit_trail.list() +client.ticketing.users.retrieve( + id="id", +) ``` @@ -18119,23 +18366,7 @@ 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`, `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` +**id:** `str`
@@ -18143,7 +18374,7 @@ client.filestorage.audit_trail.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**expand:** `typing.Optional[UsersRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -18151,7 +18382,7 @@ client.filestorage.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.
@@ -18159,7 +18390,7 @@ client.filestorage.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).
@@ -18179,8 +18410,8 @@ client.filestorage.audit_trail.list()
-## Filestorage AvailableActions -
client.filestorage.available_actions.retrieve() +## Ticketing WebhookReceivers +
client.ticketing.webhook_receivers.list()
@@ -18192,7 +18423,7 @@ client.filestorage.audit_trail.list()
-Returns a list of models and actions available for an account. +Returns a list of `WebhookReceiver` objects.
@@ -18213,7 +18444,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.available_actions.retrieve() +client.ticketing.webhook_receivers.list() ``` @@ -18241,8 +18472,7 @@ client.filestorage.available_actions.retrieve()
-## Filestorage Scopes -
client.filestorage.scopes.default_scopes_retrieve() +
client.ticketing.webhook_receivers.create(...)
@@ -18254,7 +18484,7 @@ client.filestorage.available_actions.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). +Creates a `WebhookReceiver` object with the given values.
@@ -18275,7 +18505,10 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.scopes.default_scopes_retrieve() +client.ticketing.webhook_receivers.create( + event="event", + is_active=True, +) ``` @@ -18291,6 +18524,30 @@ client.filestorage.scopes.default_scopes_retrieve()
+**event:** `str` + +
+
+ +
+
+ +**is_active:** `bool` + +
+
+ +
+
+ +**key:** `typing.Optional[str]` + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -18303,7 +18560,8 @@ client.filestorage.scopes.default_scopes_retrieve()
-
client.filestorage.scopes.linked_account_scopes_retrieve() +## Crm AccountDetails +
client.crm.account_details.retrieve()
@@ -18315,7 +18573,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). +Get details for a linked account.
@@ -18336,7 +18594,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.scopes.linked_account_scopes_retrieve() +client.crm.account_details.retrieve() ``` @@ -18364,7 +18622,8 @@ client.filestorage.scopes.linked_account_scopes_retrieve()
-
client.filestorage.scopes.linked_account_scopes_create(...) +## Crm AccountToken +
client.crm.account_token.retrieve(...)
@@ -18376,7 +18635,7 @@ client.filestorage.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 the account token for the end user with the provided public token.
@@ -18392,42 +18651,13 @@ Update permissions for any Common Model or field for a single Linked Account. An ```python 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, - ) - }, - ), - ], +client.crm.account_token.retrieve( + public_token="public_token", ) ``` @@ -18444,7 +18674,7 @@ client.filestorage.scopes.linked_account_scopes_create(
-**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for +**public_token:** `str`
@@ -18464,8 +18694,8 @@ client.filestorage.scopes.linked_account_scopes_create(
-## Filestorage DeleteAccount -
client.filestorage.delete_account.delete() +## Crm Accounts +
client.crm.accounts.list(...)
@@ -18477,7 +18707,7 @@ client.filestorage.scopes.linked_account_scopes_create(
-Delete a linked account. +Returns a list of `Account` objects.
@@ -18498,7 +18728,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.delete_account.delete() +client.crm.accounts.list() ``` @@ -18514,69 +18744,79 @@ client.filestorage.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. +
-
-## Filestorage Drives -
client.filestorage.drives.list(...)
-#### 📝 Description +**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+**expand:** `typing.Optional[typing.Literal["owner"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+
-Returns a list of `Drive` objects. -
-
+**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is 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 - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.filestorage.drives.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). +
-#### ⚙️ Parameters -
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -18584,7 +18824,7 @@ client.filestorage.drives.list()
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**name:** `typing.Optional[str]` — If provided, will only return accounts with this name.
@@ -18592,7 +18832,7 @@ client.filestorage.drives.list()
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**owner_id:** `typing.Optional[str]` — If provided, will only return accounts with this owner.
@@ -18600,7 +18840,7 @@ client.filestorage.drives.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.
@@ -18608,7 +18848,7 @@ client.filestorage.drives.list()
-**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.
@@ -18616,31 +18856,71 @@ client.filestorage.drives.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.crm.accounts.create(...)
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - +#### 📝 Description + +
+
+ +
+
+ +Creates an `Account` object with the given values.
+
+
+ +#### 🔌 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 +from merge.resources.crm import AccountRequest + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.accounts.create( + model=AccountRequest(), +) + +```
+
+
+ +#### ⚙️ Parameters
-**name:** `typing.Optional[str]` — If provided, will only return drives with this name. This performs an exact match. +
+
+ +**model:** `AccountRequest`
@@ -18648,7 +18928,7 @@ client.filestorage.drives.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -18656,7 +18936,7 @@ client.filestorage.drives.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.
@@ -18676,7 +18956,7 @@ client.filestorage.drives.list()
-
client.filestorage.drives.retrieve(...) +
client.crm.accounts.retrieve(...)
@@ -18688,7 +18968,7 @@ client.filestorage.drives.list()
-Returns a `Drive` object with the given `id`. +Returns an `Account` object with the given `id`.
@@ -18709,7 +18989,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.drives.retrieve( +client.crm.accounts.retrieve( id="id", ) @@ -18735,6 +19015,14 @@ client.filestorage.drives.retrieve(
+**expand:** `typing.Optional[typing.Literal["owner"]]` — 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.
@@ -18743,6 +19031,14 @@ client.filestorage.drives.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).
@@ -18763,8 +19059,7 @@ client.filestorage.drives.retrieve(
-## Filestorage FieldMapping -
client.filestorage.field_mapping.field_mappings_retrieve(...) +
client.crm.accounts.partial_update(...)
@@ -18776,7 +19071,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/). +Updates an `Account` object with the given `id`.
@@ -18792,12 +19087,16 @@ Get all Field Mappings for this Linked Account. Field Mappings are mappings betw ```python from merge import Merge +from merge.resources.crm import PatchedAccountRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.field_mapping.field_mappings_retrieve() +client.crm.accounts.partial_update( + id="id", + model=PatchedAccountRequest(), +) ``` @@ -18813,7 +19112,31 @@ 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. +**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.
@@ -18833,7 +19156,7 @@ client.filestorage.field_mapping.field_mappings_retrieve()
-
client.filestorage.field_mapping.field_mappings_create(...) +
client.crm.accounts.meta_patch_retrieve(...)
@@ -18845,7 +19168,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 metadata for `CRMAccount` PATCHs.
@@ -18866,13 +19189,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.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", +client.crm.accounts.meta_patch_retrieve( + id="id", ) ``` @@ -18889,7 +19207,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. +**id:** `str`
@@ -18897,51 +19215,64 @@ 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. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**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. -
+
+
client.crm.accounts.meta_post_retrieve()
-**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from. - -
-
+#### 📝 Description
-**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. - +Returns metadata for `CRMAccount` POSTs. +
+
+#### 🔌 Usage +
-**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. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.accounts.meta_post_retrieve() + +``` +
+
+#### ⚙️ Parameters + +
+
+
@@ -18957,7 +19288,7 @@ client.filestorage.field_mapping.field_mappings_create(
-
client.filestorage.field_mapping.field_mappings_destroy(...) +
client.crm.accounts.remote_field_classes_list(...)
@@ -18969,7 +19300,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. +Returns a list of `RemoteFieldClass` objects.
@@ -18990,9 +19321,7 @@ 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.accounts.remote_field_classes_list() ``` @@ -19008,7 +19337,63 @@ client.filestorage.field_mapping.field_mappings_destroy(
-**field_mapping_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_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.
@@ -19028,7 +19413,8 @@ client.filestorage.field_mapping.field_mappings_destroy(
-
client.filestorage.field_mapping.field_mappings_partial_update(...) +## Crm AsyncPassthrough +
client.crm.async_passthrough.create(...)
@@ -19040,7 +19426,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. +Asynchronously pull data from an endpoint not currently supported by Merge.
@@ -19056,13 +19442,17 @@ Create or update existing Field Mappings for a Linked Account. Changes will be r ```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.filestorage.field_mapping.field_mappings_partial_update( - field_mapping_id="field_mapping_id", +client.crm.async_passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", + ), ) ``` @@ -19079,7 +19469,7 @@ client.filestorage.field_mapping.field_mappings_partial_update(
-**field_mapping_id:** `str` +**request:** `DataPassthroughRequest`
@@ -19087,23 +19477,70 @@ 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. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
+ + + +
+ +
client.crm.async_passthrough.retrieve(...)
-**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from. - +#### 📝 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.crm.async_passthrough.retrieve( + async_passthrough_receipt_id="async_passthrough_receipt_id", +) + +``` +
+
+#### ⚙️ Parameters +
-**remote_url_path:** `typing.Optional[str]` — The path of the remote endpoint where the remote field is coming from. +
+
+ +**async_passthrough_receipt_id:** `str`
@@ -19123,7 +19560,8 @@ client.filestorage.field_mapping.field_mappings_partial_update(
-
client.filestorage.field_mapping.remote_fields_retrieve(...) +## Crm AuditTrail +
client.crm.audit_trail.list(...)
@@ -19135,7 +19573,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/). +Gets a list of audit trail events.
@@ -19156,7 +19594,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.field_mapping.remote_fields_retrieve() +client.crm.audit_trail.list() ``` @@ -19172,7 +19610,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. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -19180,7 +19618,39 @@ client.filestorage.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. +**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.
@@ -19200,7 +19670,8 @@ client.filestorage.field_mapping.remote_fields_retrieve()
-
client.filestorage.field_mapping.target_fields_retrieve() +## Crm AvailableActions +
client.crm.available_actions.retrieve()
@@ -19212,7 +19683,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 models and actions available for an account.
@@ -19233,7 +19704,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.field_mapping.target_fields_retrieve() +client.crm.available_actions.retrieve() ``` @@ -19261,8 +19732,8 @@ client.filestorage.field_mapping.target_fields_retrieve()
-## Filestorage Files -
client.filestorage.files.list(...) +## Crm Contacts +
client.crm.contacts.list(...)
@@ -19274,7 +19745,7 @@ client.filestorage.field_mapping.target_fields_retrieve()
-Returns a list of `File` objects. +Returns a list of `Contact` objects.
@@ -19295,7 +19766,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.files.list() +client.crm.contacts.list() ``` @@ -19311,7 +19782,7 @@ client.filestorage.files.list()
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**account_id:** `typing.Optional[str]` — If provided, will only return contacts with this account.
@@ -19319,7 +19790,7 @@ client.filestorage.files.list()
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -19327,7 +19798,7 @@ client.filestorage.files.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.
@@ -19335,7 +19806,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. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -19343,7 +19814,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. +**email_addresses:** `typing.Optional[str]` — If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas.
@@ -19351,7 +19822,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. +**expand:** `typing.Optional[ContactsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -19375,7 +19846,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_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -19383,7 +19854,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).
@@ -19407,7 +19878,7 @@ client.filestorage.files.list()
-**name:** `typing.Optional[str]` — If provided, will only return files with this name. This performs an exact match. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -19415,7 +19886,7 @@ client.filestorage.files.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**phone_numbers:** `typing.Optional[str]` — If provided, will only return contacts matching the phone numbers; multiple phone numbers can be separated by commas.
@@ -19443,7 +19914,7 @@ client.filestorage.files.list()
-
client.filestorage.files.create(...) +
client.crm.contacts.create(...)
@@ -19455,7 +19926,7 @@ client.filestorage.files.list()
-Creates a `File` object with the given values. +Creates a `Contact` object with the given values.
@@ -19471,14 +19942,14 @@ Creates a `File` object with the given values. ```python from merge import Merge -from merge.resources.filestorage import FileRequest +from merge.resources.crm import ContactRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.files.create( - model=FileRequest(), +client.crm.contacts.create( + model=ContactRequest(), ) ``` @@ -19495,7 +19966,7 @@ client.filestorage.files.create(
-**model:** `FileRequest` +**model:** `ContactRequest`
@@ -19531,7 +20002,7 @@ client.filestorage.files.create(
-
client.filestorage.files.retrieve(...) +
client.crm.contacts.retrieve(...)
@@ -19543,7 +20014,7 @@ client.filestorage.files.create(
-Returns a `File` object with the given `id`. +Returns a `Contact` object with the given `id`.
@@ -19564,7 +20035,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.files.retrieve( +client.crm.contacts.retrieve( id="id", ) @@ -19590,7 +20061,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. +**expand:** `typing.Optional[ContactsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -19606,6 +20077,14 @@ client.filestorage.files.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).
@@ -19626,7 +20105,7 @@ client.filestorage.files.retrieve(
-
client.filestorage.files.download_request_meta_retrieve(...) +
client.crm.contacts.partial_update(...)
@@ -19638,7 +20117,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. +Updates a `Contact` object with the given `id`.
@@ -19654,13 +20133,15 @@ Returns metadata to construct an authenticated file download request for a singu ```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.files.download_request_meta_retrieve( +client.crm.contacts.partial_update( id="id", + model=PatchedContactRequest(), ) ``` @@ -19685,7 +20166,23 @@ client.filestorage.files.download_request_meta_retrieve(
-**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. +**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.
@@ -19705,7 +20202,7 @@ client.filestorage.files.download_request_meta_retrieve(
-
client.filestorage.files.download_request_meta_list(...) +
client.crm.contacts.ignore_create(...)
@@ -19717,7 +20214,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. +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.
@@ -19733,12 +20230,18 @@ Returns metadata to construct authenticated file download requests, allowing you ```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.filestorage.files.download_request_meta_list() +client.crm.contacts.ignore_create( + model_id="model_id", + request=IgnoreCommonModelRequest( + reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, + ), +) ``` @@ -19754,23 +20257,7 @@ client.filestorage.files.download_request_meta_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/). - -
-
- -
-
- -**mime_type:** `typing.Optional[str]` — If provided, specifies the export format of the files to be downloaded. For information on supported export formats, please refer to our export format help center article. +**model_id:** `str`
@@ -19778,7 +20265,7 @@ client.filestorage.files.download_request_meta_list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**request:** `IgnoreCommonModelRequest`
@@ -19798,7 +20285,7 @@ client.filestorage.files.download_request_meta_list()
-
client.filestorage.files.meta_post_retrieve() +
client.crm.contacts.meta_patch_retrieve(...)
@@ -19810,7 +20297,7 @@ client.filestorage.files.download_request_meta_list()
-Returns metadata for `FileStorageFile` POSTs. +Returns metadata for `CRMContact` PATCHs.
@@ -19831,7 +20318,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.files.meta_post_retrieve() +client.crm.contacts.meta_patch_retrieve( + id="id", +) ``` @@ -19847,6 +20336,14 @@ client.filestorage.files.meta_post_retrieve()
+**id:** `str` + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -19859,8 +20356,7 @@ client.filestorage.files.meta_post_retrieve()
-## Filestorage Folders -
client.filestorage.folders.list(...) +
client.crm.contacts.meta_post_retrieve()
@@ -19872,7 +20368,7 @@ client.filestorage.files.meta_post_retrieve()
-Returns a list of `Folder` objects. +Returns metadata for `CRMContact` POSTs.
@@ -19893,7 +20389,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.folders.list() +client.crm.contacts.meta_post_retrieve() ``` @@ -19909,39 +20405,68 @@ client.filestorage.folders.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.crm.contacts.remote_field_classes_list(...)
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `RemoteFieldClass` objects. +
+
+#### 🔌 Usage +
-**drive_id:** `typing.Optional[str]` — If provided, will only return folders in this drive. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.contacts.remote_field_classes_list() + +``` +
+
+#### ⚙️ Parameters +
-**expand:** `typing.Optional[FoldersListRequestExpand]` — 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.
@@ -19965,7 +20490,7 @@ client.filestorage.folders.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.
@@ -19973,7 +20498,7 @@ client.filestorage.folders.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).
@@ -19981,7 +20506,7 @@ client.filestorage.folders.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
@@ -19989,7 +20514,7 @@ client.filestorage.folders.list()
-**name:** `typing.Optional[str]` — If provided, will only return folders with this name. This performs an exact match. +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value
@@ -20005,22 +20530,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. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -20033,7 +20542,8 @@ client.filestorage.folders.list()
-
client.filestorage.folders.create(...) +## Crm CustomObjectClasses +
client.crm.custom_object_classes.list(...)
@@ -20045,7 +20555,7 @@ client.filestorage.folders.list()
-Creates a `Folder` object with the given values. +Returns a list of `CustomObjectClass` objects.
@@ -20061,15 +20571,12 @@ 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( - model=FolderRequest(), -) +client.crm.custom_object_classes.list() ``` @@ -20085,7 +20592,7 @@ client.filestorage.folders.create(
-**model:** `FolderRequest` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -20093,7 +20600,7 @@ client.filestorage.folders.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.
@@ -20101,7 +20608,7 @@ client.filestorage.folders.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -20109,70 +20616,39 @@ client.filestorage.folders.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**expand:** `typing.Optional[typing.Literal["fields"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
- -
- - - -
- -
client.filestorage.folders.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 `Folder` 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 - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.filestorage.folders.retrieve( - id="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 -
-
-
- -**id:** `str` +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -20180,7 +20656,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. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -20188,7 +20664,7 @@ client.filestorage.folders.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.
@@ -20196,7 +20672,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). +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -20216,7 +20692,7 @@ client.filestorage.folders.retrieve(
-
client.filestorage.folders.meta_post_retrieve() +
client.crm.custom_object_classes.retrieve(...)
@@ -20228,7 +20704,7 @@ client.filestorage.folders.retrieve(
-Returns metadata for `FileStorageFolder` POSTs. +Returns a `CustomObjectClass` object with the given `id`.
@@ -20249,7 +20725,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.folders.meta_post_retrieve() +client.crm.custom_object_classes.retrieve( + id="id", +) ``` @@ -20265,71 +20743,31 @@ client.filestorage.folders.meta_post_retrieve()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**id:** `str`
- -
- - - - -
- -## Filestorage GenerateKey -
client.filestorage.generate_key.create(...) -
-
- -#### 📝 Description
-
-
- -Create a remote key. -
-
+**expand:** `typing.Optional[typing.Literal["fields"]]` — 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.filestorage.generate_key.create( - name="Remote Deployment Key 1", -) - -``` -
-
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
-#### ⚙️ Parameters - -
-
-
-**name:** `str` — The name of the remote key +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -20349,8 +20787,8 @@ client.filestorage.generate_key.create(
-## Filestorage Groups -
client.filestorage.groups.list(...) +## Crm AssociationTypes +
client.crm.association_types.custom_object_classes_association_types_list(...)
@@ -20362,7 +20800,7 @@ client.filestorage.generate_key.create(
-Returns a list of `Group` objects. +Returns a list of `AssociationType` objects.
@@ -20383,7 +20821,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.groups.list() +client.crm.association_types.custom_object_classes_association_types_list( + custom_object_class_id="custom_object_class_id", +) ``` @@ -20399,6 +20839,14 @@ client.filestorage.groups.list()
+**custom_object_class_id:** `str` + +
+
+ +
+
+ **created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -20423,7 +20871,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. +**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.
@@ -20499,7 +20947,7 @@ client.filestorage.groups.list()
-
client.filestorage.groups.retrieve(...) +
client.crm.association_types.custom_object_classes_association_types_create(...)
@@ -20511,7 +20959,7 @@ client.filestorage.groups.list()
-Returns a `Group` object with the given `id`. +Creates an `AssociationType` object with the given values.
@@ -20527,13 +20975,31 @@ Returns a `Group` object with the given `id`. ```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.filestorage.groups.retrieve( - id="id", +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", + ), ) ``` @@ -20550,7 +21016,7 @@ client.filestorage.groups.retrieve(
-**id:** `str` +**custom_object_class_id:** `str`
@@ -20558,7 +21024,7 @@ client.filestorage.groups.retrieve(
-**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:** `AssociationTypeRequestRequest`
@@ -20566,7 +21032,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.
@@ -20574,7 +21040,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.
@@ -20594,8 +21060,7 @@ client.filestorage.groups.retrieve(
-## Filestorage Issues -
client.filestorage.issues.list(...) +
client.crm.association_types.custom_object_classes_association_types_retrieve(...)
@@ -20607,7 +21072,7 @@ client.filestorage.groups.retrieve(
-Gets all issues for Organization. +Returns an `AssociationType` object with the given `id`.
@@ -20628,7 +21093,10 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.issues.list() +client.crm.association_types.custom_object_classes_association_types_retrieve( + custom_object_class_id="custom_object_class_id", + id="id", +) ``` @@ -20644,79 +21112,7 @@ client.filestorage.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 - -
-
- -
-
- -**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. +**custom_object_class_id:** `str`
@@ -20724,7 +21120,7 @@ client.filestorage.issues.list()
-**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in. +**id:** `str`
@@ -20732,7 +21128,7 @@ client.filestorage.issues.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**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.
@@ -20740,7 +21136,7 @@ client.filestorage.issues.list()
-**start_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action 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.
@@ -20748,12 +21144,7 @@ client.filestorage.issues.list()
-**status:** `typing.Optional[IssuesListRequestStatus]` - -Status of the issue. Options: ('ONGOING', 'RESOLVED') - -* `ONGOING` - ONGOING -* `RESOLVED` - RESOLVED +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -20773,7 +21164,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-
client.filestorage.issues.retrieve(...) +
client.crm.association_types.custom_object_classes_association_types_meta_post_retrieve(...)
@@ -20785,7 +21176,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-Get a specific issue. +Returns metadata for `CRMAssociationType` POSTs.
@@ -20806,8 +21197,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.issues.retrieve( - id="id", +client.crm.association_types.custom_object_classes_association_types_meta_post_retrieve( + custom_object_class_id="custom_object_class_id", ) ``` @@ -20824,7 +21215,7 @@ client.filestorage.issues.retrieve(
-**id:** `str` +**custom_object_class_id:** `str`
@@ -20844,8 +21235,8 @@ client.filestorage.issues.retrieve(
-## Filestorage LinkToken -
client.filestorage.link_token.create(...) +## Crm CustomObjects +
client.crm.custom_objects.custom_object_classes_custom_objects_list(...)
@@ -20857,7 +21248,7 @@ client.filestorage.issues.retrieve(
-Creates a link token to be used when linking a new end user. +Returns a list of `CustomObject` objects.
@@ -20873,17 +21264,13 @@ 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.custom_objects.custom_object_classes_custom_objects_list( + custom_object_class_id="custom_object_class_id", ) ``` @@ -20900,15 +21287,7 @@ 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. - -
-
- -
-
- -**end_user_organization_name:** `str` — Your end user's organization. +**custom_object_class_id:** `str`
@@ -20916,7 +21295,7 @@ client.filestorage.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_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -20924,7 +21303,7 @@ client.filestorage.link_token.create(
-**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -20932,7 +21311,7 @@ client.filestorage.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/. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -20940,7 +21319,7 @@ client.filestorage.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. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -20948,7 +21327,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_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -20956,7 +21335,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_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -20964,7 +21343,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_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -20972,14 +21351,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. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -20987,12 +21359,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 +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -21000,7 +21367,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. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -21008,7 +21375,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.
@@ -21028,8 +21395,7 @@ The following subset of IETF language tags can be used to configure localization
-## Filestorage LinkedAccounts -
client.filestorage.linked_accounts.list(...) +
client.crm.custom_objects.custom_object_classes_custom_objects_create(...)
@@ -21041,7 +21407,7 @@ The following subset of IETF language tags can be used to configure localization
-List linked accounts for your organization. +Creates a `CustomObject` object with the given values.
@@ -21057,12 +21423,18 @@ List linked accounts for your organization. ```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.linked_accounts.list() +client.crm.custom_objects.custom_object_classes_custom_objects_create( + custom_object_class_id="custom_object_class_id", + model=CustomObjectRequest( + fields={"test_field": "hello"}, + ), +) ``` @@ -21078,17 +21450,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 +**custom_object_class_id:** `str`
@@ -21096,7 +21458,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**model:** `CustomObjectRequest`
@@ -21104,7 +21466,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. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -21112,7 +21474,7 @@ 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. +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -21120,39 +21482,71 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. -
+
+
client.crm.custom_objects.custom_object_classes_custom_objects_retrieve(...)
-**id:** `typing.Optional[str]` - +#### 📝 Description + +
+
+ +
+
+ +Returns a `CustomObject` object with the given `id`. +
+
+#### 🔌 Usage +
-**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. - +
+
+ +```python +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_retrieve( + custom_object_class_id="custom_object_class_id", + id="id", +) + +``` +
+
+#### ⚙️ Parameters +
-**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. +
+
+ +**custom_object_class_id:** `str`
@@ -21160,7 +21554,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. +**id:** `str`
@@ -21168,7 +21562,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. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -21176,7 +21570,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**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.
@@ -21184,7 +21578,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).
@@ -21204,8 +21598,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-## Filestorage Passthrough -
client.filestorage.passthrough.create(...) +
client.crm.custom_objects.custom_object_classes_custom_objects_meta_post_retrieve(...)
@@ -21217,7 +21610,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-Pull data from an endpoint not currently supported by Merge. +Returns metadata for `CRMCustomObject` POSTs.
@@ -21233,17 +21626,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.custom_objects.custom_object_classes_custom_objects_meta_post_retrieve( + custom_object_class_id="custom_object_class_id", ) ``` @@ -21260,7 +21649,7 @@ client.filestorage.passthrough.create(
-**request:** `DataPassthroughRequest` +**custom_object_class_id:** `str`
@@ -21280,8 +21669,7 @@ client.filestorage.passthrough.create(
-## Filestorage RegenerateKey -
client.filestorage.regenerate_key.create(...) +
client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_classes_list(...)
@@ -21293,7 +21681,7 @@ client.filestorage.passthrough.create(
-Exchange remote keys. +Returns a list of `RemoteFieldClass` objects.
@@ -21314,9 +21702,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.regenerate_key.create( - name="Remote Deployment Key 1", -) +client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_classes_list() ``` @@ -21332,7 +21718,63 @@ client.filestorage.regenerate_key.create(
-**name:** `str` — The name of the remote key +**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.
@@ -21352,8 +21794,8 @@ client.filestorage.regenerate_key.create(
-## Filestorage SyncStatus -
client.filestorage.sync_status.list(...) +## Crm Associations +
client.crm.associations.custom_object_classes_custom_objects_associations_list(...)
@@ -21365,7 +21807,7 @@ client.filestorage.regenerate_key.create(
-Get syncing status. Possible values: `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 `Association` objects.
@@ -21386,7 +21828,10 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.sync_status.list() +client.crm.associations.custom_object_classes_custom_objects_associations_list( + custom_object_class_id="custom_object_class_id", + object_id="object_id", +) ``` @@ -21402,7 +21847,7 @@ client.filestorage.sync_status.list()
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**custom_object_class_id:** `str`
@@ -21410,7 +21855,7 @@ client.filestorage.sync_status.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**object_id:** `str`
@@ -21418,65 +21863,99 @@ client.filestorage.sync_status.list()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**association_type_id:** `typing.Optional[str]` — If provided, will only return opportunities with this association_type.
+ +
+
+ +**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. +
-
-## Filestorage ForceResync -
client.filestorage.force_resync.sync_status_resync_create()
-#### 📝 Description +**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+**expand:** `typing.Optional[typing.Literal["association_type"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+
-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. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-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.filestorage.force_resync.sync_status_resync_create() +
+
-``` +**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. +
-#### ⚙️ Parameters -
+**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+
@@ -21492,8 +21971,7 @@ client.filestorage.force_resync.sync_status_resync_create()
-## Filestorage Users -
client.filestorage.users.list(...) +
client.crm.associations.custom_object_classes_custom_objects_associations_update(...)
@@ -21505,7 +21983,7 @@ client.filestorage.force_resync.sync_status_resync_create()
-Returns a list of `User` objects. +Creates an Association between `source_object_id` and `target_object_id` of type `association_type_id`.
@@ -21526,7 +22004,13 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.users.list() +client.crm.associations.custom_object_classes_custom_objects_associations_update( + association_type_id="association_type_id", + source_class_id="source_class_id", + source_object_id="source_object_id", + target_class_id="target_class_id", + target_object_id="target_object_id", +) ``` @@ -21542,7 +22026,7 @@ client.filestorage.users.list()
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**association_type_id:** `str`
@@ -21550,7 +22034,7 @@ client.filestorage.users.list()
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**source_class_id:** `str`
@@ -21558,7 +22042,7 @@ client.filestorage.users.list()
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**source_object_id:** `str`
@@ -21566,7 +22050,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/). +**target_class_id:** `str`
@@ -21574,7 +22058,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. +**target_object_id:** `str`
@@ -21582,7 +22066,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). +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -21590,7 +22074,7 @@ client.filestorage.users.list()
-**is_me:** `typing.Optional[str]` — If provided, will only return the user object for requestor. +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -21598,35 +22082,65 @@ client.filestorage.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.
+ +
-
-
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. -
+
+## Crm Scopes +
client.crm.scopes.default_scopes_retrieve()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - +#### 📝 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 +
-**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.crm.scopes.default_scopes_retrieve() + +``` +
+
+#### ⚙️ Parameters + +
+
+
@@ -21642,7 +22156,7 @@ client.filestorage.users.list()
-
client.filestorage.users.retrieve(...) +
client.crm.scopes.linked_account_scopes_retrieve()
@@ -21654,7 +22168,7 @@ client.filestorage.users.list()
-Returns a `User` object with the given `id`. +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).
@@ -21675,9 +22189,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.users.retrieve( - id="id", -) +client.crm.scopes.linked_account_scopes_retrieve() ``` @@ -21693,23 +22205,99 @@ client.filestorage.users.retrieve(
-**id:** `str` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
+ + + +
+ +
client.crm.scopes.linked_account_scopes_create(...)
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - +#### 📝 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 +
-**include_shell_data:** `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 +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 + +
+
+ +
+
+ +**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for
@@ -21729,8 +22317,8 @@ client.filestorage.users.retrieve(
-## Filestorage WebhookReceivers -
client.filestorage.webhook_receivers.list() +## Crm DeleteAccount +
client.crm.delete_account.delete()
@@ -21742,7 +22330,7 @@ client.filestorage.users.retrieve(
-Returns a list of `WebhookReceiver` objects. +Delete a linked account.
@@ -21763,7 +22351,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.webhook_receivers.list() +client.crm.delete_account.delete() ``` @@ -21791,7 +22379,8 @@ client.filestorage.webhook_receivers.list()
-
client.filestorage.webhook_receivers.create(...) +## Crm EngagementTypes +
client.crm.engagement_types.list(...)
@@ -21803,7 +22392,7 @@ client.filestorage.webhook_receivers.list()
-Creates a `WebhookReceiver` object with the given values. +Returns a list of `EngagementType` objects.
@@ -21824,10 +22413,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.webhook_receivers.create( - event="event", - is_active=True, -) +client.crm.engagement_types.list() ``` @@ -21843,7 +22429,7 @@ client.filestorage.webhook_receivers.create(
-**event:** `str` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -21851,7 +22437,7 @@ client.filestorage.webhook_receivers.create(
-**is_active:** `bool` +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -21859,7 +22445,7 @@ client.filestorage.webhook_receivers.create(
-**key:** `typing.Optional[str]` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -21867,65 +22453,67 @@ client.filestorage.webhook_receivers.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. +
-
-## Hris AccountDetails -
client.hris.account_details.retrieve()
-#### 📝 Description +**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). + +
+
+
-Get details for a linked account. -
-
+**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 - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.hris.account_details.retrieve() - -``` -
-
+**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. + +
+
+
@@ -21941,8 +22529,7 @@ client.hris.account_details.retrieve()
-## Hris AccountToken -
client.hris.account_token.retrieve(...) +
client.crm.engagement_types.retrieve(...)
@@ -21954,7 +22541,7 @@ client.hris.account_details.retrieve()
-Returns the account token for the end user with the provided public token. +Returns an `EngagementType` object with the given `id`.
@@ -21975,8 +22562,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.account_token.retrieve( - public_token="public_token", +client.crm.engagement_types.retrieve( + id="id", ) ``` @@ -21993,7 +22580,31 @@ client.hris.account_token.retrieve(
-**public_token:** `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_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).
@@ -22013,8 +22624,7 @@ client.hris.account_token.retrieve(
-## Hris AsyncPassthrough -
client.hris.async_passthrough.create(...) +
client.crm.engagement_types.remote_field_classes_list(...)
@@ -22026,7 +22636,7 @@ client.hris.account_token.retrieve(
-Asynchronously pull data from an endpoint not currently supported by Merge. +Returns a list of `RemoteFieldClass` objects.
@@ -22042,18 +22652,12 @@ 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.engagement_types.remote_field_classes_list() ``` @@ -22069,7 +22673,63 @@ client.hris.async_passthrough.create(
-**request:** `DataPassthroughRequest` +**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.
@@ -22089,7 +22749,8 @@ client.hris.async_passthrough.create(
-
client.hris.async_passthrough.retrieve(...) +## Crm Engagements +
client.crm.engagements.list(...)
@@ -22101,7 +22762,7 @@ client.hris.async_passthrough.create(
-Retrieves data from earlier async-passthrough POST request +Returns a list of `Engagement` objects.
@@ -22122,9 +22783,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.engagements.list() ``` @@ -22140,7 +22799,7 @@ client.hris.async_passthrough.retrieve(
-**async_passthrough_receipt_id:** `str` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -22148,69 +22807,63 @@ client.hris.async_passthrough.retrieve(
-**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 AuditTrail -
client.hris.audit_trail.list(...)
-#### 📝 Description - -
-
+**expand:** `typing.Optional[EngagementsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
-Gets a list of audit trail events. -
-
+**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is 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 - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.hris.audit_trail.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. + -#### ⚙️ Parameters -
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -22218,7 +22871,7 @@ client.hris.audit_trail.list()
-**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -22226,7 +22879,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`, `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.
@@ -22234,7 +22887,7 @@ client.hris.audit_trail.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.
@@ -22242,7 +22895,7 @@ client.hris.audit_trail.list()
-**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time +**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return engagements started after this datetime.
@@ -22250,7 +22903,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. +**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return engagements started before this datetime.
@@ -22270,8 +22923,7 @@ client.hris.audit_trail.list()
-## Hris AvailableActions -
client.hris.available_actions.retrieve() +
client.crm.engagements.create(...)
@@ -22283,7 +22935,7 @@ client.hris.audit_trail.list()
-Returns a list of models and actions available for an account. +Creates an `Engagement` object with the given values.
@@ -22299,12 +22951,15 @@ Returns a list of models and actions available for an account. ```python from merge import Merge +from merge.resources.crm import EngagementRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.available_actions.retrieve() +client.crm.engagements.create( + model=EngagementRequest(), +) ``` @@ -22320,6 +22975,30 @@ client.hris.available_actions.retrieve()
+**model:** `EngagementRequest` + +
+
+ +
+
+ +**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.
@@ -22332,8 +23011,7 @@ client.hris.available_actions.retrieve()
-## Hris BankInfo -
client.hris.bank_info.list(...) +
client.crm.engagements.retrieve(...)
@@ -22345,7 +23023,7 @@ client.hris.available_actions.retrieve()
-Returns a list of `BankInfo` objects. +Returns an `Engagement` object with the given `id`.
@@ -22366,7 +23044,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.bank_info.list() +client.crm.engagements.retrieve( + id="id", +) ``` @@ -22382,12 +23062,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 +**id:** `str`
@@ -22395,7 +23070,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**bank_name:** `typing.Optional[str]` — If provided, will only return BankInfo's with this bank name. +**expand:** `typing.Optional[EngagementsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -22403,7 +23078,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created 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.
@@ -22411,7 +23086,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created 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.
@@ -22419,7 +23094,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**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).
@@ -22427,71 +23102,72 @@ 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. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**expand:** `typing.Optional[typing.Literal["employee"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. -
+
+
client.crm.engagements.partial_update(...)
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is 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). - +Updates an `Engagement` 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. - -
-
-
-**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 +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
-**order_by:** `typing.Optional[BankInfoListRequestOrderBy]` — 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. +**id:** `str`
@@ -22499,7 +23175,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**remote_fields:** `typing.Optional[typing.Literal["account_type"]]` — Deprecated. Use show_enum_origins. +**model:** `PatchedEngagementRequest`
@@ -22507,7 +23183,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. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -22515,7 +23191,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) +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -22535,7 +23211,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-
client.hris.bank_info.retrieve(...) +
client.crm.engagements.meta_patch_retrieve(...)
@@ -22547,7 +23223,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-Returns a `BankInfo` object with the given `id`. +Returns metadata for `Engagement` PATCHs.
@@ -22568,7 +23244,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.bank_info.retrieve( +client.crm.engagements.meta_patch_retrieve( id="id", ) @@ -22594,43 +23270,64 @@ 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. +**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.engagements.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
-**remote_fields:** `typing.Optional[typing.Literal["account_type"]]` — Deprecated. Use show_enum_origins. - +
+
+ +Returns metadata for `Engagement` POSTs.
+
+
+ +#### 🔌 Usage
-**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) - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.engagements.meta_post_retrieve() + +``` +
+
+#### ⚙️ Parameters + +
+
+
@@ -22646,8 +23343,7 @@ client.hris.bank_info.retrieve(
-## Hris Benefits -
client.hris.benefits.list(...) +
client.crm.engagements.remote_field_classes_list(...)
@@ -22659,7 +23355,7 @@ client.hris.bank_info.retrieve(
-Returns a list of `Benefit` objects. +Returns a list of `RemoteFieldClass` objects.
@@ -22680,7 +23376,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.benefits.list() +client.crm.engagements.remote_field_classes_list() ``` @@ -22696,22 +23392,6 @@ client.hris.benefits.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.
@@ -22720,22 +23400,6 @@ client.hris.benefits.list()
-**employee_id:** `typing.Optional[str]` — If provided, will return the benefits associated with the employee. - -
-
- -
-
- -**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/).
@@ -22752,7 +23416,7 @@ client.hris.benefits.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.
@@ -22760,7 +23424,7 @@ client.hris.benefits.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).
@@ -22768,7 +23432,7 @@ client.hris.benefits.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
@@ -22776,7 +23440,7 @@ client.hris.benefits.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value
@@ -22784,7 +23448,7 @@ client.hris.benefits.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.
@@ -22804,7 +23468,8 @@ client.hris.benefits.list()
-
client.hris.benefits.retrieve(...) +## Crm FieldMapping +
client.crm.field_mapping.field_mappings_retrieve(...)
@@ -22816,7 +23481,7 @@ client.hris.benefits.list()
-Returns a `Benefit` 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/).
@@ -22837,9 +23502,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.benefits.retrieve( - id="id", -) +client.crm.field_mapping.field_mappings_retrieve() ``` @@ -22855,31 +23518,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. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**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.
@@ -22899,8 +23538,7 @@ client.hris.benefits.retrieve(
-## Hris Companies -
client.hris.companies.list(...) +
client.crm.field_mapping.field_mappings_create(...)
@@ -22912,7 +23550,7 @@ client.hris.benefits.retrieve(
-Returns a list of `Company` 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.
@@ -22933,7 +23571,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.companies.list() +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", +) ``` @@ -22949,7 +23594,7 @@ client.hris.companies.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.
@@ -22957,7 +23602,7 @@ client.hris.companies.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.
@@ -22965,7 +23610,7 @@ client.hris.companies.list()
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**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.
@@ -22973,7 +23618,7 @@ 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/). +**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from.
@@ -22981,7 +23626,7 @@ client.hris.companies.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.
@@ -22989,7 +23634,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). +**common_model_name:** `str` — The name of the Common Model that the remote field corresponds to in a given category.
@@ -22997,7 +23642,7 @@ client.hris.companies.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.
@@ -23005,23 +23650,70 @@ client.hris.companies.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.crm.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.crm.field_mapping.field_mappings_destroy( + field_mapping_id="field_mapping_id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**field_mapping_id:** `str`
@@ -23041,7 +23733,7 @@ client.hris.companies.list()
-
client.hris.companies.retrieve(...) +
client.crm.field_mapping.field_mappings_partial_update(...)
@@ -23053,7 +23745,7 @@ client.hris.companies.list()
-Returns a `Company` 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.
@@ -23074,8 +23766,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.companies.retrieve( - id="id", +client.crm.field_mapping.field_mappings_partial_update( + field_mapping_id="field_mapping_id", ) ``` @@ -23092,7 +23784,7 @@ client.hris.companies.retrieve(
-**id:** `str` +**field_mapping_id:** `str`
@@ -23100,7 +23792,7 @@ client.hris.companies.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.Optional[typing.Any]]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint.
@@ -23108,7 +23800,15 @@ client.hris.companies.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.
@@ -23128,8 +23828,7 @@ client.hris.companies.retrieve(
-## Hris Scopes -
client.hris.scopes.default_scopes_retrieve() +
client.crm.field_mapping.remote_fields_retrieve(...)
@@ -23141,7 +23840,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). +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/).
@@ -23162,7 +23861,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.scopes.default_scopes_retrieve() +client.crm.field_mapping.remote_fields_retrieve() ``` @@ -23178,6 +23877,22 @@ client.hris.scopes.default_scopes_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. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -23190,7 +23905,7 @@ client.hris.scopes.default_scopes_retrieve()
-
client.hris.scopes.linked_account_scopes_retrieve() +
client.crm.field_mapping.target_fields_retrieve()
@@ -23202,7 +23917,7 @@ client.hris.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 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/).
@@ -23223,7 +23938,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.scopes.linked_account_scopes_retrieve() +client.crm.field_mapping.target_fields_retrieve() ``` @@ -23251,7 +23966,8 @@ client.hris.scopes.linked_account_scopes_retrieve()
-
client.hris.scopes.linked_account_scopes_create(...) +## Crm GenerateKey +
client.crm.generate_key.create(...)
@@ -23263,7 +23979,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) +Create a remote key.
@@ -23279,42 +23995,13 @@ 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, - ) - }, - ), - ], +client.crm.generate_key.create( + name="Remote Deployment Key 1", ) ``` @@ -23331,7 +24018,7 @@ client.hris.scopes.linked_account_scopes_create(
-**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for +**name:** `str` — The name of the remote key
@@ -23351,8 +24038,8 @@ client.hris.scopes.linked_account_scopes_create(
-## Hris DeleteAccount -
client.hris.delete_account.delete() +## Crm Issues +
client.crm.issues.list(...)
@@ -23364,7 +24051,7 @@ client.hris.scopes.linked_account_scopes_create(
-Delete a linked account. +Gets all issues for Organization.
@@ -23385,7 +24072,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.delete_account.delete() +client.crm.issues.list() ``` @@ -23401,69 +24088,31 @@ client.hris.delete_account.delete()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**account_token:** `typing.Optional[str]`
- -
- - - - -
- -## Hris Dependents -
client.hris.dependents.list(...) -
-
- -#### 📝 Description
-
-
- -Returns a list of `Dependent` objects. -
-
+**cursor:** `typing.Optional[str]` — The pagination cursor value. +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.hris.dependents.list() - -``` -
-
+**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time +
-#### ⚙️ Parameters -
-
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**end_user_organization_name:** `typing.Optional[str]`
@@ -23471,7 +24120,7 @@ client.hris.dependents.list()
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime.
@@ -23479,7 +24128,7 @@ client.hris.dependents.list()
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**first_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was before this datetime.
@@ -23487,7 +24136,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/). +**include_muted:** `typing.Optional[str]` — If true, will include muted issues
@@ -23495,7 +24144,7 @@ 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. +**integration_name:** `typing.Optional[str]`
@@ -23503,7 +24152,7 @@ client.hris.dependents.list()
-**include_sensitive_fields:** `typing.Optional[bool]` — Whether to include sensitive fields (such as social security numbers) in the response. +**last_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was after this datetime.
@@ -23511,7 +24160,7 @@ client.hris.dependents.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). +**last_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was before this datetime.
@@ -23519,7 +24168,7 @@ client.hris.dependents.list()
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in.
@@ -23527,7 +24176,7 @@ client.hris.dependents.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.
@@ -23535,7 +24184,7 @@ client.hris.dependents.list()
-**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
@@ -23543,7 +24192,12 @@ client.hris.dependents.list()
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**status:** `typing.Optional[IssuesListRequestStatus]` + +Status of the issue. Options: ('ONGOING', 'RESOLVED') + +* `ONGOING` - ONGOING +* `RESOLVED` - RESOLVED
@@ -23563,7 +24217,7 @@ client.hris.dependents.list()
-
client.hris.dependents.retrieve(...) +
client.crm.issues.retrieve(...)
@@ -23575,7 +24229,7 @@ client.hris.dependents.list()
-Returns a `Dependent` object with the given `id`. +Get a specific issue.
@@ -23596,7 +24250,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.dependents.retrieve( +client.crm.issues.retrieve( id="id", ) @@ -23622,30 +24276,6 @@ client.hris.dependents.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. - -
-
- -
-
- -**include_shell_data:** `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.
@@ -23658,8 +24288,8 @@ client.hris.dependents.retrieve(
-## Hris EmployeePayrollRuns -
client.hris.employee_payroll_runs.list(...) +## Crm Leads +
client.crm.leads.list(...)
@@ -23671,7 +24301,7 @@ client.hris.dependents.retrieve(
-Returns a list of `EmployeePayrollRun` objects. +Returns a list of `Lead` objects.
@@ -23692,7 +24322,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.employee_payroll_runs.list() +client.crm.leads.list() ``` @@ -23708,7 +24338,7 @@ client.hris.employee_payroll_runs.list()
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**converted_account_id:** `typing.Optional[str]` — If provided, will only return leads with this account.
@@ -23716,7 +24346,7 @@ client.hris.employee_payroll_runs.list()
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**converted_contact_id:** `typing.Optional[str]` — If provided, will only return leads with this contact.
@@ -23724,7 +24354,7 @@ client.hris.employee_payroll_runs.list()
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -23732,7 +24362,7 @@ client.hris.employee_payroll_runs.list()
-**employee_id:** `typing.Optional[str]` — If provided, will only return employee payroll runs for this employee. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -23740,7 +24370,7 @@ client.hris.employee_payroll_runs.list()
-**ended_after:** `typing.Optional[dt.datetime]` — If provided, will only return employee payroll runs ended after this datetime. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -23748,7 +24378,7 @@ client.hris.employee_payroll_runs.list()
-**ended_before:** `typing.Optional[dt.datetime]` — If provided, will only return employee payroll runs ended before this datetime. +**email_addresses:** `typing.Optional[str]` — If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas.
@@ -23756,7 +24386,7 @@ client.hris.employee_payroll_runs.list()
-**expand:** `typing.Optional[EmployeePayrollRunsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[LeadsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -23780,6 +24410,14 @@ client.hris.employee_payroll_runs.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).
@@ -23804,6 +24442,14 @@ client.hris.employee_payroll_runs.list()
+**owner_id:** `typing.Optional[str]` — If provided, will only return leads with this owner. + +
+
+ +
+
+ **page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -23812,7 +24458,7 @@ client.hris.employee_payroll_runs.list()
-**payroll_run_id:** `typing.Optional[str]` — If provided, will only return employee payroll runs for this employee. +**phone_numbers:** `typing.Optional[str]` — If provided, will only return contacts matching the phone numbers; multiple phone numbers can be separated by commas.
@@ -23828,15 +24474,87 @@ client.hris.employee_payroll_runs.list()
-**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return employee payroll runs started after this datetime. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
+ + +
+
+ +
client.crm.leads.create(...)
-**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return employee payroll runs started before this datetime. +#### 📝 Description + +
+
+ +
+
+ +Creates a `Lead` object with the given values. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```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( + model=LeadRequest(), +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**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.
@@ -23856,7 +24574,7 @@ client.hris.employee_payroll_runs.list()
-
client.hris.employee_payroll_runs.retrieve(...) +
client.crm.leads.retrieve(...)
@@ -23868,7 +24586,7 @@ client.hris.employee_payroll_runs.list()
-Returns an `EmployeePayrollRun` object with the given `id`. +Returns a `Lead` object with the given `id`.
@@ -23889,7 +24607,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.employee_payroll_runs.retrieve( +client.crm.leads.retrieve( id="id", ) @@ -23915,7 +24633,7 @@ client.hris.employee_payroll_runs.retrieve(
-**expand:** `typing.Optional[EmployeePayrollRunsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[LeadsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -23931,6 +24649,14 @@ client.hris.employee_payroll_runs.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).
@@ -23951,8 +24677,7 @@ client.hris.employee_payroll_runs.retrieve(
-## Hris Employees -
client.hris.employees.list(...) +
client.crm.leads.meta_post_retrieve()
@@ -23964,7 +24689,7 @@ client.hris.employee_payroll_runs.retrieve(
-Returns a list of `Employee` objects. +Returns metadata for `Lead` POSTs.
@@ -23985,7 +24710,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.employees.list() +client.crm.leads.meta_post_retrieve() ``` @@ -24001,69 +24726,68 @@ client.hris.employees.list()
-**company_id:** `typing.Optional[str]` — If provided, will only return employees for this company. +**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.crm.leads.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. - -
-
-
-**display_full_name:** `typing.Optional[str]` — If provided, will only return employees with this display name. - +Returns a list of `RemoteFieldClass` objects. +
+
+#### 🔌 Usage +
-**employment_status:** `typing.Optional[EmployeesListRequestEmploymentStatus]` +
+
-If provided, will only return employees with this employment status. +```python +from merge import Merge -* `ACTIVE` - ACTIVE -* `PENDING` - PENDING -* `INACTIVE` - INACTIVE - +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.leads.remote_field_classes_list() + +``` +
+
+#### ⚙️ Parameters +
-**employment_type:** `typing.Optional[str]` — If provided, will only return employees that have an employment of the specified employment_type. - -
-
-
-**expand:** `typing.Optional[EmployeesListRequestExpand]` — 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.
@@ -24071,7 +24795,7 @@ If provided, will only return employees with this employment status.
-**first_name:** `typing.Optional[str]` — If provided, will only return employees with this first name. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -24079,7 +24803,7 @@ If provided, will only return employees with this employment status.
-**groups:** `typing.Optional[str]` — If provided, will only return employees matching the group ids; multiple groups can be separated by commas. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -24087,7 +24811,7 @@ If provided, will only return employees with this employment status.
-**home_location_id:** `typing.Optional[str]` — If provided, will only return employees for this home location. +**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.
@@ -24095,7 +24819,7 @@ If provided, will only return employees with this employment status.
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a 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).
@@ -24103,7 +24827,7 @@ If provided, will only return employees with this employment status.
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value
@@ -24111,7 +24835,7 @@ 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. +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value
@@ -24119,7 +24843,7 @@ If provided, will only return employees with this employment status.
-**include_shell_data:** `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.
@@ -24127,47 +24851,75 @@ If provided, will only return employees with this employment status.
-**job_title:** `typing.Optional[str]` — If provided, will only return employees that have an employment of the specified job_title. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ + -
-
-**last_name:** `typing.Optional[str]` — If provided, will only return employees with this last name. -
+
+## Crm LinkToken +
client.crm.link_token.create(...)
-**manager_id:** `typing.Optional[str]` — If provided, will only return employees for this manager. - -
-
+#### 📝 Description
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - +
+
+ +Creates a link token to be used when linking a new end user. +
+
+#### 🔌 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 +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], +) + +``` +
+
+#### ⚙️ Parameters +
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +
+
+ +**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.
@@ -24175,7 +24927,7 @@ If provided, will only return employees with this employment status.
-**pay_group_id:** `typing.Optional[str]` — If provided, will only return employees for this pay group +**end_user_organization_name:** `str` — Your end user's organization.
@@ -24183,7 +24935,7 @@ If provided, will only return employees with this employment status.
-**personal_email:** `typing.Optional[str]` — If provided, will only return Employees with this personal email +**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.
@@ -24191,7 +24943,7 @@ If provided, will only return employees with this employment status.
-**remote_fields:** `typing.Optional[EmployeesListRequestRemoteFields]` — Deprecated. Use show_enum_origins. +**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link.
@@ -24199,7 +24951,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. +**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/.
@@ -24207,7 +24959,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) +**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.
@@ -24215,7 +24967,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. +**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.
@@ -24223,7 +24975,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. +**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.
@@ -24231,7 +24983,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. +**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.
@@ -24239,7 +24991,14 @@ 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. +**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.
@@ -24247,7 +25006,12 @@ 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. +**language:** `typing.Optional[EndUserDetailsRequestLanguage]` + +The following subset of IETF language tags can be used to configure localization. + +* `en` - en +* `de` - de
@@ -24255,7 +25019,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 +**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled.
@@ -24263,7 +25027,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. +**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — A JSON object containing integration-specific configuration options.
@@ -24283,7 +25047,8 @@ If provided, will only return employees with this employment status.
-
client.hris.employees.create(...) +## Crm LinkedAccounts +
client.crm.linked_accounts.list(...)
@@ -24295,7 +25060,7 @@ If provided, will only return employees with this employment status.
-Creates an `Employee` object with the given values. +List linked accounts for your organization.
@@ -24311,15 +25076,12 @@ 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( - model=EmployeeRequest(), -) +client.crm.linked_accounts.list() ``` @@ -24335,7 +25097,17 @@ client.hris.employees.create(
-**model:** `EmployeeRequest` +**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
@@ -24343,7 +25115,7 @@ client.hris.employees.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -24351,7 +25123,7 @@ client.hris.employees.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address.
@@ -24359,70 +25131,31 @@ client.hris.employees.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name.
- -
- - - - -
-
client.hris.employees.retrieve(...)
-#### 📝 Description - -
-
- -
-
- -Returns an `Employee` object with the given `id`. -
-
+**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID. +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.hris.employees.retrieve( - id="id", -) - -``` -
-
+**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. +
-#### ⚙️ Parameters -
-
-
- -**id:** `str` +**id:** `typing.Optional[str]`
@@ -24430,7 +25163,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. +**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once.
@@ -24438,7 +25171,7 @@ client.hris.employees.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**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.
@@ -24446,7 +25179,7 @@ client.hris.employees.retrieve(
-**include_sensitive_fields:** `typing.Optional[bool]` — Whether to include sensitive fields (such as social security numbers) in the response. +**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name.
@@ -24454,7 +25187,7 @@ client.hris.employees.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_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts.
@@ -24462,7 +25195,7 @@ client.hris.employees.retrieve(
-**remote_fields:** `typing.Optional[EmployeesRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -24470,7 +25203,7 @@ 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) +**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED`
@@ -24490,7 +25223,8 @@ client.hris.employees.retrieve(
-
client.hris.employees.ignore_create(...) +## Crm Notes +
client.crm.notes.list(...)
@@ -24502,7 +25236,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. +Returns a list of `Note` objects.
@@ -24518,16 +25252,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.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.notes.list() ``` @@ -24543,7 +25273,7 @@ client.hris.employees.ignore_create(
-**model_id:** `str` +**account_id:** `typing.Optional[str]` — If provided, will only return notes with this account.
@@ -24551,7 +25281,7 @@ client.hris.employees.ignore_create(
-**reason:** `IgnoreCommonModelRequestReason` +**contact_id:** `typing.Optional[str]` — If provided, will only return notes with this contact.
@@ -24559,7 +25289,7 @@ client.hris.employees.ignore_create(
-**message:** `typing.Optional[str]` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -24567,64 +25297,107 @@ client.hris.employees.ignore_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. +
+
+
+**expand:** `typing.Optional[NotesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +
-
-
client.hris.employees.meta_post_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. + +
+
+
-Returns metadata for `Employee` POSTs. +**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). +
-#### 🔌 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.hris.employees.meta_post_retrieve() +
+
-``` +**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. +
-#### ⚙️ 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. + +
+
+
@@ -24640,8 +25413,7 @@ client.hris.employees.meta_post_retrieve()
-## Hris EmployerBenefits -
client.hris.employer_benefits.list(...) +
client.crm.notes.create(...)
@@ -24653,7 +25425,7 @@ client.hris.employees.meta_post_retrieve()
-Returns a list of `EmployerBenefit` objects. +Creates a `Note` object with the given values.
@@ -24669,12 +25441,15 @@ Returns a list of `EmployerBenefit` objects. ```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.employer_benefits.list() +client.crm.notes.create( + model=NoteRequest(), +) ``` @@ -24690,63 +25465,7 @@ client.hris.employer_benefits.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. +**model:** `NoteRequest`
@@ -24754,7 +25473,7 @@ client.hris.employer_benefits.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -24762,7 +25481,7 @@ client.hris.employer_benefits.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.
@@ -24782,7 +25501,7 @@ client.hris.employer_benefits.list()
-
client.hris.employer_benefits.retrieve(...) +
client.crm.notes.retrieve(...)
@@ -24794,7 +25513,7 @@ client.hris.employer_benefits.list()
-Returns an `EmployerBenefit` object with the given `id`. +Returns a `Note` object with the given `id`.
@@ -24815,7 +25534,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.employer_benefits.retrieve( +client.crm.notes.retrieve( id="id", ) @@ -24841,6 +25560,14 @@ client.hris.employer_benefits.retrieve(
+**expand:** `typing.Optional[NotesRetrieveRequestExpand]` — 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.
@@ -24849,6 +25576,14 @@ client.hris.employer_benefits.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).
@@ -24869,8 +25604,7 @@ client.hris.employer_benefits.retrieve(
-## Hris Employments -
client.hris.employments.list(...) +
client.crm.notes.meta_post_retrieve()
@@ -24882,7 +25616,7 @@ client.hris.employer_benefits.retrieve(
-Returns a list of `Employment` objects. +Returns metadata for `Note` POSTs.
@@ -24903,7 +25637,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.employments.list() +client.crm.notes.meta_post_retrieve() ``` @@ -24919,39 +25653,68 @@ client.hris.employments.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.crm.notes.remote_field_classes_list(...)
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `RemoteFieldClass` objects. +
+
+#### 🔌 Usage +
-**employee_id:** `typing.Optional[str]` — If provided, will only return employments for this employee. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.notes.remote_field_classes_list() + +``` +
+
+#### ⚙️ Parameters +
-**expand:** `typing.Optional[EmploymentsListRequestExpand]` — 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.
@@ -24975,7 +25738,7 @@ client.hris.employments.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.
@@ -24983,7 +25746,7 @@ client.hris.employments.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).
@@ -24991,7 +25754,7 @@ client.hris.employments.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
@@ -24999,7 +25762,7 @@ client.hris.employments.list()
-**order_by:** `typing.Optional[EmploymentsListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: effective_date, -effective_date. +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value
@@ -25015,30 +25778,6 @@ client.hris.employments.list()
-**remote_fields:** `typing.Optional[EmploymentsListRequestRemoteFields]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- -**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) - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -25051,7 +25790,8 @@ client.hris.employments.list()
-
client.hris.employments.retrieve(...) +## Crm Opportunities +
client.crm.opportunities.list(...)
@@ -25063,7 +25803,7 @@ client.hris.employments.list()
-Returns an `Employment` object with the given `id`. +Returns a list of `Opportunity` objects.
@@ -25084,9 +25824,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.employments.retrieve( - id="id", -) +client.crm.opportunities.list() ``` @@ -25102,7 +25840,7 @@ client.hris.employments.retrieve(
-**id:** `str` +**account_id:** `typing.Optional[str]` — If provided, will only return opportunities with this account.
@@ -25110,7 +25848,7 @@ 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. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -25118,7 +25856,7 @@ client.hris.employments.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.
@@ -25126,7 +25864,7 @@ client.hris.employments.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). +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -25134,7 +25872,7 @@ client.hris.employments.retrieve(
-**remote_fields:** `typing.Optional[EmploymentsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. +**expand:** `typing.Optional[OpportunitiesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -25142,7 +25880,7 @@ client.hris.employments.retrieve(
-**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) +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -25150,69 +25888,31 @@ client.hris.employments.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.
- -
- - - - -
-## Hris FieldMapping -
client.hris.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/). -
-
+**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 -
-
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.hris.field_mapping.field_mappings_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 - -
-
-
-**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. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -25220,75 +25920,31 @@ client.hris.field_mapping.field_mappings_retrieve()
-**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.hris.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. -
-
+**owner_id:** `typing.Optional[str]` — If provided, will only return opportunities with this owner. +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -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", -) - -``` -
-
+**page_size:** `typing.Optional[int]` — Number of results to return per page. +
-#### ⚙️ Parameters - -
-
-
-**target_field_name:** `str` — The name of the target field you want this remote field to map to. +**remote_created_after:** `typing.Optional[dt.datetime]` — If provided, will only return opportunities created in the third party platform after this datetime.
@@ -25296,7 +25952,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. +**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins.
@@ -25304,7 +25960,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. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -25312,7 +25968,7 @@ client.hris.field_mapping.field_mappings_create(
-**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from. +**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)
@@ -25320,7 +25976,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. +**stage_id:** `typing.Optional[str]` — If provided, will only return opportunities with this stage.
@@ -25328,15 +25984,13 @@ 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. - -
-
+**status:** `typing.Optional[OpportunitiesListRequestStatus]` -
-
+If provided, will only return opportunities with this status. Options: ('OPEN', 'WON', 'LOST') -**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. +* `OPEN` - OPEN +* `WON` - WON +* `LOST` - LOST
@@ -25356,7 +26010,7 @@ client.hris.field_mapping.field_mappings_create(
-
client.hris.field_mapping.field_mappings_destroy(...) +
client.crm.opportunities.create(...)
@@ -25368,7 +26022,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. +Creates an `Opportunity` object with the given values.
@@ -25384,13 +26038,14 @@ Deletes Field Mappings for a Linked Account. All data related to this Field Mapp ```python from merge import Merge +from merge.resources.crm import OpportunityRequest 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", +client.crm.opportunities.create( + model=OpportunityRequest(), ) ``` @@ -25407,7 +26062,23 @@ client.hris.field_mapping.field_mappings_destroy(
-**field_mapping_id:** `str` +**model:** `OpportunityRequest` + +
+
+ +
+
+ +**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.
@@ -25427,7 +26098,7 @@ client.hris.field_mapping.field_mappings_destroy(
-
client.hris.field_mapping.field_mappings_partial_update(...) +
client.crm.opportunities.retrieve(...)
@@ -25439,7 +26110,7 @@ client.hris.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 an `Opportunity` object with the given `id`.
@@ -25460,8 +26131,8 @@ 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", +client.crm.opportunities.retrieve( + id="id", ) ``` @@ -25478,7 +26149,7 @@ client.hris.field_mapping.field_mappings_partial_update(
-**field_mapping_id:** `str` +**id:** `str`
@@ -25486,7 +26157,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. +**expand:** `typing.Optional[OpportunitiesRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -25494,7 +26165,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. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -25502,7 +26173,31 @@ 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. +**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)
@@ -25522,7 +26217,7 @@ client.hris.field_mapping.field_mappings_partial_update(
-
client.hris.field_mapping.remote_fields_retrieve(...) +
client.crm.opportunities.partial_update(...)
@@ -25534,7 +26229,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/). +Updates an `Opportunity` object with the given `id`.
@@ -25550,12 +26245,16 @@ Get all remote fields for a Linked Account. Remote fields are third-party fields ```python from merge import Merge +from merge.resources.crm import PatchedOpportunityRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.field_mapping.remote_fields_retrieve() +client.crm.opportunities.partial_update( + id="id", + model=PatchedOpportunityRequest(), +) ``` @@ -25571,7 +26270,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`
@@ -25579,7 +26278,23 @@ 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. +**model:** `PatchedOpportunityRequest` + +
+
+ +
+
+ +**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.
@@ -25599,7 +26314,7 @@ client.hris.field_mapping.remote_fields_retrieve()
-
client.hris.field_mapping.target_fields_retrieve() +
client.crm.opportunities.meta_patch_retrieve(...)
@@ -25611,7 +26326,7 @@ client.hris.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 `Opportunity` PATCHs.
@@ -25632,7 +26347,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.field_mapping.target_fields_retrieve() +client.crm.opportunities.meta_patch_retrieve( + id="id", +) ``` @@ -25648,6 +26365,14 @@ client.hris.field_mapping.target_fields_retrieve()
+**id:** `str` + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -25660,8 +26385,7 @@ client.hris.field_mapping.target_fields_retrieve()
-## Hris GenerateKey -
client.hris.generate_key.create(...) +
client.crm.opportunities.meta_post_retrieve()
@@ -25673,7 +26397,7 @@ client.hris.field_mapping.target_fields_retrieve()
-Create a remote key. +Returns metadata for `Opportunity` POSTs.
@@ -25694,9 +26418,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.generate_key.create( - name="Remote Deployment Key 1", -) +client.crm.opportunities.meta_post_retrieve() ``` @@ -25712,14 +26434,6 @@ client.hris.generate_key.create(
-**name:** `str` — The name of the remote key - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -25732,8 +26446,7 @@ client.hris.generate_key.create(
-## Hris Groups -
client.hris.groups.list(...) +
client.crm.opportunities.remote_field_classes_list(...)
@@ -25745,7 +26458,7 @@ client.hris.generate_key.create(
-Returns a list of `Group` objects. +Returns a list of `RemoteFieldClass` objects.
@@ -25766,7 +26479,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.groups.list() +client.crm.opportunities.remote_field_classes_list() ``` @@ -25782,22 +26495,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.
@@ -25822,7 +26519,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.
@@ -25830,7 +26527,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).
@@ -25838,7 +26535,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
@@ -25846,7 +26543,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
@@ -25854,7 +26551,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.
@@ -25862,39 +26559,75 @@ client.hris.groups.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**remote_fields:** `typing.Optional[typing.Literal["type"]]` — Deprecated. Use show_enum_origins. -
+
+## Crm Passthrough +
client.crm.passthrough.create(...)
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - +#### 📝 Description + +
+
+ +
+
+ +Pull data from an endpoint not currently supported by Merge.
+
+
+ +#### 🔌 Usage
-**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) - +
+
+ +```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 +
-**types:** `typing.Optional[str]` — If provided, will only return groups of these types. Multiple values can be separated by commas. +
+
+ +**request:** `DataPassthroughRequest`
@@ -25914,7 +26647,8 @@ client.hris.groups.list()
-
client.hris.groups.retrieve(...) +## Crm RegenerateKey +
client.crm.regenerate_key.create(...)
@@ -25926,7 +26660,7 @@ client.hris.groups.list()
-Returns a `Group` object with the given `id`. +Exchange remote keys.
@@ -25947,8 +26681,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.groups.retrieve( - id="id", +client.crm.regenerate_key.create( + name="Remote Deployment Key 1", ) ``` @@ -25965,39 +26699,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). - -
-
- -
-
- -**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) +**name:** `str` — The name of the remote key
@@ -26017,8 +26719,8 @@ client.hris.groups.retrieve(
-## Hris Issues -
client.hris.issues.list(...) +## Crm Stages +
client.crm.stages.list(...)
@@ -26030,7 +26732,7 @@ client.hris.groups.retrieve(
-Gets all issues for Organization. +Returns a list of `Stage` objects.
@@ -26051,7 +26753,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.issues.list() +client.crm.stages.list() ``` @@ -26067,23 +26769,7 @@ client.hris.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 +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -26091,7 +26777,7 @@ client.hris.issues.list()
-**end_user_organization_name:** `typing.Optional[str]` +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -26099,7 +26785,7 @@ client.hris.issues.list()
-**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -26107,7 +26793,7 @@ client.hris.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_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -26115,7 +26801,7 @@ client.hris.issues.list()
-**include_muted:** `typing.Optional[str]` — If true, will include muted issues +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -26123,7 +26809,7 @@ client.hris.issues.list()
-**integration_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.
@@ -26131,7 +26817,7 @@ 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. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -26139,7 +26825,7 @@ client.hris.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.
@@ -26147,7 +26833,7 @@ client.hris.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.
@@ -26163,20 +26849,7 @@ client.hris.issues.list()
-**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 +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -26196,7 +26869,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-
client.hris.issues.retrieve(...) +
client.crm.stages.retrieve(...)
@@ -26208,7 +26881,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-Get a specific issue. +Returns a `Stage` object with the given `id`.
@@ -26229,7 +26902,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.issues.retrieve( +client.crm.stages.retrieve( id="id", ) @@ -26255,6 +26928,30 @@ client.hris.issues.retrieve(
+**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.
@@ -26267,8 +26964,7 @@ client.hris.issues.retrieve(
-## Hris LinkToken -
client.hris.link_token.create(...) +
client.crm.stages.remote_field_classes_list(...)
@@ -26280,7 +26976,7 @@ client.hris.issues.retrieve(
-Creates a link token to be used when linking a new end user. +Returns a list of `RemoteFieldClass` objects.
@@ -26296,18 +26992,12 @@ 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], -) +client.crm.stages.remote_field_classes_list() ``` @@ -26323,47 +27013,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. - -
-
- -
-
- -**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. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -26371,7 +27021,7 @@ 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. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -26379,7 +27029,7 @@ client.hris.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.
@@ -26387,7 +27037,7 @@ client.hris.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.
@@ -26395,14 +27045,7 @@ client.hris.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).
@@ -26410,12 +27053,7 @@ client.hris.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
@@ -26423,7 +27061,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
@@ -26431,7 +27069,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.
@@ -26451,8 +27089,8 @@ The following subset of IETF language tags can be used to configure localization
-## Hris LinkedAccounts -
client.hris.linked_accounts.list(...) +## Crm SyncStatus +
client.crm.sync_status.list(...)
@@ -26464,7 +27102,7 @@ The following subset of IETF language tags can be used to configure localization
-List linked accounts for your organization. +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).
@@ -26485,7 +27123,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.linked_accounts.list() +client.crm.sync_status.list() ``` @@ -26501,17 +27139,7 @@ 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 +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -26519,7 +27147,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -26527,91 +27155,65 @@ 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. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**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. -
+
+## Crm ForceResync +
client.crm.force_resync.sync_status_resync_create()
-**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. - +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.
- -
-
- -**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. -
+#### 🔌 Usage +
-**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. - -
-
+```python +from merge import Merge -
-
+client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.force_resync.sync_status_resync_create() -**page_size:** `typing.Optional[int]` — Number of results to return per page. - +``` +
+
+#### ⚙️ Parameters +
-**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` - -
-
-
@@ -26627,8 +27229,8 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-## Hris Locations -
client.hris.locations.list(...) +## Crm Tasks +
client.crm.tasks.list(...)
@@ -26640,7 +27242,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-Returns a list of `Location` objects. +Returns a list of `Task` objects.
@@ -26661,7 +27263,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.locations.list() +client.crm.tasks.list() ``` @@ -26701,7 +27303,7 @@ client.hris.locations.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[TasksListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -26709,7 +27311,7 @@ client.hris.locations.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/).
@@ -26717,7 +27319,7 @@ client.hris.locations.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.
@@ -26725,12 +27327,15 @@ client.hris.locations.list()
-**location_type:** `typing.Optional[LocationsListRequestLocationType]` +**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. + +
+
-If provided, will only return locations with this location_type +
+
-* `HOME` - HOME -* `WORK` - WORK +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -26762,7 +27367,7 @@ If provided, will only return locations with this location_type
-**remote_fields:** `typing.Optional[LocationsListRequestRemoteFields]` — Deprecated. Use show_enum_origins. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -26770,15 +27375,87 @@ If provided, will only return locations with this location_type
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
+ + + + +
+
client.crm.tasks.create(...)
-**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) +#### 📝 Description + +
+
+ +
+
+ +Creates a `Task` object with the given values. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge +from merge.resources.crm import TaskRequest + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.tasks.create( + model=TaskRequest(), +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**model:** `TaskRequest` + +
+
+ +
+
+ +**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.
@@ -26798,7 +27475,7 @@ If provided, will only return locations with this location_type
-
client.hris.locations.retrieve(...) +
client.crm.tasks.retrieve(...)
@@ -26810,7 +27487,7 @@ If provided, will only return locations with this location_type
-Returns a `Location` object with the given `id`. +Returns a `Task` object with the given `id`.
@@ -26831,7 +27508,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.locations.retrieve( +client.crm.tasks.retrieve( id="id", ) @@ -26857,7 +27534,7 @@ client.hris.locations.retrieve(
-**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[TasksRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -26865,7 +27542,7 @@ client.hris.locations.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_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -26873,7 +27550,7 @@ client.hris.locations.retrieve(
-**remote_fields:** `typing.Optional[LocationsRetrieveRequestRemoteFields]` — 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.
@@ -26881,7 +27558,7 @@ client.hris.locations.retrieve(
-**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) +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -26901,8 +27578,7 @@ client.hris.locations.retrieve(
-## Hris Passthrough -
client.hris.passthrough.create(...) +
client.crm.tasks.partial_update(...)
@@ -26914,7 +27590,7 @@ client.hris.locations.retrieve(
-Pull data from an endpoint not currently supported by Merge. +Updates a `Task` object with the given `id`.
@@ -26930,17 +27606,15 @@ Pull data from an endpoint not currently supported by Merge. ```python from merge import Merge -from merge.resources.hris import DataPassthroughRequest, MethodEnum +from merge.resources.crm import PatchedTaskRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), +client.crm.tasks.partial_update( + id="id", + model=PatchedTaskRequest(), ) ``` @@ -26957,7 +27631,31 @@ client.hris.passthrough.create(
-**request:** `DataPassthroughRequest` +**id:** `str` + +
+
+ +
+
+ +**model:** `PatchedTaskRequest` + +
+
+ +
+
+ +**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.
@@ -26977,8 +27675,7 @@ client.hris.passthrough.create(
-## Hris PayGroups -
client.hris.pay_groups.list(...) +
client.crm.tasks.meta_patch_retrieve(...)
@@ -26990,7 +27687,7 @@ client.hris.passthrough.create(
-Returns a list of `PayGroup` objects. +Returns metadata for `Task` PATCHs.
@@ -27011,7 +27708,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.pay_groups.list() +client.crm.tasks.meta_patch_retrieve( + id="id", +) ``` @@ -27027,7 +27726,7 @@ client.hris.pay_groups.list()
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**id:** `str`
@@ -27035,75 +27734,64 @@ client.hris.pay_groups.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. -
-
-
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is 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.crm.tasks.meta_post_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). - -
-
-
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - +Returns metadata for `Task` POSTs. +
+
+#### 🔌 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. - +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.tasks.meta_post_retrieve() + +```
+ + + +#### ⚙️ Parameters
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
-
@@ -27119,7 +27807,7 @@ client.hris.pay_groups.list()
-
client.hris.pay_groups.retrieve(...) +
client.crm.tasks.remote_field_classes_list(...)
@@ -27131,7 +27819,7 @@ client.hris.pay_groups.list()
-Returns a `PayGroup` object with the given `id`. +Returns a list of `RemoteFieldClass` objects.
@@ -27152,9 +27840,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.pay_groups.retrieve( - id="id", -) +client.crm.tasks.remote_field_classes_list() ``` @@ -27170,7 +27856,15 @@ client.hris.pay_groups.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/).
@@ -27186,6 +27880,14 @@ client.hris.pay_groups.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).
@@ -27194,6 +27896,30 @@ client.hris.pay_groups.retrieve(
+**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.
@@ -27206,8 +27932,8 @@ client.hris.pay_groups.retrieve(
-## Hris PayrollRuns -
client.hris.payroll_runs.list(...) +## Crm Users +
client.crm.users.list(...)
@@ -27219,7 +27945,7 @@ client.hris.pay_groups.retrieve(
-Returns a list of `PayrollRun` objects. +Returns a list of `User` objects.
@@ -27240,7 +27966,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.payroll_runs.list() +client.crm.users.list() ``` @@ -27280,7 +28006,7 @@ client.hris.payroll_runs.list()
-**ended_after:** `typing.Optional[dt.datetime]` — If provided, will only return payroll runs ended after this datetime. +**email:** `typing.Optional[str]` — If provided, will only return users with this email.
@@ -27288,7 +28014,7 @@ client.hris.payroll_runs.list()
-**ended_before:** `typing.Optional[dt.datetime]` — If provided, will only return payroll runs ended 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/).
@@ -27296,7 +28022,7 @@ client.hris.payroll_runs.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.
@@ -27304,7 +28030,7 @@ client.hris.payroll_runs.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.
@@ -27344,14 +28070,6 @@ client.hris.payroll_runs.list()
-**remote_fields:** `typing.Optional[PayrollRunsListRequestRemoteFields]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- **remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -27360,46 +28078,6 @@ client.hris.payroll_runs.list()
-**run_type:** `typing.Optional[PayrollRunsListRequestRunType]` - -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:** `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. - -
-
- -
-
- -**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return payroll runs started before this datetime. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -27412,7 +28090,7 @@ If provided, will only return PayrollRun's with this status. Options: ('REGULAR'
-
client.hris.payroll_runs.retrieve(...) +
client.crm.users.retrieve(...)
@@ -27424,7 +28102,7 @@ If provided, will only return PayrollRun's with this status. Options: ('REGULAR'
-Returns a `PayrollRun` object with the given `id`. +Returns a `User` object with the given `id`.
@@ -27445,7 +28123,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.payroll_runs.retrieve( +client.crm.users.retrieve( id="id", ) @@ -27479,15 +28157,7 @@ client.hris.payroll_runs.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. +**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.
@@ -27495,7 +28165,7 @@ client.hris.payroll_runs.retrieve(
-**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) +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -27515,8 +28185,7 @@ client.hris.payroll_runs.retrieve(
-## Hris RegenerateKey -
client.hris.regenerate_key.create(...) +
client.crm.users.ignore_create(...)
@@ -27528,7 +28197,7 @@ client.hris.payroll_runs.retrieve(
-Exchange remote keys. +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.
@@ -27544,13 +28213,17 @@ Exchange remote keys. ```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.regenerate_key.create( - name="Remote Deployment Key 1", +client.crm.users.ignore_create( + model_id="model_id", + request=IgnoreCommonModelRequest( + reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, + ), ) ``` @@ -27567,7 +28240,15 @@ client.hris.regenerate_key.create(
-**name:** `str` — The name of the remote key +**model_id:** `str` + +
+
+ +
+
+ +**request:** `IgnoreCommonModelRequest`
@@ -27587,8 +28268,7 @@ client.hris.regenerate_key.create(
-## Hris SyncStatus -
client.hris.sync_status.list(...) +
client.crm.users.remote_field_classes_list(...)
@@ -27600,7 +28280,7 @@ client.hris.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 `RemoteFieldClass` objects.
@@ -27621,7 +28301,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.sync_status.list() +client.crm.users.remote_field_classes_list() ``` @@ -27645,7 +28325,7 @@ client.hris.sync_status.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -27653,65 +28333,51 @@ client.hris.sync_status.list()
-**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 ForceResync -
client.hris.force_resync.sync_status_resync_create()
-#### 📝 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). + +
+
-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. -
-
+**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value +
-#### 🔌 Usage -
-
-
- -```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() - -``` -
-
+**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. + +
+
+
@@ -27727,8 +28393,8 @@ client.hris.force_resync.sync_status_resync_create()
-## Hris Teams -
client.hris.teams.list(...) +## Crm WebhookReceivers +
client.crm.webhook_receivers.list()
@@ -27740,7 +28406,7 @@ client.hris.force_resync.sync_status_resync_create()
-Returns a list of `Team` objects. +Returns a list of `WebhookReceiver` objects.
@@ -27761,7 +28427,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.teams.list() +client.crm.webhook_receivers.list() ``` @@ -27777,79 +28443,71 @@ client.hris.teams.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.crm.webhook_receivers.create(...)
-**expand:** `typing.Optional[typing.Literal["parent_team"]]` — 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. - +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.crm.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. - -
-
-
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**event:** `str`
@@ -27857,7 +28515,7 @@ client.hris.teams.list()
-**parent_team_id:** `typing.Optional[str]` — If provided, will only return teams with this parent team. +**is_active:** `bool`
@@ -27865,7 +28523,7 @@ client.hris.teams.list()
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**key:** `typing.Optional[str]`
@@ -27885,7 +28543,8 @@ client.hris.teams.list()
-
client.hris.teams.retrieve(...) +## Hris AccountDetails +
client.hris.account_details.retrieve()
@@ -27897,7 +28556,7 @@ client.hris.teams.list()
-Returns a `Team` object with the given `id`. +Get details for a linked account.
@@ -27918,9 +28577,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.teams.retrieve( - id="id", -) +client.hris.account_details.retrieve() ``` @@ -27936,38 +28593,6 @@ client.hris.teams.retrieve(
-**id:** `str` - -
-
- -
-
- -**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). - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -27980,8 +28605,8 @@ client.hris.teams.retrieve(
-## Hris TimeOff -
client.hris.time_off.list(...) +## Hris AccountToken +
client.hris.account_token.retrieve(...)
@@ -27993,7 +28618,7 @@ client.hris.teams.retrieve(
-Returns a list of `TimeOff` objects. +Returns the account token for the end user with the provided public token.
@@ -28014,7 +28639,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.time_off.list() +client.hris.account_token.retrieve( + public_token="public_token", +) ``` @@ -28030,55 +28657,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[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. - -
-
- -
-
- -**employee_id:** `typing.Optional[str]` — If provided, will only return time off for this employee. - -
-
- -
-
- -**ended_after:** `typing.Optional[dt.datetime]` — If provided, will only return employees that ended after this datetime. - -
-
- -
-
- -**ended_before:** `typing.Optional[dt.datetime]` — If provided, will only return time-offs that ended before this datetime. +**public_token:** `str`
@@ -28086,128 +28665,75 @@ 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. +**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. -
+
+## Hris AsyncPassthrough +
client.hris.async_passthrough.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
-**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. - +Asynchronously pull data from an endpoint not currently supported by Merge.
- -
-
- -**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. - -
-
-
-**request_type:** `typing.Optional[TimeOffListRequestRequestType]` +```python +from merge import Merge +from merge.resources.hris import DataPassthroughRequest, MethodEnum -If provided, will only return TimeOff with this request type. Options: ('VACATION', 'SICK', 'PERSONAL', 'JURY_DUTY', 'VOLUNTEER', 'BEREAVEMENT') +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.hris.async_passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", + ), +) -* `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) -
-
-
- -**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return time-offs that started after this datetime. - -
-
+#### ⚙️ Parameters
-**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return time-offs that started before this datetime. - -
-
-
-**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 +**request:** `DataPassthroughRequest`
@@ -28227,7 +28753,7 @@ If provided, will only return TimeOff with this status. Options: ('REQUESTED', '
-
client.hris.time_off.create(...) +
client.hris.async_passthrough.retrieve(...)
@@ -28239,7 +28765,7 @@ If provided, will only return TimeOff with this status. Options: ('REQUESTED', '
-Creates a `TimeOff` object with the given values. +Retrieves data from earlier async-passthrough POST request
@@ -28255,14 +28781,13 @@ Creates a `TimeOff` object with the given values. ```python from merge import Merge -from merge.resources.hris import TimeOffRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.time_off.create( - model=TimeOffRequest(), +client.hris.async_passthrough.retrieve( + async_passthrough_receipt_id="async_passthrough_receipt_id", ) ``` @@ -28279,23 +28804,7 @@ client.hris.time_off.create(
-**model:** `TimeOffRequest` - -
-
- -
-
- -**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. +**async_passthrough_receipt_id:** `str`
@@ -28315,7 +28824,8 @@ client.hris.time_off.create(
-
client.hris.time_off.retrieve(...) +## Hris AuditTrail +
client.hris.audit_trail.list(...)
@@ -28327,7 +28837,7 @@ client.hris.time_off.create(
-Returns a `TimeOff` object with the given `id`. +Gets a list of audit trail events.
@@ -28348,9 +28858,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.time_off.retrieve( - id="id", -) +client.hris.audit_trail.list() ``` @@ -28366,7 +28874,7 @@ client.hris.time_off.retrieve(
-**id:** `str` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -28374,7 +28882,7 @@ 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. +**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time
@@ -28382,7 +28890,7 @@ client.hris.time_off.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**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`
@@ -28390,7 +28898,7 @@ client.hris.time_off.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.
@@ -28398,7 +28906,7 @@ client.hris.time_off.retrieve(
-**remote_fields:** `typing.Optional[TimeOffRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. +**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time
@@ -28406,7 +28914,7 @@ client.hris.time_off.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) +**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.
@@ -28426,7 +28934,8 @@ client.hris.time_off.retrieve(
-
client.hris.time_off.meta_post_retrieve() +## Hris AvailableActions +
client.hris.available_actions.retrieve()
@@ -28438,7 +28947,7 @@ client.hris.time_off.retrieve(
-Returns metadata for `TimeOff` POSTs. +Returns a list of models and actions available for an account.
@@ -28459,7 +28968,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.time_off.meta_post_retrieve() +client.hris.available_actions.retrieve() ``` @@ -28487,8 +28996,8 @@ client.hris.time_off.meta_post_retrieve()
-## Hris TimeOffBalances -
client.hris.time_off_balances.list(...) +## Hris BankInfo +
client.hris.bank_info.list(...)
@@ -28500,7 +29009,7 @@ client.hris.time_off.meta_post_retrieve()
-Returns a list of `TimeOffBalance` objects. +Returns a list of `BankInfo` objects.
@@ -28521,7 +29030,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.time_off_balances.list() +client.hris.bank_info.list() ``` @@ -28537,6 +29046,27 @@ client.hris.time_off_balances.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.
@@ -28561,7 +29091,7 @@ client.hris.time_off_balances.list()
-**employee_id:** `typing.Optional[str]` — If provided, will only return time off balances for this employee. +**employee_id:** `typing.Optional[str]` — If provided, will only return bank accounts for this employee.
@@ -28617,7 +29147,7 @@ client.hris.time_off_balances.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**order_by:** `typing.Optional[BankInfoListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at.
@@ -28625,16 +29155,7 @@ client.hris.time_off_balances.list()
-**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 +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -28642,7 +29163,7 @@ If provided, will only return TimeOffBalance with this policy type. Options: ('V
-**remote_fields:** `typing.Optional[typing.Literal["policy_type"]]` — Deprecated. Use show_enum_origins. +**remote_fields:** `typing.Optional[typing.Literal["account_type"]]` — Deprecated. Use show_enum_origins.
@@ -28658,7 +29179,7 @@ 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) +**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)
@@ -28678,7 +29199,7 @@ If provided, will only return TimeOffBalance with this policy type. Options: ('V
-
client.hris.time_off_balances.retrieve(...) +
client.hris.bank_info.retrieve(...)
@@ -28690,7 +29211,7 @@ If provided, will only return TimeOffBalance with this policy type. Options: ('V
-Returns a `TimeOffBalance` object with the given `id`. +Returns a `BankInfo` object with the given `id`.
@@ -28711,7 +29232,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.time_off_balances.retrieve( +client.hris.bank_info.retrieve( id="id", ) @@ -28761,7 +29282,7 @@ client.hris.time_off_balances.retrieve(
-**remote_fields:** `typing.Optional[typing.Literal["policy_type"]]` — Deprecated. Use show_enum_origins. +**remote_fields:** `typing.Optional[typing.Literal["account_type"]]` — Deprecated. Use show_enum_origins.
@@ -28769,7 +29290,7 @@ client.hris.time_off_balances.retrieve(
-**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) +**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)
@@ -28789,8 +29310,8 @@ client.hris.time_off_balances.retrieve(
-## Hris TimesheetEntries -
client.hris.timesheet_entries.list(...) +## Hris Benefits +
client.hris.benefits.list(...)
@@ -28802,7 +29323,7 @@ client.hris.time_off_balances.retrieve(
-Returns a list of `TimesheetEntry` objects. +Returns a list of `Benefit` objects.
@@ -28823,7 +29344,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.timesheet_entries.list() +client.hris.benefits.list() ``` @@ -28863,23 +29384,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. - -
-
- -
-
- -**ended_before:** `typing.Optional[dt.datetime]` — If provided, will only return timesheet entries ended before this datetime. +**employee_id:** `typing.Optional[str]` — If provided, will return the benefits associated with the employee.
@@ -28935,14 +29440,6 @@ client.hris.timesheet_entries.list()
-**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.
@@ -28959,22 +29456,6 @@ client.hris.timesheet_entries.list()
-**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return timesheet entries started after this datetime. - -
-
- -
-
- -**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return timesheet entries started before this datetime. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -28987,7 +29468,7 @@ client.hris.timesheet_entries.list()
-
client.hris.timesheet_entries.create(...) +
client.hris.benefits.retrieve(...)
@@ -28999,7 +29480,7 @@ client.hris.timesheet_entries.list()
-Creates a `TimesheetEntry` object with the given values. +Returns a `Benefit` object with the given `id`.
@@ -29015,14 +29496,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( - model=TimesheetEntryRequest(), +client.hris.benefits.retrieve( + id="id", ) ``` @@ -29039,7 +29519,7 @@ client.hris.timesheet_entries.create(
-**model:** `TimesheetEntryRequest` +**id:** `str`
@@ -29047,7 +29527,7 @@ client.hris.timesheet_entries.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**expand:** `typing.Optional[typing.Literal["employee"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -29055,7 +29535,15 @@ client.hris.timesheet_entries.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).
@@ -29075,7 +29563,8 @@ client.hris.timesheet_entries.create(
-
client.hris.timesheet_entries.retrieve(...) +## Hris Companies +
client.hris.companies.list(...)
@@ -29087,7 +29576,7 @@ client.hris.timesheet_entries.create(
-Returns a `TimesheetEntry` object with the given `id`. +Returns a list of `Company` objects.
@@ -29108,9 +29597,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.timesheet_entries.retrieve( - id="id", -) +client.hris.companies.list() ``` @@ -29126,7 +29613,7 @@ client.hris.timesheet_entries.retrieve(
-**id:** `str` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -29134,7 +29621,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. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -29142,7 +29629,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. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -29150,7 +29637,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). +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -29158,126 +29645,51 @@ client.hris.timesheet_entries.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.hris.timesheet_entries.meta_post_retrieve()
-#### 📝 Description - -
-
- -
-
- -Returns metadata for `TimesheetEntry` POSTs. -
-
+**include_shell_data:** `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 - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.hris.timesheet_entries.meta_post_retrieve() - -``` -
-
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +
-#### ⚙️ Parameters -
-
-
- -**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.
-
-
- -
-
-
- -## Hris WebhookReceivers -
client.hris.webhook_receivers.list()
-#### 📝 Description - -
-
- -
-
- -Returns a list of `WebhookReceiver` objects. -
-
+**page_size:** `typing.Optional[int]` — Number of results to return per page. +
-#### 🔌 Usage -
-
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.hris.webhook_receivers.list() - -``` -
-
+**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +
-#### ⚙️ Parameters - -
-
-
@@ -29293,7 +29705,7 @@ client.hris.webhook_receivers.list()
-
client.hris.webhook_receivers.create(...) +
client.hris.companies.retrieve(...)
@@ -29305,7 +29717,7 @@ client.hris.webhook_receivers.list()
-Creates a `WebhookReceiver` object with the given values. +Returns a `Company` object with the given `id`.
@@ -29326,9 +29738,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.webhook_receivers.create( - event="event", - is_active=True, +client.hris.companies.retrieve( + id="id", ) ``` @@ -29345,7 +29756,7 @@ client.hris.webhook_receivers.create(
-**event:** `str` +**id:** `str`
@@ -29353,7 +29764,7 @@ client.hris.webhook_receivers.create(
-**is_active:** `bool` +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -29361,7 +29772,7 @@ client.hris.webhook_receivers.create(
-**key:** `typing.Optional[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).
@@ -29381,8 +29792,8 @@ client.hris.webhook_receivers.create(
-## Ticketing AccountDetails -
client.ticketing.account_details.retrieve() +## Hris Scopes +
client.hris.scopes.default_scopes_retrieve()
@@ -29394,7 +29805,7 @@ client.hris.webhook_receivers.create(
-Get details for a linked account. +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).
@@ -29415,7 +29826,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.account_details.retrieve() +client.hris.scopes.default_scopes_retrieve() ``` @@ -29443,8 +29854,7 @@ client.ticketing.account_details.retrieve()
-## Ticketing AccountToken -
client.ticketing.account_token.retrieve(...) +
client.hris.scopes.linked_account_scopes_retrieve()
@@ -29456,7 +29866,7 @@ client.ticketing.account_details.retrieve()
-Returns the account token for the end user with the provided public token. +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).
@@ -29477,9 +29887,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.account_token.retrieve( - public_token="public_token", -) +client.hris.scopes.linked_account_scopes_retrieve() ``` @@ -29495,14 +29903,6 @@ client.ticketing.account_token.retrieve(
-**public_token:** `str` - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -29515,8 +29915,7 @@ client.ticketing.account_token.retrieve(
-## Ticketing Accounts -
client.ticketing.accounts.list(...) +
client.hris.scopes.linked_account_scopes_create(...)
@@ -29528,7 +29927,7 @@ client.ticketing.account_token.retrieve(
-Returns a list of `Account` 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)
@@ -29544,12 +29943,43 @@ Returns a list of `Account` objects. ```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.ticketing.accounts.list() +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, + ) + }, + ), + ], +) ``` @@ -29565,7 +29995,7 @@ client.ticketing.accounts.list()
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for
@@ -29573,75 +30003,65 @@ client.ticketing.accounts.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. -
-
-
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). -
+
+## Hris DeleteAccount +
client.hris.delete_account.delete()
-**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. - +Delete a linked account. +
+
+#### 🔌 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. - +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.hris.delete_account.delete() + +``` +
+
+#### ⚙️ Parameters +
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
-
@@ -29657,7 +30077,8 @@ client.ticketing.accounts.list()
-
client.ticketing.accounts.retrieve(...) +## Hris Dependents +
client.hris.dependents.list(...)
@@ -29669,7 +30090,7 @@ client.ticketing.accounts.list()
-Returns an `Account` object with the given `id`. +Returns a list of `Dependent` objects.
@@ -29690,9 +30111,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.accounts.retrieve( - id="id", -) +client.hris.dependents.list() ``` @@ -29708,7 +30127,7 @@ client.ticketing.accounts.retrieve(
-**id:** `str` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -29716,7 +30135,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. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -29724,7 +30143,7 @@ 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). +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -29732,75 +30151,63 @@ client.ticketing.accounts.retrieve(
-**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. +
-
-## Ticketing AsyncPassthrough -
client.ticketing.async_passthrough.create(...)
-#### 📝 Description - -
-
+**include_sensitive_fields:** `typing.Optional[bool]` — Whether to include sensitive fields (such as social security numbers) in the response. + +
+
-Asynchronously pull data from an endpoint not currently supported by 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). +
-#### 🔌 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.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", - ), -) - -``` -
-
+**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.
@@ -29820,7 +30227,7 @@ client.ticketing.async_passthrough.create(
-
client.ticketing.async_passthrough.retrieve(...) +
client.hris.dependents.retrieve(...)
@@ -29832,7 +30239,7 @@ client.ticketing.async_passthrough.create(
-Retrieves data from earlier async-passthrough POST request +Returns a `Dependent` object with the given `id`.
@@ -29853,8 +30260,8 @@ 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.dependents.retrieve( + id="id", ) ``` @@ -29871,7 +30278,31 @@ client.ticketing.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_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).
@@ -29891,8 +30322,8 @@ client.ticketing.async_passthrough.retrieve(
-## Ticketing Attachments -
client.ticketing.attachments.list(...) +## Hris EmployeePayrollRuns +
client.hris.employee_payroll_runs.list(...)
@@ -29904,7 +30335,7 @@ client.ticketing.async_passthrough.retrieve(
-Returns a list of `Attachment` objects. +Returns a list of `EmployeePayrollRun` objects.
@@ -29925,7 +30356,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.attachments.list() +client.hris.employee_payroll_runs.list() ``` @@ -29965,7 +30396,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. +**employee_id:** `typing.Optional[str]` — If provided, will only return employee payroll runs for this employee.
@@ -29973,7 +30404,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/). +**ended_after:** `typing.Optional[dt.datetime]` — If provided, will only return employee payroll runs ended after this datetime.
@@ -29981,7 +30412,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. +**ended_before:** `typing.Optional[dt.datetime]` — If provided, will only return employee payroll runs ended before this datetime.
@@ -29989,7 +30420,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). +**expand:** `typing.Optional[EmployeePayrollRunsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -29997,7 +30428,7 @@ client.ticketing.attachments.list()
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -30005,7 +30436,7 @@ client.ticketing.attachments.list()
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before 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.
@@ -30013,7 +30444,7 @@ client.ticketing.attachments.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -30021,7 +30452,7 @@ 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. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -30029,7 +30460,7 @@ client.ticketing.attachments.list()
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -30037,7 +30468,7 @@ client.ticketing.attachments.list()
-**ticket_id:** `typing.Optional[str]` — If provided, will only return comments for this ticket. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -30045,71 +30476,15 @@ client.ticketing.attachments.list()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**payroll_run_id:** `typing.Optional[str]` — If provided, will only return employee payroll runs for this employee.
- -
- - - - -
- -
client.ticketing.attachments.create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Creates an `Attachment` object with the given values. -
-
-
-
- -#### 🔌 Usage - -
-
-```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( - model=AttachmentRequest(), -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**model:** `AttachmentRequest` +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -30117,7 +30492,7 @@ client.ticketing.attachments.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 employee payroll runs started after this datetime.
@@ -30125,7 +30500,7 @@ client.ticketing.attachments.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 employee payroll runs started before this datetime.
@@ -30145,7 +30520,7 @@ client.ticketing.attachments.create(
-
client.ticketing.attachments.retrieve(...) +
client.hris.employee_payroll_runs.retrieve(...)
@@ -30157,7 +30532,7 @@ client.ticketing.attachments.create(
-Returns an `Attachment` object with the given `id`. +Returns an `EmployeePayrollRun` object with the given `id`.
@@ -30178,7 +30553,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.attachments.retrieve( +client.hris.employee_payroll_runs.retrieve( id="id", ) @@ -30204,7 +30579,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. +**expand:** `typing.Optional[EmployeePayrollRunsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -30240,7 +30615,8 @@ client.ticketing.attachments.retrieve(
-
client.ticketing.attachments.meta_post_retrieve() +## Hris Employees +
client.hris.employees.list(...)
@@ -30252,7 +30628,7 @@ client.ticketing.attachments.retrieve(
-Returns metadata for `TicketingAttachment` POSTs. +Returns a list of `Employee` objects.
@@ -30273,7 +30649,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.attachments.meta_post_retrieve() +client.hris.employees.list() ``` @@ -30289,69 +30665,61 @@ client.ticketing.attachments.meta_post_retrieve()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**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. +
-
-## Ticketing AuditTrail -
client.ticketing.audit_trail.list(...)
-#### 📝 Description - -
-
+**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. + +
+
-Gets a list of audit trail events. -
-
+**cursor:** `typing.Optional[str]` — The pagination cursor value. +
-#### 🔌 Usage -
+**display_full_name:** `typing.Optional[str]` — If provided, will only return employees with this display name. + +
+
+
-```python -from merge import Merge +**employment_status:** `typing.Optional[EmployeesListRequestEmploymentStatus]` -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.audit_trail.list() +If provided, will only return employees with this employment status. -``` -
-
+* `ACTIVE` - ACTIVE +* `PENDING` - PENDING +* `INACTIVE` - INACTIVE + -#### ⚙️ Parameters -
-
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. +**employment_type:** `typing.Optional[str]` — If provided, will only return employees that have an employment of the specified employment_type.
@@ -30359,7 +30727,7 @@ client.ticketing.audit_trail.list()
-**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time +**expand:** `typing.Optional[EmployeesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -30367,7 +30735,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`, `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` +**first_name:** `typing.Optional[str]` — If provided, will only return employees with this first name.
@@ -30375,7 +30743,7 @@ client.ticketing.audit_trail.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**groups:** `typing.Optional[str]` — If provided, will only return employees matching the group ids; multiple groups can be separated by commas.
@@ -30383,7 +30751,7 @@ client.ticketing.audit_trail.list()
-**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time +**home_location_id:** `typing.Optional[str]` — If provided, will only return employees for this home location.
@@ -30391,7 +30759,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. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -30399,131 +30767,103 @@ client.ticketing.audit_trail.list()
-**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_sensitive_fields:** `typing.Optional[bool]` — Whether to include sensitive fields (such as social security numbers) in the response. +
-
-## Ticketing AvailableActions -
client.ticketing.available_actions.retrieve()
-#### 📝 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 models and actions available for an account. -
-
+**job_title:** `typing.Optional[str]` — If provided, will only return employees that have an employment of the specified job_title. +
-#### 🔌 Usage -
-
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.available_actions.retrieve() - -``` -
-
+**last_name:** `typing.Optional[str]` — If provided, will only return employees with this last name. +
-#### ⚙️ Parameters -
-
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**manager_id:** `typing.Optional[str]` — If provided, will only return employees for this manager.
-
-
+
+
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +
-
-## Ticketing Collections -
client.ticketing.collections.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 `Collection` objects. -
-
+**page_size:** `typing.Optional[int]` — Number of results to return per page. +
-#### 🔌 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", -) -client.ticketing.collections.list() - -``` -
-
+**personal_email:** `typing.Optional[str]` — If provided, will only return Employees with this personal email + -#### ⚙️ Parameters -
+**remote_fields:** `typing.Optional[EmployeesListRequestRemoteFields]` — Deprecated. Use show_enum_origins. + +
+
+
-**collection_type:** `typing.Optional[str]` — If provided, will only return collections of the given type. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -30531,7 +30871,7 @@ client.ticketing.collections.list()
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**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)
@@ -30539,7 +30879,7 @@ client.ticketing.collections.list()
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return employees that started after this datetime.
@@ -30547,7 +30887,7 @@ client.ticketing.collections.list()
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return employees that started before this datetime.
@@ -30555,7 +30895,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. +**team_id:** `typing.Optional[str]` — If provided, will only return employees for this team.
@@ -30563,7 +30903,7 @@ client.ticketing.collections.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/). +**terminated_after:** `typing.Optional[dt.datetime]` — If provided, will only return employees that were terminated after this datetime.
@@ -30571,7 +30911,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. +**terminated_before:** `typing.Optional[dt.datetime]` — If provided, will only return employees that were terminated before this datetime.
@@ -30579,7 +30919,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). +**work_email:** `typing.Optional[str]` — If provided, will only return Employees with this work email
@@ -30587,7 +30927,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. +**work_location_id:** `typing.Optional[str]` — If provided, will only return employees for this location.
@@ -30595,31 +30935,71 @@ client.ticketing.collections.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.employees.create(...) +
+
+ +#### 📝 Description
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - +
+
+ +Creates an `Employee` object with the given values. +
+
+#### 🔌 Usage +
-**parent_collection_id:** `typing.Optional[str]` — If provided, will only return collections whose parent collection matches the given id. - +
+
+ +```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( + model=EmployeeRequest(), +) + +```
+
+
+ +#### ⚙️ Parameters
-**remote_fields:** `typing.Optional[typing.Literal["collection_type"]]` — Deprecated. Use show_enum_origins. +
+
+ +**model:** `EmployeeRequest`
@@ -30627,7 +31007,7 @@ client.ticketing.collections.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.
@@ -30635,7 +31015,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) +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -30655,7 +31035,7 @@ client.ticketing.collections.list()
-
client.ticketing.collections.viewers_list(...) +
client.hris.employees.retrieve(...)
@@ -30667,7 +31047,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 an `Employee` object with the given `id`.
@@ -30688,8 +31068,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.collections.viewers_list( - collection_id="collection_id", +client.hris.employees.retrieve( + id="id", ) ``` @@ -30706,7 +31086,7 @@ client.ticketing.collections.viewers_list(
-**collection_id:** `str` +**id:** `str`
@@ -30714,7 +31094,7 @@ client.ticketing.collections.viewers_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**expand:** `typing.Optional[EmployeesRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -30722,7 +31102,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. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -30730,7 +31110,7 @@ client.ticketing.collections.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/). +**include_sensitive_fields:** `typing.Optional[bool]` — Whether to include sensitive fields (such as social security numbers) in the response.
@@ -30738,7 +31118,7 @@ client.ticketing.collections.viewers_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).
@@ -30746,7 +31126,7 @@ client.ticketing.collections.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). +**remote_fields:** `typing.Optional[EmployeesRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -30754,7 +31134,7 @@ client.ticketing.collections.viewers_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**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)
@@ -30774,7 +31154,7 @@ client.ticketing.collections.viewers_list(
-
client.ticketing.collections.retrieve(...) +
client.hris.employees.ignore_create(...)
@@ -30786,7 +31166,7 @@ client.ticketing.collections.viewers_list(
-Returns a `Collection` object with the given `id`. +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.
@@ -30802,13 +31182,15 @@ Returns a `Collection` object with the given `id`. ```python from merge import Merge +from merge.resources.hris import ReasonEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.collections.retrieve( - id="id", +client.hris.employees.ignore_create( + model_id="model_id", + reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, ) ``` @@ -30825,7 +31207,7 @@ client.ticketing.collections.retrieve(
-**id:** `str` +**model_id:** `str`
@@ -30833,7 +31215,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. +**reason:** `IgnoreCommonModelRequestReason`
@@ -30841,7 +31223,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. +**message:** `typing.Optional[str]`
@@ -30849,27 +31231,64 @@ 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). +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
+ + + + +
+
client.hris.employees.meta_post_retrieve()
-**remote_fields:** `typing.Optional[typing.Literal["collection_type"]]` — Deprecated. Use show_enum_origins. - +#### 📝 Description + +
+
+ +
+
+ +Returns metadata for `Employee` POSTs.
+
+
+ +#### 🔌 Usage
-**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) - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.hris.employees.meta_post_retrieve() + +``` +
+
+#### ⚙️ Parameters + +
+
+
@@ -30885,8 +31304,8 @@ client.ticketing.collections.retrieve(
-## Ticketing Comments -
client.ticketing.comments.list(...) +## Hris EmployerBenefits +
client.hris.employer_benefits.list(...)
@@ -30898,7 +31317,7 @@ client.ticketing.collections.retrieve(
-Returns a list of `Comment` objects. +Returns a list of `EmployerBenefit` objects.
@@ -30919,7 +31338,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.comments.list() +client.hris.employer_benefits.list() ``` @@ -30959,14 +31378,6 @@ 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. - -
-
- -
-
- **include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -31015,14 +31426,6 @@ client.ticketing.comments.list()
-**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.
@@ -31031,14 +31434,6 @@ client.ticketing.comments.list()
-**ticket_id:** `typing.Optional[str]` — If provided, will only return comments for this ticket. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -31051,7 +31446,7 @@ client.ticketing.comments.list()
-
client.ticketing.comments.create(...) +
client.hris.employer_benefits.retrieve(...)
@@ -31063,7 +31458,7 @@ client.ticketing.comments.list()
-Creates a `Comment` object with the given values. +Returns an `EmployerBenefit` object with the given `id`.
@@ -31079,14 +31474,13 @@ 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( - model=CommentRequest(), +client.hris.employer_benefits.retrieve( + id="id", ) ``` @@ -31103,7 +31497,7 @@ client.ticketing.comments.create(
-**model:** `CommentRequest` +**id:** `str`
@@ -31111,7 +31505,7 @@ client.ticketing.comments.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.
@@ -31119,7 +31513,7 @@ client.ticketing.comments.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).
@@ -31139,7 +31533,8 @@ client.ticketing.comments.create(
-
client.ticketing.comments.retrieve(...) +## Hris Employments +
client.hris.employments.list(...)
@@ -31151,7 +31546,7 @@ client.ticketing.comments.create(
-Returns a `Comment` object with the given `id`. +Returns a list of `Employment` objects.
@@ -31172,9 +31567,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.comments.retrieve( - id="id", -) +client.hris.employments.list() ``` @@ -31190,7 +31583,7 @@ client.ticketing.comments.retrieve(
-**id:** `str` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -31198,7 +31591,39 @@ 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. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. + +
+
+ +
+
+ +**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+ +
+
+ +**employee_id:** `typing.Optional[str]` — If provided, will only return employments for this employee. + +
+
+ +
+
+ +**expand:** `typing.Optional[EmploymentsListRequestExpand]` — 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/).
@@ -31222,64 +31647,59 @@ client.ticketing.comments.retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**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. +
-
-
client.ticketing.comments.meta_post_retrieve()
-#### 📝 Description - -
-
+**order_by:** `typing.Optional[EmploymentsListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: effective_date, -effective_date. + +
+
-Returns metadata for `Comment` POSTs. -
-
+**page_size:** `typing.Optional[int]` — Number of results to return per page. +
-#### 🔌 Usage -
+**remote_fields:** `typing.Optional[EmploymentsListRequestRemoteFields]` — Deprecated. Use show_enum_origins. + +
+
+
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.comments.meta_post_retrieve() - -``` -
-
+**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + -#### ⚙️ Parameters -
+**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) + +
+
+
@@ -31295,8 +31715,7 @@ client.ticketing.comments.meta_post_retrieve()
-## Ticketing Contacts -
client.ticketing.contacts.list(...) +
client.hris.employments.retrieve(...)
@@ -31308,7 +31727,7 @@ client.ticketing.comments.meta_post_retrieve()
-Returns a list of `Contact` objects. +Returns an `Employment` object with the given `id`.
@@ -31329,7 +31748,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.contacts.list() +client.hris.employments.retrieve( + id="id", +) ``` @@ -31345,7 +31766,7 @@ client.ticketing.contacts.list()
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**id:** `str`
@@ -31353,7 +31774,7 @@ client.ticketing.contacts.list()
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**expand:** `typing.Optional[EmploymentsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -31361,7 +31782,7 @@ client.ticketing.contacts.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.
@@ -31369,7 +31790,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. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -31377,7 +31798,7 @@ client.ticketing.contacts.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_fields:** `typing.Optional[EmploymentsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -31385,7 +31806,7 @@ client.ticketing.contacts.list()
-**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[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)
@@ -31393,39 +31814,69 @@ client.ticketing.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). +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. -
+
+## Hris FieldMapping +
client.hris.field_mapping.field_mappings_retrieve(...)
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - +#### 📝 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 +
-**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.field_mapping.field_mappings_retrieve() + +```
+
+
+ +#### ⚙️ Parameters
-**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.
@@ -31445,7 +31896,7 @@ client.ticketing.contacts.list()
-
client.ticketing.contacts.create(...) +
client.hris.field_mapping.field_mappings_create(...)
@@ -31457,7 +31908,7 @@ client.ticketing.contacts.list()
-Creates a `Contact` object with the given values. +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.
@@ -31473,14 +31924,18 @@ Creates a `Contact` object with the given values. ```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( - model=ContactRequest(), +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", ) ``` @@ -31497,7 +31952,7 @@ client.ticketing.contacts.create(
-**model:** `ContactRequest` +**target_field_name:** `str` — The name of the target field you want this remote field to map to.
@@ -31505,7 +31960,7 @@ client.ticketing.contacts.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**target_field_description:** `str` — The description of the target field you want this remote field to map to.
@@ -31513,7 +31968,39 @@ client.ticketing.contacts.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**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.
@@ -31533,7 +32020,7 @@ client.ticketing.contacts.create(
-
client.ticketing.contacts.retrieve(...) +
client.hris.field_mapping.field_mappings_destroy(...)
@@ -31545,7 +32032,7 @@ client.ticketing.contacts.create(
-Returns a `Contact` 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.
@@ -31566,8 +32053,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.contacts.retrieve( - id="id", +client.hris.field_mapping.field_mappings_destroy( + field_mapping_id="field_mapping_id", ) ``` @@ -31584,31 +32071,7 @@ client.ticketing.contacts.retrieve(
-**id:** `str` - -
-
- -
-
- -**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. - -
-
- -
-
- -**include_shell_data:** `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`
@@ -31628,7 +32091,7 @@ client.ticketing.contacts.retrieve(
-
client.ticketing.contacts.meta_post_retrieve() +
client.hris.field_mapping.field_mappings_partial_update(...)
@@ -31640,7 +32103,7 @@ client.ticketing.contacts.retrieve(
-Returns metadata for `TicketingContact` 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.
@@ -31661,7 +32124,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.contacts.meta_post_retrieve() +client.hris.field_mapping.field_mappings_partial_update( + field_mapping_id="field_mapping_id", +) ``` @@ -31677,6 +32142,38 @@ client.ticketing.contacts.meta_post_retrieve()
+**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.
@@ -31689,8 +32186,7 @@ client.ticketing.contacts.meta_post_retrieve()
-## Ticketing Scopes -
client.ticketing.scopes.default_scopes_retrieve() +
client.hris.field_mapping.remote_fields_retrieve(...)
@@ -31702,7 +32198,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 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/).
@@ -31723,7 +32219,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.scopes.default_scopes_retrieve() +client.hris.field_mapping.remote_fields_retrieve() ``` @@ -31739,6 +32235,22 @@ client.ticketing.scopes.default_scopes_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. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -31751,7 +32263,7 @@ client.ticketing.scopes.default_scopes_retrieve()
-
client.ticketing.scopes.linked_account_scopes_retrieve() +
client.hris.field_mapping.target_fields_retrieve()
@@ -31763,7 +32275,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). +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/).
@@ -31784,7 +32296,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.scopes.linked_account_scopes_retrieve() +client.hris.field_mapping.target_fields_retrieve() ``` @@ -31812,7 +32324,8 @@ client.ticketing.scopes.linked_account_scopes_retrieve()
-
client.ticketing.scopes.linked_account_scopes_create(...) +## Hris GenerateKey +
client.hris.generate_key.create(...)
@@ -31824,7 +32337,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) +Create a remote key.
@@ -31840,42 +32353,13 @@ 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, - ) - }, - ), - ], +client.hris.generate_key.create( + name="Remote Deployment Key 1", ) ``` @@ -31892,7 +32376,7 @@ client.ticketing.scopes.linked_account_scopes_create(
-**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for +**name:** `str` — The name of the remote key
@@ -31912,8 +32396,8 @@ client.ticketing.scopes.linked_account_scopes_create(
-## Ticketing DeleteAccount -
client.ticketing.delete_account.delete() +## Hris Groups +
client.hris.groups.list(...)
@@ -31925,7 +32409,7 @@ client.ticketing.scopes.linked_account_scopes_create(
-Delete a linked account. +Returns a list of `Group` objects.
@@ -31946,7 +32430,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.delete_account.delete() +client.hris.groups.list() ``` @@ -31962,69 +32446,119 @@ client.ticketing.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. +
+
+
+**cursor:** `typing.Optional[str]` — The pagination cursor value. +
-
-## Ticketing FieldMapping -
client.ticketing.field_mapping.field_mappings_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 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/). +**include_shell_data:** `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. +
-#### 🔌 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 +**names:** `typing.Optional[str]` — If provided, will only return groups with these names. Multiple values can be separated by commas. + +
+
-client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.field_mapping.field_mappings_retrieve() +
+
-``` +**page_size:** `typing.Optional[int]` — Number of results to return per page. +
+ +
+
+ +**remote_fields:** `typing.Optional[typing.Literal["type"]]` — 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[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) + +
+
+
-**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. +**types:** `typing.Optional[str]` — If provided, will only return groups of these types. Multiple values can be separated by commas.
@@ -32044,7 +32578,7 @@ client.ticketing.field_mapping.field_mappings_retrieve()
-
client.ticketing.field_mapping.field_mappings_create(...) +
client.hris.groups.retrieve(...)
@@ -32056,7 +32590,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 `Group` object with the given `id`.
@@ -32077,13 +32611,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -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", +client.hris.groups.retrieve( + id="id", ) ``` @@ -32100,23 +32629,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. - -
-
- -
-
- -**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. +**id:** `str`
@@ -32124,7 +32637,7 @@ client.ticketing.field_mapping.field_mappings_create(
-**remote_method:** `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.
@@ -32132,7 +32645,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. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -32140,7 +32653,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. +**remote_fields:** `typing.Optional[typing.Literal["type"]]` — Deprecated. Use show_enum_origins.
@@ -32148,7 +32661,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. +**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)
@@ -32168,7 +32681,8 @@ client.ticketing.field_mapping.field_mappings_create(
-
client.ticketing.field_mapping.field_mappings_destroy(...) +## Hris Issues +
client.hris.issues.list(...)
@@ -32180,7 +32694,7 @@ client.ticketing.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. +Gets all issues for Organization.
@@ -32201,9 +32715,7 @@ 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", -) +client.hris.issues.list() ``` @@ -32219,7 +32731,7 @@ client.ticketing.field_mapping.field_mappings_destroy(
-**field_mapping_id:** `str` +**account_token:** `typing.Optional[str]`
@@ -32227,70 +32739,79 @@ client.ticketing.field_mapping.field_mappings_destroy(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**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 +
-
-
client.ticketing.field_mapping.field_mappings_partial_update(...)
-#### 📝 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. + +
+
+
-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. -
-
+**first_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was before this datetime. + -#### 🔌 Usage -
+**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.ticketing.field_mapping.field_mappings_partial_update( - field_mapping_id="field_mapping_id", -) - -``` +**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. +
-#### ⚙️ Parameters -
+**last_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was before this datetime. + +
+
+
-**field_mapping_id:** `str` +**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in.
@@ -32298,7 +32819,7 @@ client.ticketing.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. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -32306,7 +32827,7 @@ client.ticketing.field_mapping.field_mappings_partial_update(
-**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from. +**start_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred after this time
@@ -32314,7 +32835,12 @@ 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. +**status:** `typing.Optional[IssuesListRequestStatus]` + +Status of the issue. Options: ('ONGOING', 'RESOLVED') + +* `ONGOING` - ONGOING +* `RESOLVED` - RESOLVED
@@ -32334,7 +32860,7 @@ client.ticketing.field_mapping.field_mappings_partial_update(
-
client.ticketing.field_mapping.remote_fields_retrieve(...) +
client.hris.issues.retrieve(...)
@@ -32346,7 +32872,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/). +Get a specific issue.
@@ -32367,7 +32893,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.field_mapping.remote_fields_retrieve() +client.hris.issues.retrieve( + id="id", +) ``` @@ -32383,15 +32911,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. - -
-
- -
-
- -**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. +**id:** `str`
@@ -32411,7 +32931,8 @@ client.ticketing.field_mapping.remote_fields_retrieve()
-
client.ticketing.field_mapping.target_fields_retrieve() +## Hris LinkToken +
client.hris.link_token.create(...)
@@ -32423,7 +32944,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/). +Creates a link token to be used when linking a new end user.
@@ -32439,12 +32960,18 @@ Get all organization-wide Target Fields, this will not include any Linked Accoun ```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.field_mapping.target_fields_retrieve() +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], +) ``` @@ -32460,71 +32987,115 @@ client.ticketing.field_mapping.target_fields_retrieve()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**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. +
-
-## Ticketing GenerateKey -
client.ticketing.generate_key.create(...)
-#### 📝 Description +**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/. + +
+
+
-Create a remote key. +**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. +
-#### 🔌 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 +**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. + +
+
-client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.generate_key.create( - name="Remote Deployment Key 1", -) +
+
-``` +**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 +
-#### ⚙️ Parameters -
+**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled. + +
+
+
-**name:** `str` — The name of the remote key +**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — A JSON object containing integration-specific configuration options.
@@ -32544,8 +33115,8 @@ client.ticketing.generate_key.create(
-## Ticketing Issues -
client.ticketing.issues.list(...) +## Hris LinkedAccounts +
client.hris.linked_accounts.list(...)
@@ -32557,7 +33128,7 @@ client.ticketing.generate_key.create(
-Gets all issues for Organization. +List linked accounts for your organization.
@@ -32578,7 +33149,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.issues.list() +client.hris.linked_accounts.list() ``` @@ -32594,15 +33165,17 @@ client.ticketing.issues.list()
-**account_token:** `typing.Optional[str]` - -
-
+**category:** `typing.Optional[LinkedAccountsListRequestCategory]` -
-
+Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` -**cursor:** `typing.Optional[str]` — The pagination cursor value. +* `hris` - hris +* `ats` - ats +* `accounting` - accounting +* `ticketing` - ticketing +* `crm` - crm +* `mktg` - mktg +* `filestorage` - filestorage
@@ -32610,7 +33183,7 @@ client.ticketing.issues.list()
-**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -32618,7 +33191,7 @@ client.ticketing.issues.list()
-**end_user_organization_name:** `typing.Optional[str]` +**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address.
@@ -32626,7 +33199,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. +**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name.
@@ -32634,7 +33207,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. +**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID.
@@ -32642,7 +33215,7 @@ client.ticketing.issues.list()
-**include_muted:** `typing.Optional[str]` — If true, will include muted issues +**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once.
@@ -32650,7 +33223,7 @@ client.ticketing.issues.list()
-**integration_name:** `typing.Optional[str]` +**id:** `typing.Optional[str]`
@@ -32658,7 +33231,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. +**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once.
@@ -32666,7 +33239,7 @@ 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. +**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.
@@ -32674,7 +33247,7 @@ client.ticketing.issues.list()
-**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in. +**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name.
@@ -32682,7 +33255,7 @@ client.ticketing.issues.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**is_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts.
@@ -32690,7 +33263,7 @@ client.ticketing.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.
@@ -32698,12 +33271,7 @@ client.ticketing.issues.list()
-**status:** `typing.Optional[IssuesListRequestStatus]` - -Status of the issue. Options: ('ONGOING', 'RESOLVED') - -* `ONGOING` - ONGOING -* `RESOLVED` - RESOLVED +**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED`
@@ -32723,7 +33291,8 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-
client.ticketing.issues.retrieve(...) +## Hris Locations +
client.hris.locations.list(...)
@@ -32735,7 +33304,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-Get a specific issue. +Returns a list of `Location` objects.
@@ -32756,9 +33325,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.issues.retrieve( - id="id", -) +client.hris.locations.list() ``` @@ -32774,7 +33341,7 @@ client.ticketing.issues.retrieve(
-**id:** `str` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -32782,75 +33349,68 @@ client.ticketing.issues.retrieve(
-**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 LinkToken -
client.ticketing.link_token.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 a link token to be used when linking a new end user. -
-
+**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 -from merge.resources.ticketing import CategoriesEnum +**location_type:** `typing.Optional[LocationsListRequestLocationType]` -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], -) +If provided, will only return locations with this location_type -``` -
-
+* `HOME` - HOME +* `WORK` - WORK + -#### ⚙️ Parameters -
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+
-**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. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -32858,7 +33418,7 @@ client.ticketing.link_token.create(
-**end_user_organization_name:** `str` — Your end user's organization. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -32866,7 +33426,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. +**remote_fields:** `typing.Optional[LocationsListRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -32874,7 +33434,7 @@ client.ticketing.link_token.create(
-**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -32882,7 +33442,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/. +**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)
@@ -32890,31 +33450,70 @@ 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. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ + + + + + +
+
client.hris.locations.retrieve(...)
-**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. - +#### 📝 Description + +
+
+ +
+
+ +Returns a `Location` object with the given `id`.
+
+
+ +#### 🔌 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.hris.locations.retrieve( + id="id", +) + +``` +
+
+#### ⚙️ 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`
@@ -32922,14 +33521,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_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -32937,12 +33529,7 @@ client.ticketing.link_token.create(
-**language:** `typing.Optional[LanguageEnum]` - -The following subset of IETF language tags can be used to configure localization. - -* `en` - en -* `de` - de +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -32950,7 +33537,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. +**remote_fields:** `typing.Optional[LocationsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -32958,7 +33545,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. +**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)
@@ -32978,8 +33565,8 @@ The following subset of IETF language tags can be used to configure localization
-## Ticketing LinkedAccounts -
client.ticketing.linked_accounts.list(...) +## Hris Passthrough +
client.hris.passthrough.create(...)
@@ -32991,7 +33578,7 @@ The following subset of IETF language tags can be used to configure localization
-List linked accounts for your organization. +Pull data from an endpoint not currently supported by Merge.
@@ -33007,12 +33594,18 @@ List linked accounts for your organization. ```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.ticketing.linked_accounts.list() +client.hris.passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", + ), +) ``` @@ -33028,41 +33621,77 @@ client.ticketing.linked_accounts.list()
-**category:** `typing.Optional[LinkedAccountsListRequestCategory]` +**request:** `DataPassthroughRequest` + +
+
-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.
+ +
+ + + + +
+ +## Hris PayGroups +
client.hris.pay_groups.list(...) +
+
+ +#### 📝 Description
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - +
+
+ +Returns a list of `PayGroup` objects.
+
+
+ +#### 🔌 Usage
-**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.hris.pay_groups.list() + +``` +
+
+#### ⚙️ Parameters +
-**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name. +
+
+ +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -33070,7 +33699,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -33078,7 +33707,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -33086,7 +33715,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**id:** `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/).
@@ -33094,7 +33723,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. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -33102,7 +33731,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. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -33110,7 +33739,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. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -33118,7 +33747,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. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -33134,7 +33763,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -33154,8 +33783,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-## Ticketing Passthrough -
client.ticketing.passthrough.create(...) +
client.hris.pay_groups.retrieve(...)
@@ -33167,7 +33795,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-Pull data from an endpoint not currently supported by Merge. +Returns a `PayGroup` object with the given `id`.
@@ -33183,17 +33811,13 @@ 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.pay_groups.retrieve( + id="id", ) ``` @@ -33210,7 +33834,23 @@ client.ticketing.passthrough.create(
-**request:** `DataPassthroughRequest` +**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).
@@ -33230,8 +33870,8 @@ client.ticketing.passthrough.create(
-## Ticketing Projects -
client.ticketing.projects.list(...) +## Hris PayrollRuns +
client.hris.payroll_runs.list(...)
@@ -33243,7 +33883,7 @@ client.ticketing.passthrough.create(
-Returns a list of `Project` objects. +Returns a list of `PayrollRun` objects.
@@ -33264,7 +33904,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.projects.list() +client.hris.payroll_runs.list() ``` @@ -33304,6 +33944,22 @@ client.ticketing.projects.list()
+**ended_after:** `typing.Optional[dt.datetime]` — If provided, will only return payroll runs ended after this datetime. + +
+
+ +
+
+ +**ended_before:** `typing.Optional[dt.datetime]` — If provided, will only return payroll runs ended 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/).
@@ -33352,6 +34008,14 @@ client.ticketing.projects.list()
+**remote_fields:** `typing.Optional[PayrollRunsListRequestRemoteFields]` — Deprecated. Use show_enum_origins. + +
+
+ +
+
+ **remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -33360,6 +34024,46 @@ client.ticketing.projects.list()
+**run_type:** `typing.Optional[PayrollRunsListRequestRunType]` + +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:** `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. + +
+
+ +
+
+ +**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return payroll runs started before this datetime. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -33372,7 +34076,7 @@ client.ticketing.projects.list()
-
client.ticketing.projects.retrieve(...) +
client.hris.payroll_runs.retrieve(...)
@@ -33384,7 +34088,7 @@ client.ticketing.projects.list()
-Returns a `Project` object with the given `id`. +Returns a `PayrollRun` object with the given `id`.
@@ -33405,7 +34109,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.projects.retrieve( +client.hris.payroll_runs.retrieve( id="id", ) @@ -33447,6 +34151,22 @@ client.ticketing.projects.retrieve(
+**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.
@@ -33459,7 +34179,8 @@ client.ticketing.projects.retrieve(
-
client.ticketing.projects.users_list(...) +## Hris RegenerateKey +
client.hris.regenerate_key.create(...)
@@ -33471,7 +34192,7 @@ client.ticketing.projects.retrieve(
-Returns a list of `User` objects. +Exchange remote keys.
@@ -33492,8 +34213,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.projects.users_list( - parent_id="parent_id", +client.hris.regenerate_key.create( + name="Remote Deployment Key 1", ) ``` @@ -33510,7 +34231,7 @@ client.ticketing.projects.users_list(
-**parent_id:** `str` +**name:** `str` — The name of the remote key
@@ -33518,39 +34239,69 @@ client.ticketing.projects.users_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**expand:** `typing.Optional[ProjectsUsersListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. -
+
+## Hris SyncStatus +
client.hris.sync_status.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 + +
+
+ +
+
+ +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). +
+
+#### 🔌 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", +) +client.hris.sync_status.list() + +``` +
+
+#### ⚙️ Parameters +
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
+
+ +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -33578,8 +34329,8 @@ client.ticketing.projects.users_list(
-## Ticketing RegenerateKey -
client.ticketing.regenerate_key.create(...) +## Hris ForceResync +
client.hris.force_resync.sync_status_resync_create()
@@ -33591,7 +34342,7 @@ client.ticketing.projects.users_list(
-Exchange remote keys. +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.
@@ -33612,9 +34363,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.regenerate_key.create( - name="Remote Deployment Key 1", -) +client.hris.force_resync.sync_status_resync_create() ``` @@ -33630,14 +34379,6 @@ client.ticketing.regenerate_key.create(
-**name:** `str` — The name of the remote key - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -33650,8 +34391,8 @@ client.ticketing.regenerate_key.create(
-## Ticketing Roles -
client.ticketing.roles.list(...) +## Hris Teams +
client.hris.teams.list(...)
@@ -33663,7 +34404,7 @@ client.ticketing.regenerate_key.create(
-Returns a list of `Role` objects. +Returns a list of `Team` objects.
@@ -33684,7 +34425,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.roles.list() +client.hris.teams.list() ``` @@ -33724,6 +34465,14 @@ client.ticketing.roles.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. + +
+
+ +
+
+ **include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -33772,6 +34521,14 @@ client.ticketing.roles.list()
+**parent_team_id:** `typing.Optional[str]` — If provided, will only return teams with this parent team. + +
+
+ +
+
+ **remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -33792,7 +34549,7 @@ client.ticketing.roles.list()
-
client.ticketing.roles.retrieve(...) +
client.hris.teams.retrieve(...)
@@ -33804,7 +34561,7 @@ client.ticketing.roles.list()
-Returns a `Role` object with the given `id`. +Returns a `Team` object with the given `id`.
@@ -33825,7 +34582,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.roles.retrieve( +client.hris.teams.retrieve( id="id", ) @@ -33851,6 +34608,164 @@ client.ticketing.roles.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). + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+ +
+ + + + +
+ +## Hris TimeOff +
client.hris.time_off.list(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `TimeOff` objects. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.hris.time_off.list() + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**approver_id:** `typing.Optional[str]` — If provided, will only return time off for this approver. + +
+
+ +
+
+ +**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. + +
+
+ +
+
+ +**employee_id:** `typing.Optional[str]` — If provided, will only return time off for this employee. + +
+
+ +
+
+ +**ended_after:** `typing.Optional[dt.datetime]` — If provided, will only return employees that ended after this datetime. + +
+
+ +
+
+ +**ended_before:** `typing.Optional[dt.datetime]` — If provided, will only return time-offs that ended before this datetime. + +
+
+ +
+
+ +**expand:** `typing.Optional[TimeOffListRequestExpand]` — 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.
@@ -33867,69 +34782,80 @@ client.ticketing.roles.retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**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. +
-
-## Ticketing SyncStatus -
client.ticketing.sync_status.list(...)
-#### 📝 Description - -
-
+**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
-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). -
-
+**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.sync_status.list() +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. + +
+
+
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return time-offs that started before this datetime.
@@ -33937,7 +34863,15 @@ client.ticketing.sync_status.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**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
@@ -33957,8 +34891,7 @@ client.ticketing.sync_status.list()
-## Ticketing ForceResync -
client.ticketing.force_resync.sync_status_resync_create() +
client.hris.time_off.create(...)
@@ -33970,7 +34903,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. +Creates a `TimeOff` object with the given values.
@@ -33986,12 +34919,15 @@ Force re-sync of all models. This endpoint is available for monthly, quarterly, ```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.force_resync.sync_status_resync_create() +client.hris.time_off.create( + model=TimeOffRequest(), +) ``` @@ -34007,6 +34943,30 @@ client.ticketing.force_resync.sync_status_resync_create()
+**model:** `TimeOffRequest` + +
+
+ +
+
+ +**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.
@@ -34019,8 +34979,7 @@ client.ticketing.force_resync.sync_status_resync_create()
-## Ticketing Tags -
client.ticketing.tags.list(...) +
client.hris.time_off.retrieve(...)
@@ -34032,7 +34991,7 @@ client.ticketing.force_resync.sync_status_resync_create()
-Returns a list of `Tag` objects. +Returns a `TimeOff` object with the given `id`.
@@ -34053,7 +35012,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.tags.list() +client.hris.time_off.retrieve( + id="id", +) ``` @@ -34069,23 +35030,7 @@ 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. +**id:** `str`
@@ -34093,7 +35038,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/). +**expand:** `typing.Optional[TimeOffRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -34117,23 +35062,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. - -
-
- -
-
- -**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[TimeOffRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -34141,7 +35070,7 @@ client.ticketing.tags.list()
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**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)
@@ -34161,7 +35090,7 @@ client.ticketing.tags.list()
-
client.ticketing.tags.retrieve(...) +
client.hris.time_off.meta_post_retrieve()
@@ -34173,7 +35102,7 @@ client.ticketing.tags.list()
-Returns a `Tag` object with the given `id`. +Returns metadata for `TimeOff` POSTs.
@@ -34194,9 +35123,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.tags.retrieve( - id="id", -) +client.hris.time_off.meta_post_retrieve() ``` @@ -34212,30 +35139,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.
@@ -34248,8 +35151,8 @@ client.ticketing.tags.retrieve(
-## Ticketing Teams -
client.ticketing.teams.list(...) +## Hris TimeOffBalances +
client.hris.time_off_balances.list(...)
@@ -34261,7 +35164,7 @@ client.ticketing.tags.retrieve(
-Returns a list of `Team` objects. +Returns a list of `TimeOffBalance` objects.
@@ -34282,7 +35185,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.teams.list() +client.hris.time_off_balances.list() ``` @@ -34322,6 +35225,22 @@ client.ticketing.teams.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. + +
+
+ +
+
+ **include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -34370,6 +35289,31 @@ client.ticketing.teams.list()
+**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. + +
+
+ +
+
+ **remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -34378,6 +35322,14 @@ client.ticketing.teams.list()
+**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.
@@ -34390,7 +35342,7 @@ client.ticketing.teams.list()
-
client.ticketing.teams.retrieve(...) +
client.hris.time_off_balances.retrieve(...)
@@ -34402,7 +35354,7 @@ client.ticketing.teams.list()
-Returns a `Team` object with the given `id`. +Returns a `TimeOffBalance` object with the given `id`.
@@ -34423,7 +35375,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.teams.retrieve( +client.hris.time_off_balances.retrieve( id="id", ) @@ -34449,6 +35401,14 @@ client.ticketing.teams.retrieve(
+**expand:** `typing.Optional[typing.Literal["employee"]]` — 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.
@@ -34465,6 +35425,22 @@ client.ticketing.teams.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.
@@ -34477,8 +35453,8 @@ client.ticketing.teams.retrieve(
-## Ticketing Tickets -
client.ticketing.tickets.list(...) +## Hris TimesheetEntries +
client.hris.timesheet_entries.list(...)
@@ -34490,7 +35466,7 @@ client.ticketing.teams.retrieve(
-Returns a list of `Ticket` objects. +Returns a list of `TimesheetEntry` objects.
@@ -34511,7 +35487,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.tickets.list() +client.hris.timesheet_entries.list() ``` @@ -34527,54 +35503,6 @@ client.ticketing.tickets.list()
-**account_id:** `typing.Optional[str]` — If provided, will only return tickets for this account. - -
-
- -
-
- -**assignee_ids:** `typing.Optional[str]` — If provided, will only return tickets assigned to the assignee_ids; multiple assignee_ids can be separated by commas. - -
-
- -
-
- -**collection_ids:** `typing.Optional[str]` — If provided, will only return tickets assigned to the collection_ids; multiple collection_ids can be separated by commas. - -
-
- -
-
- -**completed_after:** `typing.Optional[dt.datetime]` — If provided, will only return tickets completed after this datetime. - -
-
- -
-
- -**completed_before:** `typing.Optional[dt.datetime]` — If provided, will only return tickets completed before this datetime. - -
-
- -
-
- -**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.
@@ -34599,7 +35527,7 @@ client.ticketing.tickets.list()
-**due_after:** `typing.Optional[dt.datetime]` — If provided, will only return tickets due after this datetime. +**employee_id:** `typing.Optional[str]` — If provided, will only return timesheet entries for this employee.
@@ -34607,7 +35535,7 @@ client.ticketing.tickets.list()
-**due_before:** `typing.Optional[dt.datetime]` — If provided, will only return tickets due before this datetime. +**ended_after:** `typing.Optional[dt.datetime]` — If provided, will only return timesheet entries ended after this datetime.
@@ -34615,7 +35543,7 @@ client.ticketing.tickets.list()
-**expand:** `typing.Optional[TicketsListRequestExpand]` — 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 timesheet entries ended before this datetime.
@@ -34623,7 +35551,7 @@ 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.Literal["employee"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -34631,7 +35559,7 @@ client.ticketing.tickets.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/).
@@ -34639,7 +35567,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_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -34671,7 +35599,7 @@ client.ticketing.tickets.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**order_by:** `typing.Optional[TimesheetEntriesListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: start_time, -start_time.
@@ -34679,7 +35607,7 @@ client.ticketing.tickets.list()
-**parent_ticket_id:** `typing.Optional[str]` — If provided, will only return sub tickets of the parent_ticket_id. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -34687,14 +35615,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 +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -34702,7 +35623,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. +**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return timesheet entries started after this datetime.
@@ -34710,7 +35631,7 @@ 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. +**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return timesheet entries started before this datetime.
@@ -34718,55 +35639,71 @@ If provided, will only return tickets of this priority.
-**remote_fields:** `typing.Optional[TicketsListRequestRemoteFields]` — Deprecated. Use show_enum_origins. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. -
+
+
client.hris.timesheet_entries.create(...)
-**remote_updated_after:** `typing.Optional[dt.datetime]` — If provided, will only return tickets updated in the third party platform after this datetime. - -
-
+#### 📝 Description
-**remote_updated_before:** `typing.Optional[dt.datetime]` — If provided, will only return tickets updated in the third party platform before this datetime. - -
-
-
-**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) - +Creates a `TimesheetEntry` object with the given values.
+ + + +#### 🔌 Usage
-**status:** `typing.Optional[str]` — If provided, will only return tickets of this status. - +
+
+ +```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( + model=TimesheetEntryRequest(), +) + +``` +
+
+#### ⚙️ Parameters +
-**tags:** `typing.Optional[str]` — If provided, will only return tickets matching the tags; multiple tags can be separated by commas. +
+
+ +**model:** `TimesheetEntryRequest`
@@ -34774,7 +35711,7 @@ If provided, will only return tickets of this priority.
-**ticket_type:** `typing.Optional[str]` — If provided, will only return tickets of this type. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -34782,7 +35719,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 +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -34802,7 +35739,7 @@ If provided, will only return tickets of this priority.
-
client.ticketing.tickets.create(...) +
client.hris.timesheet_entries.retrieve(...)
@@ -34814,7 +35751,7 @@ If provided, will only return tickets of this priority.
-Creates a `Ticket` object with the given values. +Returns a `TimesheetEntry` object with the given `id`.
@@ -34830,14 +35767,13 @@ Creates a `Ticket` object with the given values. ```python from merge import Merge -from merge.resources.ticketing import TicketRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.tickets.create( - model=TicketRequest(), +client.hris.timesheet_entries.retrieve( + id="id", ) ``` @@ -34854,7 +35790,7 @@ client.ticketing.tickets.create(
-**model:** `TicketRequest` +**id:** `str`
@@ -34862,7 +35798,7 @@ client.ticketing.tickets.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**expand:** `typing.Optional[typing.Literal["employee"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -34870,7 +35806,15 @@ client.ticketing.tickets.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).
@@ -34890,7 +35834,7 @@ client.ticketing.tickets.create(
-
client.ticketing.tickets.retrieve(...) +
client.hris.timesheet_entries.meta_post_retrieve()
@@ -34902,7 +35846,7 @@ client.ticketing.tickets.create(
-Returns a `Ticket` object with the given `id`. +Returns metadata for `TimesheetEntry` POSTs.
@@ -34923,9 +35867,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.tickets.retrieve( - id="id", -) +client.hris.timesheet_entries.meta_post_retrieve() ``` @@ -34941,59 +35883,65 @@ client.ticketing.tickets.retrieve(
-**id:** `str` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**expand:** `typing.Optional[TicketsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. -
+
+## Hris WebhookReceivers +
client.hris.webhook_receivers.list()
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
+#### 📝 Description
-**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). - +Returns a list of `WebhookReceiver` objects. +
+
+#### 🔌 Usage +
-**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) - +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.hris.webhook_receivers.list() + +``` +
+
+#### ⚙️ Parameters + +
+
+
@@ -35009,7 +35957,7 @@ client.ticketing.tickets.retrieve(
-
client.ticketing.tickets.partial_update(...) +
client.hris.webhook_receivers.create(...)
@@ -35021,7 +35969,7 @@ client.ticketing.tickets.retrieve(
-Updates a `Ticket` object with the given `id`. +Creates a `WebhookReceiver` object with the given values.
@@ -35037,15 +35985,14 @@ 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", - model=PatchedTicketRequest(), +client.hris.webhook_receivers.create( + event="event", + is_active=True, ) ``` @@ -35062,15 +36009,7 @@ client.ticketing.tickets.partial_update(
-**id:** `str` - -
-
- -
-
- -**model:** `PatchedTicketRequest` +**event:** `str`
@@ -35078,7 +36017,7 @@ client.ticketing.tickets.partial_update(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**is_active:** `bool`
@@ -35086,7 +36025,7 @@ client.ticketing.tickets.partial_update(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**key:** `typing.Optional[str]`
@@ -35106,7 +36045,8 @@ client.ticketing.tickets.partial_update(
-
client.ticketing.tickets.viewers_list(...) +## Accounting AccountDetails +
client.accounting.account_details.retrieve()
@@ -35118,7 +36058,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) +Get details for a linked account.
@@ -35139,9 +36079,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.tickets.viewers_list( - ticket_id="ticket_id", -) +client.accounting.account_details.retrieve() ``` @@ -35157,55 +36095,71 @@ client.ticketing.tickets.viewers_list(
-**ticket_id:** `str` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**cursor:** `typing.Optional[str]` — The pagination cursor value. -
+
+## Accounting AccountToken +
client.accounting.account_token.retrieve(...)
-**expand:** `typing.Optional[TicketsViewersListRequestExpand]` — 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 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.accounting.account_token.retrieve( + public_token="public_token", +) + +``` +
+
+#### ⚙️ Parameters +
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +
+
+ +**public_token:** `str`
@@ -35225,7 +36179,8 @@ client.ticketing.tickets.viewers_list(
-
client.ticketing.tickets.meta_patch_retrieve(...) +## Accounting AccountingPeriods +
client.accounting.accounting_periods.list(...)
@@ -35237,7 +36192,7 @@ client.ticketing.tickets.viewers_list(
-Returns metadata for `Ticket` PATCHs. +Returns a list of `AccountingPeriod` objects.
@@ -35258,9 +36213,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.tickets.meta_patch_retrieve( - id="id", -) +client.accounting.accounting_periods.list() ``` @@ -35276,7 +36229,39 @@ client.ticketing.tickets.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). + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -35296,7 +36281,7 @@ client.ticketing.tickets.meta_patch_retrieve(
-
client.ticketing.tickets.meta_post_retrieve() +
client.accounting.accounting_periods.retrieve(...)
@@ -35308,7 +36293,7 @@ client.ticketing.tickets.meta_patch_retrieve(
-Returns metadata for `Ticket` POSTs. +Returns an `AccountingPeriod` object with the given `id`.
@@ -35329,7 +36314,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.tickets.meta_post_retrieve() +client.accounting.accounting_periods.retrieve( + id="id", +) ``` @@ -35345,6 +36332,30 @@ client.ticketing.tickets.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.
@@ -35357,7 +36368,8 @@ client.ticketing.tickets.meta_post_retrieve()
-
client.ticketing.tickets.remote_field_classes_list(...) +## Accounting Accounts +
client.accounting.accounts.list(...)
@@ -35369,7 +36381,7 @@ client.ticketing.tickets.meta_post_retrieve()
-Returns a list of `RemoteFieldClass` objects. +Returns a list of `Account` objects.
@@ -35390,7 +36402,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.tickets.remote_field_classes_list() +client.accounting.accounts.list() ``` @@ -35406,6 +36418,46 @@ client.ticketing.tickets.remote_field_classes_list()
+**account_type:** `typing.Optional[str]` — If provided, will only return accounts with the passed in enum. + +
+
+ +
+
+ +**classification:** `typing.Optional[str]` — 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.
@@ -35414,7 +36466,7 @@ 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.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -35446,7 +36498,23 @@ client.ticketing.tickets.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. + +
+
+ +
+
+ +**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.
@@ -35462,6 +36530,38 @@ client.ticketing.tickets.remote_field_classes_list()
+**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[str]` — If provided, will only return accounts with this status. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -35474,8 +36574,7 @@ client.ticketing.tickets.remote_field_classes_list()
-## Ticketing Users -
client.ticketing.users.list(...) +
client.accounting.accounts.create(...)
@@ -35487,7 +36586,7 @@ client.ticketing.tickets.remote_field_classes_list()
-Returns a list of `User` objects. +Creates an `Account` object with the given values.
@@ -35503,12 +36602,15 @@ Returns a list of `User` objects. ```python from merge import Merge +from merge.resources.accounting import AccountRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.users.list() +client.accounting.accounts.create( + model=AccountRequest(), +) ``` @@ -35524,7 +36626,7 @@ client.ticketing.users.list()
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**model:** `AccountRequest`
@@ -35532,7 +36634,7 @@ client.ticketing.users.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.
@@ -35540,7 +36642,7 @@ client.ticketing.users.list()
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -35548,39 +36650,70 @@ client.ticketing.users.list()
-**email_address:** `typing.Optional[str]` — If provided, will only return users with emails equal to this value (case insensitive). +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**expand:** `typing.Optional[UsersListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. -
+
+
client.accounting.accounts.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 + +
+
+ +
+
+ +Returns an `Account` object with the given `id`. +
+
+#### 🔌 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", +) +client.accounting.accounts.retrieve( + id="id", +) + +``` +
+
+#### ⚙️ Parameters +
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
+
+ +**id:** `str`
@@ -35588,7 +36721,7 @@ client.ticketing.users.list()
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -35596,7 +36729,7 @@ client.ticketing.users.list()
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before 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.
@@ -35604,7 +36737,7 @@ client.ticketing.users.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -35612,7 +36745,7 @@ client.ticketing.users.list()
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**remote_fields:** `typing.Optional[AccountsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -35620,7 +36753,7 @@ client.ticketing.users.list()
-**team:** `typing.Optional[str]` — If provided, will only return users matching in this team. +**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)
@@ -35640,7 +36773,7 @@ client.ticketing.users.list()
-
client.ticketing.users.retrieve(...) +
client.accounting.accounts.meta_post_retrieve()
@@ -35652,7 +36785,7 @@ client.ticketing.users.list()
-Returns a `User` object with the given `id`. +Returns metadata for `Account` POSTs.
@@ -35673,9 +36806,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.users.retrieve( - id="id", -) +client.accounting.accounts.meta_post_retrieve() ``` @@ -35691,38 +36822,6 @@ 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). - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -35735,8 +36834,8 @@ client.ticketing.users.retrieve(
-## Ticketing WebhookReceivers -
client.ticketing.webhook_receivers.list() +## Accounting Addresses +
client.accounting.addresses.retrieve(...)
@@ -35748,7 +36847,7 @@ client.ticketing.users.retrieve(
-Returns a list of `WebhookReceiver` objects. +Returns an `Address` object with the given `id`.
@@ -35769,7 +36868,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.webhook_receivers.list() +client.accounting.addresses.retrieve( + id="id", +) ``` @@ -35785,6 +36886,46 @@ client.ticketing.webhook_receivers.list()
+**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.
@@ -35797,7 +36938,8 @@ client.ticketing.webhook_receivers.list()
-
client.ticketing.webhook_receivers.create(...) +## Accounting AsyncPassthrough +
client.accounting.async_passthrough.create(...)
@@ -35809,7 +36951,7 @@ client.ticketing.webhook_receivers.list()
-Creates a `WebhookReceiver` object with the given values. +Asynchronously pull data from an endpoint not currently supported by Merge.
@@ -35825,14 +36967,17 @@ Creates a `WebhookReceiver` object with the given values. ```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.ticketing.webhook_receivers.create( - event="event", - is_active=True, +client.accounting.async_passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", + ), ) ``` @@ -35849,23 +36994,7 @@ client.ticketing.webhook_receivers.create(
-**event:** `str` - -
-
- -
-
- -**is_active:** `bool` - -
-
- -
-
- -**key:** `typing.Optional[str]` +**request:** `DataPassthroughRequest`
@@ -35885,8 +37014,7 @@ client.ticketing.webhook_receivers.create(
-## Accounting AccountDetails -
client.accounting.account_details.retrieve() +
client.accounting.async_passthrough.retrieve(...)
@@ -35898,7 +37026,7 @@ client.ticketing.webhook_receivers.create(
-Get details for a linked account. +Retrieves data from earlier async-passthrough POST request
@@ -35919,7 +37047,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.account_details.retrieve() +client.accounting.async_passthrough.retrieve( + async_passthrough_receipt_id="async_passthrough_receipt_id", +) ``` @@ -35935,6 +37065,14 @@ client.accounting.account_details.retrieve()
+**async_passthrough_receipt_id:** `str` + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -35947,8 +37085,8 @@ client.accounting.account_details.retrieve()
-## Accounting AccountToken -
client.accounting.account_token.retrieve(...) +## Accounting AsyncTasks +
client.accounting.async_tasks.retrieve(...)
@@ -35960,7 +37098,7 @@ client.accounting.account_details.retrieve()
-Returns the account token for the end user with the provided public token. +Returns an `AsyncPostTask` object with the given `id`.
@@ -35981,8 +37119,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.account_token.retrieve( - public_token="public_token", +client.accounting.async_tasks.retrieve( + id="id", ) ``` @@ -35999,7 +37137,7 @@ client.accounting.account_token.retrieve(
-**public_token:** `str` +**id:** `str`
@@ -36019,8 +37157,8 @@ client.accounting.account_token.retrieve(
-## Accounting AccountingPeriods -
client.accounting.accounting_periods.list(...) +## Accounting Attachments +
client.accounting.attachments.list(...)
@@ -36032,7 +37170,7 @@ client.accounting.account_token.retrieve(
-Returns a list of `AccountingPeriod` objects. +Returns a list of `AccountingAttachment` objects.
@@ -36053,7 +37191,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.accounting_periods.list() +client.accounting.attachments.list() ``` @@ -36069,6 +37207,30 @@ client.accounting.accounting_periods.list()
+**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.
@@ -36101,78 +37263,15 @@ client.accounting.accounting_periods.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. -
-
- -
- - - -
-
- -
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", -) - -``` -
-
-#### ⚙️ Parameters - -
-
-
-**id:** `str` +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -36180,7 +37279,7 @@ client.accounting.accounting_periods.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.
@@ -36188,7 +37287,7 @@ client.accounting.accounting_periods.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.
@@ -36208,8 +37307,7 @@ client.accounting.accounting_periods.retrieve(
-## Accounting Accounts -
client.accounting.accounts.list(...) +
client.accounting.attachments.create(...)
@@ -36221,7 +37319,7 @@ client.accounting.accounting_periods.retrieve(
-Returns a list of `Account` objects. +Creates an `AccountingAttachment` object with the given values.
@@ -36237,12 +37335,15 @@ Returns a list of `Account` objects. ```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.accounts.list() +client.accounting.attachments.create( + model=AccountingAttachmentRequest(), +) ``` @@ -36258,7 +37359,7 @@ client.accounting.accounts.list()
-**account_type:** `typing.Optional[str]` — If provided, will only provide accounts with the passed in enum. +**model:** `AccountingAttachmentRequest`
@@ -36266,7 +37367,7 @@ client.accounting.accounts.list()
-**company_id:** `typing.Optional[str]` — If provided, will only return accounts for this company. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -36274,7 +37375,7 @@ client.accounting.accounts.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.
@@ -36282,95 +37383,70 @@ client.accounting.accounts.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. -
-
-
-**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. -
+
+
client.accounting.attachments.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 an `AccountingAttachment` object with the given `id`.
- -
-
- -**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. - -
-
-
-**name:** `typing.Optional[str]` — If provided, will only return Accounts with this name. - -
-
+```python +from merge import Merge -
-
+client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.attachments.retrieve( + id="id", +) -**page_size:** `typing.Optional[int]` — Number of results to return per page. - +```
+ + + +#### ⚙️ Parameters
-**remote_fields:** `typing.Optional[AccountsListRequestRemoteFields]` — Deprecated. Use show_enum_origins. - -
-
-
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**id:** `str`
@@ -36378,7 +37454,7 @@ client.accounting.accounts.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) +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -36386,7 +37462,7 @@ client.accounting.accounts.list()
-**status:** `typing.Optional[str]` — If provided, will only return accounts with this status. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -36406,7 +37482,7 @@ client.accounting.accounts.list()
-
client.accounting.accounts.create(...) +
client.accounting.attachments.meta_post_retrieve()
@@ -36418,7 +37494,7 @@ client.accounting.accounts.list()
-Creates an `Account` object with the given values. +Returns metadata for `AccountingAttachment` POSTs.
@@ -36434,15 +37510,12 @@ Creates an `Account` object with the given values. ```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( - model=AccountRequest(), -) +client.accounting.attachments.meta_post_retrieve() ``` @@ -36458,30 +37531,6 @@ client.accounting.accounts.create(
-**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.
@@ -36494,7 +37543,8 @@ client.accounting.accounts.create(
-
client.accounting.accounts.retrieve(...) +## Accounting AuditTrail +
client.accounting.audit_trail.list(...)
@@ -36506,7 +37556,7 @@ client.accounting.accounts.create(
-Returns an `Account` object with the given `id`. +Gets a list of audit trail events.
@@ -36527,9 +37577,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.accounts.retrieve( - id="id", -) +client.accounting.audit_trail.list() ``` @@ -36545,7 +37593,7 @@ client.accounting.accounts.retrieve(
-**id:** `str` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -36553,7 +37601,7 @@ client.accounting.accounts.retrieve(
-**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time
@@ -36561,7 +37609,7 @@ client.accounting.accounts.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**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`
@@ -36569,7 +37617,7 @@ client.accounting.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). +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -36577,7 +37625,7 @@ client.accounting.accounts.retrieve(
-**remote_fields:** `typing.Optional[AccountsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. +**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time
@@ -36585,7 +37633,7 @@ client.accounting.accounts.retrieve(
-**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) +**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.
@@ -36605,7 +37653,8 @@ client.accounting.accounts.retrieve(
-
client.accounting.accounts.meta_post_retrieve() +## Accounting AvailableActions +
client.accounting.available_actions.retrieve()
@@ -36617,7 +37666,7 @@ client.accounting.accounts.retrieve(
-Returns metadata for `Account` POSTs. +Returns a list of models and actions available for an account.
@@ -36638,7 +37687,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.accounts.meta_post_retrieve() +client.accounting.available_actions.retrieve() ``` @@ -36666,8 +37715,8 @@ client.accounting.accounts.meta_post_retrieve()
-## Accounting Addresses -
client.accounting.addresses.retrieve(...) +## Accounting BalanceSheets +
client.accounting.balance_sheets.list(...)
@@ -36679,7 +37728,7 @@ client.accounting.accounts.meta_post_retrieve()
-Returns an `Address` object with the given `id`. +Returns a list of `BalanceSheet` objects.
@@ -36700,9 +37749,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.addresses.retrieve( - id="id", -) +client.accounting.balance_sheets.list() ``` @@ -36718,7 +37765,47 @@ client.accounting.addresses.retrieve(
-**id:** `str` +**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/).
@@ -36742,7 +37829,7 @@ client.accounting.addresses.retrieve(
-**remote_fields:** `typing.Optional[typing.Literal["type"]]` — 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.
@@ -36750,7 +37837,7 @@ client.accounting.addresses.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) +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -36758,75 +37845,15 @@ client.accounting.addresses.retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
- -
- - - - -
- -## 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` +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -36846,7 +37873,7 @@ client.accounting.async_passthrough.create(
-
client.accounting.async_passthrough.retrieve(...) +
client.accounting.balance_sheets.retrieve(...)
@@ -36858,7 +37885,7 @@ client.accounting.async_passthrough.create(
-Retrieves data from earlier async-passthrough POST request +Returns a `BalanceSheet` object with the given `id`.
@@ -36879,8 +37906,8 @@ 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", +client.accounting.balance_sheets.retrieve( + id="id", ) ``` @@ -36897,7 +37924,7 @@ client.accounting.async_passthrough.retrieve(
-**async_passthrough_receipt_id:** `str` +**id:** `str`
@@ -36905,71 +37932,23 @@ client.accounting.async_passthrough.retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
- -
- - - -
- -## 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", -) - -``` -
-
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
-#### ⚙️ 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).
@@ -36989,8 +37968,8 @@ client.accounting.async_tasks.retrieve(
-## Accounting Attachments -
client.accounting.attachments.list(...) +## Accounting BankFeedAccounts +
client.accounting.bank_feed_accounts.list(...)
@@ -37002,7 +37981,7 @@ client.accounting.async_tasks.retrieve(
-Returns a list of `AccountingAttachment` objects. +Returns a list of `BankFeedAccount` objects.
@@ -37023,7 +38002,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.attachments.list() +client.accounting.bank_feed_accounts.list() ``` @@ -37039,30 +38018,6 @@ client.accounting.attachments.list()
-**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.
@@ -37095,22 +38050,6 @@ client.accounting.attachments.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.
@@ -37119,14 +38058,6 @@ client.accounting.attachments.list()
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -37139,7 +38070,7 @@ client.accounting.attachments.list()
-
client.accounting.attachments.create(...) +
client.accounting.bank_feed_accounts.create(...)
@@ -37151,7 +38082,7 @@ client.accounting.attachments.list()
-Creates an `AccountingAttachment` object with the given values. +Creates a `BankFeedAccount` object with the given values.
@@ -37167,14 +38098,14 @@ Creates an `AccountingAttachment` object with the given values. ```python from merge import Merge -from merge.resources.accounting import AccountingAttachmentRequest +from merge.resources.accounting import BankFeedAccountRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.attachments.create( - model=AccountingAttachmentRequest(), +client.accounting.bank_feed_accounts.create( + model=BankFeedAccountRequest(), ) ``` @@ -37191,7 +38122,7 @@ client.accounting.attachments.create(
-**model:** `AccountingAttachmentRequest` +**model:** `BankFeedAccountRequest`
@@ -37227,7 +38158,7 @@ client.accounting.attachments.create(
-
client.accounting.attachments.retrieve(...) +
client.accounting.bank_feed_accounts.retrieve(...)
@@ -37239,7 +38170,7 @@ client.accounting.attachments.create(
-Returns an `AccountingAttachment` object with the given `id`. +Returns a `BankFeedAccount` object with the given `id`.
@@ -37260,7 +38191,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.attachments.retrieve( +client.accounting.bank_feed_accounts.retrieve( id="id", ) @@ -37314,7 +38245,7 @@ client.accounting.attachments.retrieve(
-
client.accounting.attachments.meta_post_retrieve() +
client.accounting.bank_feed_accounts.meta_post_retrieve()
@@ -37326,7 +38257,7 @@ client.accounting.attachments.retrieve(
-Returns metadata for `AccountingAttachment` POSTs. +Returns metadata for `BankFeedAccount` POSTs.
@@ -37347,7 +38278,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.attachments.meta_post_retrieve() +client.accounting.bank_feed_accounts.meta_post_retrieve() ``` @@ -37375,8 +38306,8 @@ client.accounting.attachments.meta_post_retrieve()
-## Accounting AuditTrail -
client.accounting.audit_trail.list(...) +## Accounting BankFeedTransactions +
client.accounting.bank_feed_transactions.list(...)
@@ -37388,7 +38319,7 @@ client.accounting.attachments.meta_post_retrieve()
-Gets a list of audit trail events. +Returns a list of `BankFeedTransaction` objects.
@@ -37409,7 +38340,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.audit_trail.list() +client.accounting.bank_feed_transactions.list() ``` @@ -37425,6 +38356,22 @@ client.accounting.audit_trail.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.
@@ -37433,7 +38380,7 @@ client.accounting.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.Literal["bank_feed_account"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -37441,7 +38388,7 @@ client.accounting.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`, `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/).
@@ -37449,7 +38396,7 @@ client.accounting.audit_trail.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.
@@ -37457,7 +38404,7 @@ client.accounting.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).
@@ -37465,7 +38412,39 @@ client.accounting.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_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.
@@ -37485,8 +38464,7 @@ client.accounting.audit_trail.list()
-## Accounting AvailableActions -
client.accounting.available_actions.retrieve() +
client.accounting.bank_feed_transactions.create(...)
@@ -37498,7 +38476,7 @@ client.accounting.audit_trail.list()
-Returns a list of models and actions available for an account. +Creates a `BankFeedTransaction` object with the given values.
@@ -37514,12 +38492,15 @@ Returns a list of models and actions available for an account. ```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.available_actions.retrieve() +client.accounting.bank_feed_transactions.create( + model=BankFeedTransactionRequestRequest(), +) ``` @@ -37535,6 +38516,30 @@ client.accounting.available_actions.retrieve()
+**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.
@@ -37547,8 +38552,7 @@ client.accounting.available_actions.retrieve()
-## Accounting BalanceSheets -
client.accounting.balance_sheets.list(...) +
client.accounting.bank_feed_transactions.retrieve(...)
@@ -37560,7 +38564,7 @@ client.accounting.available_actions.retrieve()
-Returns a list of `BalanceSheet` objects. +Returns a `BankFeedTransaction` object with the given `id`.
@@ -37581,7 +38585,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.balance_sheets.list() +client.accounting.bank_feed_transactions.retrieve( + id="id", +) ``` @@ -37597,39 +38603,7 @@ client.accounting.balance_sheets.list()
-**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. +**id:** `str`
@@ -37637,7 +38611,7 @@ client.accounting.balance_sheets.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.Literal["bank_feed_account"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -37661,35 +38635,64 @@ client.accounting.balance_sheets.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.
+ +
-
-
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. -
+
+
client.accounting.bank_feed_transactions.meta_post_retrieve()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - +#### 📝 Description + +
+
+ +
+
+ +Returns metadata for `BankFeedTransaction` POSTs.
+
+
+ +#### 🔌 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.accounting.bank_feed_transactions.meta_post_retrieve() + +``` +
+
+#### ⚙️ Parameters + +
+
+
@@ -37705,7 +38708,8 @@ client.accounting.balance_sheets.list()
-
client.accounting.balance_sheets.retrieve(...) +## Accounting CashFlowStatements +
client.accounting.cash_flow_statements.list(...)
@@ -37717,7 +38721,7 @@ client.accounting.balance_sheets.list()
-Returns a `BalanceSheet` object with the given `id`. +Returns a list of `CashFlowStatement` objects.
@@ -37738,9 +38742,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.balance_sheets.retrieve( - id="id", -) +client.accounting.cash_flow_statements.list() ``` @@ -37756,7 +38758,31 @@ client.accounting.balance_sheets.retrieve(
-**id:** `str` +**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.
@@ -37772,6 +38798,14 @@ client.accounting.balance_sheets.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/). + +
+
+ +
+
+ **include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -37788,6 +38822,38 @@ client.accounting.balance_sheets.retrieve(
+**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.
@@ -37800,8 +38866,7 @@ client.accounting.balance_sheets.retrieve(
-## Accounting BankFeedAccounts -
client.accounting.bank_feed_accounts.list(...) +
client.accounting.cash_flow_statements.retrieve(...)
@@ -37813,7 +38878,7 @@ client.accounting.balance_sheets.retrieve(
-Returns a list of `BankFeedAccount` objects. +Returns a `CashFlowStatement` object with the given `id`.
@@ -37834,7 +38899,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.bank_feed_accounts.list() +client.accounting.cash_flow_statements.retrieve( + id="id", +) ``` @@ -37850,7 +38917,7 @@ client.accounting.bank_feed_accounts.list()
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**id:** `str`
@@ -37858,7 +38925,7 @@ client.accounting.bank_feed_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/). +**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -37882,14 +38949,6 @@ client.accounting.bank_feed_accounts.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -37902,7 +38961,8 @@ client.accounting.bank_feed_accounts.list()
-
client.accounting.bank_feed_accounts.create(...) +## Accounting CompanyInfo +
client.accounting.company_info.list(...)
@@ -37914,7 +38974,7 @@ client.accounting.bank_feed_accounts.list()
-Creates a `BankFeedAccount` object with the given values. +Returns a list of `CompanyInfo` objects.
@@ -37930,15 +38990,12 @@ Creates a `BankFeedAccount` object with the given values. ```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( - model=BankFeedAccountRequest(), -) +client.accounting.company_info.list() ``` @@ -37954,7 +39011,7 @@ client.accounting.bank_feed_accounts.create(
-**model:** `BankFeedAccountRequest` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -37962,7 +39019,7 @@ client.accounting.bank_feed_accounts.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.
@@ -37970,7 +39027,7 @@ client.accounting.bank_feed_accounts.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -37978,70 +39035,47 @@ client.accounting.bank_feed_accounts.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**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/). +
-
-
client.accounting.bank_feed_accounts.retrieve(...)
-#### 📝 Description - -
-
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
-Returns a `BankFeedAccount` object with the given `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). +
-#### 🔌 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", -) - -``` -
-
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +
-#### ⚙️ Parameters - -
-
-
-**id:** `str` +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -38049,7 +39083,7 @@ client.accounting.bank_feed_accounts.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.
@@ -38057,7 +39091,7 @@ client.accounting.bank_feed_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_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -38077,7 +39111,7 @@ client.accounting.bank_feed_accounts.retrieve(
-
client.accounting.bank_feed_accounts.meta_post_retrieve() +
client.accounting.company_info.retrieve(...)
@@ -38089,7 +39123,7 @@ client.accounting.bank_feed_accounts.retrieve(
-Returns metadata for `BankFeedAccount` POSTs. +Returns a `CompanyInfo` object with the given `id`.
@@ -38110,7 +39144,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.bank_feed_accounts.meta_post_retrieve() +client.accounting.company_info.retrieve( + id="id", +) ``` @@ -38126,6 +39162,38 @@ client.accounting.bank_feed_accounts.meta_post_retrieve()
+**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.
@@ -38138,8 +39206,8 @@ client.accounting.bank_feed_accounts.meta_post_retrieve()
-## Accounting BankFeedTransactions -
client.accounting.bank_feed_transactions.list(...) +## Accounting Contacts +
client.accounting.contacts.list(...)
@@ -38151,7 +39219,7 @@ client.accounting.bank_feed_accounts.meta_post_retrieve()
-Returns a list of `BankFeedTransaction` objects. +Returns a list of `Contact` objects.
@@ -38172,7 +39240,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.bank_feed_transactions.list() +client.accounting.contacts.list() ``` @@ -38188,6 +39256,14 @@ client.accounting.bank_feed_transactions.list()
+**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.
@@ -38212,7 +39288,15 @@ client.accounting.bank_feed_transactions.list()
-**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. +**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.
@@ -38236,6 +39320,14 @@ client.accounting.bank_feed_transactions.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).
@@ -38244,7 +39336,15 @@ client.accounting.bank_feed_transactions.list()
-**is_processed:** `typing.Optional[bool]` — If provided, will only return bank feed transactions with this is_processed value +**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.
@@ -38268,6 +39368,14 @@ client.accounting.bank_feed_transactions.list()
+**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.
@@ -38276,6 +39384,14 @@ client.accounting.bank_feed_transactions.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.
@@ -38284,6 +39400,22 @@ client.accounting.bank_feed_transactions.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) + +
+
+ +
+
+ +**status:** `typing.Optional[str]` — If provided, will only return Contacts that match this status. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -38296,7 +39428,7 @@ client.accounting.bank_feed_transactions.list()
-
client.accounting.bank_feed_transactions.create(...) +
client.accounting.contacts.create(...)
@@ -38308,7 +39440,7 @@ client.accounting.bank_feed_transactions.list()
-Creates a `BankFeedTransaction` object with the given values. +Creates a `Contact` object with the given values.
@@ -38324,14 +39456,14 @@ Creates a `BankFeedTransaction` object with the given values. ```python from merge import Merge -from merge.resources.accounting import BankFeedTransactionRequestRequest +from merge.resources.accounting import ContactRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.bank_feed_transactions.create( - model=BankFeedTransactionRequestRequest(), +client.accounting.contacts.create( + model=ContactRequest(), ) ``` @@ -38348,7 +39480,7 @@ client.accounting.bank_feed_transactions.create(
-**model:** `BankFeedTransactionRequestRequest` +**model:** `ContactRequest`
@@ -38384,7 +39516,7 @@ client.accounting.bank_feed_transactions.create(
-
client.accounting.bank_feed_transactions.retrieve(...) +
client.accounting.contacts.retrieve(...)
@@ -38396,7 +39528,7 @@ client.accounting.bank_feed_transactions.create(
-Returns a `BankFeedTransaction` object with the given `id`. +Returns a `Contact` object with the given `id`.
@@ -38417,7 +39549,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.bank_feed_transactions.retrieve( +client.accounting.contacts.retrieve( id="id", ) @@ -38443,7 +39575,7 @@ client.accounting.bank_feed_transactions.retrieve(
-**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. +**expand:** `typing.Optional[ContactsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -38459,6 +39591,14 @@ client.accounting.bank_feed_transactions.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).
@@ -38467,6 +39607,22 @@ client.accounting.bank_feed_transactions.retrieve(
+**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.
@@ -38479,7 +39635,7 @@ client.accounting.bank_feed_transactions.retrieve(
-
client.accounting.bank_feed_transactions.meta_post_retrieve() +
client.accounting.contacts.meta_post_retrieve()
@@ -38491,7 +39647,7 @@ client.accounting.bank_feed_transactions.retrieve(
-Returns metadata for `BankFeedTransaction` POSTs. +Returns metadata for `Contact` POSTs.
@@ -38512,7 +39668,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.bank_feed_transactions.meta_post_retrieve() +client.accounting.contacts.meta_post_retrieve() ``` @@ -38540,8 +39696,7 @@ client.accounting.bank_feed_transactions.meta_post_retrieve()
-## Accounting CashFlowStatements -
client.accounting.cash_flow_statements.list(...) +
client.accounting.contacts.remote_field_classes_list(...)
@@ -38553,7 +39708,7 @@ client.accounting.bank_feed_transactions.meta_post_retrieve()
-Returns a list of `CashFlowStatement` objects. +Returns a list of `RemoteFieldClass` objects.
@@ -38574,7 +39729,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.cash_flow_statements.list() +client.accounting.contacts.remote_field_classes_list() ``` @@ -38590,30 +39745,6 @@ client.accounting.cash_flow_statements.list()
-**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.
@@ -38622,14 +39753,6 @@ client.accounting.cash_flow_statements.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/).
@@ -38654,7 +39777,7 @@ client.accounting.cash_flow_statements.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
@@ -38662,7 +39785,7 @@ client.accounting.cash_flow_statements.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
@@ -38678,14 +39801,6 @@ client.accounting.cash_flow_statements.list()
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -38698,7 +39813,8 @@ client.accounting.cash_flow_statements.list()
-
client.accounting.cash_flow_statements.retrieve(...) +## Accounting CreditNotes +
client.accounting.credit_notes.list(...)
@@ -38710,7 +39826,7 @@ client.accounting.cash_flow_statements.list()
-Returns a `CashFlowStatement` object with the given `id`. +Returns a list of `CreditNote` objects.
@@ -38731,9 +39847,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.cash_flow_statements.retrieve( - id="id", -) +client.accounting.credit_notes.list() ``` @@ -38749,7 +39863,7 @@ client.accounting.cash_flow_statements.retrieve(
-**id:** `str` +**company_id:** `typing.Optional[str]` — If provided, will only return credit notes for this company.
@@ -38757,7 +39871,7 @@ client.accounting.cash_flow_statements.retrieve(
-**expand:** `typing.Optional[typing.Literal["company"]]` — 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.
@@ -38765,7 +39879,7 @@ client.accounting.cash_flow_statements.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.
@@ -38773,7 +39887,7 @@ client.accounting.cash_flow_statements.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). +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -38781,69 +39895,63 @@ client.accounting.cash_flow_statements.retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**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/). +
-
-## Accounting CompanyInfo -
client.accounting.company_info.list(...)
-#### 📝 Description - -
-
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
-Returns a list of `CompanyInfo` objects. -
-
+**include_shell_data:** `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 - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.company_info.list() - -``` -
-
+**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. + +
+
+
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**remote_fields:** `typing.Optional[CreditNotesListRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -38851,7 +39959,7 @@ client.accounting.company_info.list()
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -38859,7 +39967,7 @@ client.accounting.company_info.list()
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**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)
@@ -38867,7 +39975,7 @@ client.accounting.company_info.list()
-**expand:** `typing.Optional[CompanyInfoListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**transaction_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -38875,7 +39983,7 @@ client.accounting.company_info.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/). +**transaction_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -38883,31 +39991,71 @@ client.accounting.company_info.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.accounting.credit_notes.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 a `CreditNote` 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.accounting import CreditNoteRequest + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.credit_notes.create( + model=CreditNoteRequest(), +) + +```
+
+
+ +#### ⚙️ Parameters
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +
+
+ +**model:** `CreditNoteRequest`
@@ -38915,7 +40063,7 @@ client.accounting.company_info.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -38923,7 +40071,7 @@ client.accounting.company_info.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.
@@ -38943,7 +40091,7 @@ client.accounting.company_info.list()
-
client.accounting.company_info.retrieve(...) +
client.accounting.credit_notes.retrieve(...)
@@ -38955,7 +40103,7 @@ client.accounting.company_info.list()
-Returns a `CompanyInfo` object with the given `id`. +Returns a `CreditNote` object with the given `id`.
@@ -38976,7 +40124,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.company_info.retrieve( +client.accounting.credit_notes.retrieve( id="id", ) @@ -39002,7 +40150,7 @@ client.accounting.company_info.retrieve(
-**expand:** `typing.Optional[CompanyInfoRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[CreditNotesRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -39026,6 +40174,22 @@ client.accounting.company_info.retrieve(
+**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.
@@ -39038,8 +40202,7 @@ client.accounting.company_info.retrieve(
-## Accounting Contacts -
client.accounting.contacts.list(...) +
client.accounting.credit_notes.meta_post_retrieve()
@@ -39051,7 +40214,7 @@ client.accounting.company_info.retrieve(
-Returns a list of `Contact` objects. +Returns metadata for `CreditNote` POSTs.
@@ -39072,7 +40235,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.contacts.list() +client.accounting.credit_notes.meta_post_retrieve() ``` @@ -39088,163 +40251,126 @@ client.accounting.contacts.list()
-**company_id:** `typing.Optional[str]` — If provided, will only return contacts for this company. +**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. -
+
+## Accounting Scopes +
client.accounting.scopes.default_scopes_retrieve()
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
+#### 📝 Description
-**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. - +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_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is 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 -
-
+client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.scopes.default_scopes_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_customer:** `typing.Optional[str]` — If provided, will only return Contacts that are denoted as customers. -
+#### ⚙️ Parameters +
-**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. +**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.accounting.scopes.linked_account_scopes_retrieve()
-**name:** `typing.Optional[str]` — If provided, will only return Contacts that match this name. - -
-
+#### 📝 Description
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
-
-**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. - +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
-**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) - +```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 +
-**status:** `typing.Optional[str]` — If provided, will only return Contacts that match this status. - -
-
-
@@ -39260,7 +40386,7 @@ client.accounting.contacts.list()
-
client.accounting.contacts.create(...) +
client.accounting.scopes.linked_account_scopes_create(...)
@@ -39272,7 +40398,7 @@ client.accounting.contacts.list()
-Creates a `Contact` object with the given values. +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)
@@ -39288,14 +40414,42 @@ Creates a `Contact` object with the given values. ```python from merge import Merge -from merge.resources.accounting import ContactRequest +from merge.resources.accounting import ( + FieldPermissionDeserializerRequest, + IndividualCommonModelScopeDeserializerRequest, + ModelPermissionDeserializerRequest, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.contacts.create( - model=ContactRequest(), +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, + ) + }, + ), + ], ) ``` @@ -39312,23 +40466,7 @@ client.accounting.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. +**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for
@@ -39348,7 +40486,8 @@ client.accounting.contacts.create(
-
client.accounting.contacts.retrieve(...) +## Accounting DeleteAccount +
client.accounting.delete_account.delete()
@@ -39360,7 +40499,7 @@ client.accounting.contacts.create(
-Returns a `Contact` object with the given `id`. +Delete a linked account.
@@ -39381,9 +40520,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.contacts.retrieve( - id="id", -) +client.accounting.delete_account.delete() ``` @@ -39399,120 +40536,113 @@ client.accounting.contacts.retrieve(
-**id:** `str` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**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. -
+
+## Accounting Employees +
client.accounting.employees.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. - -
-
+#### 📝 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). - -
-
-
-**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. - +Returns a list of `Employee` objects. +
+
+#### 🔌 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) - -
-
-
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.employees.list() + +```
+#### ⚙️ Parameters - - -
- -
client.accounting.contacts.meta_post_retrieve()
-#### 📝 Description -
+**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+
-Returns metadata for `Contact` POSTs. -
-
+**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +
-#### 🔌 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", -) -client.accounting.contacts.meta_post_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). +
-#### ⚙️ Parameters -
+**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
+
@@ -39528,7 +40658,7 @@ client.accounting.contacts.meta_post_retrieve()
-
client.accounting.contacts.remote_field_classes_list(...) +
client.accounting.employees.retrieve(...)
@@ -39540,7 +40670,7 @@ client.accounting.contacts.meta_post_retrieve()
-Returns a list of `RemoteFieldClass` objects. +Returns an `Employee` object with the given `id`.
@@ -39561,7 +40691,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.contacts.remote_field_classes_list() +client.accounting.employees.retrieve( + id="id", +) ``` @@ -39577,7 +40709,7 @@ client.accounting.contacts.remote_field_classes_list()
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**id:** `str`
@@ -39585,7 +40717,7 @@ client.accounting.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/). +**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -39609,22 +40741,6 @@ client.accounting.contacts.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 - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -39637,8 +40753,8 @@ client.accounting.contacts.remote_field_classes_list()
-## Accounting CreditNotes -
client.accounting.credit_notes.list(...) +## Accounting Expenses +
client.accounting.expenses.list(...)
@@ -39650,7 +40766,7 @@ client.accounting.contacts.remote_field_classes_list()
-Returns a list of `CreditNote` objects. +Returns a list of `Expense` objects.
@@ -39671,7 +40787,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.credit_notes.list() +client.accounting.expenses.list() ``` @@ -39687,7 +40803,7 @@ client.accounting.credit_notes.list()
-**company_id:** `typing.Optional[str]` — If provided, will only return credit notes for this company. +**company_id:** `typing.Optional[str]` — If provided, will only return expenses for this company.
@@ -39719,7 +40835,7 @@ client.accounting.credit_notes.list()
-**expand:** `typing.Optional[CreditNotesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ExpensesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -39743,6 +40859,14 @@ client.accounting.credit_notes.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).
@@ -39775,14 +40899,6 @@ client.accounting.credit_notes.list()
-**remote_fields:** `typing.Optional[CreditNotesListRequestRemoteFields]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- **remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -39791,14 +40907,6 @@ client.accounting.credit_notes.list()
-**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.
@@ -39827,7 +40935,7 @@ client.accounting.credit_notes.list()
-
client.accounting.credit_notes.create(...) +
client.accounting.expenses.create(...)
@@ -39839,7 +40947,7 @@ client.accounting.credit_notes.list()
-Creates a `CreditNote` object with the given values. +Creates an `Expense` object with the given values.
@@ -39855,14 +40963,14 @@ Creates a `CreditNote` object with the given values. ```python from merge import Merge -from merge.resources.accounting import CreditNoteRequest +from merge.resources.accounting import ExpenseRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.credit_notes.create( - model=CreditNoteRequest(), +client.accounting.expenses.create( + model=ExpenseRequest(), ) ``` @@ -39879,7 +40987,7 @@ client.accounting.credit_notes.create(
-**model:** `CreditNoteRequest` +**model:** `ExpenseRequest`
@@ -39915,7 +41023,7 @@ client.accounting.credit_notes.create(
-
client.accounting.credit_notes.retrieve(...) +
client.accounting.expenses.retrieve(...)
@@ -39927,7 +41035,7 @@ client.accounting.credit_notes.create(
-Returns a `CreditNote` object with the given `id`. +Returns an `Expense` object with the given `id`.
@@ -39948,7 +41056,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.credit_notes.retrieve( +client.accounting.expenses.retrieve( id="id", ) @@ -39974,7 +41082,7 @@ client.accounting.credit_notes.retrieve(
-**expand:** `typing.Optional[CreditNotesRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ExpensesRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -39990,15 +41098,7 @@ client.accounting.credit_notes.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. +**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.
@@ -40006,7 +41106,7 @@ client.accounting.credit_notes.retrieve(
-**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) +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -40026,7 +41126,7 @@ client.accounting.credit_notes.retrieve(
-
client.accounting.credit_notes.meta_post_retrieve() +
client.accounting.expenses.lines_remote_field_classes_list(...)
@@ -40038,7 +41138,7 @@ client.accounting.credit_notes.retrieve(
-Returns metadata for `CreditNote` POSTs. +Returns a list of `RemoteFieldClass` objects.
@@ -40059,7 +41159,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.credit_notes.meta_post_retrieve() +client.accounting.expenses.lines_remote_field_classes_list() ``` @@ -40075,126 +41175,59 @@ client.accounting.credit_notes.meta_post_retrieve()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
- -
- - - - -
-## 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). -
-
+**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is 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.accounting.scopes.default_scopes_retrieve() - -``` -
-
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
-#### ⚙️ Parameters - -
-
-
-**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.accounting.scopes.linked_account_scopes_retrieve()
-#### 📝 Description - -
-
+**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value + +
+
-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). -
-
+**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.accounting.scopes.linked_account_scopes_retrieve() - -``` -
-
+**page_size:** `typing.Optional[int]` — Number of results to return per page. +
-#### ⚙️ Parameters - -
-
-
@@ -40210,7 +41243,7 @@ client.accounting.scopes.linked_account_scopes_retrieve()
-
client.accounting.scopes.linked_account_scopes_create(...) +
client.accounting.expenses.meta_post_retrieve()
@@ -40222,7 +41255,7 @@ client.accounting.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 metadata for `Expense` POSTs.
@@ -40238,43 +41271,12 @@ Update permissions for any Common Model or field for a single Linked Account. An ```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, - ) - }, - ), - ], -) +client.accounting.expenses.meta_post_retrieve() ``` @@ -40290,14 +41292,6 @@ client.accounting.scopes.linked_account_scopes_create(
-**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -40310,8 +41304,7 @@ client.accounting.scopes.linked_account_scopes_create(
-## Accounting DeleteAccount -
client.accounting.delete_account.delete() +
client.accounting.expenses.remote_field_classes_list(...)
@@ -40323,7 +41316,7 @@ client.accounting.scopes.linked_account_scopes_create(
-Delete a linked account. +Returns a list of `RemoteFieldClass` objects.
@@ -40344,7 +41337,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.delete_account.delete() +client.accounting.expenses.remote_field_classes_list() ``` @@ -40360,69 +41353,15 @@ client.accounting.delete_account.delete()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
- -
- - - - -
- -## Accounting Employees -
client.accounting.employees.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `Employee` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.employees.list() - -``` -
-
-
-
- -#### ⚙️ 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/).
@@ -40430,7 +41369,7 @@ client.accounting.employees.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_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -40438,7 +41377,7 @@ client.accounting.employees.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).
@@ -40446,7 +41385,7 @@ client.accounting.employees.list()
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value
@@ -40454,7 +41393,7 @@ client.accounting.employees.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_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value
@@ -40482,7 +41421,8 @@ client.accounting.employees.list()
-
client.accounting.employees.retrieve(...) +## Accounting FieldMapping +
client.accounting.field_mapping.field_mappings_retrieve(...)
@@ -40494,7 +41434,7 @@ client.accounting.employees.list()
-Returns an `Employee` 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/).
@@ -40515,9 +41455,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.employees.retrieve( - id="id", -) +client.accounting.field_mapping.field_mappings_retrieve() ``` @@ -40533,31 +41471,7 @@ client.accounting.employees.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). +**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.
@@ -40577,8 +41491,7 @@ client.accounting.employees.retrieve(
-## Accounting Expenses -
client.accounting.expenses.list(...) +
client.accounting.field_mapping.field_mappings_create(...)
@@ -40590,7 +41503,7 @@ client.accounting.employees.retrieve(
-Returns a list of `Expense` 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.
@@ -40611,7 +41524,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.expenses.list() +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", +) ``` @@ -40627,71 +41547,7 @@ client.accounting.expenses.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. - -
-
- -
-
- -**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). +**target_field_name:** `str` — The name of the target field you want this remote field to map to.
@@ -40699,7 +41555,7 @@ client.accounting.expenses.list()
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**target_field_description:** `str` — The description of the target field you want this remote field to map to.
@@ -40707,7 +41563,7 @@ client.accounting.expenses.list()
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**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.
@@ -40715,7 +41571,7 @@ client.accounting.expenses.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from.
@@ -40723,7 +41579,7 @@ client.accounting.expenses.list()
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**remote_url_path:** `str` — The path of the remote endpoint where the remote field is coming from.
@@ -40731,7 +41587,7 @@ client.accounting.expenses.list()
-**transaction_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**common_model_name:** `str` — The name of the Common Model that the remote field corresponds to in a given category.
@@ -40739,7 +41595,7 @@ client.accounting.expenses.list()
-**transaction_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**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.
@@ -40759,7 +41615,7 @@ client.accounting.expenses.list()
-
client.accounting.expenses.create(...) +
client.accounting.field_mapping.field_mappings_destroy(...)
@@ -40771,7 +41627,7 @@ client.accounting.expenses.list()
-Creates an `Expense` object with the given values. +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.
@@ -40787,14 +41643,13 @@ Creates an `Expense` object with the given values. ```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( - model=ExpenseRequest(), +client.accounting.field_mapping.field_mappings_destroy( + field_mapping_id="field_mapping_id", ) ``` @@ -40811,23 +41666,7 @@ client.accounting.expenses.create(
-**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. +**field_mapping_id:** `str`
@@ -40847,7 +41686,7 @@ client.accounting.expenses.create(
-
client.accounting.expenses.retrieve(...) +
client.accounting.field_mapping.field_mappings_partial_update(...)
@@ -40859,7 +41698,7 @@ client.accounting.expenses.create(
-Returns an `Expense` 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.
@@ -40880,8 +41719,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.expenses.retrieve( - id="id", +client.accounting.field_mapping.field_mappings_partial_update( + field_mapping_id="field_mapping_id", ) ``` @@ -40898,15 +41737,7 @@ client.accounting.expenses.retrieve(
-**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[ExpensesRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**field_mapping_id:** `str`
@@ -40914,7 +41745,7 @@ client.accounting.expenses.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.Optional[typing.Any]]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint.
@@ -40922,7 +41753,7 @@ client.accounting.expenses.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. +**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from.
@@ -40930,7 +41761,7 @@ client.accounting.expenses.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_url_path:** `typing.Optional[str]` — The path of the remote endpoint where the remote field is coming from.
@@ -40950,7 +41781,7 @@ client.accounting.expenses.retrieve(
-
client.accounting.expenses.lines_remote_field_classes_list(...) +
client.accounting.field_mapping.remote_fields_retrieve(...)
@@ -40962,7 +41793,7 @@ client.accounting.expenses.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/).
@@ -40983,7 +41814,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.expenses.lines_remote_field_classes_list() +client.accounting.field_mapping.remote_fields_retrieve() ``` @@ -40999,39 +41830,7 @@ client.accounting.expenses.lines_remote_field_classes_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/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `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 +**common_models:** `typing.Optional[str]` — A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models.
@@ -41039,7 +41838,7 @@ client.accounting.expenses.lines_remote_field_classes_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.
@@ -41059,7 +41858,7 @@ client.accounting.expenses.lines_remote_field_classes_list()
-
client.accounting.expenses.meta_post_retrieve() +
client.accounting.field_mapping.target_fields_retrieve()
@@ -41071,7 +41870,7 @@ client.accounting.expenses.lines_remote_field_classes_list()
-Returns metadata for `Expense` POSTs. +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/).
@@ -41092,7 +41891,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.expenses.meta_post_retrieve() +client.accounting.field_mapping.target_fields_retrieve() ``` @@ -41120,7 +41919,8 @@ client.accounting.expenses.meta_post_retrieve()
-
client.accounting.expenses.remote_field_classes_list(...) +## Accounting GeneralLedgerTransactions +
client.accounting.general_ledger_transactions.list(...)
@@ -41132,7 +41932,7 @@ client.accounting.expenses.meta_post_retrieve()
-Returns a list of `RemoteFieldClass` objects. +Returns a list of `GeneralLedgerTransaction` objects.
@@ -41153,7 +41953,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.expenses.remote_field_classes_list() +client.accounting.general_ledger_transactions.list() ``` @@ -41169,6 +41969,30 @@ client.accounting.expenses.remote_field_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. + +
+
+ +
+
+ +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. + +
+
+ +
+
+ **cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -41177,6 +42001,14 @@ client.accounting.expenses.remote_field_classes_list()
+**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/).
@@ -41201,7 +42033,7 @@ client.accounting.expenses.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.
@@ -41209,7 +42041,7 @@ client.accounting.expenses.remote_field_classes_list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -41217,69 +42049,31 @@ client.accounting.expenses.remote_field_classes_list()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
- -
- - - -
-
- -## 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/). -
-
+**posted_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects posted after this datetime. +
-#### 🔌 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() - -``` -
-
+**posted_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects posted before this datetime. +
-#### ⚙️ 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. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -41299,7 +42093,7 @@ client.accounting.field_mapping.field_mappings_retrieve()
-
client.accounting.field_mapping.field_mappings_create(...) +
client.accounting.general_ledger_transactions.retrieve(...)
@@ -41311,7 +42105,7 @@ client.accounting.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 `GeneralLedgerTransaction` object with the given `id`.
@@ -41332,13 +42126,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -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", +client.accounting.general_ledger_transactions.retrieve( + id="id", ) ``` @@ -41355,31 +42144,7 @@ client.accounting.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. +**id:** `str`
@@ -41387,7 +42152,7 @@ client.accounting.field_mapping.field_mappings_create(
-**remote_url_path:** `str` — The path of the remote endpoint where the remote field is coming from. +**expand:** `typing.Optional[GeneralLedgerTransactionsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -41395,7 +42160,7 @@ client.accounting.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.
@@ -41403,7 +42168,7 @@ client.accounting.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).
@@ -41423,7 +42188,8 @@ client.accounting.field_mapping.field_mappings_create(
-
client.accounting.field_mapping.field_mappings_destroy(...) +## Accounting GenerateKey +
client.accounting.generate_key.create(...)
@@ -41435,7 +42201,7 @@ client.accounting.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. +Create a remote key.
@@ -41456,8 +42222,8 @@ 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", +client.accounting.generate_key.create( + name="Remote Deployment Key 1", ) ``` @@ -41474,7 +42240,7 @@ client.accounting.field_mapping.field_mappings_destroy(
-**field_mapping_id:** `str` +**name:** `str` — The name of the remote key
@@ -41494,7 +42260,8 @@ client.accounting.field_mapping.field_mappings_destroy(
-
client.accounting.field_mapping.field_mappings_partial_update(...) +## Accounting IncomeStatements +
client.accounting.income_statements.list(...)
@@ -41506,7 +42273,7 @@ client.accounting.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 `IncomeStatement` objects.
@@ -41527,9 +42294,7 @@ 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", -) +client.accounting.income_statements.list() ``` @@ -41545,7 +42310,7 @@ client.accounting.field_mapping.field_mappings_partial_update(
-**field_mapping_id:** `str` +**company_id:** `typing.Optional[str]` — If provided, will only return income statements for this company.
@@ -41553,7 +42318,7 @@ client.accounting.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. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -41561,7 +42326,7 @@ client.accounting.field_mapping.field_mappings_partial_update(
-**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -41569,7 +42334,7 @@ client.accounting.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. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -41577,68 +42342,55 @@ client.accounting.field_mapping.field_mappings_partial_update(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**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/). +
-
-
client.accounting.field_mapping.remote_fields_retrieve(...)
-#### 📝 Description - -
-
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
-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/). -
-
+**include_shell_data:** `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 - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.field_mapping.remote_fields_retrieve() - -``` -
-
+**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. + +
+
+
-**common_models:** `typing.Optional[str]` — A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -41646,7 +42398,7 @@ client.accounting.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. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -41666,7 +42418,7 @@ client.accounting.field_mapping.remote_fields_retrieve()
-
client.accounting.field_mapping.target_fields_retrieve() +
client.accounting.income_statements.retrieve(...)
@@ -41678,7 +42430,7 @@ client.accounting.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 an `IncomeStatement` object with the given `id`.
@@ -41699,7 +42451,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.field_mapping.target_fields_retrieve() +client.accounting.income_statements.retrieve( + id="id", +) ``` @@ -41715,6 +42469,38 @@ client.accounting.field_mapping.target_fields_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). + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -41727,8 +42513,8 @@ client.accounting.field_mapping.target_fields_retrieve()
-## Accounting GeneralLedgerTransactions -
client.accounting.general_ledger_transactions.list(...) +## Accounting Invoices +
client.accounting.invoices.list(...)
@@ -41740,7 +42526,7 @@ client.accounting.field_mapping.target_fields_retrieve()
-Returns a list of `GeneralLedgerTransaction` objects. +Returns a list of `Invoice` objects.
@@ -41761,7 +42547,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.general_ledger_transactions.list() +client.accounting.invoices.list() ``` @@ -41777,7 +42563,15 @@ client.accounting.general_ledger_transactions.list()
-**company_id:** `typing.Optional[str]` — If provided, will only return general ledger transactions for this company. +**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.
@@ -41809,7 +42603,7 @@ client.accounting.general_ledger_transactions.list()
-**expand:** `typing.Optional[GeneralLedgerTransactionsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[InvoicesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -41833,6 +42627,14 @@ client.accounting.general_ledger_transactions.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).
@@ -41841,6 +42643,22 @@ client.accounting.general_ledger_transactions.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.
@@ -41857,7 +42675,7 @@ client.accounting.general_ledger_transactions.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**number:** `typing.Optional[str]` — If provided, will only return Invoices with this number.
@@ -41865,7 +42683,7 @@ client.accounting.general_ledger_transactions.list()
-**posted_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects posted after this datetime. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -41873,7 +42691,7 @@ client.accounting.general_ledger_transactions.list()
-**posted_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects posted before this datetime. +**remote_fields:** `typing.Optional[typing.Literal["type"]]` — Deprecated. Use show_enum_origins.
@@ -41889,6 +42707,44 @@ client.accounting.general_ledger_transactions.list()
+**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.
@@ -41901,7 +42757,7 @@ client.accounting.general_ledger_transactions.list()
-
client.accounting.general_ledger_transactions.retrieve(...) +
client.accounting.invoices.create(...)
@@ -41913,7 +42769,9 @@ client.accounting.general_ledger_transactions.list()
-Returns a `GeneralLedgerTransaction` object with the given `id`. +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). +
@@ -41929,13 +42787,14 @@ Returns a `GeneralLedgerTransaction` object with the given `id`. ```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.general_ledger_transactions.retrieve( - id="id", +client.accounting.invoices.create( + model=InvoiceRequest(), ) ``` @@ -41952,15 +42811,7 @@ client.accounting.general_ledger_transactions.retrieve(
-**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[GeneralLedgerTransactionsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**model:** `InvoiceRequest`
@@ -41968,7 +42819,7 @@ client.accounting.general_ledger_transactions.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.
@@ -41976,7 +42827,7 @@ client.accounting.general_ledger_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). +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -41996,8 +42847,7 @@ client.accounting.general_ledger_transactions.retrieve(
-## Accounting GenerateKey -
client.accounting.generate_key.create(...) +
client.accounting.invoices.retrieve(...)
@@ -42009,7 +42859,7 @@ client.accounting.general_ledger_transactions.retrieve(
-Create a remote key. +Returns an `Invoice` object with the given `id`.
@@ -42030,8 +42880,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.generate_key.create( - name="Remote Deployment Key 1", +client.accounting.invoices.retrieve( + id="id", ) ``` @@ -42048,7 +42898,55 @@ client.accounting.generate_key.create(
-**name:** `str` — The name of the remote key +**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)
@@ -42068,8 +42966,7 @@ client.accounting.generate_key.create(
-## Accounting IncomeStatements -
client.accounting.income_statements.list(...) +
client.accounting.invoices.partial_update(...)
@@ -42081,7 +42978,7 @@ client.accounting.generate_key.create(
-Returns a list of `IncomeStatement` objects. +Updates an `Invoice` object with the given `id`.
@@ -42097,12 +42994,16 @@ Returns a list of `IncomeStatement` objects. ```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.income_statements.list() +client.accounting.invoices.partial_update( + id="id", + model=InvoiceRequest(), +) ``` @@ -42118,7 +43019,7 @@ client.accounting.income_statements.list()
-**company_id:** `typing.Optional[str]` — If provided, will only return income statements for this company. +**id:** `str`
@@ -42126,7 +43027,7 @@ client.accounting.income_statements.list()
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**model:** `InvoiceRequest`
@@ -42134,7 +43035,7 @@ client.accounting.income_statements.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.
@@ -42142,7 +43043,7 @@ client.accounting.income_statements.list()
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -42150,7 +43051,68 @@ client.accounting.income_statements.list()
-**expand:** `typing.Optional[typing.Literal["company"]]` — 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.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() + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -42182,7 +43144,7 @@ client.accounting.income_statements.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
@@ -42190,7 +43152,7 @@ client.accounting.income_statements.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
@@ -42206,14 +43168,6 @@ client.accounting.income_statements.list()
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -42226,7 +43180,7 @@ client.accounting.income_statements.list()
-
client.accounting.income_statements.retrieve(...) +
client.accounting.invoices.meta_patch_retrieve(...)
@@ -42238,7 +43192,7 @@ client.accounting.income_statements.list()
-Returns an `IncomeStatement` object with the given `id`. +Returns metadata for `Invoice` PATCHs.
@@ -42259,7 +43213,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.income_statements.retrieve( +client.accounting.invoices.meta_patch_retrieve( id="id", ) @@ -42285,27 +43239,64 @@ client.accounting.income_statements.retrieve(
-**expand:** `typing.Optional[typing.Literal["company"]]` — 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.invoices.meta_post_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 metadata for `Invoice` POSTs.
+
+
+ +#### 🔌 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.accounting.invoices.meta_post_retrieve() + +``` +
+
+#### ⚙️ Parameters + +
+
+
@@ -42321,8 +43312,7 @@ client.accounting.income_statements.retrieve(
-## Accounting Invoices -
client.accounting.invoices.list(...) +
client.accounting.invoices.remote_field_classes_list(...)
@@ -42334,7 +43324,7 @@ client.accounting.income_statements.retrieve(
-Returns a list of `Invoice` objects. +Returns a list of `RemoteFieldClass` objects.
@@ -42355,7 +43345,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.invoices.list() +client.accounting.invoices.remote_field_classes_list() ``` @@ -42371,7 +43361,7 @@ client.accounting.invoices.list()
-**company_id:** `typing.Optional[str]` — If provided, will only return invoices for this company. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -42379,7 +43369,7 @@ client.accounting.invoices.list()
-**contact_id:** `typing.Optional[str]` — If provided, will only return invoices for this contact. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -42387,7 +43377,7 @@ client.accounting.invoices.list()
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created 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.
@@ -42395,7 +43385,7 @@ client.accounting.invoices.list()
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created 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).
@@ -42403,7 +43393,7 @@ client.accounting.invoices.list()
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value
@@ -42411,7 +43401,7 @@ client.accounting.invoices.list()
-**expand:** `typing.Optional[InvoicesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value
@@ -42419,7 +43409,7 @@ client.accounting.invoices.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.
@@ -42427,15 +43417,69 @@ client.accounting.invoices.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.
+ +
+ + + +
+ +## Accounting Issues +
client.accounting.issues.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. +#### 📝 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.accounting.issues.list() + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**account_token:** `typing.Optional[str]`
@@ -42443,7 +43487,7 @@ client.accounting.invoices.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). +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -42451,7 +43495,7 @@ client.accounting.invoices.list()
-**issue_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time
@@ -42459,7 +43503,7 @@ client.accounting.invoices.list()
-**issue_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**end_user_organization_name:** `typing.Optional[str]`
@@ -42467,7 +43511,7 @@ client.accounting.invoices.list()
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime.
@@ -42475,7 +43519,7 @@ client.accounting.invoices.list()
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before 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.
@@ -42483,7 +43527,7 @@ client.accounting.invoices.list()
-**number:** `typing.Optional[str]` — If provided, will only return Invoices with this number. +**include_muted:** `typing.Optional[str]` — If true, will include muted issues
@@ -42491,7 +43535,7 @@ client.accounting.invoices.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**integration_name:** `typing.Optional[str]`
@@ -42499,7 +43543,7 @@ client.accounting.invoices.list()
-**remote_fields:** `typing.Optional[typing.Literal["type"]]` — Deprecated. Use show_enum_origins. +**last_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was after this datetime.
@@ -42507,7 +43551,7 @@ client.accounting.invoices.list()
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**last_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was before this datetime.
@@ -42515,7 +43559,7 @@ client.accounting.invoices.list()
-**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) +**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in.
@@ -42523,16 +43567,15 @@ client.accounting.invoices.list()
-**status:** `typing.Optional[InvoicesListRequestStatus]` +**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
-If provided, will only return Invoices with this status. +
+
-* `PAID` - PAID -* `DRAFT` - DRAFT -* `SUBMITTED` - SUBMITTED -* `PARTIALLY_PAID` - PARTIALLY_PAID -* `OPEN` - OPEN -* `VOID` - VOID +**start_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred after this time
@@ -42540,12 +43583,12 @@ If provided, will only return Invoices with this status.
-**type:** `typing.Optional[InvoicesListRequestType]` +**status:** `typing.Optional[IssuesListRequestStatus]` -If provided, will only return Invoices with this type. +Status of the issue. Options: ('ONGOING', 'RESOLVED') -* `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE -* `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE +* `ONGOING` - ONGOING +* `RESOLVED` - RESOLVED
@@ -42565,7 +43608,7 @@ If provided, will only return Invoices with this type.
-
client.accounting.invoices.create(...) +
client.accounting.issues.retrieve(...)
@@ -42577,9 +43620,7 @@ If provided, will only return Invoices with this type.
-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). - +Get a specific issue.
@@ -42595,14 +43636,13 @@ Creates an `Invoice` object with the given values. ```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( - model=InvoiceRequest(), +client.accounting.issues.retrieve( + id="id", ) ``` @@ -42619,23 +43659,7 @@ client.accounting.invoices.create(
-**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. +**id:** `str`
@@ -42655,7 +43679,8 @@ client.accounting.invoices.create(
-
client.accounting.invoices.retrieve(...) +## Accounting Items +
client.accounting.items.list(...)
@@ -42667,7 +43692,7 @@ client.accounting.invoices.create(
-Returns an `Invoice` object with the given `id`. +Returns a list of `Item` objects.
@@ -42688,9 +43713,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.invoices.retrieve( - id="id", -) +client.accounting.items.list() ``` @@ -42706,7 +43729,7 @@ client.accounting.invoices.retrieve(
-**id:** `str` +**company_id:** `typing.Optional[str]` — If provided, will only return items for this company.
@@ -42714,7 +43737,7 @@ client.accounting.invoices.retrieve(
-**expand:** `typing.Optional[InvoicesRetrieveRequestExpand]` — 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.
@@ -42722,7 +43745,7 @@ client.accounting.invoices.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.
@@ -42730,7 +43753,31 @@ client.accounting.invoices.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[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.
@@ -42746,7 +43793,7 @@ client.accounting.invoices.retrieve(
-**remote_fields:** `typing.Optional[typing.Literal["type"]]` — 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.
@@ -42754,7 +43801,39 @@ client.accounting.invoices.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) +**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)
@@ -42774,7 +43853,7 @@ client.accounting.invoices.retrieve(
-
client.accounting.invoices.partial_update(...) +
client.accounting.items.create(...)
@@ -42786,7 +43865,7 @@ client.accounting.invoices.retrieve(
-Updates an `Invoice` object with the given `id`. +Creates an `Item` object with the given values.
@@ -42802,15 +43881,14 @@ Updates an `Invoice` object with the given `id`. ```python from merge import Merge -from merge.resources.accounting import InvoiceRequest +from merge.resources.accounting import ItemRequestRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.invoices.partial_update( - id="id", - model=InvoiceRequest(), +client.accounting.items.create( + model=ItemRequestRequest(), ) ``` @@ -42827,15 +43905,7 @@ client.accounting.invoices.partial_update(
-**id:** `str` - -
-
- -
-
- -**model:** `InvoiceRequest` +**model:** `ItemRequestRequest`
@@ -42871,7 +43941,7 @@ client.accounting.invoices.partial_update(
-
client.accounting.invoices.line_items_remote_field_classes_list(...) +
client.accounting.items.retrieve(...)
@@ -42883,7 +43953,7 @@ client.accounting.invoices.partial_update(
-Returns a list of `RemoteFieldClass` objects. +Returns an `Item` object with the given `id`.
@@ -42904,7 +43974,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.invoices.line_items_remote_field_classes_list() +client.accounting.items.retrieve( + id="id", +) ``` @@ -42920,7 +43992,7 @@ client.accounting.invoices.line_items_remote_field_classes_list()
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**id:** `str`
@@ -42928,7 +44000,7 @@ client.accounting.invoices.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/). +**expand:** `typing.Optional[ItemsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -42952,7 +44024,7 @@ client.accounting.invoices.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 +**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins.
@@ -42960,7 +44032,7 @@ client.accounting.invoices.line_items_remote_field_classes_list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**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)
@@ -42980,7 +44052,7 @@ client.accounting.invoices.line_items_remote_field_classes_list()
-
client.accounting.invoices.meta_patch_retrieve(...) +
client.accounting.items.partial_update(...)
@@ -42992,7 +44064,7 @@ client.accounting.invoices.line_items_remote_field_classes_list()
-Returns metadata for `Invoice` PATCHs. +Updates an `Item` object with the given `id`.
@@ -43008,13 +44080,15 @@ Returns metadata for `Invoice` PATCHs. ```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.invoices.meta_patch_retrieve( +client.accounting.items.partial_update( id="id", + model=PatchedItemRequestRequest(), ) ``` @@ -43039,6 +44113,30 @@ client.accounting.invoices.meta_patch_retrieve(
+**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.
@@ -43051,7 +44149,7 @@ client.accounting.invoices.meta_patch_retrieve(
-
client.accounting.invoices.meta_post_retrieve() +
client.accounting.items.meta_patch_retrieve(...)
@@ -43063,7 +44161,7 @@ client.accounting.invoices.meta_patch_retrieve(
-Returns metadata for `Invoice` POSTs. +Returns metadata for `Item` PATCHs.
@@ -43084,7 +44182,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.invoices.meta_post_retrieve() +client.accounting.items.meta_patch_retrieve( + id="id", +) ``` @@ -43100,6 +44200,14 @@ client.accounting.invoices.meta_post_retrieve()
+**id:** `str` + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -43112,7 +44220,7 @@ client.accounting.invoices.meta_post_retrieve()
-
client.accounting.invoices.remote_field_classes_list(...) +
client.accounting.items.meta_post_retrieve()
@@ -43124,7 +44232,7 @@ client.accounting.invoices.meta_post_retrieve()
-Returns a list of `RemoteFieldClass` objects. +Returns metadata for `Item` POSTs.
@@ -43145,7 +44253,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.invoices.remote_field_classes_list() +client.accounting.items.meta_post_retrieve() ``` @@ -43161,54 +44269,6 @@ client.accounting.invoices.remote_field_classes_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/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `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 - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -43221,8 +44281,8 @@ client.accounting.invoices.remote_field_classes_list()
-## Accounting Issues -
client.accounting.issues.list(...) +## Accounting JournalEntries +
client.accounting.journal_entries.list(...)
@@ -43234,7 +44294,7 @@ client.accounting.invoices.remote_field_classes_list()
-Gets all issues for Organization. +Returns a list of `JournalEntry` objects.
@@ -43255,7 +44315,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.issues.list() +client.accounting.journal_entries.list() ``` @@ -43271,7 +44331,7 @@ client.accounting.issues.list()
-**account_token:** `typing.Optional[str]` +**company_id:** `typing.Optional[str]` — If provided, will only return journal entries for this company.
@@ -43279,7 +44339,7 @@ client.accounting.issues.list()
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -43287,7 +44347,7 @@ client.accounting.issues.list()
-**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -43295,7 +44355,7 @@ client.accounting.issues.list()
-**end_user_organization_name:** `typing.Optional[str]` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -43303,7 +44363,7 @@ client.accounting.issues.list()
-**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime. +**expand:** `typing.Optional[JournalEntriesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -43311,7 +44371,7 @@ client.accounting.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_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -43319,7 +44379,7 @@ client.accounting.issues.list()
-**include_muted:** `typing.Optional[str]` — If true, will include muted issues +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -43327,7 +44387,7 @@ client.accounting.issues.list()
-**integration_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.
@@ -43335,7 +44395,7 @@ client.accounting.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).
@@ -43343,7 +44403,7 @@ client.accounting.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.
@@ -43351,7 +44411,7 @@ client.accounting.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.
@@ -43367,7 +44427,7 @@ client.accounting.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.
@@ -43375,12 +44435,15 @@ client.accounting.issues.list()
-**status:** `typing.Optional[IssuesListRequestStatus]` +**transaction_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. + +
+
-Status of the issue. Options: ('ONGOING', 'RESOLVED') +
+
-* `ONGOING` - ONGOING -* `RESOLVED` - RESOLVED +**transaction_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -43400,7 +44463,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-
client.accounting.issues.retrieve(...) +
client.accounting.journal_entries.create(...)
@@ -43412,7 +44475,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-Get a specific issue. +Creates a `JournalEntry` object with the given values.
@@ -43428,13 +44491,14 @@ Get a specific issue. ```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.issues.retrieve( - id="id", +client.accounting.journal_entries.create( + model=JournalEntryRequest(), ) ``` @@ -43451,7 +44515,23 @@ client.accounting.issues.retrieve(
-**id:** `str` +**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.
@@ -43471,8 +44551,7 @@ client.accounting.issues.retrieve(
-## Accounting Items -
client.accounting.items.list(...) +
client.accounting.journal_entries.retrieve(...)
@@ -43484,7 +44563,7 @@ client.accounting.issues.retrieve(
-Returns a list of `Item` objects. +Returns a `JournalEntry` object with the given `id`.
@@ -43505,7 +44584,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.items.list() +client.accounting.journal_entries.retrieve( + id="id", +) ``` @@ -43521,7 +44602,7 @@ client.accounting.items.list()
-**company_id:** `typing.Optional[str]` — If provided, will only return items for this company. +**id:** `str`
@@ -43529,7 +44610,7 @@ client.accounting.items.list()
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**expand:** `typing.Optional[JournalEntriesRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -43537,7 +44618,7 @@ client.accounting.items.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.
@@ -43545,7 +44626,7 @@ client.accounting.items.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.
@@ -43553,7 +44634,76 @@ client.accounting.items.list()
-**expand:** `typing.Optional[ItemsListRequestExpand]` — 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). + +
+
+ +
+
+ +**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() + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -43585,7 +44735,7 @@ client.accounting.items.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
@@ -43593,7 +44743,7 @@ client.accounting.items.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
@@ -43609,27 +44759,64 @@ client.accounting.items.list()
-**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+ +
+
+
+ +
client.accounting.journal_entries.meta_post_retrieve()
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - +#### 📝 Description + +
+
+ +
+
+ +Returns metadata for `JournalEntry` POSTs. +
+
+#### 🔌 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.accounting.journal_entries.meta_post_retrieve() + +``` +
+
+#### ⚙️ Parameters + +
+
+
@@ -43645,7 +44832,7 @@ client.accounting.items.list()
-
client.accounting.items.retrieve(...) +
client.accounting.journal_entries.remote_field_classes_list(...)
@@ -43657,7 +44844,7 @@ client.accounting.items.list()
-Returns an `Item` object with the given `id`. +Returns a list of `RemoteFieldClass` objects.
@@ -43678,9 +44865,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.items.retrieve( - id="id", -) +client.accounting.journal_entries.remote_field_classes_list() ``` @@ -43696,7 +44881,7 @@ client.accounting.items.retrieve(
-**id:** `str` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -43704,7 +44889,7 @@ client.accounting.items.retrieve(
-**expand:** `typing.Optional[ItemsRetrieveRequestExpand]` — 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/).
@@ -43728,7 +44913,7 @@ client.accounting.items.retrieve(
-**remote_fields:** `typing.Optional[typing.Literal["status"]]` — 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
@@ -43736,7 +44921,15 @@ client.accounting.items.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) +**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.
@@ -43756,8 +44949,8 @@ client.accounting.items.retrieve(
-## Accounting JournalEntries -
client.accounting.journal_entries.list(...) +## Accounting LinkToken +
client.accounting.link_token.create(...)
@@ -43769,7 +44962,7 @@ client.accounting.items.retrieve(
-Returns a list of `JournalEntry` objects. +Creates a link token to be used when linking a new end user.
@@ -43785,12 +44978,18 @@ Returns a list of `JournalEntry` objects. ```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.journal_entries.list() +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], +) ``` @@ -43806,15 +45005,7 @@ client.accounting.journal_entries.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. +**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.
@@ -43822,7 +45013,7 @@ client.accounting.journal_entries.list()
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**end_user_organization_name:** `str` — Your end user's organization.
@@ -43830,7 +45021,7 @@ client.accounting.journal_entries.list()
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**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.
@@ -43838,7 +45029,7 @@ client.accounting.journal_entries.list()
-**expand:** `typing.Optional[JournalEntriesListRequestExpand]` — 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.
@@ -43846,7 +45037,7 @@ client.accounting.journal_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/). +**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/.
@@ -43854,7 +45045,7 @@ client.accounting.journal_entries.list()
-**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.
@@ -43862,7 +45053,7 @@ client.accounting.journal_entries.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. +**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.
@@ -43870,7 +45061,7 @@ client.accounting.journal_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). +**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.
@@ -43878,7 +45069,7 @@ client.accounting.journal_entries.list()
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after 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.
@@ -43886,7 +45077,14 @@ client.accounting.journal_entries.list()
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**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.
@@ -43894,15 +45092,12 @@ client.accounting.journal_entries.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
+**language:** `typing.Optional[EndUserDetailsRequestLanguage]` -
-
+The following subset of IETF language tags can be used to configure localization. -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +* `en` - en +* `de` - de
@@ -43910,7 +45105,7 @@ client.accounting.journal_entries.list()
-**transaction_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled.
@@ -43918,7 +45113,7 @@ client.accounting.journal_entries.list()
-**transaction_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — A JSON object containing integration-specific configuration options.
@@ -43938,7 +45133,8 @@ client.accounting.journal_entries.list()
-
client.accounting.journal_entries.create(...) +## Accounting LinkedAccounts +
client.accounting.linked_accounts.list(...)
@@ -43950,7 +45146,7 @@ client.accounting.journal_entries.list()
-Creates a `JournalEntry` object with the given values. +List linked accounts for your organization.
@@ -43966,15 +45162,12 @@ Creates a `JournalEntry` object with the given values. ```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( - model=JournalEntryRequest(), -) +client.accounting.linked_accounts.list() ``` @@ -43990,7 +45183,17 @@ client.accounting.journal_entries.create(
-**model:** `JournalEntryRequest` +**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
@@ -43998,7 +45201,7 @@ client.accounting.journal_entries.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -44006,7 +45209,7 @@ client.accounting.journal_entries.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address.
@@ -44014,70 +45217,79 @@ client.accounting.journal_entries.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**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. +
-
-
client.accounting.journal_entries.retrieve(...)
-#### 📝 Description +**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]` + +
+
+
-Returns a `JournalEntry` object with the given `id`. -
-
+**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. + -#### 🔌 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.accounting.journal_entries.retrieve( - id="id", -) - -``` +**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. +
-#### ⚙️ Parameters -
+**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
+
-**id:** `str` +**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED`
@@ -44085,31 +45297,75 @@ client.accounting.journal_entries.retrieve(
-**expand:** `typing.Optional[JournalEntriesRetrieveRequestExpand]` — 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.
+ + + + + + +
+## Accounting Passthrough +
client.accounting.passthrough.create(...)
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - +#### 📝 Description + +
+
+ +
+
+ +Pull data from an endpoint not currently supported by Merge. +
+
+#### 🔌 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 +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", + ), +) + +```
+
+
+ +#### ⚙️ Parameters
-**include_shell_data:** `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:** `DataPassthroughRequest`
@@ -44129,7 +45385,8 @@ client.accounting.journal_entries.retrieve(
-
client.accounting.journal_entries.lines_remote_field_classes_list(...) +## Accounting PaymentMethods +
client.accounting.payment_methods.list(...)
@@ -44141,7 +45398,7 @@ client.accounting.journal_entries.retrieve(
-Returns a list of `RemoteFieldClass` objects. +Returns a list of `PaymentMethod` objects.
@@ -44162,7 +45419,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.journal_entries.lines_remote_field_classes_list() +client.accounting.payment_methods.list() ``` @@ -44210,14 +45467,6 @@ client.accounting.journal_entries.lines_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 - -
-
- -
-
- **page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -44238,7 +45487,7 @@ client.accounting.journal_entries.lines_remote_field_classes_list()
-
client.accounting.journal_entries.meta_post_retrieve() +
client.accounting.payment_methods.retrieve(...)
@@ -44250,7 +45499,7 @@ client.accounting.journal_entries.lines_remote_field_classes_list()
-Returns metadata for `JournalEntry` POSTs. +Returns a `PaymentMethod` object with the given `id`.
@@ -44271,7 +45520,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.journal_entries.meta_post_retrieve() +client.accounting.payment_methods.retrieve( + id="id", +) ``` @@ -44287,6 +45538,30 @@ client.accounting.journal_entries.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.
@@ -44299,7 +45574,8 @@ client.accounting.journal_entries.meta_post_retrieve()
-
client.accounting.journal_entries.remote_field_classes_list(...) +## Accounting PaymentTerms +
client.accounting.payment_terms.list(...)
@@ -44311,7 +45587,7 @@ client.accounting.journal_entries.meta_post_retrieve()
-Returns a list of `RemoteFieldClass` objects. +Returns a list of `PaymentTerm` objects.
@@ -44332,7 +45608,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.journal_entries.remote_field_classes_list() +client.accounting.payment_terms.list() ``` @@ -44356,7 +45632,7 @@ client.accounting.journal_entries.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.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -44364,7 +45640,7 @@ client.accounting.journal_entries.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_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -44372,7 +45648,7 @@ client.accounting.journal_entries.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). +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -44380,7 +45656,7 @@ client.accounting.journal_entries.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 +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -44408,8 +45684,7 @@ client.accounting.journal_entries.remote_field_classes_list()
-## Accounting LinkToken -
client.accounting.link_token.create(...) +
client.accounting.payment_terms.retrieve(...)
@@ -44421,7 +45696,7 @@ client.accounting.journal_entries.remote_field_classes_list()
-Creates a link token to be used when linking a new end user. +Returns a `PaymentTerm` object with the given `id`.
@@ -44437,17 +45712,13 @@ 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.accounting.payment_terms.retrieve( + id="id", ) ``` @@ -44464,86 +45735,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. +**id:** `str`
@@ -44551,12 +45743,7 @@ client.accounting.link_token.create(
-**language:** `typing.Optional[LanguageEnum]` - -The following subset of IETF language tags can be used to configure localization. - -* `en` - en -* `de` - de +**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -44564,7 +45751,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_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -44572,7 +45759,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_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -44592,8 +45779,8 @@ The following subset of IETF language tags can be used to configure localization
-## Accounting LinkedAccounts -
client.accounting.linked_accounts.list(...) +## Accounting Payments +
client.accounting.payments.list(...)
@@ -44605,7 +45792,7 @@ The following subset of IETF language tags can be used to configure localization
-List linked accounts for your organization. +Returns a list of `Payment` objects.
@@ -44626,7 +45813,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.linked_accounts.list() +client.accounting.payments.list() ``` @@ -44642,17 +45829,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 +**account_id:** `typing.Optional[str]` — If provided, will only return payments for this account.
@@ -44660,7 +45837,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**company_id:** `typing.Optional[str]` — If provided, will only return payments for this company.
@@ -44668,7 +45845,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. +**contact_id:** `typing.Optional[str]` — If provided, will only return payments for this contact.
@@ -44676,7 +45853,7 @@ 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. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -44684,7 +45861,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -44692,7 +45869,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -44700,7 +45877,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**id:** `typing.Optional[str]` +**expand:** `typing.Optional[PaymentsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -44708,7 +45885,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. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -44716,7 +45893,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. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -44724,7 +45901,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. +**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.
@@ -44732,7 +45909,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. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -44740,7 +45917,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -44748,7 +45925,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -44756,75 +45933,31 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
- -
- - - - -
- -## Accounting Passthrough -
client.accounting.passthrough.create(...) -
-
- -#### 📝 Description
-
-
- -Pull data from an endpoint not currently supported by Merge. -
-
+**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +
-#### 🔌 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.passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), -) - -``` -
-
+**transaction_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +
-#### ⚙️ Parameters - -
-
-
-**request:** `DataPassthroughRequest` +**transaction_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -44844,8 +45977,7 @@ client.accounting.passthrough.create(
-## Accounting PaymentMethods -
client.accounting.payment_methods.list(...) +
client.accounting.payments.create(...)
@@ -44857,7 +45989,7 @@ client.accounting.passthrough.create(
-Returns a list of `PaymentMethod` objects. +Creates a `Payment` object with the given values.
@@ -44873,12 +46005,15 @@ Returns a list of `PaymentMethod` objects. ```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.payment_methods.list() +client.accounting.payments.create( + model=PaymentRequest(), +) ``` @@ -44894,23 +46029,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/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**model:** `PaymentRequest`
@@ -44918,7 +46037,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). +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -44926,7 +46045,7 @@ client.accounting.payment_methods.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -44946,7 +46065,7 @@ client.accounting.payment_methods.list()
-
client.accounting.payment_methods.retrieve(...) +
client.accounting.payments.retrieve(...)
@@ -44958,7 +46077,7 @@ client.accounting.payment_methods.list()
-Returns a `PaymentMethod` object with the given `id`. +Returns a `Payment` object with the given `id`.
@@ -44979,7 +46098,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.payment_methods.retrieve( +client.accounting.payments.retrieve( id="id", ) @@ -45005,6 +46124,14 @@ client.accounting.payment_methods.retrieve(
+**expand:** `typing.Optional[PaymentsRetrieveRequestExpand]` — 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.
@@ -45013,6 +46140,14 @@ client.accounting.payment_methods.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).
@@ -45033,8 +46168,7 @@ client.accounting.payment_methods.retrieve(
-## Accounting PaymentTerms -
client.accounting.payment_terms.list(...) +
client.accounting.payments.partial_update(...)
@@ -45046,7 +46180,7 @@ client.accounting.payment_methods.retrieve(
-Returns a list of `PaymentTerm` objects. +Updates a `Payment` object with the given `id`.
@@ -45062,12 +46196,16 @@ Returns a list of `PaymentTerm` objects. ```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.payment_terms.list() +client.accounting.payments.partial_update( + id="id", + model=PatchedPaymentRequest(), +) ``` @@ -45083,23 +46221,7 @@ 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/). +**id:** `str`
@@ -45107,7 +46229,7 @@ client.accounting.payment_terms.list()
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**model:** `PatchedPaymentRequest`
@@ -45115,7 +46237,7 @@ client.accounting.payment_terms.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.
@@ -45123,7 +46245,7 @@ client.accounting.payment_terms.list()
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -45143,7 +46265,7 @@ client.accounting.payment_terms.list()
-
client.accounting.payment_terms.retrieve(...) +
client.accounting.payments.line_items_remote_field_classes_list(...)
@@ -45155,7 +46277,7 @@ client.accounting.payment_terms.list()
-Returns a `PaymentTerm` object with the given `id`. +Returns a list of `RemoteFieldClass` objects.
@@ -45176,9 +46298,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.payment_terms.retrieve( - id="id", -) +client.accounting.payments.line_items_remote_field_classes_list() ``` @@ -45194,7 +46314,7 @@ client.accounting.payment_terms.retrieve(
-**id:** `str` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -45202,7 +46322,7 @@ client.accounting.payment_terms.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_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -45226,69 +46346,15 @@ client.accounting.payment_terms.retrieve(
-**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
- -
- - - - -
- -## Accounting Payments -
client.accounting.payments.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `Payment` objects. -
-
-
-
- -#### 🔌 Usage - -
-
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.payments.list() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**account_id:** `typing.Optional[str]` — If provided, will only return payments for this account. +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value
@@ -45296,7 +46362,7 @@ client.accounting.payments.list()
-**company_id:** `typing.Optional[str]` — If provided, will only return payments for this company. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -45304,119 +46370,70 @@ client.accounting.payments.list()
-**contact_id:** `typing.Optional[str]` — If provided, will only return payments for 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.meta_patch_retrieve(...)
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
+#### 📝 Description
-**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/). - +Returns metadata for `Payment` PATCHs.
- -
-
- -**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). - -
-
-
-**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.accounting.payments.meta_patch_retrieve( + id="id", +) -**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. - -
-
+#### ⚙️ Parameters
-**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. +**id:** `str`
@@ -45436,7 +46453,7 @@ client.accounting.payments.list()
-
client.accounting.payments.create(...) +
client.accounting.payments.meta_post_retrieve()
@@ -45448,7 +46465,7 @@ client.accounting.payments.list()
-Creates a `Payment` object with the given values. +Returns metadata for `Payment` POSTs.
@@ -45464,15 +46481,12 @@ Creates a `Payment` object with the given values. ```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(), -) +client.accounting.payments.meta_post_retrieve() ``` @@ -45488,30 +46502,6 @@ client.accounting.payments.create(
-**model:** `PaymentRequest` - -
-
- -
-
- -**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.
@@ -45524,7 +46514,7 @@ client.accounting.payments.create(
-
client.accounting.payments.retrieve(...) +
client.accounting.payments.remote_field_classes_list(...)
@@ -45536,7 +46526,7 @@ client.accounting.payments.create(
-Returns a `Payment` object with the given `id`. +Returns a list of `RemoteFieldClass` objects.
@@ -45557,9 +46547,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.payments.retrieve( - id="id", -) +client.accounting.payments.remote_field_classes_list() ``` @@ -45575,7 +46563,7 @@ client.accounting.payments.retrieve(
-**id:** `str` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -45583,7 +46571,7 @@ 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. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -45599,7 +46587,7 @@ client.accounting.payments.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).
@@ -45607,7 +46595,23 @@ client.accounting.payments.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.
@@ -45627,7 +46631,8 @@ client.accounting.payments.retrieve(
-
client.accounting.payments.partial_update(...) +## Accounting PhoneNumbers +
client.accounting.phone_numbers.retrieve(...)
@@ -45639,7 +46644,7 @@ client.accounting.payments.retrieve(
-Updates a `Payment` object with the given `id`. +Returns an `AccountingPhoneNumber` object with the given `id`.
@@ -45655,15 +46660,13 @@ Updates a `Payment` object with the given `id`. ```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( +client.accounting.phone_numbers.retrieve( id="id", - model=PatchedPaymentRequest(), ) ``` @@ -45688,15 +46691,7 @@ client.accounting.payments.partial_update(
-**model:** `PatchedPaymentRequest` - -
-
- -
-
- -**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.
@@ -45704,7 +46699,7 @@ client.accounting.payments.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).
@@ -45724,7 +46719,8 @@ client.accounting.payments.partial_update(
-
client.accounting.payments.line_items_remote_field_classes_list(...) +## Accounting Projects +
client.accounting.projects.list(...)
@@ -45736,7 +46732,7 @@ client.accounting.payments.partial_update(
-Returns a list of `RemoteFieldClass` objects. +Returns a list of `Project` objects.
@@ -45757,7 +46753,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.payments.line_items_remote_field_classes_list() +client.accounting.projects.list() ``` @@ -45781,7 +46777,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/). +**expand:** `typing.Optional[ProjectsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -45789,7 +46785,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. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -45797,7 +46793,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). +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -45805,7 +46801,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 +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -45833,7 +46829,7 @@ client.accounting.payments.line_items_remote_field_classes_list()
-
client.accounting.payments.meta_patch_retrieve(...) +
client.accounting.projects.retrieve(...)
@@ -45845,7 +46841,7 @@ client.accounting.payments.line_items_remote_field_classes_list()
-Returns metadata for `Payment` PATCHs. +Returns a `Project` object with the given `id`.
@@ -45866,7 +46862,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.payments.meta_patch_retrieve( +client.accounting.projects.retrieve( id="id", ) @@ -45892,241 +46888,7 @@ client.accounting.payments.meta_patch_retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
- -
- - - - -
- -
client.accounting.payments.meta_post_retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Returns metadata for `Payment` POSTs. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.payments.meta_post_retrieve() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.accounting.payments.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.payments.remote_field_classes_list() - -``` -
-
-
-
- -#### ⚙️ 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 - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Accounting PhoneNumbers -
client.accounting.phone_numbers.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns an `AccountingPhoneNumber` 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.phone_numbers.retrieve( - id="id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` +**expand:** `typing.Optional[ProjectsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -46656,6 +47418,14 @@ 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 + +
+
+ +
+
+ **page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -46826,6 +47596,14 @@ 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 + +
+
+ +
+
+ **page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -47457,7 +48235,7 @@ client.accounting.tracking_categories.list()
-**name:** `typing.Optional[str]` — If provided, will only return TrackingCategories with this name. +**name:** `typing.Optional[str]` — If provided, will only return tracking categories with this name.
diff --git a/requirements.txt b/requirements.txt index f502f1b0..170f5122 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ httpx>=0.21.2 pydantic>= 1.9.2 -pydantic-core==^2.18.2 +pydantic-core==2.18.2 typing_extensions>= 4.0.0 diff --git a/src/merge/__init__.py b/src/merge/__init__.py index 56aa2f0a..813b9082 100644 --- a/src/merge/__init__.py +++ b/src/merge/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .resources import accounting, ats, crm, filestorage, hris, ticketing from .client import AsyncMerge, Merge from .environment import MergeEnvironment diff --git a/src/merge/client.py b/src/merge/client.py index 86e779de..d75a16a3 100644 --- a/src/merge/client.py +++ b/src/merge/client.py @@ -1,22 +1,16 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .environment import MergeEnvironment + import httpx -from .core.client_wrapper import SyncClientWrapper -from .resources.ats.client import AtsClient -from .resources.crm.client import CrmClient -from .resources.filestorage.client import FilestorageClient -from .resources.hris.client import HrisClient -from .resources.ticketing.client import TicketingClient -from .resources.accounting.client import AccountingClient -from .core.client_wrapper import AsyncClientWrapper -from .resources.ats.client import AsyncAtsClient -from .resources.crm.client import AsyncCrmClient -from .resources.filestorage.client import AsyncFilestorageClient -from .resources.hris.client import AsyncHrisClient -from .resources.ticketing.client import AsyncTicketingClient -from .resources.accounting.client import AsyncAccountingClient +from .core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .environment import MergeEnvironment +from .resources.accounting.client import AccountingClient, AsyncAccountingClient +from .resources.ats.client import AsyncAtsClient, AtsClient +from .resources.crm.client import AsyncCrmClient, CrmClient +from .resources.filestorage.client import AsyncFilestorageClient, FilestorageClient +from .resources.hris.client import AsyncHrisClient, HrisClient +from .resources.ticketing.client import AsyncTicketingClient, TicketingClient class Merge: @@ -84,10 +78,10 @@ def __init__( timeout=_defaulted_timeout, ) self.ats = AtsClient(client_wrapper=self._client_wrapper) - self.crm = CrmClient(client_wrapper=self._client_wrapper) self.filestorage = FilestorageClient(client_wrapper=self._client_wrapper) - self.hris = HrisClient(client_wrapper=self._client_wrapper) self.ticketing = TicketingClient(client_wrapper=self._client_wrapper) + self.crm = CrmClient(client_wrapper=self._client_wrapper) + self.hris = HrisClient(client_wrapper=self._client_wrapper) self.accounting = AccountingClient(client_wrapper=self._client_wrapper) @@ -156,10 +150,10 @@ def __init__( timeout=_defaulted_timeout, ) self.ats = AsyncAtsClient(client_wrapper=self._client_wrapper) - self.crm = AsyncCrmClient(client_wrapper=self._client_wrapper) self.filestorage = AsyncFilestorageClient(client_wrapper=self._client_wrapper) - self.hris = AsyncHrisClient(client_wrapper=self._client_wrapper) self.ticketing = AsyncTicketingClient(client_wrapper=self._client_wrapper) + self.crm = AsyncCrmClient(client_wrapper=self._client_wrapper) + self.hris = AsyncHrisClient(client_wrapper=self._client_wrapper) self.accounting = AsyncAccountingClient(client_wrapper=self._client_wrapper) diff --git a/src/merge/core/__init__.py b/src/merge/core/__init__.py index 5e3e640c..869898d7 100644 --- a/src/merge/core/__init__.py +++ b/src/merge/core/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .api_error import ApiError from .client_wrapper import AsyncClientWrapper, BaseClientWrapper, SyncClientWrapper from .datetime_utils import serialize_datetime diff --git a/src/merge/core/api_error.py b/src/merge/core/api_error.py index 2e9fc543..6f850a60 100644 --- a/src/merge/core/api_error.py +++ b/src/merge/core/api_error.py @@ -1,15 +1,23 @@ # This file was auto-generated by Fern from our API Definition. -import typing +from typing import Any, Dict, Optional class ApiError(Exception): - status_code: typing.Optional[int] - body: typing.Any + headers: Optional[Dict[str, str]] + status_code: Optional[int] + body: Any - def __init__(self, *, status_code: typing.Optional[int] = None, body: typing.Any = None): + def __init__( + self, + *, + headers: Optional[Dict[str, str]] = None, + status_code: Optional[int] = None, + body: Any = None, + ) -> None: + self.headers = headers self.status_code = status_code self.body = body def __str__(self) -> str: - return f"status_code: {self.status_code}, body: {self.body}" + return f"headers: {self.headers}, status_code: {self.status_code}, body: {self.body}" diff --git a/src/merge/core/client_wrapper.py b/src/merge/core/client_wrapper.py index 58be944d..013eaca0 100644 --- a/src/merge/core/client_wrapper.py +++ b/src/merge/core/client_wrapper.py @@ -1,9 +1,9 @@ # This file was auto-generated by Fern from our API Definition. import typing + import httpx -from .http_client import HttpClient -from .http_client import AsyncHttpClient +from .http_client import AsyncHttpClient, HttpClient class BaseClientWrapper: @@ -22,10 +22,10 @@ def __init__( def get_headers(self) -> typing.Dict[str, str]: headers: typing.Dict[str, str] = { - "User-Agent": "MergePythonClient/1.2.1", + "User-Agent": "MergePythonClient/2.0.0", "X-Fern-Language": "Python", "X-Fern-SDK-Name": "MergePythonClient", - "X-Fern-SDK-Version": "1.2.1", + "X-Fern-SDK-Version": "2.0.0", } if self._account_token is not None: headers["X-Account-Token"] = self._account_token diff --git a/src/merge/core/force_multipart.py b/src/merge/core/force_multipart.py new file mode 100644 index 00000000..ae24ccff --- /dev/null +++ b/src/merge/core/force_multipart.py @@ -0,0 +1,16 @@ +# This file was auto-generated by Fern from our API Definition. + + +class ForceMultipartDict(dict): + """ + A dictionary subclass that always evaluates to True in boolean contexts. + + This is used to force multipart/form-data encoding in HTTP requests even when + the dictionary is empty, which would normally evaluate to False. + """ + + def __bool__(self): + return True + + +FORCE_MULTIPART = ForceMultipartDict() diff --git a/src/merge/core/http_client.py b/src/merge/core/http_client.py index e7bd4f79..e4173f99 100644 --- a/src/merge/core/http_client.py +++ b/src/merge/core/http_client.py @@ -11,10 +11,12 @@ import httpx from .file import File, convert_file_dict_to_httpx_tuples +from .force_multipart import FORCE_MULTIPART from .jsonable_encoder import jsonable_encoder from .query_encoder import encode_query from .remove_none_from_dict import remove_none_from_dict from .request_options import RequestOptions +from httpx._types import RequestFiles INITIAL_RETRY_DELAY_SECONDS = 0.5 MAX_RETRY_DELAY_SECONDS = 10 @@ -178,11 +180,17 @@ def request( json: typing.Optional[typing.Any] = None, data: typing.Optional[typing.Any] = None, content: typing.Optional[typing.Union[bytes, typing.Iterator[bytes], typing.AsyncIterator[bytes]]] = None, - files: typing.Optional[typing.Dict[str, typing.Optional[typing.Union[File, typing.List[File]]]]] = None, + files: typing.Optional[ + typing.Union[ + typing.Dict[str, typing.Optional[typing.Union[File, typing.List[File]]]], + typing.List[typing.Tuple[str, File]], + ] + ] = None, headers: typing.Optional[typing.Dict[str, typing.Any]] = None, request_options: typing.Optional[RequestOptions] = None, retries: int = 2, omit: typing.Optional[typing.Any] = None, + force_multipart: typing.Optional[bool] = None, ) -> httpx.Response: base_url = self.get_base_url(base_url) timeout = ( @@ -193,6 +201,15 @@ def request( json_body, data_body = get_request_body(json=json, data=data, request_options=request_options, omit=omit) + request_files: typing.Optional[RequestFiles] = ( + convert_file_dict_to_httpx_tuples(remove_omit_from_dict(remove_none_from_dict(files), omit)) + if (files is not None and files is not omit and isinstance(files, dict)) + else None + ) + + if (request_files is None or len(request_files) == 0) and force_multipart: + request_files = FORCE_MULTIPART + response = self.httpx_client.request( method=method, url=urllib.parse.urljoin(f"{base_url}/", path), @@ -225,11 +242,7 @@ def request( json=json_body, data=data_body, content=content, - files=( - convert_file_dict_to_httpx_tuples(remove_omit_from_dict(remove_none_from_dict(files), omit)) - if (files is not None and files is not omit) - else None - ), + files=request_files, timeout=timeout, ) @@ -264,11 +277,17 @@ def stream( json: typing.Optional[typing.Any] = None, data: typing.Optional[typing.Any] = None, content: typing.Optional[typing.Union[bytes, typing.Iterator[bytes], typing.AsyncIterator[bytes]]] = None, - files: typing.Optional[typing.Dict[str, typing.Optional[typing.Union[File, typing.List[File]]]]] = None, + files: typing.Optional[ + typing.Union[ + typing.Dict[str, typing.Optional[typing.Union[File, typing.List[File]]]], + typing.List[typing.Tuple[str, File]], + ] + ] = None, headers: typing.Optional[typing.Dict[str, typing.Any]] = None, request_options: typing.Optional[RequestOptions] = None, retries: int = 2, omit: typing.Optional[typing.Any] = None, + force_multipart: typing.Optional[bool] = None, ) -> typing.Iterator[httpx.Response]: base_url = self.get_base_url(base_url) timeout = ( @@ -277,6 +296,15 @@ def stream( else self.base_timeout() ) + request_files: typing.Optional[RequestFiles] = ( + convert_file_dict_to_httpx_tuples(remove_omit_from_dict(remove_none_from_dict(files), omit)) + if (files is not None and files is not omit and isinstance(files, dict)) + else None + ) + + if (request_files is None or len(request_files) == 0) and force_multipart: + request_files = FORCE_MULTIPART + json_body, data_body = get_request_body(json=json, data=data, request_options=request_options, omit=omit) with self.httpx_client.stream( @@ -311,11 +339,7 @@ def stream( json=json_body, data=data_body, content=content, - files=( - convert_file_dict_to_httpx_tuples(remove_omit_from_dict(remove_none_from_dict(files), omit)) - if (files is not None and files is not omit) - else None - ), + files=request_files, timeout=timeout, ) as stream: yield stream @@ -354,11 +378,17 @@ async def request( json: typing.Optional[typing.Any] = None, data: typing.Optional[typing.Any] = None, content: typing.Optional[typing.Union[bytes, typing.Iterator[bytes], typing.AsyncIterator[bytes]]] = None, - files: typing.Optional[typing.Dict[str, typing.Optional[typing.Union[File, typing.List[File]]]]] = None, + files: typing.Optional[ + typing.Union[ + typing.Dict[str, typing.Optional[typing.Union[File, typing.List[File]]]], + typing.List[typing.Tuple[str, File]], + ] + ] = None, headers: typing.Optional[typing.Dict[str, typing.Any]] = None, request_options: typing.Optional[RequestOptions] = None, retries: int = 2, omit: typing.Optional[typing.Any] = None, + force_multipart: typing.Optional[bool] = None, ) -> httpx.Response: base_url = self.get_base_url(base_url) timeout = ( @@ -367,6 +397,15 @@ async def request( else self.base_timeout() ) + request_files: typing.Optional[RequestFiles] = ( + convert_file_dict_to_httpx_tuples(remove_omit_from_dict(remove_none_from_dict(files), omit)) + if (files is not None and files is not omit and isinstance(files, dict)) + else None + ) + + if (request_files is None or len(request_files) == 0) and force_multipart: + request_files = FORCE_MULTIPART + json_body, data_body = get_request_body(json=json, data=data, request_options=request_options, omit=omit) # Add the input to each of these and do None-safety checks @@ -402,11 +441,7 @@ async def request( json=json_body, data=data_body, content=content, - files=( - convert_file_dict_to_httpx_tuples(remove_omit_from_dict(remove_none_from_dict(files), omit)) - if files is not None - else None - ), + files=request_files, timeout=timeout, ) @@ -440,11 +475,17 @@ async def stream( json: typing.Optional[typing.Any] = None, data: typing.Optional[typing.Any] = None, content: typing.Optional[typing.Union[bytes, typing.Iterator[bytes], typing.AsyncIterator[bytes]]] = None, - files: typing.Optional[typing.Dict[str, typing.Optional[typing.Union[File, typing.List[File]]]]] = None, + files: typing.Optional[ + typing.Union[ + typing.Dict[str, typing.Optional[typing.Union[File, typing.List[File]]]], + typing.List[typing.Tuple[str, File]], + ] + ] = None, headers: typing.Optional[typing.Dict[str, typing.Any]] = None, request_options: typing.Optional[RequestOptions] = None, retries: int = 2, omit: typing.Optional[typing.Any] = None, + force_multipart: typing.Optional[bool] = None, ) -> typing.AsyncIterator[httpx.Response]: base_url = self.get_base_url(base_url) timeout = ( @@ -453,6 +494,15 @@ async def stream( else self.base_timeout() ) + request_files: typing.Optional[RequestFiles] = ( + convert_file_dict_to_httpx_tuples(remove_omit_from_dict(remove_none_from_dict(files), omit)) + if (files is not None and files is not omit and isinstance(files, dict)) + else None + ) + + if (request_files is None or len(request_files) == 0) and force_multipart: + request_files = FORCE_MULTIPART + json_body, data_body = get_request_body(json=json, data=data, request_options=request_options, omit=omit) async with self.httpx_client.stream( @@ -487,11 +537,7 @@ async def stream( json=json_body, data=data_body, content=content, - files=( - convert_file_dict_to_httpx_tuples(remove_omit_from_dict(remove_none_from_dict(files), omit)) - if files is not None - else None - ), + files=request_files, timeout=timeout, ) as stream: yield stream diff --git a/src/merge/core/http_response.py b/src/merge/core/http_response.py index c72a9130..48a1798a 100644 --- a/src/merge/core/http_response.py +++ b/src/merge/core/http_response.py @@ -5,20 +5,31 @@ import httpx T = TypeVar("T") +"""Generic to represent the underlying type of the data wrapped by the HTTP response.""" -class HttpResponse(Generic[T]): +class BaseHttpResponse: + """Minimalist HTTP response wrapper that exposes response headers.""" + _response: httpx.Response - _data: T - def __init__(self, response: httpx.Response, data: T): + def __init__(self, response: httpx.Response): self._response = response - self._data = data @property def headers(self) -> Dict[str, str]: return dict(self._response.headers) + +class HttpResponse(Generic[T], BaseHttpResponse): + """HTTP response wrapper that exposes response headers and data.""" + + _data: T + + def __init__(self, response: httpx.Response, data: T): + super().__init__(response) + self._data = data + @property def data(self) -> T: return self._data @@ -27,18 +38,15 @@ def close(self) -> None: self._response.close() -class AsyncHttpResponse(Generic[T]): - _response: httpx.Response +class AsyncHttpResponse(Generic[T], BaseHttpResponse): + """HTTP response wrapper that exposes response headers and data.""" + _data: T def __init__(self, response: httpx.Response, data: T): - self._response = response + super().__init__(response) self._data = data - @property - def headers(self) -> Dict[str, str]: - return dict(self._response.headers) - @property def data(self) -> T: return self._data diff --git a/src/merge/core/pydantic_utilities.py b/src/merge/core/pydantic_utilities.py index ac370dcc..6bea25f3 100644 --- a/src/merge/core/pydantic_utilities.py +++ b/src/merge/core/pydantic_utilities.py @@ -2,74 +2,52 @@ # nopycln: file import datetime as dt -import typing from collections import defaultdict +from typing import Any, Callable, Dict, List, Mapping, Tuple, Type, TypeVar, Union, cast import pydantic -import typing_extensions -from .datetime_utils import serialize_datetime IS_PYDANTIC_V2 = pydantic.VERSION.startswith("2.") if IS_PYDANTIC_V2: - # isort will try to reformat the comments on these imports, which breaks mypy - # isort: off - from pydantic.v1.datetime_parse import ( # type: ignore # pyright: ignore[reportMissingImports] # Pydantic v2 - parse_date as parse_date, - ) - from pydantic.v1.datetime_parse import ( # pyright: ignore[reportMissingImports] # Pydantic v2 - parse_datetime as parse_datetime, - ) - from pydantic.v1.json import ( # type: ignore # pyright: ignore[reportMissingImports] # Pydantic v2 - ENCODERS_BY_TYPE as encoders_by_type, - ) - from pydantic.v1.typing import ( # type: ignore # pyright: ignore[reportMissingImports] # Pydantic v2 - get_args as get_args, - ) - from pydantic.v1.typing import ( # pyright: ignore[reportMissingImports] # Pydantic v2 - get_origin as get_origin, - ) - from pydantic.v1.typing import ( # pyright: ignore[reportMissingImports] # Pydantic v2 - is_literal_type as is_literal_type, - ) - from pydantic.v1.typing import ( # pyright: ignore[reportMissingImports] # Pydantic v2 - is_union as is_union, - ) - from pydantic.v1.fields import ModelField as ModelField # type: ignore # pyright: ignore[reportMissingImports] # Pydantic v2 + from pydantic.v1.datetime_parse import parse_date as parse_date + from pydantic.v1.datetime_parse import parse_datetime as parse_datetime + from pydantic.v1.fields import ModelField as ModelField + from pydantic.v1.json import ENCODERS_BY_TYPE as encoders_by_type # type: ignore[attr-defined] + from pydantic.v1.typing import get_args as get_args + from pydantic.v1.typing import get_origin as get_origin + from pydantic.v1.typing import is_literal_type as is_literal_type + from pydantic.v1.typing import is_union as is_union else: - from pydantic.datetime_parse import parse_date as parse_date # type: ignore # Pydantic v1 - from pydantic.datetime_parse import parse_datetime as parse_datetime # type: ignore # Pydantic v1 - from pydantic.fields import ModelField as ModelField # type: ignore # Pydantic v1 - from pydantic.json import ENCODERS_BY_TYPE as encoders_by_type # type: ignore # Pydantic v1 - from pydantic.typing import get_args as get_args # type: ignore # Pydantic v1 - from pydantic.typing import get_origin as get_origin # type: ignore # Pydantic v1 - from pydantic.typing import is_literal_type as is_literal_type # type: ignore # Pydantic v1 - from pydantic.typing import is_union as is_union # type: ignore # Pydantic v1 - - # isort: on + from pydantic.datetime_parse import parse_date as parse_date # type: ignore[no-redef] + from pydantic.datetime_parse import parse_datetime as parse_datetime # type: ignore[no-redef] + from pydantic.fields import ModelField as ModelField # type: ignore[attr-defined, no-redef] + from pydantic.json import ENCODERS_BY_TYPE as encoders_by_type # type: ignore[no-redef] + from pydantic.typing import get_args as get_args # type: ignore[no-redef] + from pydantic.typing import get_origin as get_origin # type: ignore[no-redef] + from pydantic.typing import is_literal_type as is_literal_type # type: ignore[no-redef] + from pydantic.typing import is_union as is_union # type: ignore[no-redef] +from .datetime_utils import serialize_datetime +from typing_extensions import TypeAlias -T = typing.TypeVar("T") -Model = typing.TypeVar("Model", bound=pydantic.BaseModel) +T = TypeVar("T") +Model = TypeVar("Model", bound=pydantic.BaseModel) -def parse_obj_as(type_: typing.Type[T], object_: typing.Any) -> T: +def parse_obj_as(type_: Type[T], object_: Any) -> T: if IS_PYDANTIC_V2: - adapter = pydantic.TypeAdapter(type_) # type: ignore # Pydantic v2 + adapter = pydantic.TypeAdapter(type_) # type: ignore[attr-defined] return adapter.validate_python(object_) - else: - return pydantic.parse_obj_as(type_, object_) + return pydantic.parse_obj_as(type_, object_) -def to_jsonable_with_fallback( - obj: typing.Any, fallback_serializer: typing.Callable[[typing.Any], typing.Any] -) -> typing.Any: +def to_jsonable_with_fallback(obj: Any, fallback_serializer: Callable[[Any], Any]) -> Any: if IS_PYDANTIC_V2: from pydantic_core import to_jsonable_python return to_jsonable_python(obj, fallback=fallback_serializer) - else: - return fallback_serializer(obj) + return fallback_serializer(obj) class UniversalBaseModel(pydantic.BaseModel): @@ -81,18 +59,17 @@ class Config: # Allow fields beginning with `model_` to be used in the model protected_namespaces = () - def json(self, **kwargs: typing.Any) -> str: - kwargs_with_defaults: typing.Any = { + def json(self, **kwargs: Any) -> str: + kwargs_with_defaults = { "by_alias": True, "exclude_unset": True, **kwargs, } if IS_PYDANTIC_V2: - return super().model_dump_json(**kwargs_with_defaults) # type: ignore # Pydantic v2 - else: - return super().json(**kwargs_with_defaults) + return super().model_dump_json(**kwargs_with_defaults) # type: ignore[misc] + return super().json(**kwargs_with_defaults) - def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]: + def dict(self, **kwargs: Any) -> Dict[str, Any]: """ Override the default dict method to `exclude_unset` by default. This function patches `exclude_unset` to work include fields within non-None default values. @@ -103,56 +80,53 @@ def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]: # We'd ideally do the same for Pydantic V2, but it shells out to a library to serialize models # that we have less control over, and this is less intrusive than custom serializers for now. if IS_PYDANTIC_V2: - kwargs_with_defaults_exclude_unset: typing.Any = { + kwargs_with_defaults_exclude_unset = { **kwargs, "by_alias": True, "exclude_unset": True, "exclude_none": False, } - kwargs_with_defaults_exclude_none: typing.Any = { + kwargs_with_defaults_exclude_none = { **kwargs, "by_alias": True, "exclude_none": True, "exclude_unset": False, } return deep_union_pydantic_dicts( - super().model_dump(**kwargs_with_defaults_exclude_unset), # type: ignore # Pydantic v2 - super().model_dump(**kwargs_with_defaults_exclude_none), # type: ignore # Pydantic v2 + super().model_dump(**kwargs_with_defaults_exclude_unset), # type: ignore[misc] + super().model_dump(**kwargs_with_defaults_exclude_none), # type: ignore[misc] ) - else: - _fields_set = self.__fields_set__.copy() + _fields_set = self.__fields_set__.copy() - fields = _get_model_fields(self.__class__) - for name, field in fields.items(): - if name not in _fields_set: - default = _get_field_default(field) + fields = _get_model_fields(self.__class__) + for name, field in fields.items(): + if name not in _fields_set: + default = _get_field_default(field) - # If the default values are non-null act like they've been set - # This effectively allows exclude_unset to work like exclude_none where - # the latter passes through intentionally set none values. - if default is not None or ("exclude_unset" in kwargs and not kwargs["exclude_unset"]): - _fields_set.add(name) + # If the default values are non-null act like they've been set + # This effectively allows exclude_unset to work like exclude_none where + # the latter passes through intentionally set none values. + if default is not None or ("exclude_unset" in kwargs and not kwargs["exclude_unset"]): + _fields_set.add(name) - if default is not None: - self.__fields_set__.add(name) + if default is not None: + self.__fields_set__.add(name) - kwargs_with_defaults_exclude_unset_include_fields: typing.Any = { - "by_alias": True, - "exclude_unset": True, - "include": _fields_set, - **kwargs, - } + kwargs_with_defaults_exclude_unset_include_fields = { + "by_alias": True, + "exclude_unset": True, + "include": _fields_set, + **kwargs, + } - return super().dict(**kwargs_with_defaults_exclude_unset_include_fields) + return super().dict(**kwargs_with_defaults_exclude_unset_include_fields) -def _union_list_of_pydantic_dicts( - source: typing.List[typing.Any], destination: typing.List[typing.Any] -) -> typing.List[typing.Any]: - converted_list: typing.List[typing.Any] = [] +def _union_list_of_pydantic_dicts(source: List[Any], destination: List[Any]) -> List[Any]: + converted_list: List[Any] = [] for i, item in enumerate(source): - destination_value = destination[i] # type: ignore + destination_value = destination[i] if isinstance(item, dict): converted_list.append(deep_union_pydantic_dicts(item, destination_value)) elif isinstance(item, list): @@ -162,9 +136,7 @@ def _union_list_of_pydantic_dicts( return converted_list -def deep_union_pydantic_dicts( - source: typing.Dict[str, typing.Any], destination: typing.Dict[str, typing.Any] -) -> typing.Dict[str, typing.Any]: +def deep_union_pydantic_dicts(source: Dict[str, Any], destination: Dict[str, Any]) -> Dict[str, Any]: for key, value in source.items(): node = destination.setdefault(key, {}) if isinstance(value, dict): @@ -182,18 +154,16 @@ def deep_union_pydantic_dicts( if IS_PYDANTIC_V2: - class V2RootModel(UniversalBaseModel, pydantic.RootModel): # type: ignore # Pydantic v2 + class V2RootModel(UniversalBaseModel, pydantic.RootModel): # type: ignore[name-defined, type-arg] pass - UniversalRootModel: typing_extensions.TypeAlias = V2RootModel # type: ignore + UniversalRootModel: TypeAlias = V2RootModel else: - UniversalRootModel: typing_extensions.TypeAlias = UniversalBaseModel # type: ignore + UniversalRootModel: TypeAlias = UniversalBaseModel # type: ignore[misc, no-redef] -def encode_by_type(o: typing.Any) -> typing.Any: - encoders_by_class_tuples: typing.Dict[typing.Callable[[typing.Any], typing.Any], typing.Tuple[typing.Any, ...]] = ( - defaultdict(tuple) - ) +def encode_by_type(o: Any) -> Any: + encoders_by_class_tuples: Dict[Callable[[Any], Any], Tuple[Any, ...]] = defaultdict(tuple) for type_, encoder in encoders_by_type.items(): encoders_by_class_tuples[encoder] += (type_,) @@ -204,54 +174,47 @@ def encode_by_type(o: typing.Any) -> typing.Any: return encoder(o) -def update_forward_refs(model: typing.Type["Model"], **localns: typing.Any) -> None: +def update_forward_refs(model: Type["Model"], **localns: Any) -> None: if IS_PYDANTIC_V2: - model.model_rebuild(raise_errors=False) # type: ignore # Pydantic v2 + model.model_rebuild(raise_errors=False) # type: ignore[attr-defined] else: model.update_forward_refs(**localns) # Mirrors Pydantic's internal typing -AnyCallable = typing.Callable[..., typing.Any] +AnyCallable = Callable[..., Any] -def universal_root_validator( - pre: bool = False, -) -> typing.Callable[[AnyCallable], AnyCallable]: +def universal_root_validator(pre: bool = False) -> Callable[[AnyCallable], AnyCallable]: def decorator(func: AnyCallable) -> AnyCallable: if IS_PYDANTIC_V2: - return pydantic.model_validator(mode="before" if pre else "after")(func) # type: ignore # Pydantic v2 - else: - return pydantic.root_validator(pre=pre)(func) # type: ignore # Pydantic v1 + return cast(AnyCallable, pydantic.model_validator(mode="before" if pre else "after")(func)) # type: ignore[attr-defined] + return cast(AnyCallable, pydantic.root_validator(pre=pre)(func)) # type: ignore[call-overload] return decorator -def universal_field_validator(field_name: str, pre: bool = False) -> typing.Callable[[AnyCallable], AnyCallable]: +def universal_field_validator(field_name: str, pre: bool = False) -> Callable[[AnyCallable], AnyCallable]: def decorator(func: AnyCallable) -> AnyCallable: if IS_PYDANTIC_V2: - return pydantic.field_validator(field_name, mode="before" if pre else "after")(func) # type: ignore # Pydantic v2 - else: - return pydantic.validator(field_name, pre=pre)(func) # type: ignore # Pydantic v1 + return cast(AnyCallable, pydantic.field_validator(field_name, mode="before" if pre else "after")(func)) # type: ignore[attr-defined] + return cast(AnyCallable, pydantic.validator(field_name, pre=pre)(func)) return decorator -PydanticField = typing.Union[ModelField, pydantic.fields.FieldInfo] +PydanticField = Union[ModelField, pydantic.fields.FieldInfo] -def _get_model_fields( - model: typing.Type["Model"], -) -> typing.Mapping[str, PydanticField]: +def _get_model_fields(model: Type["Model"]) -> Mapping[str, PydanticField]: if IS_PYDANTIC_V2: - return model.model_fields # type: ignore # Pydantic v2 - else: - return model.__fields__ # type: ignore # Pydantic v1 + return cast(Mapping[str, PydanticField], model.model_fields) # type: ignore[attr-defined] + return cast(Mapping[str, PydanticField], model.__fields__) -def _get_field_default(field: PydanticField) -> typing.Any: +def _get_field_default(field: PydanticField) -> Any: try: - value = field.get_default() # type: ignore # Pydantic < v1.10.15 + value = field.get_default() # type: ignore[union-attr] except: value = field.default if IS_PYDANTIC_V2: diff --git a/src/merge/resources/__init__.py b/src/merge/resources/__init__.py index 5189f663..2df9aa79 100644 --- a/src/merge/resources/__init__.py +++ b/src/merge/resources/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from . import accounting, ats, crm, filestorage, hris, ticketing __all__ = ["accounting", "ats", "crm", "filestorage", "hris", "ticketing"] diff --git a/src/merge/resources/accounting/__init__.py b/src/merge/resources/accounting/__init__.py index 3706241c..d457fc48 100644 --- a/src/merge/resources/accounting/__init__.py +++ b/src/merge/resources/accounting/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import ( Account, AccountAccountType, @@ -8,8 +10,11 @@ AccountCurrency, AccountDetails, AccountDetailsAndActions, + AccountDetailsAndActionsCategory, AccountDetailsAndActionsIntegration, + AccountDetailsAndActionsStatus, AccountDetailsAndActionsStatusEnum, + AccountDetailsCategory, AccountIntegration, AccountRequest, AccountRequestAccountType, @@ -98,10 +103,14 @@ CreditNoteCurrency, CreditNoteLineItem, CreditNoteLineItemCompany, + CreditNoteLineItemContact, CreditNoteLineItemItem, + CreditNoteLineItemProject, CreditNoteLineItemRequest, CreditNoteLineItemRequestCompany, + CreditNoteLineItemRequestContact, CreditNoteLineItemRequestItem, + CreditNoteLineItemRequestProject, CreditNotePaymentsItem, CreditNoteRequest, CreditNoteRequestAccountingPeriod, @@ -119,6 +128,7 @@ CreditNoteTrackingCategoriesItem, CreditOrDebitEnum, DataPassthroughRequest, + DataPassthroughRequestMethod, DebugModeLog, DebugModelLogSummary, Employee, @@ -141,12 +151,14 @@ ExpenseLineCurrency, ExpenseLineEmployee, ExpenseLineItem, + ExpenseLineProject, ExpenseLineRequest, ExpenseLineRequestAccount, ExpenseLineRequestContact, ExpenseLineRequestCurrency, ExpenseLineRequestEmployee, ExpenseLineRequestItem, + ExpenseLineRequestProject, ExpenseLineRequestTrackingCategoriesItem, ExpenseLineRequestTrackingCategory, ExpenseLineTrackingCategoriesItem, @@ -185,6 +197,7 @@ GeneralLedgerTransactionLineContact, GeneralLedgerTransactionLineEmployee, GeneralLedgerTransactionLineItem, + GeneralLedgerTransactionLineProject, GeneralLedgerTransactionLineTrackingCategoriesItem, GeneralLedgerTransactionLineTransactionCurrency, GeneralLedgerTransactionTrackingCategoriesItem, @@ -205,14 +218,18 @@ InvoiceEmployee, InvoiceLineItem, InvoiceLineItemAccount, + InvoiceLineItemContact, InvoiceLineItemCurrency, InvoiceLineItemEmployee, InvoiceLineItemItem, + InvoiceLineItemProject, InvoiceLineItemRequest, InvoiceLineItemRequestAccount, + InvoiceLineItemRequestContact, InvoiceLineItemRequestCurrency, InvoiceLineItemRequestEmployee, InvoiceLineItemRequestItem, + InvoiceLineItemRequestProject, InvoiceLineItemRequestTrackingCategoriesItem, InvoiceLineItemRequestTrackingCategory, InvoiceLineItemTrackingCategoriesItem, @@ -245,6 +262,15 @@ ItemFormatEnum, ItemPurchaseAccount, ItemPurchaseTaxRate, + ItemRequestRequest, + ItemRequestRequestCompany, + ItemRequestRequestPurchaseAccount, + ItemRequestRequestPurchaseTaxRate, + ItemRequestRequestSalesAccount, + ItemRequestRequestSalesTaxRate, + ItemRequestRequestStatus, + ItemRequestRequestType, + ItemResponse, ItemSalesAccount, ItemSalesTaxRate, ItemSchema, @@ -268,9 +294,11 @@ JournalLine, JournalLineAccount, JournalLineCurrency, + JournalLineProject, JournalLineRequest, JournalLineRequestAccount, JournalLineRequestCurrency, + JournalLineRequestProject, JournalLineRequestTrackingCategoriesItem, JournalLineRequestTrackingCategory, JournalLineTrackingCategoriesItem, @@ -310,6 +338,7 @@ PaginatedPaymentList, PaginatedPaymentMethodList, PaginatedPaymentTermList, + PaginatedProjectList, PaginatedPurchaseOrderList, PaginatedRemoteFieldClassList, PaginatedSyncStatusList, @@ -317,6 +346,9 @@ PaginatedTrackingCategoryList, PaginatedTransactionList, PaginatedVendorCreditList, + PatchedItemRequestRequest, + PatchedItemRequestRequestStatus, + PatchedItemRequestRequestType, PatchedPaymentRequest, PatchedPaymentRequestAccount, PatchedPaymentRequestAccountingPeriod, @@ -356,6 +388,9 @@ PaymentType, PaymentTypeEnum, PostingStatusEnum, + Project, + ProjectCompany, + ProjectContact, PurchaseOrder, PurchaseOrderAccountingPeriod, PurchaseOrderCompany, @@ -402,6 +437,7 @@ Status895Enum, StatusFd5Enum, SyncStatus, + SyncStatusStatus, TaxComponent, TaxComponentComponentType, TaxRate, @@ -422,6 +458,7 @@ TransactionLineItemCurrency, TransactionLineItemItem, TransactionTrackingCategoriesItem, + Type2BbEnum, UnderlyingTransactionTypeEnum, ValidationProblemSource, VendorCredit, @@ -436,8 +473,12 @@ VendorCreditCurrency, VendorCreditLine, VendorCreditLineAccount, + VendorCreditLineContact, + VendorCreditLineProject, VendorCreditLineRequest, VendorCreditLineRequestAccount, + VendorCreditLineRequestContact, + VendorCreditLineRequestProject, VendorCreditRequest, VendorCreditRequestAccountingPeriod, VendorCreditRequestCompany, @@ -466,6 +507,7 @@ CreditNotesRetrieveRequestExpand, CreditNotesRetrieveRequestRemoteFields, CreditNotesRetrieveRequestShowEnumOrigins, + EndUserDetailsRequestLanguage, ExpensesListRequestExpand, ExpensesRetrieveRequestExpand, GeneralLedgerTransactionsListRequestExpand, @@ -482,6 +524,8 @@ LinkedAccountsListRequestCategory, PaymentsListRequestExpand, PaymentsRetrieveRequestExpand, + ProjectsListRequestExpand, + ProjectsRetrieveRequestExpand, PurchaseOrdersListRequestExpand, PurchaseOrdersRetrieveRequestExpand, TransactionsListRequestExpand, @@ -524,6 +568,7 @@ payment_terms, payments, phone_numbers, + projects, purchase_orders, regenerate_key, scopes, @@ -543,8 +588,11 @@ "AccountCurrency", "AccountDetails", "AccountDetailsAndActions", + "AccountDetailsAndActionsCategory", "AccountDetailsAndActionsIntegration", + "AccountDetailsAndActionsStatus", "AccountDetailsAndActionsStatusEnum", + "AccountDetailsCategory", "AccountIntegration", "AccountRequest", "AccountRequestAccountType", @@ -642,10 +690,14 @@ "CreditNoteCurrency", "CreditNoteLineItem", "CreditNoteLineItemCompany", + "CreditNoteLineItemContact", "CreditNoteLineItemItem", + "CreditNoteLineItemProject", "CreditNoteLineItemRequest", "CreditNoteLineItemRequestCompany", + "CreditNoteLineItemRequestContact", "CreditNoteLineItemRequestItem", + "CreditNoteLineItemRequestProject", "CreditNotePaymentsItem", "CreditNoteRequest", "CreditNoteRequestAccountingPeriod", @@ -669,6 +721,7 @@ "CreditNotesRetrieveRequestShowEnumOrigins", "CreditOrDebitEnum", "DataPassthroughRequest", + "DataPassthroughRequestMethod", "DebugModeLog", "DebugModelLogSummary", "Employee", @@ -676,6 +729,7 @@ "EmployeeStatus", "EnabledActionsEnum", "EncodingEnum", + "EndUserDetailsRequestLanguage", "ErrorValidationProblem", "EventTypeEnum", "Expense", @@ -691,12 +745,14 @@ "ExpenseLineCurrency", "ExpenseLineEmployee", "ExpenseLineItem", + "ExpenseLineProject", "ExpenseLineRequest", "ExpenseLineRequestAccount", "ExpenseLineRequestContact", "ExpenseLineRequestCurrency", "ExpenseLineRequestEmployee", "ExpenseLineRequestItem", + "ExpenseLineRequestProject", "ExpenseLineRequestTrackingCategoriesItem", "ExpenseLineRequestTrackingCategory", "ExpenseLineTrackingCategoriesItem", @@ -737,6 +793,7 @@ "GeneralLedgerTransactionLineContact", "GeneralLedgerTransactionLineEmployee", "GeneralLedgerTransactionLineItem", + "GeneralLedgerTransactionLineProject", "GeneralLedgerTransactionLineTrackingCategoriesItem", "GeneralLedgerTransactionLineTransactionCurrency", "GeneralLedgerTransactionTrackingCategoriesItem", @@ -759,14 +816,18 @@ "InvoiceEmployee", "InvoiceLineItem", "InvoiceLineItemAccount", + "InvoiceLineItemContact", "InvoiceLineItemCurrency", "InvoiceLineItemEmployee", "InvoiceLineItemItem", + "InvoiceLineItemProject", "InvoiceLineItemRequest", "InvoiceLineItemRequestAccount", + "InvoiceLineItemRequestContact", "InvoiceLineItemRequestCurrency", "InvoiceLineItemRequestEmployee", "InvoiceLineItemRequestItem", + "InvoiceLineItemRequestProject", "InvoiceLineItemRequestTrackingCategoriesItem", "InvoiceLineItemRequestTrackingCategory", "InvoiceLineItemTrackingCategoriesItem", @@ -804,6 +865,15 @@ "ItemFormatEnum", "ItemPurchaseAccount", "ItemPurchaseTaxRate", + "ItemRequestRequest", + "ItemRequestRequestCompany", + "ItemRequestRequestPurchaseAccount", + "ItemRequestRequestPurchaseTaxRate", + "ItemRequestRequestSalesAccount", + "ItemRequestRequestSalesTaxRate", + "ItemRequestRequestStatus", + "ItemRequestRequestType", + "ItemResponse", "ItemSalesAccount", "ItemSalesTaxRate", "ItemSchema", @@ -831,9 +901,11 @@ "JournalLine", "JournalLineAccount", "JournalLineCurrency", + "JournalLineProject", "JournalLineRequest", "JournalLineRequestAccount", "JournalLineRequestCurrency", + "JournalLineRequestProject", "JournalLineRequestTrackingCategoriesItem", "JournalLineRequestTrackingCategory", "JournalLineTrackingCategoriesItem", @@ -874,6 +946,7 @@ "PaginatedPaymentList", "PaginatedPaymentMethodList", "PaginatedPaymentTermList", + "PaginatedProjectList", "PaginatedPurchaseOrderList", "PaginatedRemoteFieldClassList", "PaginatedSyncStatusList", @@ -881,6 +954,9 @@ "PaginatedTrackingCategoryList", "PaginatedTransactionList", "PaginatedVendorCreditList", + "PatchedItemRequestRequest", + "PatchedItemRequestRequestStatus", + "PatchedItemRequestRequestType", "PatchedPaymentRequest", "PatchedPaymentRequestAccount", "PatchedPaymentRequestAccountingPeriod", @@ -922,6 +998,11 @@ "PaymentsListRequestExpand", "PaymentsRetrieveRequestExpand", "PostingStatusEnum", + "Project", + "ProjectCompany", + "ProjectContact", + "ProjectsListRequestExpand", + "ProjectsRetrieveRequestExpand", "PurchaseOrder", "PurchaseOrderAccountingPeriod", "PurchaseOrderCompany", @@ -970,6 +1051,7 @@ "Status895Enum", "StatusFd5Enum", "SyncStatus", + "SyncStatusStatus", "TaxComponent", "TaxComponentComponentType", "TaxRate", @@ -992,6 +1074,7 @@ "TransactionTrackingCategoriesItem", "TransactionsListRequestExpand", "TransactionsRetrieveRequestExpand", + "Type2BbEnum", "UnderlyingTransactionTypeEnum", "ValidationProblemSource", "VendorCredit", @@ -1006,8 +1089,12 @@ "VendorCreditCurrency", "VendorCreditLine", "VendorCreditLineAccount", + "VendorCreditLineContact", + "VendorCreditLineProject", "VendorCreditLineRequest", "VendorCreditLineRequestAccount", + "VendorCreditLineRequestContact", + "VendorCreditLineRequestProject", "VendorCreditRequest", "VendorCreditRequestAccountingPeriod", "VendorCreditRequestCompany", @@ -1057,6 +1144,7 @@ "payment_terms", "payments", "phone_numbers", + "projects", "purchase_orders", "regenerate_key", "scopes", diff --git a/src/merge/resources/accounting/client.py b/src/merge/resources/accounting/client.py index 35f651ac..856b2583 100644 --- a/src/merge/resources/accounting/client.py +++ b/src/merge/resources/accounting/client.py @@ -1,103 +1,62 @@ # This file was auto-generated by Fern from our API Definition. -from ...core.client_wrapper import SyncClientWrapper -from .raw_client import RawAccountingClient -from .resources.account_details.client import AccountDetailsClient -from .resources.account_token.client import AccountTokenClient -from .resources.accounting_periods.client import AccountingPeriodsClient -from .resources.accounts.client import AccountsClient -from .resources.addresses.client import AddressesClient +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .raw_client import AsyncRawAccountingClient, RawAccountingClient +from .resources.account_details.client import AccountDetailsClient, AsyncAccountDetailsClient +from .resources.account_token.client import AccountTokenClient, AsyncAccountTokenClient +from .resources.accounting_periods.client import AccountingPeriodsClient, AsyncAccountingPeriodsClient +from .resources.accounts.client import AccountsClient, AsyncAccountsClient +from .resources.addresses.client import AddressesClient, AsyncAddressesClient +from .resources.async_passthrough.client import AsyncAsyncPassthroughClient from .resources.async_passthrough.client import ( AsyncPassthroughClient as resources_accounting_resources_async_passthrough_client_AsyncPassthroughClient, ) -from .resources.async_tasks.client import AsyncTasksClient -from .resources.attachments.client import AttachmentsClient -from .resources.audit_trail.client import AuditTrailClient -from .resources.available_actions.client import AvailableActionsClient -from .resources.balance_sheets.client import BalanceSheetsClient -from .resources.bank_feed_accounts.client import BankFeedAccountsClient -from .resources.bank_feed_transactions.client import BankFeedTransactionsClient -from .resources.cash_flow_statements.client import CashFlowStatementsClient -from .resources.company_info.client import CompanyInfoClient -from .resources.contacts.client import ContactsClient -from .resources.credit_notes.client import CreditNotesClient -from .resources.scopes.client import ScopesClient -from .resources.delete_account.client import DeleteAccountClient -from .resources.employees.client import EmployeesClient -from .resources.expenses.client import ExpensesClient -from .resources.field_mapping.client import FieldMappingClient -from .resources.general_ledger_transactions.client import GeneralLedgerTransactionsClient -from .resources.generate_key.client import GenerateKeyClient -from .resources.income_statements.client import IncomeStatementsClient -from .resources.invoices.client import InvoicesClient -from .resources.issues.client import IssuesClient -from .resources.items.client import ItemsClient -from .resources.journal_entries.client import JournalEntriesClient -from .resources.link_token.client import LinkTokenClient -from .resources.linked_accounts.client import LinkedAccountsClient -from .resources.passthrough.client import PassthroughClient -from .resources.payment_methods.client import PaymentMethodsClient -from .resources.payment_terms.client import PaymentTermsClient -from .resources.payments.client import PaymentsClient -from .resources.phone_numbers.client import PhoneNumbersClient -from .resources.purchase_orders.client import PurchaseOrdersClient -from .resources.regenerate_key.client import RegenerateKeyClient -from .resources.sync_status.client import SyncStatusClient -from .resources.force_resync.client import ForceResyncClient -from .resources.tax_rates.client import TaxRatesClient -from .resources.tracking_categories.client import TrackingCategoriesClient -from .resources.transactions.client import TransactionsClient -from .resources.vendor_credits.client import VendorCreditsClient -from .resources.webhook_receivers.client import WebhookReceiversClient -from ...core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAccountingClient -from .resources.account_details.client import AsyncAccountDetailsClient -from .resources.account_token.client import AsyncAccountTokenClient -from .resources.accounting_periods.client import AsyncAccountingPeriodsClient -from .resources.accounts.client import AsyncAccountsClient -from .resources.addresses.client import AsyncAddressesClient -from .resources.async_passthrough.client import AsyncAsyncPassthroughClient -from .resources.async_tasks.client import AsyncAsyncTasksClient -from .resources.attachments.client import AsyncAttachmentsClient -from .resources.audit_trail.client import AsyncAuditTrailClient -from .resources.available_actions.client import AsyncAvailableActionsClient -from .resources.balance_sheets.client import AsyncBalanceSheetsClient -from .resources.bank_feed_accounts.client import AsyncBankFeedAccountsClient -from .resources.bank_feed_transactions.client import AsyncBankFeedTransactionsClient -from .resources.cash_flow_statements.client import AsyncCashFlowStatementsClient -from .resources.company_info.client import AsyncCompanyInfoClient -from .resources.contacts.client import AsyncContactsClient -from .resources.credit_notes.client import AsyncCreditNotesClient -from .resources.scopes.client import AsyncScopesClient -from .resources.delete_account.client import AsyncDeleteAccountClient -from .resources.employees.client import AsyncEmployeesClient -from .resources.expenses.client import AsyncExpensesClient -from .resources.field_mapping.client import AsyncFieldMappingClient -from .resources.general_ledger_transactions.client import AsyncGeneralLedgerTransactionsClient -from .resources.generate_key.client import AsyncGenerateKeyClient -from .resources.income_statements.client import AsyncIncomeStatementsClient -from .resources.invoices.client import AsyncInvoicesClient -from .resources.issues.client import AsyncIssuesClient -from .resources.items.client import AsyncItemsClient -from .resources.journal_entries.client import AsyncJournalEntriesClient -from .resources.link_token.client import AsyncLinkTokenClient -from .resources.linked_accounts.client import AsyncLinkedAccountsClient +from .resources.async_tasks.client import AsyncAsyncTasksClient, AsyncTasksClient +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.balance_sheets.client import AsyncBalanceSheetsClient, BalanceSheetsClient +from .resources.bank_feed_accounts.client import AsyncBankFeedAccountsClient, BankFeedAccountsClient +from .resources.bank_feed_transactions.client import AsyncBankFeedTransactionsClient, BankFeedTransactionsClient +from .resources.cash_flow_statements.client import AsyncCashFlowStatementsClient, CashFlowStatementsClient +from .resources.company_info.client import AsyncCompanyInfoClient, CompanyInfoClient +from .resources.contacts.client import AsyncContactsClient, ContactsClient +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.expenses.client import AsyncExpensesClient, ExpensesClient +from .resources.field_mapping.client import AsyncFieldMappingClient, FieldMappingClient +from .resources.force_resync.client import AsyncForceResyncClient, ForceResyncClient +from .resources.general_ledger_transactions.client import ( + AsyncGeneralLedgerTransactionsClient, + GeneralLedgerTransactionsClient, +) +from .resources.generate_key.client import AsyncGenerateKeyClient, GenerateKeyClient +from .resources.income_statements.client import AsyncIncomeStatementsClient, IncomeStatementsClient +from .resources.invoices.client import AsyncInvoicesClient, InvoicesClient +from .resources.issues.client import AsyncIssuesClient, IssuesClient +from .resources.items.client import AsyncItemsClient, ItemsClient +from .resources.journal_entries.client import AsyncJournalEntriesClient, JournalEntriesClient +from .resources.link_token.client import AsyncLinkTokenClient, LinkTokenClient +from .resources.linked_accounts.client import AsyncLinkedAccountsClient, LinkedAccountsClient from .resources.passthrough.client import ( AsyncPassthroughClient as resources_accounting_resources_passthrough_client_AsyncPassthroughClient, ) -from .resources.payment_methods.client import AsyncPaymentMethodsClient -from .resources.payment_terms.client import AsyncPaymentTermsClient -from .resources.payments.client import AsyncPaymentsClient -from .resources.phone_numbers.client import AsyncPhoneNumbersClient -from .resources.purchase_orders.client import AsyncPurchaseOrdersClient -from .resources.regenerate_key.client import AsyncRegenerateKeyClient -from .resources.sync_status.client import AsyncSyncStatusClient -from .resources.force_resync.client import AsyncForceResyncClient -from .resources.tax_rates.client import AsyncTaxRatesClient -from .resources.tracking_categories.client import AsyncTrackingCategoriesClient -from .resources.transactions.client import AsyncTransactionsClient -from .resources.vendor_credits.client import AsyncVendorCreditsClient -from .resources.webhook_receivers.client import AsyncWebhookReceiversClient +from .resources.passthrough.client import PassthroughClient +from .resources.payment_methods.client import AsyncPaymentMethodsClient, PaymentMethodsClient +from .resources.payment_terms.client import AsyncPaymentTermsClient, PaymentTermsClient +from .resources.payments.client import AsyncPaymentsClient, PaymentsClient +from .resources.phone_numbers.client import AsyncPhoneNumbersClient, PhoneNumbersClient +from .resources.projects.client import AsyncProjectsClient, ProjectsClient +from .resources.purchase_orders.client import AsyncPurchaseOrdersClient, PurchaseOrdersClient +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.tax_rates.client import AsyncTaxRatesClient, TaxRatesClient +from .resources.tracking_categories.client import AsyncTrackingCategoriesClient, TrackingCategoriesClient +from .resources.transactions.client import AsyncTransactionsClient, TransactionsClient +from .resources.vendor_credits.client import AsyncVendorCreditsClient, VendorCreditsClient +from .resources.webhook_receivers.client import AsyncWebhookReceiversClient, WebhookReceiversClient class AccountingClient: @@ -177,6 +136,8 @@ def __init__(self, *, client_wrapper: SyncClientWrapper): self.phone_numbers = PhoneNumbersClient(client_wrapper=client_wrapper) + self.projects = ProjectsClient(client_wrapper=client_wrapper) + self.purchase_orders = PurchaseOrdersClient(client_wrapper=client_wrapper) self.regenerate_key = RegenerateKeyClient(client_wrapper=client_wrapper) @@ -284,6 +245,8 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper): self.phone_numbers = AsyncPhoneNumbersClient(client_wrapper=client_wrapper) + self.projects = AsyncProjectsClient(client_wrapper=client_wrapper) + self.purchase_orders = AsyncPurchaseOrdersClient(client_wrapper=client_wrapper) self.regenerate_key = AsyncRegenerateKeyClient(client_wrapper=client_wrapper) diff --git a/src/merge/resources/accounting/raw_client.py b/src/merge/resources/accounting/raw_client.py index b910330a..2922a11c 100644 --- a/src/merge/resources/accounting/raw_client.py +++ b/src/merge/resources/accounting/raw_client.py @@ -1,7 +1,6 @@ # This file was auto-generated by Fern from our API Definition. -from ...core.client_wrapper import SyncClientWrapper -from ...core.client_wrapper import AsyncClientWrapper +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper class RawAccountingClient: diff --git a/src/merge/resources/accounting/resources/__init__.py b/src/merge/resources/accounting/resources/__init__.py index 61ff7856..b80f6cff 100644 --- a/src/merge/resources/accounting/resources/__init__.py +++ b/src/merge/resources/accounting/resources/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from . import ( account_details, account_token, @@ -37,6 +39,7 @@ payment_terms, payments, phone_numbers, + projects, purchase_orders, regenerate_key, scopes, @@ -78,8 +81,10 @@ from .issues import IssuesListRequestStatus from .items import ItemsListRequestExpand, ItemsRetrieveRequestExpand from .journal_entries import JournalEntriesListRequestExpand, JournalEntriesRetrieveRequestExpand +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 .transactions import TransactionsListRequestExpand, TransactionsRetrieveRequestExpand from .vendor_credits import VendorCreditsListRequestExpand, VendorCreditsRetrieveRequestExpand @@ -100,6 +105,7 @@ "CreditNotesRetrieveRequestExpand", "CreditNotesRetrieveRequestRemoteFields", "CreditNotesRetrieveRequestShowEnumOrigins", + "EndUserDetailsRequestLanguage", "ExpensesListRequestExpand", "ExpensesRetrieveRequestExpand", "GeneralLedgerTransactionsListRequestExpand", @@ -116,6 +122,8 @@ "LinkedAccountsListRequestCategory", "PaymentsListRequestExpand", "PaymentsRetrieveRequestExpand", + "ProjectsListRequestExpand", + "ProjectsRetrieveRequestExpand", "PurchaseOrdersListRequestExpand", "PurchaseOrdersRetrieveRequestExpand", "TransactionsListRequestExpand", @@ -158,6 +166,7 @@ "payment_terms", "payments", "phone_numbers", + "projects", "purchase_orders", "regenerate_key", "scopes", diff --git a/src/merge/resources/accounting/resources/account_details/__init__.py b/src/merge/resources/accounting/resources/account_details/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/accounting/resources/account_details/__init__.py +++ b/src/merge/resources/accounting/resources/account_details/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/accounting/resources/account_details/client.py b/src/merge/resources/accounting/resources/account_details/client.py index eb785dc1..ea5a309a 100644 --- a/src/merge/resources/accounting/resources/account_details/client.py +++ b/src/merge/resources/accounting/resources/account_details/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAccountDetailsClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.account_details import AccountDetails -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAccountDetailsClient +from .raw_client import AsyncRawAccountDetailsClient, RawAccountDetailsClient class AccountDetailsClient: @@ -48,8 +47,8 @@ def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) - ) client.accounting.account_details.retrieve() """ - response = self._raw_client.retrieve(request_options=request_options) - return response.data + _response = self._raw_client.retrieve(request_options=request_options) + return _response.data class AsyncAccountDetailsClient: @@ -99,5 +98,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.retrieve(request_options=request_options) + return _response.data diff --git a/src/merge/resources/accounting/resources/account_details/raw_client.py b/src/merge/resources/accounting/resources/account_details/raw_client.py index 287e2d75..8545113d 100644 --- a/src/merge/resources/accounting/resources/account_details/raw_client.py +++ b/src/merge/resources/accounting/resources/account_details/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.account_details import AccountDetails -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -47,8 +46,8 @@ def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) - return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -88,5 +87,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/account_token/__init__.py b/src/merge/resources/accounting/resources/account_token/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/accounting/resources/account_token/__init__.py +++ b/src/merge/resources/accounting/resources/account_token/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/accounting/resources/account_token/client.py b/src/merge/resources/accounting/resources/account_token/client.py index c7d9a5c1..d48bdcfd 100644 --- a/src/merge/resources/accounting/resources/account_token/client.py +++ b/src/merge/resources/accounting/resources/account_token/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAccountTokenClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.account_token import AccountToken -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAccountTokenClient +from .raw_client import AsyncRawAccountTokenClient, RawAccountTokenClient class AccountTokenClient: @@ -52,8 +51,8 @@ def retrieve(self, public_token: str, *, request_options: typing.Optional[Reques public_token="public_token", ) """ - response = self._raw_client.retrieve(public_token, request_options=request_options) - return response.data + _response = self._raw_client.retrieve(public_token, request_options=request_options) + return _response.data class AsyncAccountTokenClient: @@ -109,5 +108,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(public_token, request_options=request_options) - return response.data + _response = await self._raw_client.retrieve(public_token, request_options=request_options) + return _response.data diff --git a/src/merge/resources/accounting/resources/account_token/raw_client.py b/src/merge/resources/accounting/resources/account_token/raw_client.py index ee688eb3..a788d970 100644 --- a/src/merge/resources/accounting/resources/account_token/raw_client.py +++ b/src/merge/resources/accounting/resources/account_token/raw_client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.account_token import AccountToken -from .....core.jsonable_encoder import jsonable_encoder -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -52,8 +51,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -95,5 +94,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/accounting_periods/__init__.py b/src/merge/resources/accounting/resources/accounting_periods/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/accounting/resources/accounting_periods/__init__.py +++ b/src/merge/resources/accounting/resources/accounting_periods/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/accounting/resources/accounting_periods/client.py b/src/merge/resources/accounting/resources/accounting_periods/client.py index 25fc3e2c..4008dfb9 100644 --- a/src/merge/resources/accounting/resources/accounting_periods/client.py +++ b/src/merge/resources/accounting/resources/accounting_periods/client.py @@ -1,13 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAccountingPeriodsClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_accounting_period_list import PaginatedAccountingPeriodList from ...types.accounting_period import AccountingPeriod -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAccountingPeriodsClient +from ...types.paginated_accounting_period_list import PaginatedAccountingPeriodList +from .raw_client import AsyncRawAccountingPeriodsClient, RawAccountingPeriodsClient class AccountingPeriodsClient: @@ -73,7 +72,7 @@ def list( ) client.accounting.accounting_periods.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -81,7 +80,7 @@ def list( page_size=page_size, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -124,13 +123,13 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncAccountingPeriodsClient: @@ -204,7 +203,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -212,7 +211,7 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -263,10 +262,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data 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 9e664514..08e2b4e3 100644 --- a/src/merge/resources/accounting/resources/accounting_periods/raw_client.py +++ b/src/merge/resources/accounting/resources/accounting_periods/raw_client.py @@ -1,17 +1,16 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_accounting_period_list import PaginatedAccountingPeriodList -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.accounting_period import AccountingPeriod +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type +from ...types.accounting_period import AccountingPeriod +from ...types.paginated_accounting_period_list import PaginatedAccountingPeriodList class RawAccountingPeriodsClient: @@ -80,8 +79,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -133,8 +132,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawAccountingPeriodsClient: @@ -203,8 +202,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -256,5 +255,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/accounts/__init__.py b/src/merge/resources/accounting/resources/accounts/__init__.py index 1637f5d7..938fba47 100644 --- a/src/merge/resources/accounting/resources/accounts/__init__.py +++ b/src/merge/resources/accounting/resources/accounts/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import ( AccountsListRequestRemoteFields, AccountsListRequestShowEnumOrigins, diff --git a/src/merge/resources/accounting/resources/accounts/client.py b/src/merge/resources/accounting/resources/accounts/client.py index 162a5e4c..66260f6f 100644 --- a/src/merge/resources/accounting/resources/accounts/client.py +++ b/src/merge/resources/accounting/resources/accounts/client.py @@ -1,21 +1,20 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAccountsClient import datetime as dt -from .types.accounts_list_request_remote_fields import AccountsListRequestRemoteFields -from .types.accounts_list_request_show_enum_origins import AccountsListRequestShowEnumOrigins +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_account_list import PaginatedAccountList +from ...types.account import Account from ...types.account_request import AccountRequest from ...types.account_response import AccountResponse +from ...types.meta_response import MetaResponse +from ...types.paginated_account_list import PaginatedAccountList +from .raw_client import AsyncRawAccountsClient, RawAccountsClient +from .types.accounts_list_request_remote_fields import AccountsListRequestRemoteFields +from .types.accounts_list_request_show_enum_origins import AccountsListRequestShowEnumOrigins from .types.accounts_retrieve_request_remote_fields import AccountsRetrieveRequestRemoteFields from .types.accounts_retrieve_request_show_enum_origins import AccountsRetrieveRequestShowEnumOrigins -from ...types.account import Account -from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAccountsClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -40,6 +39,7 @@ def list( self, *, account_type: typing.Optional[str] = None, + classification: typing.Optional[str] = None, company_id: typing.Optional[str] = None, created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, @@ -64,7 +64,10 @@ def list( Parameters ---------- account_type : typing.Optional[str] - If provided, will only provide accounts with the passed in enum. + If provided, will only return accounts with the passed in enum. + + classification : typing.Optional[str] + If provided, will only return accounts with this classification. company_id : typing.Optional[str] If provided, will only return accounts for this company. @@ -132,8 +135,9 @@ def list( ) client.accounting.accounts.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( account_type=account_type, + classification=classification, company_id=company_id, created_after=created_after, created_before=created_before, @@ -152,7 +156,7 @@ def list( status=status, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -196,10 +200,10 @@ def create( model=AccountRequest(), ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options ) - return response.data + return _response.data def retrieve( self, @@ -254,7 +258,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -263,7 +267,7 @@ def retrieve( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -289,8 +293,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.accounting.accounts.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data class AsyncAccountsClient: @@ -312,6 +316,7 @@ async def list( self, *, account_type: typing.Optional[str] = None, + classification: typing.Optional[str] = None, company_id: typing.Optional[str] = None, created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, @@ -336,7 +341,10 @@ async def list( Parameters ---------- account_type : typing.Optional[str] - If provided, will only provide accounts with the passed in enum. + If provided, will only return accounts with the passed in enum. + + classification : typing.Optional[str] + If provided, will only return accounts with this classification. company_id : typing.Optional[str] If provided, will only return accounts for this company. @@ -412,8 +420,9 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( account_type=account_type, + classification=classification, company_id=company_id, created_after=created_after, created_before=created_before, @@ -432,7 +441,7 @@ async def main() -> None: status=status, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -484,10 +493,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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 + return _response.data async def retrieve( self, @@ -550,7 +559,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -559,7 +568,7 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -593,5 +602,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data diff --git a/src/merge/resources/accounting/resources/accounts/raw_client.py b/src/merge/resources/accounting/resources/accounts/raw_client.py index c4a9028f..f8389c62 100644 --- a/src/merge/resources/accounting/resources/accounts/raw_client.py +++ b/src/merge/resources/accounting/resources/accounts/raw_client.py @@ -1,26 +1,25 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .types.accounts_list_request_remote_fields import AccountsListRequestRemoteFields -from .types.accounts_list_request_show_enum_origins import AccountsListRequestShowEnumOrigins -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_account_list import PaginatedAccountList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +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.account import Account from ...types.account_request import AccountRequest from ...types.account_response import AccountResponse +from ...types.meta_response import MetaResponse +from ...types.paginated_account_list import PaginatedAccountList +from .types.accounts_list_request_remote_fields import AccountsListRequestRemoteFields +from .types.accounts_list_request_show_enum_origins import AccountsListRequestShowEnumOrigins from .types.accounts_retrieve_request_remote_fields import AccountsRetrieveRequestRemoteFields from .types.accounts_retrieve_request_show_enum_origins import AccountsRetrieveRequestShowEnumOrigins -from ...types.account import Account -from .....core.jsonable_encoder import jsonable_encoder -from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -34,6 +33,7 @@ def list( self, *, account_type: typing.Optional[str] = None, + classification: typing.Optional[str] = None, company_id: typing.Optional[str] = None, created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, @@ -58,7 +58,10 @@ def list( Parameters ---------- account_type : typing.Optional[str] - If provided, will only provide accounts with the passed in enum. + If provided, will only return accounts with the passed in enum. + + classification : typing.Optional[str] + If provided, will only return accounts with this classification. company_id : typing.Optional[str] If provided, will only return accounts for this company. @@ -121,6 +124,7 @@ def list( method="GET", params={ "account_type": account_type, + "classification": classification, "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, @@ -152,8 +156,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -212,8 +216,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -280,8 +284,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -316,8 +320,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawAccountsClient: @@ -328,6 +332,7 @@ async def list( self, *, account_type: typing.Optional[str] = None, + classification: typing.Optional[str] = None, company_id: typing.Optional[str] = None, created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, @@ -352,7 +357,10 @@ async def list( Parameters ---------- account_type : typing.Optional[str] - If provided, will only provide accounts with the passed in enum. + If provided, will only return accounts with the passed in enum. + + classification : typing.Optional[str] + If provided, will only return accounts with this classification. company_id : typing.Optional[str] If provided, will only return accounts for this company. @@ -415,6 +423,7 @@ async def list( method="GET", params={ "account_type": account_type, + "classification": classification, "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, @@ -446,8 +455,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -506,8 +515,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -574,8 +583,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -610,5 +619,5 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/accounts/types/__init__.py b/src/merge/resources/accounting/resources/accounts/types/__init__.py index 3d0584bf..9095cb38 100644 --- a/src/merge/resources/accounting/resources/accounts/types/__init__.py +++ b/src/merge/resources/accounting/resources/accounts/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .accounts_list_request_remote_fields import AccountsListRequestRemoteFields from .accounts_list_request_show_enum_origins import AccountsListRequestShowEnumOrigins from .accounts_retrieve_request_remote_fields import AccountsRetrieveRequestRemoteFields diff --git a/src/merge/resources/accounting/resources/addresses/__init__.py b/src/merge/resources/accounting/resources/addresses/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/accounting/resources/addresses/__init__.py +++ b/src/merge/resources/accounting/resources/addresses/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/accounting/resources/addresses/client.py b/src/merge/resources/accounting/resources/addresses/client.py index 891d32cd..2add6ff1 100644 --- a/src/merge/resources/accounting/resources/addresses/client.py +++ b/src/merge/resources/accounting/resources/addresses/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAddressesClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.address import Address -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAddressesClient +from .raw_client import AsyncRawAddressesClient, RawAddressesClient class AddressesClient: @@ -73,7 +72,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, include_remote_data=include_remote_data, include_shell_data=include_shell_data, @@ -81,7 +80,7 @@ def retrieve( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data class AsyncAddressesClient: @@ -156,7 +155,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, include_remote_data=include_remote_data, include_shell_data=include_shell_data, @@ -164,4 +163,4 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data diff --git a/src/merge/resources/accounting/resources/addresses/raw_client.py b/src/merge/resources/accounting/resources/addresses/raw_client.py index 3692188a..1c6fc0b8 100644 --- a/src/merge/resources/accounting/resources/addresses/raw_client.py +++ b/src/merge/resources/accounting/resources/addresses/raw_client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.address import Address -from .....core.jsonable_encoder import jsonable_encoder -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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.address import Address class RawAddressesClient: @@ -77,8 +76,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawAddressesClient: @@ -145,5 +144,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/async_passthrough/__init__.py b/src/merge/resources/accounting/resources/async_passthrough/__init__.py index cb869002..4767933f 100644 --- a/src/merge/resources/accounting/resources/async_passthrough/__init__.py +++ b/src/merge/resources/accounting/resources/async_passthrough/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import AsyncPassthroughRetrieveResponse __all__ = ["AsyncPassthroughRetrieveResponse"] diff --git a/src/merge/resources/accounting/resources/async_passthrough/client.py b/src/merge/resources/accounting/resources/async_passthrough/client.py index fca1609e..224d35b8 100644 --- a/src/merge/resources/accounting/resources/async_passthrough/client.py +++ b/src/merge/resources/accounting/resources/async_passthrough/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAsyncPassthroughClient -from ...types.data_passthrough_request import DataPassthroughRequest + +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 -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAsyncPassthroughClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -63,8 +62,8 @@ def create( ), ) """ - response = self._raw_client.create(request=request, request_options=request_options) - return response.data + _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 @@ -96,8 +95,8 @@ def 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 + _response = self._raw_client.retrieve(async_passthrough_receipt_id, request_options=request_options) + return _response.data class AsyncAsyncPassthroughClient: @@ -157,8 +156,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create(request=request, request_options=request_options) - return response.data + _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 @@ -198,5 +197,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(async_passthrough_receipt_id, request_options=request_options) - return response.data + _response = await self._raw_client.retrieve(async_passthrough_receipt_id, request_options=request_options) + return _response.data diff --git a/src/merge/resources/accounting/resources/async_passthrough/raw_client.py b/src/merge/resources/accounting/resources/async_passthrough/raw_client.py index 30486dc1..18375f3b 100644 --- a/src/merge/resources/accounting/resources/async_passthrough/raw_client.py +++ b/src/merge/resources/accounting/resources/async_passthrough/raw_client.py @@ -1,18 +1,17 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from ...types.data_passthrough_request import DataPassthroughRequest -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.async_passthrough_reciept import AsyncPassthroughReciept -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .types.async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -44,6 +43,9 @@ def create( "accounting/v1/async-passthrough", method="POST", json=request, + headers={ + "content-type": "application/json", + }, request_options=request_options, omit=OMIT, ) @@ -59,8 +61,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -97,8 +99,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -127,6 +129,9 @@ async def create( "accounting/v1/async-passthrough", method="POST", json=request, + headers={ + "content-type": "application/json", + }, request_options=request_options, omit=OMIT, ) @@ -142,8 +147,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -180,5 +185,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/async_passthrough/types/__init__.py b/src/merge/resources/accounting/resources/async_passthrough/types/__init__.py index caff085b..cb7e997d 100644 --- a/src/merge/resources/accounting/resources/async_passthrough/types/__init__.py +++ b/src/merge/resources/accounting/resources/async_passthrough/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse __all__ = ["AsyncPassthroughRetrieveResponse"] diff --git a/src/merge/resources/accounting/resources/async_passthrough/types/async_passthrough_retrieve_response.py b/src/merge/resources/accounting/resources/async_passthrough/types/async_passthrough_retrieve_response.py index 5a819dfd..f8f87c18 100644 --- a/src/merge/resources/accounting/resources/async_passthrough/types/async_passthrough_retrieve_response.py +++ b/src/merge/resources/accounting/resources/async_passthrough/types/async_passthrough_retrieve_response.py @@ -1,6 +1,7 @@ # 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/accounting/resources/async_tasks/__init__.py b/src/merge/resources/accounting/resources/async_tasks/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/accounting/resources/async_tasks/__init__.py +++ b/src/merge/resources/accounting/resources/async_tasks/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/accounting/resources/async_tasks/client.py b/src/merge/resources/accounting/resources/async_tasks/client.py index c9af2f6a..5bfcc07e 100644 --- a/src/merge/resources/accounting/resources/async_tasks/client.py +++ b/src/merge/resources/accounting/resources/async_tasks/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAsyncTasksClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.async_post_task import AsyncPostTask -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAsyncTasksClient +from .raw_client import AsyncRawAsyncTasksClient, RawAsyncTasksClient class AsyncTasksClient: @@ -52,8 +51,8 @@ def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] id="id", ) """ - response = self._raw_client.retrieve(id, request_options=request_options) - return response.data + _response = self._raw_client.retrieve(id, request_options=request_options) + return _response.data class AsyncAsyncTasksClient: @@ -107,5 +106,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(id, request_options=request_options) - return response.data + _response = await self._raw_client.retrieve(id, request_options=request_options) + return _response.data diff --git a/src/merge/resources/accounting/resources/async_tasks/raw_client.py b/src/merge/resources/accounting/resources/async_tasks/raw_client.py index 5533f6b4..593d5a4f 100644 --- a/src/merge/resources/accounting/resources/async_tasks/raw_client.py +++ b/src/merge/resources/accounting/resources/async_tasks/raw_client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.async_post_task import AsyncPostTask -from .....core.jsonable_encoder import jsonable_encoder -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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_post_task import AsyncPostTask class RawAsyncTasksClient: @@ -52,8 +51,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawAsyncTasksClient: @@ -95,5 +94,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/attachments/__init__.py b/src/merge/resources/accounting/resources/attachments/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/accounting/resources/attachments/__init__.py +++ b/src/merge/resources/accounting/resources/attachments/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/accounting/resources/attachments/client.py b/src/merge/resources/accounting/resources/attachments/client.py index 3faae96e..4cd8b43c 100644 --- a/src/merge/resources/accounting/resources/attachments/client.py +++ b/src/merge/resources/accounting/resources/attachments/client.py @@ -1,17 +1,16 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAttachmentsClient import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_accounting_attachment_list import PaginatedAccountingAttachmentList +from ...types.accounting_attachment import AccountingAttachment from ...types.accounting_attachment_request import AccountingAttachmentRequest from ...types.accounting_attachment_response import AccountingAttachmentResponse -from ...types.accounting_attachment import AccountingAttachment from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAttachmentsClient +from ...types.paginated_accounting_attachment_list import PaginatedAccountingAttachmentList +from .raw_client import AsyncRawAttachmentsClient, RawAttachmentsClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -104,7 +103,7 @@ def list( ) client.accounting.attachments.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -118,7 +117,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -162,10 +161,10 @@ def create( model=AccountingAttachmentRequest(), ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options ) - return response.data + return _response.data def retrieve( self, @@ -208,13 +207,13 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -240,8 +239,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.accounting.attachments.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data class AsyncAttachmentsClient: @@ -339,7 +338,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -353,7 +352,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -405,10 +404,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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 + return _response.data async def retrieve( self, @@ -459,13 +458,13 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -499,5 +498,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data diff --git a/src/merge/resources/accounting/resources/attachments/raw_client.py b/src/merge/resources/accounting/resources/attachments/raw_client.py index 9a786618..cd3fc403 100644 --- a/src/merge/resources/accounting/resources/attachments/raw_client.py +++ b/src/merge/resources/accounting/resources/attachments/raw_client.py @@ -1,22 +1,21 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_accounting_attachment_list import PaginatedAccountingAttachmentList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +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.accounting_attachment import AccountingAttachment from ...types.accounting_attachment_request import AccountingAttachmentRequest from ...types.accounting_attachment_response import AccountingAttachmentResponse -from ...types.accounting_attachment import AccountingAttachment -from .....core.jsonable_encoder import jsonable_encoder from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from ...types.paginated_accounting_attachment_list import PaginatedAccountingAttachmentList # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -118,8 +117,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -178,8 +177,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -231,8 +230,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -267,8 +266,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -367,8 +366,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -427,8 +426,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -480,8 +479,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -516,5 +515,5 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/audit_trail/__init__.py b/src/merge/resources/accounting/resources/audit_trail/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/accounting/resources/audit_trail/__init__.py +++ b/src/merge/resources/accounting/resources/audit_trail/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/accounting/resources/audit_trail/client.py b/src/merge/resources/accounting/resources/audit_trail/client.py index d4ca95fb..6d0d1886 100644 --- a/src/merge/resources/accounting/resources/audit_trail/client.py +++ b/src/merge/resources/accounting/resources/audit_trail/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAuditTrailClient 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 .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAuditTrailClient +from .raw_client import AsyncRawAuditTrailClient, RawAuditTrailClient class AuditTrailClient: @@ -47,7 +46,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`, `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`, `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. @@ -76,7 +75,7 @@ def list( ) client.accounting.audit_trail.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -85,7 +84,7 @@ def list( user_email=user_email, request_options=request_options, ) - return response.data + return _response.data class AsyncAuditTrailClient: @@ -126,7 +125,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`, `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`, `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. @@ -163,7 +162,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -172,4 +171,4 @@ async def main() -> None: user_email=user_email, request_options=request_options, ) - return response.data + 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 375ecbb3..02021d7c 100644 --- a/src/merge/resources/accounting/resources/audit_trail/raw_client.py +++ b/src/merge/resources/accounting/resources/audit_trail/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -39,7 +38,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`, `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`, `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. @@ -83,8 +82,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -114,7 +113,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`, `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`, `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. @@ -158,5 +157,5 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/available_actions/__init__.py b/src/merge/resources/accounting/resources/available_actions/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/accounting/resources/available_actions/__init__.py +++ b/src/merge/resources/accounting/resources/available_actions/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/accounting/resources/available_actions/client.py b/src/merge/resources/accounting/resources/available_actions/client.py index 046b6df8..e1f79dd6 100644 --- a/src/merge/resources/accounting/resources/available_actions/client.py +++ b/src/merge/resources/accounting/resources/available_actions/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAvailableActionsClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.available_actions import AvailableActions -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAvailableActionsClient +from .raw_client import AsyncRawAvailableActionsClient, RawAvailableActionsClient class AvailableActionsClient: @@ -48,8 +47,8 @@ def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) - ) client.accounting.available_actions.retrieve() """ - response = self._raw_client.retrieve(request_options=request_options) - return response.data + _response = self._raw_client.retrieve(request_options=request_options) + return _response.data class AsyncAvailableActionsClient: @@ -99,5 +98,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.retrieve(request_options=request_options) + return _response.data diff --git a/src/merge/resources/accounting/resources/available_actions/raw_client.py b/src/merge/resources/accounting/resources/available_actions/raw_client.py index 77b68896..03a2f720 100644 --- a/src/merge/resources/accounting/resources/available_actions/raw_client.py +++ b/src/merge/resources/accounting/resources/available_actions/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.available_actions import AvailableActions -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -47,8 +46,8 @@ def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) - return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -88,5 +87,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/balance_sheets/__init__.py b/src/merge/resources/accounting/resources/balance_sheets/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/accounting/resources/balance_sheets/__init__.py +++ b/src/merge/resources/accounting/resources/balance_sheets/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/accounting/resources/balance_sheets/client.py b/src/merge/resources/accounting/resources/balance_sheets/client.py index dead9ce3..3f90d213 100644 --- a/src/merge/resources/accounting/resources/balance_sheets/client.py +++ b/src/merge/resources/accounting/resources/balance_sheets/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawBalanceSheetsClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_balance_sheet_list import PaginatedBalanceSheetList from ...types.balance_sheet import BalanceSheet -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawBalanceSheetsClient +from ...types.paginated_balance_sheet_list import PaginatedBalanceSheetList +from .raw_client import AsyncRawBalanceSheetsClient, RawBalanceSheetsClient class BalanceSheetsClient: @@ -102,7 +101,7 @@ def list( ) client.accounting.balance_sheets.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -117,7 +116,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -164,14 +163,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncBalanceSheetsClient: @@ -273,7 +272,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -288,7 +287,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -343,11 +342,11 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data 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 50199a0e..b634d8d5 100644 --- a/src/merge/resources/accounting/resources/balance_sheets/raw_client.py +++ b/src/merge/resources/accounting/resources/balance_sheets/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_balance_sheet_list import PaginatedBalanceSheetList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.balance_sheet import BalanceSheet +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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 class RawBalanceSheetsClient: @@ -117,8 +116,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -175,8 +174,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawBalanceSheetsClient: @@ -280,8 +279,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -338,5 +337,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/bank_feed_accounts/__init__.py b/src/merge/resources/accounting/resources/bank_feed_accounts/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/accounting/resources/bank_feed_accounts/__init__.py +++ b/src/merge/resources/accounting/resources/bank_feed_accounts/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + 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 526157cf..b1368bdf 100644 --- a/src/merge/resources/accounting/resources/bank_feed_accounts/client.py +++ b/src/merge/resources/accounting/resources/bank_feed_accounts/client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawBankFeedAccountsClient + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_bank_feed_account_list import PaginatedBankFeedAccountList +from ...types.bank_feed_account import BankFeedAccount from ...types.bank_feed_account_request import BankFeedAccountRequest from ...types.bank_feed_account_response import BankFeedAccountResponse -from ...types.bank_feed_account import BankFeedAccount from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawBankFeedAccountsClient +from ...types.paginated_bank_feed_account_list import PaginatedBankFeedAccountList +from .raw_client import AsyncRawBankFeedAccountsClient, RawBankFeedAccountsClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -79,7 +78,7 @@ def list( ) client.accounting.bank_feed_accounts.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -87,7 +86,7 @@ def list( page_size=page_size, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -131,10 +130,10 @@ def create( model=BankFeedAccountRequest(), ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options ) - return response.data + return _response.data def retrieve( self, @@ -177,13 +176,13 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -209,8 +208,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.accounting.bank_feed_accounts.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data class AsyncBankFeedAccountsClient: @@ -284,7 +283,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -292,7 +291,7 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -344,10 +343,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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 + return _response.data async def retrieve( self, @@ -398,13 +397,13 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -438,5 +437,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data 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 6025509c..38da42e1 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 @@ -1,20 +1,19 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_bank_feed_account_list import PaginatedBankFeedAccountList -from .....core.unchecked_base_model import construct_type 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.bank_feed_account import BankFeedAccount from ...types.bank_feed_account_request import BankFeedAccountRequest from ...types.bank_feed_account_response import BankFeedAccountResponse -from ...types.bank_feed_account import BankFeedAccount -from .....core.jsonable_encoder import jsonable_encoder from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from ...types.paginated_bank_feed_account_list import PaginatedBankFeedAccountList # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -86,8 +85,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -146,8 +145,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -199,8 +198,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -235,8 +234,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawBankFeedAccountsClient: @@ -305,8 +304,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -365,8 +364,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -418,8 +417,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -454,5 +453,5 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/bank_feed_transactions/__init__.py b/src/merge/resources/accounting/resources/bank_feed_transactions/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/accounting/resources/bank_feed_transactions/__init__.py +++ b/src/merge/resources/accounting/resources/bank_feed_transactions/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + 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 2bf4aed6..e8408b1d 100644 --- a/src/merge/resources/accounting/resources/bank_feed_transactions/client.py +++ b/src/merge/resources/accounting/resources/bank_feed_transactions/client.py @@ -1,17 +1,16 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawBankFeedTransactionsClient import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_bank_feed_transaction_list import PaginatedBankFeedTransactionList +from ...types.bank_feed_transaction import BankFeedTransaction from ...types.bank_feed_transaction_request_request import BankFeedTransactionRequestRequest from ...types.bank_feed_transaction_response import BankFeedTransactionResponse -from ...types.bank_feed_transaction import BankFeedTransaction from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawBankFeedTransactionsClient +from ...types.paginated_bank_feed_transaction_list import PaginatedBankFeedTransactionList +from .raw_client import AsyncRawBankFeedTransactionsClient, RawBankFeedTransactionsClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -108,7 +107,7 @@ def list( ) client.accounting.bank_feed_transactions.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -123,7 +122,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -167,10 +166,10 @@ def create( model=BankFeedTransactionRequestRequest(), ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options ) - return response.data + return _response.data def retrieve( self, @@ -217,14 +216,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -250,8 +249,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.accounting.bank_feed_transactions.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data class AsyncBankFeedTransactionsClient: @@ -353,7 +352,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -368,7 +367,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -420,10 +419,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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 + return _response.data async def retrieve( self, @@ -478,14 +477,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -519,5 +518,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data 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 8c35e3ed..f10236a8 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 @@ -1,22 +1,21 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_bank_feed_transaction_list import PaginatedBankFeedTransactionList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +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.bank_feed_transaction import BankFeedTransaction from ...types.bank_feed_transaction_request_request import BankFeedTransactionRequestRequest from ...types.bank_feed_transaction_response import BankFeedTransactionResponse -from ...types.bank_feed_transaction import BankFeedTransaction -from .....core.jsonable_encoder import jsonable_encoder from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from ...types.paginated_bank_feed_transaction_list import PaginatedBankFeedTransactionList # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -123,8 +122,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -183,8 +182,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -241,8 +240,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -277,8 +276,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawBankFeedTransactionsClient: @@ -382,8 +381,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -442,8 +441,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -500,8 +499,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -536,5 +535,5 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/cash_flow_statements/__init__.py b/src/merge/resources/accounting/resources/cash_flow_statements/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/accounting/resources/cash_flow_statements/__init__.py +++ b/src/merge/resources/accounting/resources/cash_flow_statements/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + 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 cdd78ae3..59b2a40e 100644 --- a/src/merge/resources/accounting/resources/cash_flow_statements/client.py +++ b/src/merge/resources/accounting/resources/cash_flow_statements/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawCashFlowStatementsClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_cash_flow_statement_list import PaginatedCashFlowStatementList from ...types.cash_flow_statement import CashFlowStatement -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawCashFlowStatementsClient +from ...types.paginated_cash_flow_statement_list import PaginatedCashFlowStatementList +from .raw_client import AsyncRawCashFlowStatementsClient, RawCashFlowStatementsClient class CashFlowStatementsClient: @@ -102,7 +101,7 @@ def list( ) client.accounting.cash_flow_statements.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -117,7 +116,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -164,14 +163,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncCashFlowStatementsClient: @@ -273,7 +272,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -288,7 +287,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -343,11 +342,11 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data 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 38e680d1..e5a9c0b6 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 @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_cash_flow_statement_list import PaginatedCashFlowStatementList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.cash_flow_statement import CashFlowStatement +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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 class RawCashFlowStatementsClient: @@ -117,8 +116,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -175,8 +174,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawCashFlowStatementsClient: @@ -280,8 +279,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -338,5 +337,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/company_info/__init__.py b/src/merge/resources/accounting/resources/company_info/__init__.py index 39c8152c..e2fb7967 100644 --- a/src/merge/resources/accounting/resources/company_info/__init__.py +++ b/src/merge/resources/accounting/resources/company_info/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import CompanyInfoListRequestExpand, CompanyInfoRetrieveRequestExpand __all__ = ["CompanyInfoListRequestExpand", "CompanyInfoRetrieveRequestExpand"] diff --git a/src/merge/resources/accounting/resources/company_info/client.py b/src/merge/resources/accounting/resources/company_info/client.py index 71bbb1d3..342b4fbc 100644 --- a/src/merge/resources/accounting/resources/company_info/client.py +++ b/src/merge/resources/accounting/resources/company_info/client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawCompanyInfoClient -import typing import datetime as dt -from .types.company_info_list_request_expand import CompanyInfoListRequestExpand +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper 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 import CompanyInfo -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawCompanyInfoClient class CompanyInfoClient: @@ -100,7 +99,7 @@ def list( ) client.accounting.company_info.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -114,7 +113,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -161,14 +160,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncCompanyInfoClient: @@ -266,7 +265,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -280,7 +279,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -335,11 +334,11 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data 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 28bf5077..4b04df8c 100644 --- a/src/merge/resources/accounting/resources/company_info/raw_client.py +++ b/src/merge/resources/accounting/resources/company_info/raw_client.py @@ -1,21 +1,20 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .types.company_info_list_request_expand import CompanyInfoListRequestExpand -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_company_info_list import PaginatedCompanyInfoList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .types.company_info_retrieve_request_expand import CompanyInfoRetrieveRequestExpand -from ...types.company_info import CompanyInfo +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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 class RawCompanyInfoClient: @@ -114,8 +113,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -172,8 +171,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawCompanyInfoClient: @@ -272,8 +271,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -330,5 +329,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/company_info/types/__init__.py b/src/merge/resources/accounting/resources/company_info/types/__init__.py index f9f260c1..1c9d7dde 100644 --- a/src/merge/resources/accounting/resources/company_info/types/__init__.py +++ b/src/merge/resources/accounting/resources/company_info/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .company_info_list_request_expand import CompanyInfoListRequestExpand from .company_info_retrieve_request_expand import CompanyInfoRetrieveRequestExpand diff --git a/src/merge/resources/accounting/resources/contacts/__init__.py b/src/merge/resources/accounting/resources/contacts/__init__.py index 45b63413..df847d7b 100644 --- a/src/merge/resources/accounting/resources/contacts/__init__.py +++ b/src/merge/resources/accounting/resources/contacts/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import ContactsListRequestExpand, ContactsRetrieveRequestExpand __all__ = ["ContactsListRequestExpand", "ContactsRetrieveRequestExpand"] diff --git a/src/merge/resources/accounting/resources/contacts/client.py b/src/merge/resources/accounting/resources/contacts/client.py index bd34d398..6a425b25 100644 --- a/src/merge/resources/accounting/resources/contacts/client.py +++ b/src/merge/resources/accounting/resources/contacts/client.py @@ -1,20 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawContactsClient import datetime as dt -from .types.contacts_list_request_expand import ContactsListRequestExpand +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_contact_list import PaginatedContactList +from ...types.contact import Contact from ...types.contact_request import ContactRequest from ...types.contact_response import ContactResponse -from .types.contacts_retrieve_request_expand import ContactsRetrieveRequestExpand -from ...types.contact import Contact from ...types.meta_response import MetaResponse +from ...types.paginated_contact_list import PaginatedContactList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawContactsClient +from .raw_client import AsyncRawContactsClient, RawContactsClient +from .types.contacts_list_request_expand import ContactsListRequestExpand +from .types.contacts_retrieve_request_expand import ContactsRetrieveRequestExpand # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -143,7 +142,7 @@ def list( ) client.accounting.contacts.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -166,7 +165,7 @@ def list( status=status, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -210,10 +209,10 @@ def create( model=ContactRequest(), ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options ) - return response.data + return _response.data def retrieve( self, @@ -272,7 +271,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -282,7 +281,7 @@ def retrieve( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -308,8 +307,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.accounting.contacts.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data def remote_field_classes_list( self, @@ -319,6 +318,7 @@ def remote_field_classes_list( 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: @@ -342,6 +342,9 @@ def 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. @@ -363,16 +366,17 @@ def remote_field_classes_list( ) client.accounting.contacts.remote_field_classes_list() """ - response = self._raw_client.remote_field_classes_list( + _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 + return _response.data class AsyncContactsClient: @@ -506,7 +510,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -529,7 +533,7 @@ async def main() -> None: status=status, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -581,10 +585,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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 + return _response.data async def retrieve( self, @@ -651,7 +655,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -661,7 +665,7 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -695,8 +699,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data async def remote_field_classes_list( self, @@ -706,6 +710,7 @@ async def remote_field_classes_list( 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: @@ -729,6 +734,9 @@ async def 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. @@ -758,13 +766,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.remote_field_classes_list( + _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 + 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 f26f7271..6a38fa58 100644 --- a/src/merge/resources/accounting/resources/contacts/raw_client.py +++ b/src/merge/resources/accounting/resources/contacts/raw_client.py @@ -1,25 +1,24 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .types.contacts_list_request_expand import ContactsListRequestExpand -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_contact_list import PaginatedContactList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +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.contact import Contact from ...types.contact_request import ContactRequest from ...types.contact_response import ContactResponse -from .types.contacts_retrieve_request_expand import ContactsRetrieveRequestExpand -from ...types.contact import Contact -from .....core.jsonable_encoder import jsonable_encoder from ...types.meta_response import MetaResponse +from ...types.paginated_contact_list import PaginatedContactList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from .types.contacts_list_request_expand import ContactsListRequestExpand +from .types.contacts_retrieve_request_expand import ContactsRetrieveRequestExpand # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -166,8 +165,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -226,8 +225,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -299,8 +298,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -335,8 +334,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -346,6 +345,7 @@ def remote_field_classes_list( 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]: @@ -369,6 +369,9 @@ def 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. @@ -389,6 +392,7 @@ def remote_field_classes_list( "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, @@ -405,8 +409,8 @@ def remote_field_classes_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawContactsClient: @@ -550,8 +554,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -610,8 +614,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -683,8 +687,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -719,8 +723,8 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -730,6 +734,7 @@ async def remote_field_classes_list( 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]: @@ -753,6 +758,9 @@ async def 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. @@ -773,6 +781,7 @@ async def remote_field_classes_list( "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, @@ -789,5 +798,5 @@ async def remote_field_classes_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/contacts/types/__init__.py b/src/merge/resources/accounting/resources/contacts/types/__init__.py index b6fd8acd..65499af3 100644 --- a/src/merge/resources/accounting/resources/contacts/types/__init__.py +++ b/src/merge/resources/accounting/resources/contacts/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .contacts_list_request_expand import ContactsListRequestExpand from .contacts_retrieve_request_expand import ContactsRetrieveRequestExpand diff --git a/src/merge/resources/accounting/resources/credit_notes/__init__.py b/src/merge/resources/accounting/resources/credit_notes/__init__.py index a5ec201d..fd58295d 100644 --- a/src/merge/resources/accounting/resources/credit_notes/__init__.py +++ b/src/merge/resources/accounting/resources/credit_notes/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import ( CreditNotesListRequestExpand, CreditNotesListRequestRemoteFields, diff --git a/src/merge/resources/accounting/resources/credit_notes/client.py b/src/merge/resources/accounting/resources/credit_notes/client.py index 9f5873ee..91989aab 100644 --- a/src/merge/resources/accounting/resources/credit_notes/client.py +++ b/src/merge/resources/accounting/resources/credit_notes/client.py @@ -1,23 +1,22 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawCreditNotesClient import datetime as dt -from .types.credit_notes_list_request_expand import CreditNotesListRequestExpand -from .types.credit_notes_list_request_remote_fields import CreditNotesListRequestRemoteFields -from .types.credit_notes_list_request_show_enum_origins import CreditNotesListRequestShowEnumOrigins +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_credit_note_list import PaginatedCreditNoteList +from ...types.credit_note import CreditNote from ...types.credit_note_request import CreditNoteRequest from ...types.credit_note_response import CreditNoteResponse +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_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_remote_fields import CreditNotesRetrieveRequestRemoteFields from .types.credit_notes_retrieve_request_show_enum_origins import CreditNotesRetrieveRequestShowEnumOrigins -from ...types.credit_note import CreditNote -from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawCreditNotesClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -130,7 +129,7 @@ def list( ) client.accounting.credit_notes.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -149,7 +148,7 @@ def list( transaction_date_before=transaction_date_before, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -193,10 +192,10 @@ def create( model=CreditNoteRequest(), ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options ) - return response.data + return _response.data def retrieve( self, @@ -251,7 +250,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -260,7 +259,7 @@ def retrieve( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -286,8 +285,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.accounting.credit_notes.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data class AsyncCreditNotesClient: @@ -405,7 +404,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -424,7 +423,7 @@ async def main() -> None: transaction_date_before=transaction_date_before, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -476,10 +475,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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 + return _response.data async def retrieve( self, @@ -542,7 +541,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -551,7 +550,7 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -585,5 +584,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data 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 4ad5ff03..b92c04cb 100644 --- a/src/merge/resources/accounting/resources/credit_notes/raw_client.py +++ b/src/merge/resources/accounting/resources/credit_notes/raw_client.py @@ -1,28 +1,27 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .types.credit_notes_list_request_expand import CreditNotesListRequestExpand -from .types.credit_notes_list_request_remote_fields import CreditNotesListRequestRemoteFields -from .types.credit_notes_list_request_show_enum_origins import CreditNotesListRequestShowEnumOrigins -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_credit_note_list import PaginatedCreditNoteList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +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.credit_note import CreditNote from ...types.credit_note_request import CreditNoteRequest 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_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_remote_fields import CreditNotesRetrieveRequestRemoteFields from .types.credit_notes_retrieve_request_show_enum_origins import CreditNotesRetrieveRequestShowEnumOrigins -from ...types.credit_note import CreditNote -from .....core.jsonable_encoder import jsonable_encoder -from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -153,8 +152,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -213,8 +212,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -281,8 +280,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -317,8 +316,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawCreditNotesClient: @@ -446,8 +445,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -506,8 +505,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -574,8 +573,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -610,5 +609,5 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/credit_notes/types/__init__.py b/src/merge/resources/accounting/resources/credit_notes/types/__init__.py index 49139935..f77bbd6d 100644 --- a/src/merge/resources/accounting/resources/credit_notes/types/__init__.py +++ b/src/merge/resources/accounting/resources/credit_notes/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .credit_notes_list_request_expand import CreditNotesListRequestExpand from .credit_notes_list_request_remote_fields import CreditNotesListRequestRemoteFields from .credit_notes_list_request_show_enum_origins import CreditNotesListRequestShowEnumOrigins diff --git a/src/merge/resources/accounting/resources/delete_account/__init__.py b/src/merge/resources/accounting/resources/delete_account/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/accounting/resources/delete_account/__init__.py +++ b/src/merge/resources/accounting/resources/delete_account/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/accounting/resources/delete_account/client.py b/src/merge/resources/accounting/resources/delete_account/client.py index 3b990365..d05716ed 100644 --- a/src/merge/resources/accounting/resources/delete_account/client.py +++ b/src/merge/resources/accounting/resources/delete_account/client.py @@ -1,11 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawDeleteAccountClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawDeleteAccountClient +from .raw_client import AsyncRawDeleteAccountClient, RawDeleteAccountClient class DeleteAccountClient: @@ -46,8 +45,8 @@ def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> ) client.accounting.delete_account.delete() """ - response = self._raw_client.delete(request_options=request_options) - return response.data + _response = self._raw_client.delete(request_options=request_options) + return _response.data class AsyncDeleteAccountClient: @@ -96,5 +95,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.delete(request_options=request_options) - return response.data + _response = await self._raw_client.delete(request_options=request_options) + return _response.data diff --git a/src/merge/resources/accounting/resources/delete_account/raw_client.py b/src/merge/resources/accounting/resources/delete_account/raw_client.py index 1964a543..5bd254b2 100644 --- a/src/merge/resources/accounting/resources/delete_account/raw_client.py +++ b/src/merge/resources/accounting/resources/delete_account/raw_client.py @@ -1,13 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.request_options import RequestOptions class RawDeleteAccountClient: @@ -37,8 +36,8 @@ def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> return HttpResponse(response=_response, data=None) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -68,5 +67,5 @@ async def delete(self, *, request_options: typing.Optional[RequestOptions] = Non return AsyncHttpResponse(response=_response, data=None) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/employees/__init__.py b/src/merge/resources/accounting/resources/employees/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/accounting/resources/employees/__init__.py +++ b/src/merge/resources/accounting/resources/employees/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/accounting/resources/employees/client.py b/src/merge/resources/accounting/resources/employees/client.py index 736a0b39..1e1a6018 100644 --- a/src/merge/resources/accounting/resources/employees/client.py +++ b/src/merge/resources/accounting/resources/employees/client.py @@ -1,13 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawEmployeesClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_employee_list import PaginatedEmployeeList from ...types.employee import Employee -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawEmployeesClient +from ...types.paginated_employee_list import PaginatedEmployeeList +from .raw_client import AsyncRawEmployeesClient, RawEmployeesClient class EmployeesClient: @@ -77,7 +76,7 @@ def list( ) client.accounting.employees.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( cursor=cursor, expand=expand, include_deleted_data=include_deleted_data, @@ -86,7 +85,7 @@ def list( page_size=page_size, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -133,14 +132,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncEmployeesClient: @@ -218,7 +217,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( cursor=cursor, expand=expand, include_deleted_data=include_deleted_data, @@ -227,7 +226,7 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -282,11 +281,11 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data diff --git a/src/merge/resources/accounting/resources/employees/raw_client.py b/src/merge/resources/accounting/resources/employees/raw_client.py index 955c96a3..80480b1f 100644 --- a/src/merge/resources/accounting/resources/employees/raw_client.py +++ b/src/merge/resources/accounting/resources/employees/raw_client.py @@ -1,17 +1,16 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_employee_list import PaginatedEmployeeList -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.employee import Employee +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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 class RawEmployeesClient: @@ -85,8 +84,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -143,8 +142,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawEmployeesClient: @@ -218,8 +217,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -276,5 +275,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/expenses/__init__.py b/src/merge/resources/accounting/resources/expenses/__init__.py index 51d8cb55..c8dac74f 100644 --- a/src/merge/resources/accounting/resources/expenses/__init__.py +++ b/src/merge/resources/accounting/resources/expenses/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import ExpensesListRequestExpand, ExpensesRetrieveRequestExpand __all__ = ["ExpensesListRequestExpand", "ExpensesRetrieveRequestExpand"] diff --git a/src/merge/resources/accounting/resources/expenses/client.py b/src/merge/resources/accounting/resources/expenses/client.py index a3b1b823..af655c88 100644 --- a/src/merge/resources/accounting/resources/expenses/client.py +++ b/src/merge/resources/accounting/resources/expenses/client.py @@ -1,20 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawExpensesClient import datetime as dt -from .types.expenses_list_request_expand import ExpensesListRequestExpand +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_expense_list import PaginatedExpenseList +from ...types.expense import Expense from ...types.expense_request import ExpenseRequest from ...types.expense_response import ExpenseResponse -from .types.expenses_retrieve_request_expand import ExpensesRetrieveRequestExpand -from ...types.expense import Expense -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawExpensesClient +from ...types.paginated_expense_list import PaginatedExpenseList +from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList +from .raw_client import AsyncRawExpensesClient, RawExpensesClient +from .types.expenses_list_request_expand import ExpensesListRequestExpand +from .types.expenses_retrieve_request_expand import ExpensesRetrieveRequestExpand # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -123,7 +122,7 @@ def list( ) client.accounting.expenses.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -141,7 +140,7 @@ def list( transaction_date_before=transaction_date_before, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -185,10 +184,10 @@ def create( model=ExpenseRequest(), ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options ) - return response.data + return _response.data def retrieve( self, @@ -239,7 +238,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -247,7 +246,7 @@ def retrieve( include_shell_data=include_shell_data, request_options=request_options, ) - return response.data + return _response.data def lines_remote_field_classes_list( self, @@ -257,6 +256,7 @@ def lines_remote_field_classes_list( 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: @@ -280,6 +280,9 @@ def lines_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. @@ -301,16 +304,17 @@ def lines_remote_field_classes_list( ) client.accounting.expenses.lines_remote_field_classes_list() """ - response = self._raw_client.lines_remote_field_classes_list( + _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 + return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -336,8 +340,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.accounting.expenses.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data def remote_field_classes_list( self, @@ -347,6 +351,7 @@ def remote_field_classes_list( 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: @@ -370,6 +375,9 @@ def 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. @@ -391,16 +399,17 @@ def remote_field_classes_list( ) client.accounting.expenses.remote_field_classes_list() """ - response = self._raw_client.remote_field_classes_list( + _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 + return _response.data class AsyncExpensesClient: @@ -514,7 +523,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -532,7 +541,7 @@ async def main() -> None: transaction_date_before=transaction_date_before, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -584,10 +593,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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 + return _response.data async def retrieve( self, @@ -646,7 +655,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -654,7 +663,7 @@ async def main() -> None: include_shell_data=include_shell_data, request_options=request_options, ) - return response.data + return _response.data async def lines_remote_field_classes_list( self, @@ -664,6 +673,7 @@ async def lines_remote_field_classes_list( 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: @@ -687,6 +697,9 @@ async def lines_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. @@ -716,16 +729,17 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.lines_remote_field_classes_list( + _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 + return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -759,8 +773,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data async def remote_field_classes_list( self, @@ -770,6 +784,7 @@ async def remote_field_classes_list( 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: @@ -793,6 +808,9 @@ async def 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. @@ -822,13 +840,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.remote_field_classes_list( + _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 + 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 ad3da7f1..6b2b2520 100644 --- a/src/merge/resources/accounting/resources/expenses/raw_client.py +++ b/src/merge/resources/accounting/resources/expenses/raw_client.py @@ -1,25 +1,24 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .types.expenses_list_request_expand import ExpensesListRequestExpand -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_expense_list import PaginatedExpenseList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +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 import Expense from ...types.expense_request import ExpenseRequest from ...types.expense_response import ExpenseResponse -from .types.expenses_retrieve_request_expand import ExpensesRetrieveRequestExpand -from ...types.expense import Expense -from .....core.jsonable_encoder import jsonable_encoder -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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 # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -145,8 +144,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -205,8 +204,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -268,8 +267,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -279,6 +278,7 @@ def lines_remote_field_classes_list( 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]: @@ -302,6 +302,9 @@ def lines_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. @@ -322,6 +325,7 @@ def lines_remote_field_classes_list( "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, @@ -338,8 +342,8 @@ def lines_remote_field_classes_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -374,8 +378,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -385,6 +389,7 @@ def remote_field_classes_list( 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]: @@ -408,6 +413,9 @@ def 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. @@ -428,6 +436,7 @@ def remote_field_classes_list( "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, @@ -444,8 +453,8 @@ def remote_field_classes_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawExpensesClient: @@ -568,8 +577,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -628,8 +637,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -691,8 +700,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -702,6 +711,7 @@ async def lines_remote_field_classes_list( 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]: @@ -725,6 +735,9 @@ async def lines_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. @@ -745,6 +758,7 @@ async def lines_remote_field_classes_list( "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, @@ -761,8 +775,8 @@ async def lines_remote_field_classes_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -797,8 +811,8 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -808,6 +822,7 @@ async def remote_field_classes_list( 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]: @@ -831,6 +846,9 @@ async def 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. @@ -851,6 +869,7 @@ async def remote_field_classes_list( "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, @@ -867,5 +886,5 @@ async def remote_field_classes_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/expenses/types/__init__.py b/src/merge/resources/accounting/resources/expenses/types/__init__.py index 7fcf9d4c..d30e783a 100644 --- a/src/merge/resources/accounting/resources/expenses/types/__init__.py +++ b/src/merge/resources/accounting/resources/expenses/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .expenses_list_request_expand import ExpensesListRequestExpand from .expenses_retrieve_request_expand import ExpensesRetrieveRequestExpand diff --git a/src/merge/resources/accounting/resources/field_mapping/__init__.py b/src/merge/resources/accounting/resources/field_mapping/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/accounting/resources/field_mapping/__init__.py +++ b/src/merge/resources/accounting/resources/field_mapping/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/accounting/resources/field_mapping/client.py b/src/merge/resources/accounting/resources/field_mapping/client.py index 3e8cff35..3e07b83f 100644 --- a/src/merge/resources/accounting/resources/field_mapping/client.py +++ b/src/merge/resources/accounting/resources/field_mapping/client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawFieldMappingClient + +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 ...types.external_target_field_api_response import ExternalTargetFieldApiResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawFieldMappingClient +from .raw_client import AsyncRawFieldMappingClient, RawFieldMappingClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -62,10 +61,10 @@ def field_mappings_retrieve( ) client.accounting.field_mapping.field_mappings_retrieve() """ - response = self._raw_client.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 + return _response.data def field_mappings_create( self, @@ -130,7 +129,7 @@ def field_mappings_create( common_model_name="ExampleCommonModel", ) """ - response = self._raw_client.field_mappings_create( + _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, @@ -140,7 +139,7 @@ def field_mappings_create( exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options, ) - return response.data + return _response.data def field_mappings_destroy( self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -172,8 +171,8 @@ def 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 + _response = self._raw_client.field_mappings_destroy(field_mapping_id, request_options=request_options) + return _response.data def field_mappings_partial_update( self, @@ -220,14 +219,14 @@ def field_mappings_partial_update( field_mapping_id="field_mapping_id", ) """ - response = self._raw_client.field_mappings_partial_update( + _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 + return _response.data def remote_fields_retrieve( self, @@ -265,10 +264,10 @@ def remote_fields_retrieve( ) client.accounting.field_mapping.remote_fields_retrieve() """ - response = self._raw_client.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 + return _response.data def target_fields_retrieve( self, *, request_options: typing.Optional[RequestOptions] = None @@ -296,8 +295,8 @@ def target_fields_retrieve( ) client.accounting.field_mapping.target_fields_retrieve() """ - response = self._raw_client.target_fields_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.target_fields_retrieve(request_options=request_options) + return _response.data class AsyncFieldMappingClient: @@ -355,10 +354,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.field_mappings_retrieve( + _response = await self._raw_client.field_mappings_retrieve( exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options ) - return response.data + return _response.data async def field_mappings_create( self, @@ -431,7 +430,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.field_mappings_create( + _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, @@ -441,7 +440,7 @@ async def main() -> None: exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options, ) - return response.data + return _response.data async def field_mappings_destroy( self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -481,8 +480,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.field_mappings_destroy(field_mapping_id, request_options=request_options) - return response.data + _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, @@ -537,14 +536,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.field_mappings_partial_update( + _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 + return _response.data async def remote_fields_retrieve( self, @@ -590,10 +589,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.remote_fields_retrieve( + _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 + return _response.data async def target_fields_retrieve( self, *, request_options: typing.Optional[RequestOptions] = None @@ -629,5 +628,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.target_fields_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.target_fields_retrieve(request_options=request_options) + return _response.data 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 ce6e23cb..1e90a8db 100644 --- a/src/merge/resources/accounting/resources/field_mapping/raw_client.py +++ b/src/merge/resources/accounting/resources/field_mapping/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.field_mapping_api_instance_response import FieldMappingApiInstanceResponse -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.field_mapping_instance_response import FieldMappingInstanceResponse +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder -from ...types.remote_field_api_response import RemoteFieldApiResponse +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type from ...types.external_target_field_api_response import ExternalTargetFieldApiResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -65,8 +64,8 @@ def field_mappings_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -146,8 +145,8 @@ def field_mappings_create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -184,8 +183,8 @@ def field_mappings_destroy( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -246,8 +245,8 @@ def field_mappings_partial_update( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -296,8 +295,8 @@ def remote_fields_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -332,8 +331,8 @@ def target_fields_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -382,8 +381,8 @@ async def field_mappings_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -463,8 +462,8 @@ async def field_mappings_create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -501,8 +500,8 @@ async def field_mappings_destroy( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -563,8 +562,8 @@ async def field_mappings_partial_update( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -613,8 +612,8 @@ async def remote_fields_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -649,5 +648,5 @@ async def target_fields_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/force_resync/__init__.py b/src/merge/resources/accounting/resources/force_resync/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/accounting/resources/force_resync/__init__.py +++ b/src/merge/resources/accounting/resources/force_resync/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/accounting/resources/force_resync/client.py b/src/merge/resources/accounting/resources/force_resync/client.py index 9e8621da..d7b91725 100644 --- a/src/merge/resources/accounting/resources/force_resync/client.py +++ b/src/merge/resources/accounting/resources/force_resync/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawForceResyncClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.sync_status import SyncStatus -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawForceResyncClient +from .raw_client import AsyncRawForceResyncClient, RawForceResyncClient class ForceResyncClient: @@ -50,8 +49,8 @@ def sync_status_resync_create( ) client.accounting.force_resync.sync_status_resync_create() """ - response = self._raw_client.sync_status_resync_create(request_options=request_options) - return response.data + _response = self._raw_client.sync_status_resync_create(request_options=request_options) + return _response.data class AsyncForceResyncClient: @@ -103,5 +102,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.sync_status_resync_create(request_options=request_options) - return response.data + _response = await self._raw_client.sync_status_resync_create(request_options=request_options) + return _response.data diff --git a/src/merge/resources/accounting/resources/force_resync/raw_client.py b/src/merge/resources/accounting/resources/force_resync/raw_client.py index 0691eca5..6a49df95 100644 --- a/src/merge/resources/accounting/resources/force_resync/raw_client.py +++ b/src/merge/resources/accounting/resources/force_resync/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.sync_status import SyncStatus -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -49,8 +48,8 @@ def sync_status_resync_create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -90,5 +89,5 @@ async def sync_status_resync_create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/general_ledger_transactions/__init__.py b/src/merge/resources/accounting/resources/general_ledger_transactions/__init__.py index 1b88297e..3815858f 100644 --- a/src/merge/resources/accounting/resources/general_ledger_transactions/__init__.py +++ b/src/merge/resources/accounting/resources/general_ledger_transactions/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import GeneralLedgerTransactionsListRequestExpand, GeneralLedgerTransactionsRetrieveRequestExpand __all__ = ["GeneralLedgerTransactionsListRequestExpand", "GeneralLedgerTransactionsRetrieveRequestExpand"] 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 cfcc2176..a4f2eff3 100644 --- a/src/merge/resources/accounting/resources/general_ledger_transactions/client.py +++ b/src/merge/resources/accounting/resources/general_ledger_transactions/client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawGeneralLedgerTransactionsClient -import typing import datetime as dt -from .types.general_ledger_transactions_list_request_expand import GeneralLedgerTransactionsListRequestExpand +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper 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_transaction import GeneralLedgerTransaction -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawGeneralLedgerTransactionsClient class GeneralLedgerTransactionsClient: @@ -112,7 +111,7 @@ def list( ) client.accounting.general_ledger_transactions.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -129,7 +128,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -176,14 +175,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncGeneralLedgerTransactionsClient: @@ -293,7 +292,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -310,7 +309,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -365,11 +364,11 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data 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 5a23a66c..ab2d3f28 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 @@ -1,21 +1,20 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .types.general_ledger_transactions_list_request_expand import GeneralLedgerTransactionsListRequestExpand -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_general_ledger_transaction_list import PaginatedGeneralLedgerTransactionList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .types.general_ledger_transactions_retrieve_request_expand import GeneralLedgerTransactionsRetrieveRequestExpand -from ...types.general_ledger_transaction import GeneralLedgerTransaction +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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 class RawGeneralLedgerTransactionsClient: @@ -131,8 +130,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -189,8 +188,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawGeneralLedgerTransactionsClient: @@ -306,8 +305,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -364,5 +363,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/general_ledger_transactions/types/__init__.py b/src/merge/resources/accounting/resources/general_ledger_transactions/types/__init__.py index 46609fef..a2ab0a71 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 @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .general_ledger_transactions_list_request_expand import GeneralLedgerTransactionsListRequestExpand from .general_ledger_transactions_retrieve_request_expand import GeneralLedgerTransactionsRetrieveRequestExpand diff --git a/src/merge/resources/accounting/resources/generate_key/__init__.py b/src/merge/resources/accounting/resources/generate_key/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/accounting/resources/generate_key/__init__.py +++ b/src/merge/resources/accounting/resources/generate_key/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/accounting/resources/generate_key/client.py b/src/merge/resources/accounting/resources/generate_key/client.py index 7d02b7d6..dc745ec3 100644 --- a/src/merge/resources/accounting/resources/generate_key/client.py +++ b/src/merge/resources/accounting/resources/generate_key/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawGenerateKeyClient + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.remote_key import RemoteKey -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawGenerateKeyClient +from .raw_client import AsyncRawGenerateKeyClient, RawGenerateKeyClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -56,8 +55,8 @@ def create(self, *, name: str, request_options: typing.Optional[RequestOptions] name="Remote Deployment Key 1", ) """ - response = self._raw_client.create(name=name, request_options=request_options) - return response.data + _response = self._raw_client.create(name=name, request_options=request_options) + return _response.data class AsyncGenerateKeyClient: @@ -112,5 +111,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create(name=name, request_options=request_options) - return response.data + _response = await self._raw_client.create(name=name, request_options=request_options) + return _response.data diff --git a/src/merge/resources/accounting/resources/generate_key/raw_client.py b/src/merge/resources/accounting/resources/generate_key/raw_client.py index 8a3e5248..558feb1d 100644 --- a/src/merge/resources/accounting/resources/generate_key/raw_client.py +++ b/src/merge/resources/accounting/resources/generate_key/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.remote_key import RemoteKey -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -60,8 +59,8 @@ def create(self, *, name: str, request_options: typing.Optional[RequestOptions] return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -111,5 +110,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/income_statements/__init__.py b/src/merge/resources/accounting/resources/income_statements/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/accounting/resources/income_statements/__init__.py +++ b/src/merge/resources/accounting/resources/income_statements/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/accounting/resources/income_statements/client.py b/src/merge/resources/accounting/resources/income_statements/client.py index 148215af..83d098da 100644 --- a/src/merge/resources/accounting/resources/income_statements/client.py +++ b/src/merge/resources/accounting/resources/income_statements/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawIncomeStatementsClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_income_statement_list import PaginatedIncomeStatementList from ...types.income_statement import IncomeStatement -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawIncomeStatementsClient +from ...types.paginated_income_statement_list import PaginatedIncomeStatementList +from .raw_client import AsyncRawIncomeStatementsClient, RawIncomeStatementsClient class IncomeStatementsClient: @@ -102,7 +101,7 @@ def list( ) client.accounting.income_statements.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -117,7 +116,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -164,14 +163,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncIncomeStatementsClient: @@ -273,7 +272,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -288,7 +287,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -343,11 +342,11 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data 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 a41d1b2f..7bbb3315 100644 --- a/src/merge/resources/accounting/resources/income_statements/raw_client.py +++ b/src/merge/resources/accounting/resources/income_statements/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_income_statement_list import PaginatedIncomeStatementList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.income_statement import IncomeStatement +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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 class RawIncomeStatementsClient: @@ -117,8 +116,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -175,8 +174,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawIncomeStatementsClient: @@ -280,8 +279,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -338,5 +337,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/invoices/__init__.py b/src/merge/resources/accounting/resources/invoices/__init__.py index 407f11f8..ce56caa8 100644 --- a/src/merge/resources/accounting/resources/invoices/__init__.py +++ b/src/merge/resources/accounting/resources/invoices/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import ( InvoicesListRequestExpand, InvoicesListRequestStatus, diff --git a/src/merge/resources/accounting/resources/invoices/client.py b/src/merge/resources/accounting/resources/invoices/client.py index c9be76ce..d7cdb07f 100644 --- a/src/merge/resources/accounting/resources/invoices/client.py +++ b/src/merge/resources/accounting/resources/invoices/client.py @@ -1,22 +1,21 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawInvoicesClient import datetime as dt -from .types.invoices_list_request_expand import InvoicesListRequestExpand -from .types.invoices_list_request_status import InvoicesListRequestStatus -from .types.invoices_list_request_type import InvoicesListRequestType +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_invoice_list import PaginatedInvoiceList +from ...types.invoice import Invoice from ...types.invoice_request import InvoiceRequest from ...types.invoice_response import InvoiceResponse -from .types.invoices_retrieve_request_expand import InvoicesRetrieveRequestExpand -from ...types.invoice import Invoice -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawInvoicesClient +from ...types.paginated_invoice_list import PaginatedInvoiceList +from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList +from .raw_client import AsyncRawInvoicesClient, RawInvoicesClient +from .types.invoices_list_request_expand import InvoicesListRequestExpand +from .types.invoices_list_request_status import InvoicesListRequestStatus +from .types.invoices_list_request_type import InvoicesListRequestType +from .types.invoices_retrieve_request_expand import InvoicesRetrieveRequestExpand # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -159,7 +158,7 @@ def list( ) client.accounting.invoices.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( company_id=company_id, contact_id=contact_id, created_after=created_after, @@ -183,7 +182,7 @@ def list( type=type, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -229,10 +228,10 @@ def create( model=InvoiceRequest(), ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options ) - return response.data + return _response.data def retrieve( self, @@ -291,7 +290,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -301,7 +300,7 @@ def retrieve( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data def partial_update( self, @@ -349,10 +348,10 @@ def partial_update( model=InvoiceRequest(), ) """ - response = self._raw_client.partial_update( + _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 + return _response.data def line_items_remote_field_classes_list( self, @@ -362,6 +361,7 @@ def line_items_remote_field_classes_list( 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: @@ -385,6 +385,9 @@ def 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 + 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. @@ -406,16 +409,17 @@ def line_items_remote_field_classes_list( ) client.accounting.invoices.line_items_remote_field_classes_list() """ - response = self._raw_client.line_items_remote_field_classes_list( + _response = self._raw_client.line_items_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 + return _response.data def meta_patch_retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -445,8 +449,8 @@ def meta_patch_retrieve(self, id: str, *, request_options: typing.Optional[Reque id="id", ) """ - response = self._raw_client.meta_patch_retrieve(id, request_options=request_options) - return response.data + _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: """ @@ -472,8 +476,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.accounting.invoices.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data def remote_field_classes_list( self, @@ -483,6 +487,7 @@ def remote_field_classes_list( 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: @@ -506,6 +511,9 @@ def 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. @@ -527,16 +535,17 @@ def remote_field_classes_list( ) client.accounting.invoices.remote_field_classes_list() """ - response = self._raw_client.remote_field_classes_list( + _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 + return _response.data class AsyncInvoicesClient: @@ -684,7 +693,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( company_id=company_id, contact_id=contact_id, created_after=created_after, @@ -708,7 +717,7 @@ async def main() -> None: type=type, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -762,10 +771,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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 + return _response.data async def retrieve( self, @@ -832,7 +841,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -842,7 +851,7 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data async def partial_update( self, @@ -898,10 +907,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.partial_update( + _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 + return _response.data async def line_items_remote_field_classes_list( self, @@ -911,6 +920,7 @@ async def line_items_remote_field_classes_list( 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: @@ -934,6 +944,9 @@ async def 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 + 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. @@ -963,16 +976,17 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.line_items_remote_field_classes_list( + _response = await self._raw_client.line_items_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 + return _response.data async def meta_patch_retrieve( self, id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -1012,8 +1026,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_patch_retrieve(id, request_options=request_options) - return response.data + _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: """ @@ -1047,8 +1061,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data async def remote_field_classes_list( self, @@ -1058,6 +1072,7 @@ async def remote_field_classes_list( 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: @@ -1081,6 +1096,9 @@ async def 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. @@ -1110,13 +1128,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.remote_field_classes_list( + _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 + 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 8450c213..8fe8ca88 100644 --- a/src/merge/resources/accounting/resources/invoices/raw_client.py +++ b/src/merge/resources/accounting/resources/invoices/raw_client.py @@ -1,27 +1,26 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .types.invoices_list_request_expand import InvoicesListRequestExpand -from .types.invoices_list_request_status import InvoicesListRequestStatus -from .types.invoices_list_request_type import InvoicesListRequestType -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_invoice_list import PaginatedInvoiceList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +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.invoice import Invoice from ...types.invoice_request import InvoiceRequest from ...types.invoice_response import InvoiceResponse -from .types.invoices_retrieve_request_expand import InvoicesRetrieveRequestExpand -from ...types.invoice import Invoice -from .....core.jsonable_encoder import jsonable_encoder -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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.invoices_list_request_status import InvoicesListRequestStatus +from .types.invoices_list_request_type import InvoicesListRequestType +from .types.invoices_retrieve_request_expand import InvoicesRetrieveRequestExpand # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -183,8 +182,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -245,8 +244,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -318,8 +317,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -381,8 +380,8 @@ def partial_update( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 line_items_remote_field_classes_list( self, @@ -392,6 +391,7 @@ def line_items_remote_field_classes_list( 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]: @@ -415,6 +415,9 @@ def 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 + 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. @@ -435,6 +438,7 @@ def line_items_remote_field_classes_list( "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, @@ -451,8 +455,8 @@ def line_items_remote_field_classes_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -489,8 +493,8 @@ def meta_patch_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -525,8 +529,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -536,6 +540,7 @@ def remote_field_classes_list( 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]: @@ -559,6 +564,9 @@ def 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. @@ -579,6 +587,7 @@ def remote_field_classes_list( "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, @@ -595,8 +604,8 @@ def remote_field_classes_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawInvoicesClient: @@ -755,8 +764,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -817,8 +826,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -890,8 +899,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -953,8 +962,8 @@ async def partial_update( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 line_items_remote_field_classes_list( self, @@ -964,6 +973,7 @@ async def line_items_remote_field_classes_list( 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]: @@ -987,6 +997,9 @@ async def 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 + 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. @@ -1007,6 +1020,7 @@ async def line_items_remote_field_classes_list( "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, @@ -1023,8 +1037,8 @@ async def line_items_remote_field_classes_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -1061,8 +1075,8 @@ async def meta_patch_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -1097,8 +1111,8 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -1108,6 +1122,7 @@ async def remote_field_classes_list( 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]: @@ -1131,6 +1146,9 @@ async def 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. @@ -1151,6 +1169,7 @@ async def remote_field_classes_list( "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, @@ -1167,5 +1186,5 @@ async def remote_field_classes_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/invoices/types/__init__.py b/src/merge/resources/accounting/resources/invoices/types/__init__.py index 52f5a253..a861799f 100644 --- a/src/merge/resources/accounting/resources/invoices/types/__init__.py +++ b/src/merge/resources/accounting/resources/invoices/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .invoices_list_request_expand import InvoicesListRequestExpand from .invoices_list_request_status import InvoicesListRequestStatus from .invoices_list_request_type import InvoicesListRequestType diff --git a/src/merge/resources/accounting/resources/issues/__init__.py b/src/merge/resources/accounting/resources/issues/__init__.py index ab74e304..bb7feb68 100644 --- a/src/merge/resources/accounting/resources/issues/__init__.py +++ b/src/merge/resources/accounting/resources/issues/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import IssuesListRequestStatus __all__ = ["IssuesListRequestStatus"] diff --git a/src/merge/resources/accounting/resources/issues/client.py b/src/merge/resources/accounting/resources/issues/client.py index da72e8be..68e0cc48 100644 --- a/src/merge/resources/accounting/resources/issues/client.py +++ b/src/merge/resources/accounting/resources/issues/client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawIssuesClient -import typing import datetime as dt -from .types.issues_list_request_status import IssuesListRequestStatus +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_issue_list import PaginatedIssueList from ...types.issue import Issue -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawIssuesClient +from ...types.paginated_issue_list import PaginatedIssueList +from .raw_client import AsyncRawIssuesClient, RawIssuesClient +from .types.issues_list_request_status import IssuesListRequestStatus class IssuesClient: @@ -111,7 +110,7 @@ def list( ) client.accounting.issues.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -128,7 +127,7 @@ def list( status=status, request_options=request_options, ) - return response.data + return _response.data def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ @@ -158,8 +157,8 @@ def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] id="id", ) """ - response = self._raw_client.retrieve(id, request_options=request_options) - return response.data + _response = self._raw_client.retrieve(id, request_options=request_options) + return _response.data class AsyncIssuesClient: @@ -269,7 +268,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -286,7 +285,7 @@ async def main() -> None: status=status, request_options=request_options, ) - return response.data + return _response.data async def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ @@ -324,5 +323,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(id, request_options=request_options) - return response.data + _response = await self._raw_client.retrieve(id, request_options=request_options) + return _response.data diff --git a/src/merge/resources/accounting/resources/issues/raw_client.py b/src/merge/resources/accounting/resources/issues/raw_client.py index 6c1b78b3..a44fb598 100644 --- a/src/merge/resources/accounting/resources/issues/raw_client.py +++ b/src/merge/resources/accounting/resources/issues/raw_client.py @@ -1,20 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .types.issues_list_request_status import IssuesListRequestStatus -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_issue_list import PaginatedIssueList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.issue import Issue +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -136,8 +135,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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]: """ @@ -172,8 +171,8 @@ def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -295,8 +294,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -333,5 +332,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/issues/types/__init__.py b/src/merge/resources/accounting/resources/issues/types/__init__.py index 660c5d2a..06333662 100644 --- a/src/merge/resources/accounting/resources/issues/types/__init__.py +++ b/src/merge/resources/accounting/resources/issues/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .issues_list_request_status import IssuesListRequestStatus __all__ = ["IssuesListRequestStatus"] diff --git a/src/merge/resources/accounting/resources/items/__init__.py b/src/merge/resources/accounting/resources/items/__init__.py index 8b98fe56..701b3857 100644 --- a/src/merge/resources/accounting/resources/items/__init__.py +++ b/src/merge/resources/accounting/resources/items/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import ItemsListRequestExpand, ItemsRetrieveRequestExpand __all__ = ["ItemsListRequestExpand", "ItemsRetrieveRequestExpand"] diff --git a/src/merge/resources/accounting/resources/items/client.py b/src/merge/resources/accounting/resources/items/client.py index 016a0938..395dd3e7 100644 --- a/src/merge/resources/accounting/resources/items/client.py +++ b/src/merge/resources/accounting/resources/items/client.py @@ -1,16 +1,22 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawItemsClient -import typing import datetime as dt -from .types.items_list_request_expand import ItemsListRequestExpand +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions +from ...types.item import Item +from ...types.item_request_request import ItemRequestRequest +from ...types.item_response import ItemResponse +from ...types.meta_response import MetaResponse 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.item import Item -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawItemsClient + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) class ItemsClient: @@ -112,7 +118,7 @@ def list( ) client.accounting.items.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -129,7 +135,54 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data + + def create( + self, + *, + model: ItemRequestRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> ItemResponse: + """ + Creates an `Item` object with the given values. + + 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. + + Returns + ------- + ItemResponse + + + Examples + -------- + 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( + model=ItemRequestRequest(), + ) + """ + _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, @@ -184,7 +237,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -193,7 +246,116 @@ def retrieve( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data + + def partial_update( + self, + id: str, + *, + model: PatchedItemRequestRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> ItemResponse: + """ + Updates an `Item` object with the given `id`. + + 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. + + Returns + ------- + ItemResponse + + + Examples + -------- + 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", + model=PatchedItemRequestRequest(), + ) + """ + _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 `Item` 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.items.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 `Item` 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.items.meta_post_retrieve() + """ + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data class AsyncItemsClient: @@ -303,7 +465,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -320,7 +482,62 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data + + async def create( + self, + *, + model: ItemRequestRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> ItemResponse: + """ + Creates an `Item` object with the given values. + + 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. + + Returns + ------- + ItemResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + from merge.resources.accounting import ItemRequestRequest + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.accounting.items.create( + model=ItemRequestRequest(), + ) + + + 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, @@ -383,7 +600,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -392,4 +609,139 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data + + async def partial_update( + self, + id: str, + *, + model: PatchedItemRequestRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> ItemResponse: + """ + Updates an `Item` object with the given `id`. + + 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. + + Returns + ------- + ItemResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + from merge.resources.accounting import PatchedItemRequestRequest + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.accounting.items.partial_update( + id="id", + model=PatchedItemRequestRequest(), + ) + + + 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 `Item` 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.items.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 `Item` 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.items.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/accounting/resources/items/raw_client.py b/src/merge/resources/accounting/resources/items/raw_client.py index cb01704e..ab7550e3 100644 --- a/src/merge/resources/accounting/resources/items/raw_client.py +++ b/src/merge/resources/accounting/resources/items/raw_client.py @@ -1,21 +1,27 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .types.items_list_request_expand import ItemsListRequestExpand -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_item_list import PaginatedItemList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .types.items_retrieve_request_expand import ItemsRetrieveRequestExpand -from ...types.item import Item +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type +from ...types.item import Item +from ...types.item_request_request import ItemRequestRequest +from ...types.item_response import ItemResponse +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 + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) class RawItemsClient: @@ -129,8 +135,68 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: ItemRequestRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[ItemResponse]: + """ + Creates an `Item` object with the given values. + + 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. + + Returns + ------- + HttpResponse[ItemResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + "accounting/v1/items", + 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( + ItemResponse, + construct_type( + type_=ItemResponse, # 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, @@ -197,8 +263,145 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: PatchedItemRequestRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[ItemResponse]: + """ + Updates an `Item` object with the given `id`. + + 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. + + Returns + ------- + HttpResponse[ItemResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + f"accounting/v1/items/{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( + ItemResponse, + construct_type( + type_=ItemResponse, # 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 `Item` 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/items/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]: + """ + Returns metadata for `Item` POSTs. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[MetaResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + "accounting/v1/items/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 AsyncRawItemsClient: @@ -312,8 +515,68 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: ItemRequestRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[ItemResponse]: + """ + Creates an `Item` object with the given values. + + 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. + + Returns + ------- + AsyncHttpResponse[ItemResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + "accounting/v1/items", + 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( + ItemResponse, + construct_type( + type_=ItemResponse, # 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, @@ -380,5 +643,142 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: PatchedItemRequestRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[ItemResponse]: + """ + Updates an `Item` object with the given `id`. + + 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. + + Returns + ------- + AsyncHttpResponse[ItemResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + f"accounting/v1/items/{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( + ItemResponse, + construct_type( + type_=ItemResponse, # 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 `Item` 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/items/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]: + """ + Returns metadata for `Item` POSTs. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[MetaResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + "accounting/v1/items/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/accounting/resources/items/types/__init__.py b/src/merge/resources/accounting/resources/items/types/__init__.py index d7d2ba1a..b517c3fb 100644 --- a/src/merge/resources/accounting/resources/items/types/__init__.py +++ b/src/merge/resources/accounting/resources/items/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .items_list_request_expand import ItemsListRequestExpand from .items_retrieve_request_expand import ItemsRetrieveRequestExpand diff --git a/src/merge/resources/accounting/resources/journal_entries/__init__.py b/src/merge/resources/accounting/resources/journal_entries/__init__.py index c59f94f7..e49d58bb 100644 --- a/src/merge/resources/accounting/resources/journal_entries/__init__.py +++ b/src/merge/resources/accounting/resources/journal_entries/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import JournalEntriesListRequestExpand, JournalEntriesRetrieveRequestExpand __all__ = ["JournalEntriesListRequestExpand", "JournalEntriesRetrieveRequestExpand"] diff --git a/src/merge/resources/accounting/resources/journal_entries/client.py b/src/merge/resources/accounting/resources/journal_entries/client.py index 78e0058b..f35ff8eb 100644 --- a/src/merge/resources/accounting/resources/journal_entries/client.py +++ b/src/merge/resources/accounting/resources/journal_entries/client.py @@ -1,20 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawJournalEntriesClient import datetime as dt -from .types.journal_entries_list_request_expand import JournalEntriesListRequestExpand +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_journal_entry_list import PaginatedJournalEntryList +from ...types.journal_entry import JournalEntry from ...types.journal_entry_request import JournalEntryRequest from ...types.journal_entry_response import JournalEntryResponse -from .types.journal_entries_retrieve_request_expand import JournalEntriesRetrieveRequestExpand -from ...types.journal_entry import JournalEntry -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawJournalEntriesClient +from ...types.paginated_journal_entry_list import PaginatedJournalEntryList +from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList +from .raw_client import AsyncRawJournalEntriesClient, RawJournalEntriesClient +from .types.journal_entries_list_request_expand import JournalEntriesListRequestExpand +from .types.journal_entries_retrieve_request_expand import JournalEntriesRetrieveRequestExpand # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -123,7 +122,7 @@ def list( ) client.accounting.journal_entries.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -141,7 +140,7 @@ def list( transaction_date_before=transaction_date_before, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -185,10 +184,10 @@ def create( model=JournalEntryRequest(), ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options ) - return response.data + return _response.data def retrieve( self, @@ -239,7 +238,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -247,7 +246,7 @@ def retrieve( include_shell_data=include_shell_data, request_options=request_options, ) - return response.data + return _response.data def lines_remote_field_classes_list( self, @@ -257,6 +256,7 @@ def lines_remote_field_classes_list( 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: @@ -280,6 +280,9 @@ def lines_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. @@ -301,16 +304,17 @@ def lines_remote_field_classes_list( ) client.accounting.journal_entries.lines_remote_field_classes_list() """ - response = self._raw_client.lines_remote_field_classes_list( + _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 + return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -336,8 +340,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.accounting.journal_entries.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data def remote_field_classes_list( self, @@ -347,6 +351,7 @@ def remote_field_classes_list( 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: @@ -370,6 +375,9 @@ def 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. @@ -391,16 +399,17 @@ def remote_field_classes_list( ) client.accounting.journal_entries.remote_field_classes_list() """ - response = self._raw_client.remote_field_classes_list( + _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 + return _response.data class AsyncJournalEntriesClient: @@ -514,7 +523,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -532,7 +541,7 @@ async def main() -> None: transaction_date_before=transaction_date_before, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -584,10 +593,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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 + return _response.data async def retrieve( self, @@ -646,7 +655,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -654,7 +663,7 @@ async def main() -> None: include_shell_data=include_shell_data, request_options=request_options, ) - return response.data + return _response.data async def lines_remote_field_classes_list( self, @@ -664,6 +673,7 @@ async def lines_remote_field_classes_list( 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: @@ -687,6 +697,9 @@ async def lines_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. @@ -716,16 +729,17 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.lines_remote_field_classes_list( + _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 + return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -759,8 +773,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data async def remote_field_classes_list( self, @@ -770,6 +784,7 @@ async def remote_field_classes_list( 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: @@ -793,6 +808,9 @@ async def 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. @@ -822,13 +840,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.remote_field_classes_list( + _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 + 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 44fb90d0..622bede3 100644 --- a/src/merge/resources/accounting/resources/journal_entries/raw_client.py +++ b/src/merge/resources/accounting/resources/journal_entries/raw_client.py @@ -1,25 +1,24 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .types.journal_entries_list_request_expand import JournalEntriesListRequestExpand -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_journal_entry_list import PaginatedJournalEntryList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +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.journal_entry import JournalEntry from ...types.journal_entry_request import JournalEntryRequest from ...types.journal_entry_response import JournalEntryResponse -from .types.journal_entries_retrieve_request_expand import JournalEntriesRetrieveRequestExpand -from ...types.journal_entry import JournalEntry -from .....core.jsonable_encoder import jsonable_encoder -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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 # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -145,8 +144,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -205,8 +204,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -268,8 +267,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -279,6 +278,7 @@ def lines_remote_field_classes_list( 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]: @@ -302,6 +302,9 @@ def lines_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. @@ -322,6 +325,7 @@ def lines_remote_field_classes_list( "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, @@ -338,8 +342,8 @@ def lines_remote_field_classes_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -374,8 +378,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -385,6 +389,7 @@ def remote_field_classes_list( 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]: @@ -408,6 +413,9 @@ def 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. @@ -428,6 +436,7 @@ def remote_field_classes_list( "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, @@ -444,8 +453,8 @@ def remote_field_classes_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawJournalEntriesClient: @@ -568,8 +577,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -628,8 +637,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -691,8 +700,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -702,6 +711,7 @@ async def lines_remote_field_classes_list( 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]: @@ -725,6 +735,9 @@ async def lines_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. @@ -745,6 +758,7 @@ async def lines_remote_field_classes_list( "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, @@ -761,8 +775,8 @@ async def lines_remote_field_classes_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -797,8 +811,8 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -808,6 +822,7 @@ async def remote_field_classes_list( 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]: @@ -831,6 +846,9 @@ async def 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. @@ -851,6 +869,7 @@ async def remote_field_classes_list( "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, @@ -867,5 +886,5 @@ async def remote_field_classes_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/journal_entries/types/__init__.py b/src/merge/resources/accounting/resources/journal_entries/types/__init__.py index 12893fa2..f0e23435 100644 --- a/src/merge/resources/accounting/resources/journal_entries/types/__init__.py +++ b/src/merge/resources/accounting/resources/journal_entries/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .journal_entries_list_request_expand import JournalEntriesListRequestExpand from .journal_entries_retrieve_request_expand import JournalEntriesRetrieveRequestExpand diff --git a/src/merge/resources/accounting/resources/link_token/__init__.py b/src/merge/resources/accounting/resources/link_token/__init__.py index f3ea2659..a640c12b 100644 --- a/src/merge/resources/accounting/resources/link_token/__init__.py +++ b/src/merge/resources/accounting/resources/link_token/__init__.py @@ -1,2 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + +from .types import EndUserDetailsRequestLanguage + +__all__ = ["EndUserDetailsRequestLanguage"] diff --git a/src/merge/resources/accounting/resources/link_token/client.py b/src/merge/resources/accounting/resources/link_token/client.py index 1f75ec39..840832bb 100644 --- a/src/merge/resources/accounting/resources/link_token/client.py +++ b/src/merge/resources/accounting/resources/link_token/client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawLinkTokenClient + +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 .....core.request_options import RequestOptions from ...types.link_token import LinkToken -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawLinkTokenClient +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, ...) @@ -46,7 +45,7 @@ def create( category_common_model_scopes: typing.Optional[ typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] ] = OMIT, - language: typing.Optional[LanguageEnum] = 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, request_options: typing.Optional[RequestOptions] = None, @@ -86,7 +85,7 @@ def 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. - language : typing.Optional[LanguageEnum] + language : typing.Optional[EndUserDetailsRequestLanguage] The following subset of IETF language tags can be used to configure localization. * `en` - en @@ -122,7 +121,7 @@ def create( categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], ) """ - response = self._raw_client.create( + _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, @@ -138,7 +137,7 @@ def create( integration_specific_config=integration_specific_config, request_options=request_options, ) - return response.data + return _response.data class AsyncLinkTokenClient: @@ -171,7 +170,7 @@ async def create( category_common_model_scopes: typing.Optional[ typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] ] = OMIT, - language: typing.Optional[LanguageEnum] = 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, request_options: typing.Optional[RequestOptions] = None, @@ -211,7 +210,7 @@ async def 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. - language : typing.Optional[LanguageEnum] + language : typing.Optional[EndUserDetailsRequestLanguage] The following subset of IETF language tags can be used to configure localization. * `en` - en @@ -255,7 +254,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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, @@ -271,4 +270,4 @@ async def main() -> None: integration_specific_config=integration_specific_config, request_options=request_options, ) - return response.data + return _response.data 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 4ce4d18b..06ad90b6 100644 --- a/src/merge/resources/accounting/resources/link_token/raw_client.py +++ b/src/merge/resources/accounting/resources/link_token/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper +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 .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse from ...types.link_token import LinkToken -from .....core.unchecked_base_model import construct_type -from json.decoder import JSONDecodeError -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from .types.end_user_details_request_language import EndUserDetailsRequestLanguage # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -38,7 +37,7 @@ def create( category_common_model_scopes: typing.Optional[ typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] ] = OMIT, - language: typing.Optional[LanguageEnum] = 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, request_options: typing.Optional[RequestOptions] = None, @@ -78,7 +77,7 @@ def 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. - language : typing.Optional[LanguageEnum] + language : typing.Optional[EndUserDetailsRequestLanguage] The following subset of IETF language tags can be used to configure localization. * `en` - en @@ -134,8 +133,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -157,7 +156,7 @@ async def create( category_common_model_scopes: typing.Optional[ typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] ] = OMIT, - language: typing.Optional[LanguageEnum] = 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, request_options: typing.Optional[RequestOptions] = None, @@ -197,7 +196,7 @@ async def 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. - language : typing.Optional[LanguageEnum] + language : typing.Optional[EndUserDetailsRequestLanguage] The following subset of IETF language tags can be used to configure localization. * `en` - en @@ -253,5 +252,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/link_token/types/__init__.py b/src/merge/resources/accounting/resources/link_token/types/__init__.py new file mode 100644 index 00000000..fa266f8e --- /dev/null +++ b/src/merge/resources/accounting/resources/link_token/types/__init__.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +from .end_user_details_request_language import EndUserDetailsRequestLanguage + +__all__ = ["EndUserDetailsRequestLanguage"] diff --git a/src/merge/resources/accounting/resources/link_token/types/end_user_details_request_language.py b/src/merge/resources/accounting/resources/link_token/types/end_user_details_request_language.py new file mode 100644 index 00000000..65c4b44a --- /dev/null +++ b/src/merge/resources/accounting/resources/link_token/types/end_user_details_request_language.py @@ -0,0 +1,7 @@ +# 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/accounting/resources/linked_accounts/__init__.py b/src/merge/resources/accounting/resources/linked_accounts/__init__.py index 70377fa3..e7254ec5 100644 --- a/src/merge/resources/accounting/resources/linked_accounts/__init__.py +++ b/src/merge/resources/accounting/resources/linked_accounts/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import LinkedAccountsListRequestCategory __all__ = ["LinkedAccountsListRequestCategory"] diff --git a/src/merge/resources/accounting/resources/linked_accounts/client.py b/src/merge/resources/accounting/resources/linked_accounts/client.py index ad9fb893..df102c2b 100644 --- a/src/merge/resources/accounting/resources/linked_accounts/client.py +++ b/src/merge/resources/accounting/resources/linked_accounts/client.py @@ -1,13 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawLinkedAccountsClient import typing -from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawLinkedAccountsClient +from .raw_client import AsyncRawLinkedAccountsClient, RawLinkedAccountsClient +from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory class LinkedAccountsClient: @@ -112,7 +111,7 @@ def list( ) client.accounting.linked_accounts.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -128,7 +127,7 @@ def list( status=status, request_options=request_options, ) - return response.data + return _response.data class AsyncLinkedAccountsClient: @@ -241,7 +240,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -257,4 +256,4 @@ async def main() -> None: status=status, request_options=request_options, ) - return response.data + 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 b4444e90..ccb799fd 100644 --- a/src/merge/resources/accounting/resources/linked_accounts/raw_client.py +++ b/src/merge/resources/accounting/resources/linked_accounts/raw_client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -126,8 +125,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -243,5 +242,5 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/linked_accounts/types/__init__.py b/src/merge/resources/accounting/resources/linked_accounts/types/__init__.py index 9ff5c0ae..88354602 100644 --- a/src/merge/resources/accounting/resources/linked_accounts/types/__init__.py +++ b/src/merge/resources/accounting/resources/linked_accounts/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .linked_accounts_list_request_category import LinkedAccountsListRequestCategory __all__ = ["LinkedAccountsListRequestCategory"] diff --git a/src/merge/resources/accounting/resources/passthrough/__init__.py b/src/merge/resources/accounting/resources/passthrough/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/accounting/resources/passthrough/__init__.py +++ b/src/merge/resources/accounting/resources/passthrough/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/accounting/resources/passthrough/client.py b/src/merge/resources/accounting/resources/passthrough/client.py index e9c173aa..ad9f1b57 100644 --- a/src/merge/resources/accounting/resources/passthrough/client.py +++ b/src/merge/resources/accounting/resources/passthrough/client.py @@ -1,13 +1,12 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawPassthroughClient -from ...types.data_passthrough_request import DataPassthroughRequest + +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 .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawPassthroughClient +from .raw_client import AsyncRawPassthroughClient, RawPassthroughClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -62,8 +61,8 @@ def create( ), ) """ - response = self._raw_client.create(request=request, request_options=request_options) - return response.data + _response = self._raw_client.create(request=request, request_options=request_options) + return _response.data class AsyncPassthroughClient: @@ -123,5 +122,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create(request=request, request_options=request_options) - return response.data + _response = await self._raw_client.create(request=request, request_options=request_options) + return _response.data diff --git a/src/merge/resources/accounting/resources/passthrough/raw_client.py b/src/merge/resources/accounting/resources/passthrough/raw_client.py index 767b9800..f02bb1a3 100644 --- a/src/merge/resources/accounting/resources/passthrough/raw_client.py +++ b/src/merge/resources/accounting/resources/passthrough/raw_client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from ...types.data_passthrough_request import DataPassthroughRequest -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.remote_response import RemoteResponse -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -42,6 +41,9 @@ def create( "accounting/v1/passthrough", method="POST", json=request, + headers={ + "content-type": "application/json", + }, request_options=request_options, omit=OMIT, ) @@ -57,8 +59,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -87,6 +89,9 @@ async def create( "accounting/v1/passthrough", method="POST", json=request, + headers={ + "content-type": "application/json", + }, request_options=request_options, omit=OMIT, ) @@ -102,5 +107,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/payment_methods/__init__.py b/src/merge/resources/accounting/resources/payment_methods/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/accounting/resources/payment_methods/__init__.py +++ b/src/merge/resources/accounting/resources/payment_methods/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/accounting/resources/payment_methods/client.py b/src/merge/resources/accounting/resources/payment_methods/client.py index 7b727e3d..ee070e4f 100644 --- a/src/merge/resources/accounting/resources/payment_methods/client.py +++ b/src/merge/resources/accounting/resources/payment_methods/client.py @@ -1,13 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawPaymentMethodsClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.paginated_payment_method_list import PaginatedPaymentMethodList from ...types.payment_method import PaymentMethod -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawPaymentMethodsClient +from .raw_client import AsyncRawPaymentMethodsClient, RawPaymentMethodsClient class PaymentMethodsClient: @@ -73,7 +72,7 @@ def list( ) client.accounting.payment_methods.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -81,7 +80,7 @@ def list( page_size=page_size, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -124,13 +123,13 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncPaymentMethodsClient: @@ -204,7 +203,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -212,7 +211,7 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -263,10 +262,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data 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 0786bd15..78256eba 100644 --- a/src/merge/resources/accounting/resources/payment_methods/raw_client.py +++ b/src/merge/resources/accounting/resources/payment_methods/raw_client.py @@ -1,17 +1,16 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_payment_method_list import PaginatedPaymentMethodList -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.payment_method import PaymentMethod +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type +from ...types.paginated_payment_method_list import PaginatedPaymentMethodList +from ...types.payment_method import PaymentMethod class RawPaymentMethodsClient: @@ -80,8 +79,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -133,8 +132,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawPaymentMethodsClient: @@ -203,8 +202,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -256,5 +255,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/payment_terms/__init__.py b/src/merge/resources/accounting/resources/payment_terms/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/accounting/resources/payment_terms/__init__.py +++ b/src/merge/resources/accounting/resources/payment_terms/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/accounting/resources/payment_terms/client.py b/src/merge/resources/accounting/resources/payment_terms/client.py index 99b2955d..7de8f6a7 100644 --- a/src/merge/resources/accounting/resources/payment_terms/client.py +++ b/src/merge/resources/accounting/resources/payment_terms/client.py @@ -1,13 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawPaymentTermsClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.paginated_payment_term_list import PaginatedPaymentTermList from ...types.payment_term import PaymentTerm -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawPaymentTermsClient +from .raw_client import AsyncRawPaymentTermsClient, RawPaymentTermsClient class PaymentTermsClient: @@ -77,7 +76,7 @@ def list( ) client.accounting.payment_terms.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( cursor=cursor, expand=expand, include_deleted_data=include_deleted_data, @@ -86,7 +85,7 @@ def list( page_size=page_size, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -133,14 +132,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncPaymentTermsClient: @@ -218,7 +217,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( cursor=cursor, expand=expand, include_deleted_data=include_deleted_data, @@ -227,7 +226,7 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -282,11 +281,11 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data 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 e2860630..17476644 100644 --- a/src/merge/resources/accounting/resources/payment_terms/raw_client.py +++ b/src/merge/resources/accounting/resources/payment_terms/raw_client.py @@ -1,17 +1,16 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_payment_term_list import PaginatedPaymentTermList -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.payment_term import PaymentTerm +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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 class RawPaymentTermsClient: @@ -85,8 +84,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -143,8 +142,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawPaymentTermsClient: @@ -218,8 +217,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -276,5 +275,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/payments/__init__.py b/src/merge/resources/accounting/resources/payments/__init__.py index 3fd59237..2492973d 100644 --- a/src/merge/resources/accounting/resources/payments/__init__.py +++ b/src/merge/resources/accounting/resources/payments/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import PaymentsListRequestExpand, PaymentsRetrieveRequestExpand __all__ = ["PaymentsListRequestExpand", "PaymentsRetrieveRequestExpand"] diff --git a/src/merge/resources/accounting/resources/payments/client.py b/src/merge/resources/accounting/resources/payments/client.py index 58c365e5..473acf56 100644 --- a/src/merge/resources/accounting/resources/payments/client.py +++ b/src/merge/resources/accounting/resources/payments/client.py @@ -1,21 +1,20 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawPaymentsClient import datetime as dt -from .types.payments_list_request_expand import PaymentsListRequestExpand +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions +from ...types.meta_response import MetaResponse from ...types.paginated_payment_list import PaginatedPaymentList +from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList +from ...types.patched_payment_request import PatchedPaymentRequest +from ...types.payment import Payment from ...types.payment_request import PaymentRequest from ...types.payment_response import PaymentResponse +from .raw_client import AsyncRawPaymentsClient, RawPaymentsClient +from .types.payments_list_request_expand import PaymentsListRequestExpand from .types.payments_retrieve_request_expand import PaymentsRetrieveRequestExpand -from ...types.payment import Payment -from ...types.patched_payment_request import PatchedPaymentRequest -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawPaymentsClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -132,7 +131,7 @@ def list( ) client.accounting.payments.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( account_id=account_id, company_id=company_id, contact_id=contact_id, @@ -152,7 +151,7 @@ def list( transaction_date_before=transaction_date_before, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -196,10 +195,10 @@ def create( model=PaymentRequest(), ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options ) - return response.data + return _response.data def retrieve( self, @@ -250,7 +249,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -258,7 +257,7 @@ def retrieve( include_shell_data=include_shell_data, request_options=request_options, ) - return response.data + return _response.data def partial_update( self, @@ -306,10 +305,10 @@ def partial_update( model=PatchedPaymentRequest(), ) """ - response = self._raw_client.partial_update( + _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 + return _response.data def line_items_remote_field_classes_list( self, @@ -319,6 +318,7 @@ def line_items_remote_field_classes_list( 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: @@ -342,6 +342,9 @@ def 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 + 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. @@ -363,16 +366,17 @@ def line_items_remote_field_classes_list( ) client.accounting.payments.line_items_remote_field_classes_list() """ - response = self._raw_client.line_items_remote_field_classes_list( + _response = self._raw_client.line_items_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 + return _response.data def meta_patch_retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -402,8 +406,8 @@ def meta_patch_retrieve(self, id: str, *, request_options: typing.Optional[Reque id="id", ) """ - response = self._raw_client.meta_patch_retrieve(id, request_options=request_options) - return response.data + _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: """ @@ -429,8 +433,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.accounting.payments.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data def remote_field_classes_list( self, @@ -440,6 +444,7 @@ def remote_field_classes_list( 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: @@ -463,6 +468,9 @@ def 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. @@ -484,16 +492,17 @@ def remote_field_classes_list( ) client.accounting.payments.remote_field_classes_list() """ - response = self._raw_client.remote_field_classes_list( + _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 + return _response.data class AsyncPaymentsClient: @@ -615,7 +624,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( account_id=account_id, company_id=company_id, contact_id=contact_id, @@ -635,7 +644,7 @@ async def main() -> None: transaction_date_before=transaction_date_before, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -687,10 +696,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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 + return _response.data async def retrieve( self, @@ -749,7 +758,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -757,7 +766,7 @@ async def main() -> None: include_shell_data=include_shell_data, request_options=request_options, ) - return response.data + return _response.data async def partial_update( self, @@ -813,10 +822,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.partial_update( + _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 + return _response.data async def line_items_remote_field_classes_list( self, @@ -826,6 +835,7 @@ async def line_items_remote_field_classes_list( 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: @@ -849,6 +859,9 @@ async def 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 + 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. @@ -878,16 +891,17 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.line_items_remote_field_classes_list( + _response = await self._raw_client.line_items_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 + return _response.data async def meta_patch_retrieve( self, id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -927,8 +941,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_patch_retrieve(id, request_options=request_options) - return response.data + _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: """ @@ -962,8 +976,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data async def remote_field_classes_list( self, @@ -973,6 +987,7 @@ async def remote_field_classes_list( 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: @@ -996,6 +1011,9 @@ async def 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. @@ -1025,13 +1043,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.remote_field_classes_list( + _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 + 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 3c7b216d..590f6502 100644 --- a/src/merge/resources/accounting/resources/payments/raw_client.py +++ b/src/merge/resources/accounting/resources/payments/raw_client.py @@ -1,26 +1,25 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .types.payments_list_request_expand import PaymentsListRequestExpand -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_payment_list import PaginatedPaymentList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +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.meta_response import MetaResponse +from ...types.paginated_payment_list import PaginatedPaymentList +from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList +from ...types.patched_payment_request import PatchedPaymentRequest +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.payment import Payment -from .....core.jsonable_encoder import jsonable_encoder -from ...types.patched_payment_request import PatchedPaymentRequest -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -156,8 +155,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -216,8 +215,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -279,8 +278,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -342,8 +341,8 @@ def partial_update( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 line_items_remote_field_classes_list( self, @@ -353,6 +352,7 @@ def line_items_remote_field_classes_list( 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]: @@ -376,6 +376,9 @@ def 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 + 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. @@ -396,6 +399,7 @@ def line_items_remote_field_classes_list( "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, @@ -412,8 +416,8 @@ def line_items_remote_field_classes_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -450,8 +454,8 @@ def meta_patch_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -486,8 +490,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -497,6 +501,7 @@ def remote_field_classes_list( 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]: @@ -520,6 +525,9 @@ def 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. @@ -540,6 +548,7 @@ def remote_field_classes_list( "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, @@ -556,8 +565,8 @@ def remote_field_classes_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawPaymentsClient: @@ -690,8 +699,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -750,8 +759,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -813,8 +822,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -876,8 +885,8 @@ async def partial_update( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 line_items_remote_field_classes_list( self, @@ -887,6 +896,7 @@ async def line_items_remote_field_classes_list( 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]: @@ -910,6 +920,9 @@ async def 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 + 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. @@ -930,6 +943,7 @@ async def line_items_remote_field_classes_list( "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, @@ -946,8 +960,8 @@ async def line_items_remote_field_classes_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -984,8 +998,8 @@ async def meta_patch_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -1020,8 +1034,8 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -1031,6 +1045,7 @@ async def remote_field_classes_list( 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]: @@ -1054,6 +1069,9 @@ async def 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. @@ -1074,6 +1092,7 @@ async def remote_field_classes_list( "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, @@ -1090,5 +1109,5 @@ async def remote_field_classes_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/payments/types/__init__.py b/src/merge/resources/accounting/resources/payments/types/__init__.py index ba7ff50c..8dbe9c4f 100644 --- a/src/merge/resources/accounting/resources/payments/types/__init__.py +++ b/src/merge/resources/accounting/resources/payments/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .payments_list_request_expand import PaymentsListRequestExpand from .payments_retrieve_request_expand import PaymentsRetrieveRequestExpand diff --git a/src/merge/resources/accounting/resources/phone_numbers/__init__.py b/src/merge/resources/accounting/resources/phone_numbers/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/accounting/resources/phone_numbers/__init__.py +++ b/src/merge/resources/accounting/resources/phone_numbers/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/accounting/resources/phone_numbers/client.py b/src/merge/resources/accounting/resources/phone_numbers/client.py index 05b3e89c..e794ee7f 100644 --- a/src/merge/resources/accounting/resources/phone_numbers/client.py +++ b/src/merge/resources/accounting/resources/phone_numbers/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawPhoneNumbersClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.accounting_phone_number import AccountingPhoneNumber -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawPhoneNumbersClient +from .raw_client import AsyncRawPhoneNumbersClient, RawPhoneNumbersClient class PhoneNumbersClient: @@ -65,13 +64,13 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncPhoneNumbersClient: @@ -138,10 +137,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data diff --git a/src/merge/resources/accounting/resources/phone_numbers/raw_client.py b/src/merge/resources/accounting/resources/phone_numbers/raw_client.py index 7ec13ab6..923613ee 100644 --- a/src/merge/resources/accounting/resources/phone_numbers/raw_client.py +++ b/src/merge/resources/accounting/resources/phone_numbers/raw_client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.accounting_phone_number import AccountingPhoneNumber -from .....core.jsonable_encoder import jsonable_encoder -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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.accounting_phone_number import AccountingPhoneNumber class RawPhoneNumbersClient: @@ -67,8 +66,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawPhoneNumbersClient: @@ -125,5 +124,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/projects/__init__.py b/src/merge/resources/accounting/resources/projects/__init__.py new file mode 100644 index 00000000..5054f158 --- /dev/null +++ b/src/merge/resources/accounting/resources/projects/__init__.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +from .types import ProjectsListRequestExpand, ProjectsRetrieveRequestExpand + +__all__ = ["ProjectsListRequestExpand", "ProjectsRetrieveRequestExpand"] diff --git a/src/merge/resources/accounting/resources/projects/client.py b/src/merge/resources/accounting/resources/projects/client.py new file mode 100644 index 00000000..35cd8109 --- /dev/null +++ b/src/merge/resources/accounting/resources/projects/client.py @@ -0,0 +1,293 @@ +# 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_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 + + +class ProjectsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawProjectsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawProjectsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawProjectsClient + """ + return self._raw_client + + def list( + self, + *, + cursor: typing.Optional[str] = None, + expand: typing.Optional[ProjectsListRequestExpand] = 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, + ) -> PaginatedProjectList: + """ + Returns a list of `Project` objects. + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + expand : typing.Optional[ProjectsListRequestExpand] + 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. + + Returns + ------- + PaginatedProjectList + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.accounting.projects.list() + """ + _response = 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, + page_size=page_size, + request_options=request_options, + ) + return _response.data + + def retrieve( + self, + id: str, + *, + expand: typing.Optional[ProjectsRetrieveRequestExpand] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> Project: + """ + Returns a `Project` object with the given `id`. + + Parameters + ---------- + 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). + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + Project + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.accounting.projects.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 AsyncProjectsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawProjectsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawProjectsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawProjectsClient + """ + return self._raw_client + + async def list( + self, + *, + cursor: typing.Optional[str] = None, + expand: typing.Optional[ProjectsListRequestExpand] = 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, + ) -> PaginatedProjectList: + """ + Returns a list of `Project` objects. + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + expand : typing.Optional[ProjectsListRequestExpand] + 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. + + Returns + ------- + PaginatedProjectList + + + 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.projects.list() + + + asyncio.run(main()) + """ + _response = 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, + page_size=page_size, + request_options=request_options, + ) + return _response.data + + async def retrieve( + self, + id: str, + *, + expand: typing.Optional[ProjectsRetrieveRequestExpand] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> Project: + """ + Returns a `Project` object with the given `id`. + + Parameters + ---------- + 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). + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + Project + + + 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.projects.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/accounting/resources/projects/raw_client.py b/src/merge/resources/accounting/resources/projects/raw_client.py new file mode 100644 index 00000000..cc7e7f81 --- /dev/null +++ b/src/merge/resources/accounting/resources/projects/raw_client.py @@ -0,0 +1,281 @@ +# 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.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 + + +class RawProjectsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def list( + self, + *, + cursor: typing.Optional[str] = None, + expand: typing.Optional[ProjectsListRequestExpand] = 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[PaginatedProjectList]: + """ + Returns a list of `Project` objects. + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + expand : typing.Optional[ProjectsListRequestExpand] + 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. + + Returns + ------- + HttpResponse[PaginatedProjectList] + + """ + _response = self._client_wrapper.httpx_client.request( + "accounting/v1/projects", + 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( + PaginatedProjectList, + construct_type( + type_=PaginatedProjectList, # 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[ProjectsRetrieveRequestExpand] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[Project]: + """ + Returns a `Project` object with the given `id`. + + Parameters + ---------- + 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). + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[Project] + + """ + _response = self._client_wrapper.httpx_client.request( + f"accounting/v1/projects/{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( + Project, + construct_type( + type_=Project, # 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 AsyncRawProjectsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def list( + self, + *, + cursor: typing.Optional[str] = None, + expand: typing.Optional[ProjectsListRequestExpand] = 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[PaginatedProjectList]: + """ + Returns a list of `Project` objects. + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + expand : typing.Optional[ProjectsListRequestExpand] + 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. + + Returns + ------- + AsyncHttpResponse[PaginatedProjectList] + + """ + _response = await self._client_wrapper.httpx_client.request( + "accounting/v1/projects", + 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( + PaginatedProjectList, + construct_type( + type_=PaginatedProjectList, # 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[ProjectsRetrieveRequestExpand] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[Project]: + """ + Returns a `Project` object with the given `id`. + + Parameters + ---------- + 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). + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[Project] + + """ + _response = await self._client_wrapper.httpx_client.request( + f"accounting/v1/projects/{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( + Project, + construct_type( + type_=Project, # 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/projects/types/__init__.py b/src/merge/resources/accounting/resources/projects/types/__init__.py new file mode 100644 index 00000000..a050e78e --- /dev/null +++ b/src/merge/resources/accounting/resources/projects/types/__init__.py @@ -0,0 +1,8 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +from .projects_list_request_expand import ProjectsListRequestExpand +from .projects_retrieve_request_expand import ProjectsRetrieveRequestExpand + +__all__ = ["ProjectsListRequestExpand", "ProjectsRetrieveRequestExpand"] 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 new file mode 100644 index 00000000..e1f087c4 --- /dev/null +++ b/src/merge/resources/accounting/resources/projects/types/projects_list_request_expand.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 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_retrieve_request_expand.py b/src/merge/resources/accounting/resources/projects/types/projects_retrieve_request_expand.py new file mode 100644 index 00000000..7aa1205a --- /dev/null +++ b/src/merge/resources/accounting/resources/projects/types/projects_retrieve_request_expand.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 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/purchase_orders/__init__.py b/src/merge/resources/accounting/resources/purchase_orders/__init__.py index 200b8308..d8e64cb8 100644 --- a/src/merge/resources/accounting/resources/purchase_orders/__init__.py +++ b/src/merge/resources/accounting/resources/purchase_orders/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import PurchaseOrdersListRequestExpand, PurchaseOrdersRetrieveRequestExpand __all__ = ["PurchaseOrdersListRequestExpand", "PurchaseOrdersRetrieveRequestExpand"] diff --git a/src/merge/resources/accounting/resources/purchase_orders/client.py b/src/merge/resources/accounting/resources/purchase_orders/client.py index 69882e9a..4b7a1931 100644 --- a/src/merge/resources/accounting/resources/purchase_orders/client.py +++ b/src/merge/resources/accounting/resources/purchase_orders/client.py @@ -1,20 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawPurchaseOrdersClient import datetime as dt -from .types.purchase_orders_list_request_expand import PurchaseOrdersListRequestExpand +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions +from ...types.meta_response import MetaResponse from ...types.paginated_purchase_order_list import PaginatedPurchaseOrderList +from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList +from ...types.purchase_order import PurchaseOrder from ...types.purchase_order_request import PurchaseOrderRequest from ...types.purchase_order_response import PurchaseOrderResponse +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_order import PurchaseOrder -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawPurchaseOrdersClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -131,7 +130,7 @@ def list( ) client.accounting.purchase_orders.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -151,7 +150,7 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -195,10 +194,10 @@ def create( model=PurchaseOrderRequest(), ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options ) - return response.data + return _response.data def retrieve( self, @@ -257,7 +256,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -267,7 +266,7 @@ def retrieve( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data def line_items_remote_field_classes_list( self, @@ -277,6 +276,7 @@ def line_items_remote_field_classes_list( 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: @@ -300,6 +300,9 @@ def 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 + 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. @@ -321,16 +324,17 @@ def line_items_remote_field_classes_list( ) client.accounting.purchase_orders.line_items_remote_field_classes_list() """ - response = self._raw_client.line_items_remote_field_classes_list( + _response = self._raw_client.line_items_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 + return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -356,8 +360,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.accounting.purchase_orders.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data def remote_field_classes_list( self, @@ -367,6 +371,7 @@ def remote_field_classes_list( 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: @@ -390,6 +395,9 @@ def 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. @@ -411,16 +419,17 @@ def remote_field_classes_list( ) client.accounting.purchase_orders.remote_field_classes_list() """ - response = self._raw_client.remote_field_classes_list( + _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 + return _response.data class AsyncPurchaseOrdersClient: @@ -542,7 +551,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -562,7 +571,7 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -614,10 +623,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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 + return _response.data async def retrieve( self, @@ -684,7 +693,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -694,7 +703,7 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data async def line_items_remote_field_classes_list( self, @@ -704,6 +713,7 @@ async def line_items_remote_field_classes_list( 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: @@ -727,6 +737,9 @@ async def 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 + 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. @@ -756,16 +769,17 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.line_items_remote_field_classes_list( + _response = await self._raw_client.line_items_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 + return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -799,8 +813,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data async def remote_field_classes_list( self, @@ -810,6 +824,7 @@ async def remote_field_classes_list( 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: @@ -833,6 +848,9 @@ async def 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. @@ -862,13 +880,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.remote_field_classes_list( + _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 + 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 1a8962ae..035a7463 100644 --- a/src/merge/resources/accounting/resources/purchase_orders/raw_client.py +++ b/src/merge/resources/accounting/resources/purchase_orders/raw_client.py @@ -1,25 +1,24 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .types.purchase_orders_list_request_expand import PurchaseOrdersListRequestExpand -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_purchase_order_list import PaginatedPurchaseOrderList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +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.meta_response import MetaResponse +from ...types.paginated_purchase_order_list import PaginatedPurchaseOrderList +from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList +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.purchase_order import PurchaseOrder -from .....core.jsonable_encoder import jsonable_encoder -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -151,8 +150,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -211,8 +210,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -284,8 +283,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 line_items_remote_field_classes_list( self, @@ -295,6 +294,7 @@ def line_items_remote_field_classes_list( 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]: @@ -318,6 +318,9 @@ def 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 + 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. @@ -338,6 +341,7 @@ def line_items_remote_field_classes_list( "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, @@ -354,8 +358,8 @@ def line_items_remote_field_classes_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -390,8 +394,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -401,6 +405,7 @@ def remote_field_classes_list( 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]: @@ -424,6 +429,9 @@ def 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. @@ -444,6 +452,7 @@ def remote_field_classes_list( "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, @@ -460,8 +469,8 @@ def remote_field_classes_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawPurchaseOrdersClient: @@ -590,8 +599,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -650,8 +659,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -723,8 +732,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 line_items_remote_field_classes_list( self, @@ -734,6 +743,7 @@ async def line_items_remote_field_classes_list( 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]: @@ -757,6 +767,9 @@ async def 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 + 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. @@ -777,6 +790,7 @@ async def line_items_remote_field_classes_list( "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, @@ -793,8 +807,8 @@ async def line_items_remote_field_classes_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -829,8 +843,8 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -840,6 +854,7 @@ async def remote_field_classes_list( 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]: @@ -863,6 +878,9 @@ async def 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. @@ -883,6 +901,7 @@ async def remote_field_classes_list( "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, @@ -899,5 +918,5 @@ async def remote_field_classes_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/purchase_orders/types/__init__.py b/src/merge/resources/accounting/resources/purchase_orders/types/__init__.py index 86602caf..807e95d5 100644 --- a/src/merge/resources/accounting/resources/purchase_orders/types/__init__.py +++ b/src/merge/resources/accounting/resources/purchase_orders/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .purchase_orders_list_request_expand import PurchaseOrdersListRequestExpand from .purchase_orders_retrieve_request_expand import PurchaseOrdersRetrieveRequestExpand diff --git a/src/merge/resources/accounting/resources/regenerate_key/__init__.py b/src/merge/resources/accounting/resources/regenerate_key/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/accounting/resources/regenerate_key/__init__.py +++ b/src/merge/resources/accounting/resources/regenerate_key/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/accounting/resources/regenerate_key/client.py b/src/merge/resources/accounting/resources/regenerate_key/client.py index 647224c4..5144a0b8 100644 --- a/src/merge/resources/accounting/resources/regenerate_key/client.py +++ b/src/merge/resources/accounting/resources/regenerate_key/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawRegenerateKeyClient + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.remote_key import RemoteKey -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawRegenerateKeyClient +from .raw_client import AsyncRawRegenerateKeyClient, RawRegenerateKeyClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -56,8 +55,8 @@ def create(self, *, name: str, request_options: typing.Optional[RequestOptions] name="Remote Deployment Key 1", ) """ - response = self._raw_client.create(name=name, request_options=request_options) - return response.data + _response = self._raw_client.create(name=name, request_options=request_options) + return _response.data class AsyncRegenerateKeyClient: @@ -112,5 +111,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create(name=name, request_options=request_options) - return response.data + _response = await self._raw_client.create(name=name, request_options=request_options) + return _response.data diff --git a/src/merge/resources/accounting/resources/regenerate_key/raw_client.py b/src/merge/resources/accounting/resources/regenerate_key/raw_client.py index e48b514b..d27d2b33 100644 --- a/src/merge/resources/accounting/resources/regenerate_key/raw_client.py +++ b/src/merge/resources/accounting/resources/regenerate_key/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.remote_key import RemoteKey -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -60,8 +59,8 @@ def create(self, *, name: str, request_options: typing.Optional[RequestOptions] return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -111,5 +110,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/scopes/__init__.py b/src/merge/resources/accounting/resources/scopes/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/accounting/resources/scopes/__init__.py +++ b/src/merge/resources/accounting/resources/scopes/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/accounting/resources/scopes/client.py b/src/merge/resources/accounting/resources/scopes/client.py index 1a3dab21..eecd5fbd 100644 --- a/src/merge/resources/accounting/resources/scopes/client.py +++ b/src/merge/resources/accounting/resources/scopes/client.py @@ -1,13 +1,12 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawScopesClient + +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 .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawScopesClient +from .raw_client import AsyncRawScopesClient, RawScopesClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -54,8 +53,8 @@ def default_scopes_retrieve( ) client.accounting.scopes.default_scopes_retrieve() """ - response = self._raw_client.default_scopes_retrieve(request_options=request_options) - return response.data + _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 @@ -83,8 +82,8 @@ def linked_account_scopes_retrieve( ) client.accounting.scopes.linked_account_scopes_retrieve() """ - response = self._raw_client.linked_account_scopes_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.linked_account_scopes_retrieve(request_options=request_options) + return _response.data def linked_account_scopes_create( self, @@ -149,10 +148,10 @@ def linked_account_scopes_create( ], ) """ - response = self._raw_client.linked_account_scopes_create( + _response = self._raw_client.linked_account_scopes_create( common_models=common_models, request_options=request_options ) - return response.data + return _response.data class AsyncScopesClient: @@ -204,8 +203,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.default_scopes_retrieve(request_options=request_options) - return response.data + _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 @@ -241,8 +240,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.linked_account_scopes_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.linked_account_scopes_retrieve(request_options=request_options) + return _response.data async def linked_account_scopes_create( self, @@ -315,7 +314,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.linked_account_scopes_create( + _response = await self._raw_client.linked_account_scopes_create( common_models=common_models, request_options=request_options ) - return response.data + return _response.data diff --git a/src/merge/resources/accounting/resources/scopes/raw_client.py b/src/merge/resources/accounting/resources/scopes/raw_client.py index 1327b7af..1987e457 100644 --- a/src/merge/resources/accounting/resources/scopes/raw_client.py +++ b/src/merge/resources/accounting/resources/scopes/raw_client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.common_model_scope_api import CommonModelScopeApi -from .....core.unchecked_base_model import construct_type 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 -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -53,8 +52,8 @@ def default_scopes_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -89,8 +88,8 @@ def linked_account_scopes_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -138,8 +137,8 @@ def linked_account_scopes_create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -179,8 +178,8 @@ async def default_scopes_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -215,8 +214,8 @@ async def linked_account_scopes_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -264,5 +263,5 @@ async def linked_account_scopes_create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/sync_status/__init__.py b/src/merge/resources/accounting/resources/sync_status/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/accounting/resources/sync_status/__init__.py +++ b/src/merge/resources/accounting/resources/sync_status/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/accounting/resources/sync_status/client.py b/src/merge/resources/accounting/resources/sync_status/client.py index 2eb7ceb3..b1158fdd 100644 --- a/src/merge/resources/accounting/resources/sync_status/client.py +++ b/src/merge/resources/accounting/resources/sync_status/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawSyncStatusClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.paginated_sync_status_list import PaginatedSyncStatusList -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawSyncStatusClient +from .raw_client import AsyncRawSyncStatusClient, RawSyncStatusClient class SyncStatusClient: @@ -60,8 +59,8 @@ def list( ) client.accounting.sync_status.list() """ - response = self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return response.data + _response = self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) + return _response.data class AsyncSyncStatusClient: @@ -123,5 +122,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return response.data + _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/accounting/resources/sync_status/raw_client.py b/src/merge/resources/accounting/resources/sync_status/raw_client.py index 45659c8b..bff0c1b7 100644 --- a/src/merge/resources/accounting/resources/sync_status/raw_client.py +++ b/src/merge/resources/accounting/resources/sync_status/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_sync_status_list import PaginatedSyncStatusList -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -63,8 +62,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -118,5 +117,5 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/tax_rates/__init__.py b/src/merge/resources/accounting/resources/tax_rates/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/accounting/resources/tax_rates/__init__.py +++ b/src/merge/resources/accounting/resources/tax_rates/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/accounting/resources/tax_rates/client.py b/src/merge/resources/accounting/resources/tax_rates/client.py index 60bfa24b..fa872829 100644 --- a/src/merge/resources/accounting/resources/tax_rates/client.py +++ b/src/merge/resources/accounting/resources/tax_rates/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawTaxRatesClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.paginated_tax_rate_list import PaginatedTaxRateList from ...types.tax_rate import TaxRate -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawTaxRatesClient +from .raw_client import AsyncRawTaxRatesClient, RawTaxRatesClient class TaxRatesClient: @@ -106,7 +105,7 @@ def list( ) client.accounting.tax_rates.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -122,7 +121,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -169,14 +168,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncTaxRatesClient: @@ -282,7 +281,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -298,7 +297,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -353,11 +352,11 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data 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 a077d80a..349c6857 100644 --- a/src/merge/resources/accounting/resources/tax_rates/raw_client.py +++ b/src/merge/resources/accounting/resources/tax_rates/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_tax_rate_list import PaginatedTaxRateList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.tax_rate import TaxRate +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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 class RawTaxRatesClient: @@ -122,8 +121,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -180,8 +179,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawTaxRatesClient: @@ -290,8 +289,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -348,5 +347,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/tracking_categories/__init__.py b/src/merge/resources/accounting/resources/tracking_categories/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/accounting/resources/tracking_categories/__init__.py +++ b/src/merge/resources/accounting/resources/tracking_categories/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/accounting/resources/tracking_categories/client.py b/src/merge/resources/accounting/resources/tracking_categories/client.py index 0ff1807a..61b7c215 100644 --- a/src/merge/resources/accounting/resources/tracking_categories/client.py +++ b/src/merge/resources/accounting/resources/tracking_categories/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawTrackingCategoriesClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.paginated_tracking_category_list import PaginatedTrackingCategoryList from ...types.tracking_category import TrackingCategory -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawTrackingCategoriesClient +from .raw_client import AsyncRawTrackingCategoriesClient, RawTrackingCategoriesClient class TrackingCategoriesClient: @@ -87,7 +86,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. name : typing.Optional[str] - If provided, will only return TrackingCategories with this name. + If provided, will only return tracking categories with this name. page_size : typing.Optional[int] Number of results to return per page. @@ -122,7 +121,7 @@ def list( ) client.accounting.tracking_categories.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( category_type=category_type, company_id=company_id, created_after=created_after, @@ -142,7 +141,7 @@ def list( status=status, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -197,7 +196,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -206,7 +205,7 @@ def retrieve( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data class AsyncTrackingCategoriesClient: @@ -285,7 +284,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. name : typing.Optional[str] - If provided, will only return TrackingCategories with this name. + If provided, will only return tracking categories with this name. page_size : typing.Optional[int] Number of results to return per page. @@ -328,7 +327,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( category_type=category_type, company_id=company_id, created_after=created_after, @@ -348,7 +347,7 @@ async def main() -> None: status=status, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -411,7 +410,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -420,4 +419,4 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data 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 193404bb..7deeed52 100644 --- a/src/merge/resources/accounting/resources/tracking_categories/raw_client.py +++ b/src/merge/resources/accounting/resources/tracking_categories/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_tracking_category_list import PaginatedTrackingCategoryList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.tracking_category import TrackingCategory +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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 class RawTrackingCategoriesClient: @@ -81,7 +80,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. name : typing.Optional[str] - If provided, will only return TrackingCategories with this name. + If provided, will only return tracking categories with this name. page_size : typing.Optional[int] Number of results to return per page. @@ -142,8 +141,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -210,8 +209,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawTrackingCategoriesClient: @@ -279,7 +278,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. name : typing.Optional[str] - If provided, will only return TrackingCategories with this name. + If provided, will only return tracking categories with this name. page_size : typing.Optional[int] Number of results to return per page. @@ -340,8 +339,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -408,5 +407,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/transactions/__init__.py b/src/merge/resources/accounting/resources/transactions/__init__.py index 9260e9df..9902ba1a 100644 --- a/src/merge/resources/accounting/resources/transactions/__init__.py +++ b/src/merge/resources/accounting/resources/transactions/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import TransactionsListRequestExpand, TransactionsRetrieveRequestExpand __all__ = ["TransactionsListRequestExpand", "TransactionsRetrieveRequestExpand"] diff --git a/src/merge/resources/accounting/resources/transactions/client.py b/src/merge/resources/accounting/resources/transactions/client.py index 0f50e200..68b26ccd 100644 --- a/src/merge/resources/accounting/resources/transactions/client.py +++ b/src/merge/resources/accounting/resources/transactions/client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawTransactionsClient -import typing import datetime as dt -from .types.transactions_list_request_expand import TransactionsListRequestExpand +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.paginated_transaction_list import PaginatedTransactionList -from .types.transactions_retrieve_request_expand import TransactionsRetrieveRequestExpand from ...types.transaction import Transaction -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawTransactionsClient +from .raw_client import AsyncRawTransactionsClient, RawTransactionsClient +from .types.transactions_list_request_expand import TransactionsListRequestExpand +from .types.transactions_retrieve_request_expand import TransactionsRetrieveRequestExpand class TransactionsClient: @@ -112,7 +111,7 @@ def list( ) client.accounting.transactions.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -129,7 +128,7 @@ def list( transaction_date_before=transaction_date_before, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -176,14 +175,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncTransactionsClient: @@ -293,7 +292,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -310,7 +309,7 @@ async def main() -> None: transaction_date_before=transaction_date_before, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -365,11 +364,11 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data diff --git a/src/merge/resources/accounting/resources/transactions/raw_client.py b/src/merge/resources/accounting/resources/transactions/raw_client.py index 41f0834f..ad8a91c3 100644 --- a/src/merge/resources/accounting/resources/transactions/raw_client.py +++ b/src/merge/resources/accounting/resources/transactions/raw_client.py @@ -1,21 +1,20 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .types.transactions_list_request_expand import TransactionsListRequestExpand -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_transaction_list import PaginatedTransactionList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .types.transactions_retrieve_request_expand import TransactionsRetrieveRequestExpand -from ...types.transaction import Transaction +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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 class RawTransactionsClient: @@ -133,8 +132,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -191,8 +190,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawTransactionsClient: @@ -310,8 +309,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -368,5 +367,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/transactions/types/__init__.py b/src/merge/resources/accounting/resources/transactions/types/__init__.py index ef840f2e..135382c1 100644 --- a/src/merge/resources/accounting/resources/transactions/types/__init__.py +++ b/src/merge/resources/accounting/resources/transactions/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .transactions_list_request_expand import TransactionsListRequestExpand from .transactions_retrieve_request_expand import TransactionsRetrieveRequestExpand diff --git a/src/merge/resources/accounting/resources/vendor_credits/__init__.py b/src/merge/resources/accounting/resources/vendor_credits/__init__.py index 48838ecf..c8a418b3 100644 --- a/src/merge/resources/accounting/resources/vendor_credits/__init__.py +++ b/src/merge/resources/accounting/resources/vendor_credits/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import VendorCreditsListRequestExpand, VendorCreditsRetrieveRequestExpand __all__ = ["VendorCreditsListRequestExpand", "VendorCreditsRetrieveRequestExpand"] diff --git a/src/merge/resources/accounting/resources/vendor_credits/client.py b/src/merge/resources/accounting/resources/vendor_credits/client.py index 897d44a9..077ae72f 100644 --- a/src/merge/resources/accounting/resources/vendor_credits/client.py +++ b/src/merge/resources/accounting/resources/vendor_credits/client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawVendorCreditsClient import datetime as dt -from .types.vendor_credits_list_request_expand import VendorCreditsListRequestExpand +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions +from ...types.meta_response import MetaResponse from ...types.paginated_vendor_credit_list import PaginatedVendorCreditList +from ...types.vendor_credit import VendorCredit 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_credit import VendorCredit -from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawVendorCreditsClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -118,7 +117,7 @@ def list( ) client.accounting.vendor_credits.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -135,7 +134,7 @@ def list( transaction_date_before=transaction_date_before, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -179,10 +178,10 @@ def create( model=VendorCreditRequest(), ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options ) - return response.data + return _response.data def retrieve( self, @@ -229,14 +228,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -262,8 +261,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.accounting.vendor_credits.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data class AsyncVendorCreditsClient: @@ -373,7 +372,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -390,7 +389,7 @@ async def main() -> None: transaction_date_before=transaction_date_before, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -442,10 +441,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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 + return _response.data async def retrieve( self, @@ -500,14 +499,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -541,5 +540,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data 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 5371aeb9..95c4e621 100644 --- a/src/merge/resources/accounting/resources/vendor_credits/raw_client.py +++ b/src/merge/resources/accounting/resources/vendor_credits/raw_client.py @@ -1,24 +1,23 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .types.vendor_credits_list_request_expand import VendorCreditsListRequestExpand -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_vendor_credit_list import PaginatedVendorCreditList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +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.meta_response import MetaResponse +from ...types.paginated_vendor_credit_list import PaginatedVendorCreditList +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_credit import VendorCredit -from .....core.jsonable_encoder import jsonable_encoder -from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -139,8 +138,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -199,8 +198,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -257,8 +256,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -293,8 +292,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawVendorCreditsClient: @@ -412,8 +411,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -472,8 +471,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -530,8 +529,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -566,5 +565,5 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/vendor_credits/types/__init__.py b/src/merge/resources/accounting/resources/vendor_credits/types/__init__.py index 896715cc..3cd09b74 100644 --- a/src/merge/resources/accounting/resources/vendor_credits/types/__init__.py +++ b/src/merge/resources/accounting/resources/vendor_credits/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .vendor_credits_list_request_expand import VendorCreditsListRequestExpand from .vendor_credits_retrieve_request_expand import VendorCreditsRetrieveRequestExpand diff --git a/src/merge/resources/accounting/resources/webhook_receivers/__init__.py b/src/merge/resources/accounting/resources/webhook_receivers/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/accounting/resources/webhook_receivers/__init__.py +++ b/src/merge/resources/accounting/resources/webhook_receivers/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/accounting/resources/webhook_receivers/client.py b/src/merge/resources/accounting/resources/webhook_receivers/client.py index eacfd9e1..dcdf2aed 100644 --- a/src/merge/resources/accounting/resources/webhook_receivers/client.py +++ b/src/merge/resources/accounting/resources/webhook_receivers/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawWebhookReceiversClient + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.webhook_receiver import WebhookReceiver -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawWebhookReceiversClient +from .raw_client import AsyncRawWebhookReceiversClient, RawWebhookReceiversClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -51,8 +50,8 @@ def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> ty ) client.accounting.webhook_receivers.list() """ - response = self._raw_client.list(request_options=request_options) - return response.data + _response = self._raw_client.list(request_options=request_options) + return _response.data def create( self, @@ -94,8 +93,8 @@ def create( is_active=True, ) """ - response = self._raw_client.create(event=event, is_active=is_active, key=key, request_options=request_options) - return response.data + _response = self._raw_client.create(event=event, is_active=is_active, key=key, request_options=request_options) + return _response.data class AsyncWebhookReceiversClient: @@ -145,8 +144,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list(request_options=request_options) - return response.data + _response = await self._raw_client.list(request_options=request_options) + return _response.data async def create( self, @@ -196,7 +195,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _response = await self._raw_client.create( event=event, is_active=is_active, key=key, request_options=request_options ) - return response.data + return _response.data diff --git a/src/merge/resources/accounting/resources/webhook_receivers/raw_client.py b/src/merge/resources/accounting/resources/webhook_receivers/raw_client.py index 77a3be27..4501e01a 100644 --- a/src/merge/resources/accounting/resources/webhook_receivers/raw_client.py +++ b/src/merge/resources/accounting/resources/webhook_receivers/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.webhook_receiver import WebhookReceiver -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -52,8 +51,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -108,8 +107,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -149,8 +148,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -205,5 +204,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/types/__init__.py b/src/merge/resources/accounting/types/__init__.py index 712560fd..2d91f7fb 100644 --- a/src/merge/resources/accounting/types/__init__.py +++ b/src/merge/resources/accounting/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .account import Account from .account_account_type import AccountAccountType from .account_account_type_enum import AccountAccountTypeEnum @@ -7,8 +9,11 @@ from .account_currency import AccountCurrency 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_request import AccountRequest from .account_request_account_type import AccountRequestAccountType @@ -97,10 +102,14 @@ from .credit_note_currency import CreditNoteCurrency from .credit_note_line_item import CreditNoteLineItem from .credit_note_line_item_company import CreditNoteLineItemCompany +from .credit_note_line_item_contact import CreditNoteLineItemContact from .credit_note_line_item_item import CreditNoteLineItemItem +from .credit_note_line_item_project import CreditNoteLineItemProject from .credit_note_line_item_request import CreditNoteLineItemRequest from .credit_note_line_item_request_company import CreditNoteLineItemRequestCompany +from .credit_note_line_item_request_contact import CreditNoteLineItemRequestContact from .credit_note_line_item_request_item import CreditNoteLineItemRequestItem +from .credit_note_line_item_request_project import CreditNoteLineItemRequestProject from .credit_note_payments_item import CreditNotePaymentsItem from .credit_note_request import CreditNoteRequest from .credit_note_request_accounting_period import CreditNoteRequestAccountingPeriod @@ -118,6 +127,7 @@ 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 @@ -140,12 +150,14 @@ 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_request import ExpenseLineRequest from .expense_line_request_account import ExpenseLineRequestAccount from .expense_line_request_contact import ExpenseLineRequestContact from .expense_line_request_currency import ExpenseLineRequestCurrency from .expense_line_request_employee import ExpenseLineRequestEmployee from .expense_line_request_item import ExpenseLineRequestItem +from .expense_line_request_project import ExpenseLineRequestProject from .expense_line_request_tracking_categories_item import ExpenseLineRequestTrackingCategoriesItem from .expense_line_request_tracking_category import ExpenseLineRequestTrackingCategory from .expense_line_tracking_categories_item import ExpenseLineTrackingCategoriesItem @@ -188,6 +200,7 @@ from .general_ledger_transaction_line_contact import GeneralLedgerTransactionLineContact from .general_ledger_transaction_line_employee import GeneralLedgerTransactionLineEmployee from .general_ledger_transaction_line_item import GeneralLedgerTransactionLineItem +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 .general_ledger_transaction_tracking_categories_item import GeneralLedgerTransactionTrackingCategoriesItem @@ -208,14 +221,18 @@ from .invoice_employee import InvoiceEmployee from .invoice_line_item import InvoiceLineItem from .invoice_line_item_account import InvoiceLineItemAccount +from .invoice_line_item_contact import InvoiceLineItemContact from .invoice_line_item_currency import InvoiceLineItemCurrency from .invoice_line_item_employee import InvoiceLineItemEmployee from .invoice_line_item_item import InvoiceLineItemItem +from .invoice_line_item_project import InvoiceLineItemProject from .invoice_line_item_request import InvoiceLineItemRequest from .invoice_line_item_request_account import InvoiceLineItemRequestAccount +from .invoice_line_item_request_contact import InvoiceLineItemRequestContact from .invoice_line_item_request_currency import InvoiceLineItemRequestCurrency from .invoice_line_item_request_employee import InvoiceLineItemRequestEmployee from .invoice_line_item_request_item import InvoiceLineItemRequestItem +from .invoice_line_item_request_project import InvoiceLineItemRequestProject from .invoice_line_item_request_tracking_categories_item import InvoiceLineItemRequestTrackingCategoriesItem from .invoice_line_item_request_tracking_category import InvoiceLineItemRequestTrackingCategory from .invoice_line_item_tracking_categories_item import InvoiceLineItemTrackingCategoriesItem @@ -248,6 +265,15 @@ from .item_format_enum import ItemFormatEnum from .item_purchase_account import ItemPurchaseAccount from .item_purchase_tax_rate import ItemPurchaseTaxRate +from .item_request_request import ItemRequestRequest +from .item_request_request_company import ItemRequestRequestCompany +from .item_request_request_purchase_account import ItemRequestRequestPurchaseAccount +from .item_request_request_purchase_tax_rate import ItemRequestRequestPurchaseTaxRate +from .item_request_request_sales_account import ItemRequestRequestSalesAccount +from .item_request_request_sales_tax_rate import ItemRequestRequestSalesTaxRate +from .item_request_request_status import ItemRequestRequestStatus +from .item_request_request_type import ItemRequestRequestType +from .item_response import ItemResponse from .item_sales_account import ItemSalesAccount from .item_sales_tax_rate import ItemSalesTaxRate from .item_schema import ItemSchema @@ -271,9 +297,11 @@ from .journal_line import JournalLine from .journal_line_account import JournalLineAccount from .journal_line_currency import JournalLineCurrency +from .journal_line_project import JournalLineProject from .journal_line_request import JournalLineRequest from .journal_line_request_account import JournalLineRequestAccount from .journal_line_request_currency import JournalLineRequestCurrency +from .journal_line_request_project import JournalLineRequestProject from .journal_line_request_tracking_categories_item import JournalLineRequestTrackingCategoriesItem from .journal_line_request_tracking_category import JournalLineRequestTrackingCategory from .journal_line_tracking_categories_item import JournalLineTrackingCategoriesItem @@ -313,6 +341,7 @@ from .paginated_payment_list import PaginatedPaymentList from .paginated_payment_method_list import PaginatedPaymentMethodList from .paginated_payment_term_list import PaginatedPaymentTermList +from .paginated_project_list import PaginatedProjectList from .paginated_purchase_order_list import PaginatedPurchaseOrderList from .paginated_remote_field_class_list import PaginatedRemoteFieldClassList from .paginated_sync_status_list import PaginatedSyncStatusList @@ -320,6 +349,9 @@ from .paginated_tracking_category_list import PaginatedTrackingCategoryList from .paginated_transaction_list import PaginatedTransactionList from .paginated_vendor_credit_list import PaginatedVendorCreditList +from .patched_item_request_request import PatchedItemRequestRequest +from .patched_item_request_request_status import PatchedItemRequestRequestStatus +from .patched_item_request_request_type import PatchedItemRequestRequestType from .patched_payment_request import PatchedPaymentRequest from .patched_payment_request_account import PatchedPaymentRequestAccount from .patched_payment_request_accounting_period import PatchedPaymentRequestAccountingPeriod @@ -359,6 +391,9 @@ from .payment_type import PaymentType from .payment_type_enum import PaymentTypeEnum from .posting_status_enum import PostingStatusEnum +from .project import Project +from .project_company import ProjectCompany +from .project_contact import ProjectContact from .purchase_order import PurchaseOrder from .purchase_order_accounting_period import PurchaseOrderAccountingPeriod from .purchase_order_company import PurchaseOrderCompany @@ -405,6 +440,7 @@ from .status_895_enum import Status895Enum from .status_fd_5_enum import StatusFd5Enum from .sync_status import SyncStatus +from .sync_status_status import SyncStatusStatus from .tax_component import TaxComponent from .tax_component_component_type import TaxComponentComponentType from .tax_rate import TaxRate @@ -425,6 +461,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 .underlying_transaction_type_enum import UnderlyingTransactionTypeEnum from .validation_problem_source import ValidationProblemSource from .vendor_credit import VendorCredit @@ -441,8 +478,12 @@ from .vendor_credit_currency import VendorCreditCurrency from .vendor_credit_line import VendorCreditLine from .vendor_credit_line_account import VendorCreditLineAccount +from .vendor_credit_line_contact import VendorCreditLineContact +from .vendor_credit_line_project import VendorCreditLineProject from .vendor_credit_line_request import VendorCreditLineRequest from .vendor_credit_line_request_account import VendorCreditLineRequestAccount +from .vendor_credit_line_request_contact import VendorCreditLineRequestContact +from .vendor_credit_line_request_project import VendorCreditLineRequestProject from .vendor_credit_request import VendorCreditRequest from .vendor_credit_request_accounting_period import VendorCreditRequestAccountingPeriod from .vendor_credit_request_company import VendorCreditRequestCompany @@ -463,8 +504,11 @@ "AccountCurrency", "AccountDetails", "AccountDetailsAndActions", + "AccountDetailsAndActionsCategory", "AccountDetailsAndActionsIntegration", + "AccountDetailsAndActionsStatus", "AccountDetailsAndActionsStatusEnum", + "AccountDetailsCategory", "AccountIntegration", "AccountRequest", "AccountRequestAccountType", @@ -553,10 +597,14 @@ "CreditNoteCurrency", "CreditNoteLineItem", "CreditNoteLineItemCompany", + "CreditNoteLineItemContact", "CreditNoteLineItemItem", + "CreditNoteLineItemProject", "CreditNoteLineItemRequest", "CreditNoteLineItemRequestCompany", + "CreditNoteLineItemRequestContact", "CreditNoteLineItemRequestItem", + "CreditNoteLineItemRequestProject", "CreditNotePaymentsItem", "CreditNoteRequest", "CreditNoteRequestAccountingPeriod", @@ -574,6 +622,7 @@ "CreditNoteTrackingCategoriesItem", "CreditOrDebitEnum", "DataPassthroughRequest", + "DataPassthroughRequestMethod", "DebugModeLog", "DebugModelLogSummary", "Employee", @@ -596,12 +645,14 @@ "ExpenseLineCurrency", "ExpenseLineEmployee", "ExpenseLineItem", + "ExpenseLineProject", "ExpenseLineRequest", "ExpenseLineRequestAccount", "ExpenseLineRequestContact", "ExpenseLineRequestCurrency", "ExpenseLineRequestEmployee", "ExpenseLineRequestItem", + "ExpenseLineRequestProject", "ExpenseLineRequestTrackingCategoriesItem", "ExpenseLineRequestTrackingCategory", "ExpenseLineTrackingCategoriesItem", @@ -640,6 +691,7 @@ "GeneralLedgerTransactionLineContact", "GeneralLedgerTransactionLineEmployee", "GeneralLedgerTransactionLineItem", + "GeneralLedgerTransactionLineProject", "GeneralLedgerTransactionLineTrackingCategoriesItem", "GeneralLedgerTransactionLineTransactionCurrency", "GeneralLedgerTransactionTrackingCategoriesItem", @@ -660,14 +712,18 @@ "InvoiceEmployee", "InvoiceLineItem", "InvoiceLineItemAccount", + "InvoiceLineItemContact", "InvoiceLineItemCurrency", "InvoiceLineItemEmployee", "InvoiceLineItemItem", + "InvoiceLineItemProject", "InvoiceLineItemRequest", "InvoiceLineItemRequestAccount", + "InvoiceLineItemRequestContact", "InvoiceLineItemRequestCurrency", "InvoiceLineItemRequestEmployee", "InvoiceLineItemRequestItem", + "InvoiceLineItemRequestProject", "InvoiceLineItemRequestTrackingCategoriesItem", "InvoiceLineItemRequestTrackingCategory", "InvoiceLineItemTrackingCategoriesItem", @@ -700,6 +756,15 @@ "ItemFormatEnum", "ItemPurchaseAccount", "ItemPurchaseTaxRate", + "ItemRequestRequest", + "ItemRequestRequestCompany", + "ItemRequestRequestPurchaseAccount", + "ItemRequestRequestPurchaseTaxRate", + "ItemRequestRequestSalesAccount", + "ItemRequestRequestSalesTaxRate", + "ItemRequestRequestStatus", + "ItemRequestRequestType", + "ItemResponse", "ItemSalesAccount", "ItemSalesTaxRate", "ItemSchema", @@ -723,9 +788,11 @@ "JournalLine", "JournalLineAccount", "JournalLineCurrency", + "JournalLineProject", "JournalLineRequest", "JournalLineRequestAccount", "JournalLineRequestCurrency", + "JournalLineRequestProject", "JournalLineRequestTrackingCategoriesItem", "JournalLineRequestTrackingCategory", "JournalLineTrackingCategoriesItem", @@ -765,6 +832,7 @@ "PaginatedPaymentList", "PaginatedPaymentMethodList", "PaginatedPaymentTermList", + "PaginatedProjectList", "PaginatedPurchaseOrderList", "PaginatedRemoteFieldClassList", "PaginatedSyncStatusList", @@ -772,6 +840,9 @@ "PaginatedTrackingCategoryList", "PaginatedTransactionList", "PaginatedVendorCreditList", + "PatchedItemRequestRequest", + "PatchedItemRequestRequestStatus", + "PatchedItemRequestRequestType", "PatchedPaymentRequest", "PatchedPaymentRequestAccount", "PatchedPaymentRequestAccountingPeriod", @@ -811,6 +882,9 @@ "PaymentType", "PaymentTypeEnum", "PostingStatusEnum", + "Project", + "ProjectCompany", + "ProjectContact", "PurchaseOrder", "PurchaseOrderAccountingPeriod", "PurchaseOrderCompany", @@ -857,6 +931,7 @@ "Status895Enum", "StatusFd5Enum", "SyncStatus", + "SyncStatusStatus", "TaxComponent", "TaxComponentComponentType", "TaxRate", @@ -877,6 +952,7 @@ "TransactionLineItemCurrency", "TransactionLineItemItem", "TransactionTrackingCategoriesItem", + "Type2BbEnum", "UnderlyingTransactionTypeEnum", "ValidationProblemSource", "VendorCredit", @@ -891,8 +967,12 @@ "VendorCreditCurrency", "VendorCreditLine", "VendorCreditLineAccount", + "VendorCreditLineContact", + "VendorCreditLineProject", "VendorCreditLineRequest", "VendorCreditLineRequestAccount", + "VendorCreditLineRequestContact", + "VendorCreditLineRequestProject", "VendorCreditRequest", "VendorCreditRequestAccountingPeriod", "VendorCreditRequestCompany", diff --git a/src/merge/resources/accounting/types/account.py b/src/merge/resources/accounting/types/account.py index 68c7e2e3..48026248 100644 --- a/src/merge/resources/accounting/types/account.py +++ b/src/merge/resources/accounting/types/account.py @@ -1,15 +1,16 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .account_classification import AccountClassification +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .account_account_type import AccountAccountType -from .account_status import AccountStatus +from .account_classification import AccountClassification from .account_currency import AccountCurrency +from .account_status import AccountStatus from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class Account(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/account_account_type.py b/src/merge/resources/accounting/types/account_account_type.py index a48ae4c8..d9aba0bf 100644 --- a/src/merge/resources/accounting/types/account_account_type.py +++ b/src/merge/resources/accounting/types/account_account_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account_account_type_enum import AccountAccountTypeEnum AccountAccountType = typing.Union[AccountAccountTypeEnum, str] diff --git a/src/merge/resources/accounting/types/account_classification.py b/src/merge/resources/accounting/types/account_classification.py index 50a75990..9d99b731 100644 --- a/src/merge/resources/accounting/types/account_classification.py +++ b/src/merge/resources/accounting/types/account_classification.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .classification_enum import ClassificationEnum AccountClassification = typing.Union[ClassificationEnum, str] diff --git a/src/merge/resources/accounting/types/account_currency.py b/src/merge/resources/accounting/types/account_currency.py index 54c45779..58265e5e 100644 --- a/src/merge/resources/accounting/types/account_currency.py +++ b/src/merge/resources/accounting/types/account_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum AccountCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/account_details.py b/src/merge/resources/accounting/types/account_details.py index b5bae11d..98923cd8 100644 --- a/src/merge/resources/accounting/types/account_details.py +++ b/src/merge/resources/accounting/types/account_details.py @@ -1,18 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing -from .category_enum import CategoryEnum + import pydantic -import datetime as dt 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[CategoryEnum] = 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 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 22726b6a..93c874ed 100644 --- a/src/merge/resources/accounting/types/account_details_and_actions.py +++ b/src/merge/resources/accounting/types/account_details_and_actions.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing -from .category_enum import CategoryEnum -from .account_details_and_actions_status_enum import AccountDetailsAndActionsStatusEnum + import pydantic -from .account_details_and_actions_integration import AccountDetailsAndActionsIntegration -import datetime as dt 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): @@ -21,8 +22,8 @@ class AccountDetailsAndActions(UncheckedBaseModel): """ id: str - category: typing.Optional[CategoryEnum] = None - status: AccountDetailsAndActionsStatusEnum + 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 @@ -41,6 +42,7 @@ 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_details_and_actions_category.py b/src/merge/resources/accounting/types/account_details_and_actions_category.py new file mode 100644 index 00000000..93b4188b --- /dev/null +++ b/src/merge/resources/accounting/types/account_details_and_actions_category.py @@ -0,0 +1,7 @@ +# 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/accounting/types/account_details_and_actions_integration.py b/src/merge/resources/accounting/types/account_details_and_actions_integration.py index d3826f1b..73467bbb 100644 --- a/src/merge/resources/accounting/types/account_details_and_actions_integration.py +++ b/src/merge/resources/accounting/types/account_details_and_actions_integration.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel 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 -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class AccountDetailsAndActionsIntegration(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/account_details_and_actions_status.py b/src/merge/resources/accounting/types/account_details_and_actions_status.py new file mode 100644 index 00000000..445922f8 --- /dev/null +++ b/src/merge/resources/accounting/types/account_details_and_actions_status.py @@ -0,0 +1,7 @@ +# 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/accounting/types/account_details_category.py b/src/merge/resources/accounting/types/account_details_category.py new file mode 100644 index 00000000..8a0cc59c --- /dev/null +++ b/src/merge/resources/accounting/types/account_details_category.py @@ -0,0 +1,7 @@ +# 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/accounting/types/account_integration.py b/src/merge/resources/accounting/types/account_integration.py index 9695197b..ef8b260d 100644 --- a/src/merge/resources/accounting/types/account_integration.py +++ b/src/merge/resources/accounting/types/account_integration.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import pydantic import typing -from .categories_enum import CategoriesEnum + +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): diff --git a/src/merge/resources/accounting/types/account_request.py b/src/merge/resources/accounting/types/account_request.py index 8563de54..471e444e 100644 --- a/src/merge/resources/accounting/types/account_request.py +++ b/src/merge/resources/accounting/types/account_request.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing + import pydantic -from .account_request_classification import AccountRequestClassification +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .account_request_account_type import AccountRequestAccountType -from .account_request_status import AccountRequestStatus +from .account_request_classification import AccountRequestClassification from .account_request_currency import AccountRequestCurrency -from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from .account_request_status import AccountRequestStatus class AccountRequest(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/account_request_account_type.py b/src/merge/resources/accounting/types/account_request_account_type.py index 97d192b0..c995ca60 100644 --- a/src/merge/resources/accounting/types/account_request_account_type.py +++ b/src/merge/resources/accounting/types/account_request_account_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account_account_type_enum import AccountAccountTypeEnum AccountRequestAccountType = typing.Union[AccountAccountTypeEnum, str] diff --git a/src/merge/resources/accounting/types/account_request_classification.py b/src/merge/resources/accounting/types/account_request_classification.py index 0dfc7484..4551987b 100644 --- a/src/merge/resources/accounting/types/account_request_classification.py +++ b/src/merge/resources/accounting/types/account_request_classification.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .classification_enum import ClassificationEnum AccountRequestClassification = typing.Union[ClassificationEnum, str] diff --git a/src/merge/resources/accounting/types/account_request_currency.py b/src/merge/resources/accounting/types/account_request_currency.py index d36083b8..e5e42728 100644 --- a/src/merge/resources/accounting/types/account_request_currency.py +++ b/src/merge/resources/accounting/types/account_request_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum AccountRequestCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/account_request_status.py b/src/merge/resources/accounting/types/account_request_status.py index 65a3103b..ce7ce2b0 100644 --- a/src/merge/resources/accounting/types/account_request_status.py +++ b/src/merge/resources/accounting/types/account_request_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account_status_enum import AccountStatusEnum AccountRequestStatus = typing.Union[AccountStatusEnum, str] diff --git a/src/merge/resources/accounting/types/account_response.py b/src/merge/resources/accounting/types/account_response.py index 5f975956..f6d15b29 100644 --- a/src/merge/resources/accounting/types/account_response.py +++ b/src/merge/resources/accounting/types/account_response.py @@ -1,13 +1,14 @@ # 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 import Account -import typing -from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic +from .error_validation_problem import ErrorValidationProblem +from .warning_validation_problem import WarningValidationProblem class AccountResponse(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/account_status.py b/src/merge/resources/accounting/types/account_status.py index 0ac03e5f..571bb6ce 100644 --- a/src/merge/resources/accounting/types/account_status.py +++ b/src/merge/resources/accounting/types/account_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account_status_enum import AccountStatusEnum AccountStatus = typing.Union[AccountStatusEnum, str] diff --git a/src/merge/resources/accounting/types/account_token.py b/src/merge/resources/accounting/types/account_token.py index 0fc6016b..6e82c8ac 100644 --- a/src/merge/resources/accounting/types/account_token.py +++ b/src/merge/resources/accounting/types/account_token.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .account_integration import AccountIntegration -from ....core.pydantic_utilities import IS_PYDANTIC_V2 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): diff --git a/src/merge/resources/accounting/types/accounting_attachment.py b/src/merge/resources/accounting/types/accounting_attachment.py index d4a8222e..c7076640 100644 --- a/src/merge/resources/accounting/types/accounting_attachment.py +++ b/src/merge/resources/accounting/types/accounting_attachment.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .remote_data import RemoteData from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_data import RemoteData class AccountingAttachment(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/accounting_attachment_request.py b/src/merge/resources/accounting/types/accounting_attachment_request.py index d5d04518..a846f08a 100644 --- a/src/merge/resources/accounting/types/accounting_attachment_request.py +++ b/src/merge/resources/accounting/types/accounting_attachment_request.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing + import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class AccountingAttachmentRequest(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/accounting_attachment_response.py b/src/merge/resources/accounting/types/accounting_attachment_response.py index 63269812..0f0fd85e 100644 --- a/src/merge/resources/accounting/types/accounting_attachment_response.py +++ b/src/merge/resources/accounting/types/accounting_attachment_response.py @@ -1,13 +1,14 @@ # 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_attachment import AccountingAttachment -import typing -from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic +from .error_validation_problem import ErrorValidationProblem +from .warning_validation_problem import WarningValidationProblem class AccountingAttachmentResponse(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/accounting_period.py b/src/merge/resources/accounting/types/accounting_period.py index 69bb05ae..eed33108 100644 --- a/src/merge/resources/accounting/types/accounting_period.py +++ b/src/merge/resources/accounting/types/accounting_period.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .accounting_period_status import AccountingPeriodStatus from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class AccountingPeriod(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/accounting_period_status.py b/src/merge/resources/accounting/types/accounting_period_status.py index 1e6fac80..c53ff70c 100644 --- a/src/merge/resources/accounting/types/accounting_period_status.py +++ b/src/merge/resources/accounting/types/accounting_period_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .status_895_enum import Status895Enum AccountingPeriodStatus = typing.Union[Status895Enum, str] diff --git a/src/merge/resources/accounting/types/accounting_phone_number.py b/src/merge/resources/accounting/types/accounting_phone_number.py index dcbd272f..e38ffc9b 100644 --- a/src/merge/resources/accounting/types/accounting_phone_number.py +++ b/src/merge/resources/accounting/types/accounting_phone_number.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import typing import datetime as dt +import typing + import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class AccountingPhoneNumber(UncheckedBaseModel): 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 061aa985..1bb6e597 100644 --- a/src/merge/resources/accounting/types/accounting_phone_number_request.py +++ b/src/merge/resources/accounting/types/accounting_phone_number_request.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing + import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class AccountingPhoneNumberRequest(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/address.py b/src/merge/resources/accounting/types/address.py index b3d999b7..5de9d995 100644 --- a/src/merge/resources/accounting/types/address.py +++ b/src/merge/resources/accounting/types/address.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import typing import datetime as dt +import typing + import pydantic -from .address_type import AddressType -from .address_country import AddressCountry from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .address_country import AddressCountry +from .address_type import AddressType class Address(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/address_country.py b/src/merge/resources/accounting/types/address_country.py index f8ff10fc..b437f311 100644 --- a/src/merge/resources/accounting/types/address_country.py +++ b/src/merge/resources/accounting/types/address_country.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .country_enum import CountryEnum AddressCountry = typing.Union[CountryEnum, str] diff --git a/src/merge/resources/accounting/types/address_request.py b/src/merge/resources/accounting/types/address_request.py index 52a53593..a7545759 100644 --- a/src/merge/resources/accounting/types/address_request.py +++ b/src/merge/resources/accounting/types/address_request.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .address_request_type import AddressRequestType + import pydantic -from .address_request_country import AddressRequestCountry from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .address_request_country import AddressRequestCountry +from .address_request_type import AddressRequestType class AddressRequest(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/address_request_country.py b/src/merge/resources/accounting/types/address_request_country.py index 28dfd7d3..02559f8d 100644 --- a/src/merge/resources/accounting/types/address_request_country.py +++ b/src/merge/resources/accounting/types/address_request_country.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .country_enum import CountryEnum AddressRequestCountry = typing.Union[CountryEnum, str] diff --git a/src/merge/resources/accounting/types/address_request_type.py b/src/merge/resources/accounting/types/address_request_type.py index a54b3f0f..ebe47647 100644 --- a/src/merge/resources/accounting/types/address_request_type.py +++ b/src/merge/resources/accounting/types/address_request_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .address_type_enum import AddressTypeEnum AddressRequestType = typing.Union[AddressTypeEnum, str] diff --git a/src/merge/resources/accounting/types/address_type.py b/src/merge/resources/accounting/types/address_type.py index e2d13a5b..1ef6065f 100644 --- a/src/merge/resources/accounting/types/address_type.py +++ b/src/merge/resources/accounting/types/address_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .address_type_enum import AddressTypeEnum AddressType = typing.Union[AddressTypeEnum, str] diff --git a/src/merge/resources/accounting/types/advanced_metadata.py b/src/merge/resources/accounting/types/advanced_metadata.py index 7b4d6211..60b5d072 100644 --- a/src/merge/resources/accounting/types/advanced_metadata.py +++ b/src/merge/resources/accounting/types/advanced_metadata.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class AdvancedMetadata(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/async_passthrough_reciept.py b/src/merge/resources/accounting/types/async_passthrough_reciept.py index 4e217ee9..21c95080 100644 --- a/src/merge/resources/accounting/types/async_passthrough_reciept.py +++ b/src/merge/resources/accounting/types/async_passthrough_reciept.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class AsyncPassthroughReciept(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/async_post_task.py b/src/merge/resources/accounting/types/async_post_task.py index 08dc52ce..09de2bb0 100644 --- a/src/merge/resources/accounting/types/async_post_task.py +++ b/src/merge/resources/accounting/types/async_post_task.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .async_post_task_status import AsyncPostTaskStatus -from .async_post_task_result import AsyncPostTaskResult -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .async_post_task_result import AsyncPostTaskResult +from .async_post_task_status import AsyncPostTaskStatus class AsyncPostTask(UncheckedBaseModel): 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 6e89e95c..3cd4ef00 100644 --- a/src/merge/resources/accounting/types/async_post_task_result.py +++ b/src/merge/resources/accounting/types/async_post_task_result.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class AsyncPostTaskResult(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/async_post_task_status.py b/src/merge/resources/accounting/types/async_post_task_status.py index 92814792..165370ca 100644 --- a/src/merge/resources/accounting/types/async_post_task_status.py +++ b/src/merge/resources/accounting/types/async_post_task_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .async_post_task_status_enum import AsyncPostTaskStatusEnum AsyncPostTaskStatus = typing.Union[AsyncPostTaskStatusEnum, str] diff --git a/src/merge/resources/accounting/types/audit_log_event.py b/src/merge/resources/accounting/types/audit_log_event.py index 1cf6997a..ab69fd32 100644 --- a/src/merge/resources/accounting/types/audit_log_event.py +++ b/src/merge/resources/accounting/types/audit_log_event.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -from .audit_log_event_role import AuditLogEventRole -from .audit_log_event_event_type import AuditLogEventEventType -import datetime as dt 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): @@ -43,6 +44,7 @@ class AuditLogEvent(UncheckedBaseModel): * `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 diff --git a/src/merge/resources/accounting/types/audit_log_event_event_type.py b/src/merge/resources/accounting/types/audit_log_event_event_type.py index f9d43eed..f9c9d2b3 100644 --- a/src/merge/resources/accounting/types/audit_log_event_event_type.py +++ b/src/merge/resources/accounting/types/audit_log_event_event_type.py @@ -1,6 +1,7 @@ # 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/accounting/types/audit_log_event_role.py b/src/merge/resources/accounting/types/audit_log_event_role.py index 83ecd93a..fe91ed6f 100644 --- a/src/merge/resources/accounting/types/audit_log_event_role.py +++ b/src/merge/resources/accounting/types/audit_log_event_role.py @@ -1,6 +1,7 @@ # 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/accounting/types/available_actions.py b/src/merge/resources/accounting/types/available_actions.py index f4361dd0..8b5019d7 100644 --- a/src/merge/resources/accounting/types/available_actions.py +++ b/src/merge/resources/accounting/types/available_actions.py @@ -1,11 +1,12 @@ # 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 -import typing from .model_operation import ModelOperation -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class AvailableActions(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/balance_sheet.py b/src/merge/resources/accounting/types/balance_sheet.py index 5b6e674d..f882760e 100644 --- a/src/merge/resources/accounting/types/balance_sheet.py +++ b/src/merge/resources/accounting/types/balance_sheet.py @@ -1,14 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .balance_sheet_currency import BalanceSheetCurrency +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .balance_sheet_company import BalanceSheetCompany -from .report_item import ReportItem +from .balance_sheet_currency import BalanceSheetCurrency from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from .report_item import ReportItem class BalanceSheet(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/balance_sheet_company.py b/src/merge/resources/accounting/types/balance_sheet_company.py index c0ad93f5..6d16af9e 100644 --- a/src/merge/resources/accounting/types/balance_sheet_company.py +++ b/src/merge/resources/accounting/types/balance_sheet_company.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .company_info import CompanyInfo BalanceSheetCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/balance_sheet_currency.py b/src/merge/resources/accounting/types/balance_sheet_currency.py index b70a9976..a6019d59 100644 --- a/src/merge/resources/accounting/types/balance_sheet_currency.py +++ b/src/merge/resources/accounting/types/balance_sheet_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum BalanceSheetCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/bank_feed_account.py b/src/merge/resources/accounting/types/bank_feed_account.py index 2d3bd76f..f901ca6a 100644 --- a/src/merge/resources/accounting/types/bank_feed_account.py +++ b/src/merge/resources/accounting/types/bank_feed_account.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .bank_feed_account_account_type import BankFeedAccountAccountType from .bank_feed_account_currency import BankFeedAccountCurrency from .bank_feed_account_feed_status import BankFeedAccountFeedStatus -from .bank_feed_account_account_type import BankFeedAccountAccountType -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class BankFeedAccount(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/bank_feed_account_account_type.py b/src/merge/resources/accounting/types/bank_feed_account_account_type.py index be901b2b..b013e067 100644 --- a/src/merge/resources/accounting/types/bank_feed_account_account_type.py +++ b/src/merge/resources/accounting/types/bank_feed_account_account_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .bank_feed_account_account_type_enum import BankFeedAccountAccountTypeEnum BankFeedAccountAccountType = typing.Union[BankFeedAccountAccountTypeEnum, str] diff --git a/src/merge/resources/accounting/types/bank_feed_account_currency.py b/src/merge/resources/accounting/types/bank_feed_account_currency.py index 57fe8d2a..09092cd3 100644 --- a/src/merge/resources/accounting/types/bank_feed_account_currency.py +++ b/src/merge/resources/accounting/types/bank_feed_account_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum BankFeedAccountCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/bank_feed_account_feed_status.py b/src/merge/resources/accounting/types/bank_feed_account_feed_status.py index ef6e785f..b7bf0117 100644 --- a/src/merge/resources/accounting/types/bank_feed_account_feed_status.py +++ b/src/merge/resources/accounting/types/bank_feed_account_feed_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .feed_status_enum import FeedStatusEnum BankFeedAccountFeedStatus = typing.Union[FeedStatusEnum, str] 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 9727a34a..c87b7395 100644 --- a/src/merge/resources/accounting/types/bank_feed_account_request.py +++ b/src/merge/resources/accounting/types/bank_feed_account_request.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .bank_feed_account_request_account_type import BankFeedAccountRequestAccountType from .bank_feed_account_request_currency import BankFeedAccountRequestCurrency from .bank_feed_account_request_feed_status import BankFeedAccountRequestFeedStatus -import datetime as dt -from .bank_feed_account_request_account_type import BankFeedAccountRequestAccountType -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class BankFeedAccountRequest(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/bank_feed_account_request_account_type.py b/src/merge/resources/accounting/types/bank_feed_account_request_account_type.py index 3374ceff..d82b147f 100644 --- a/src/merge/resources/accounting/types/bank_feed_account_request_account_type.py +++ b/src/merge/resources/accounting/types/bank_feed_account_request_account_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .bank_feed_account_account_type_enum import BankFeedAccountAccountTypeEnum BankFeedAccountRequestAccountType = typing.Union[BankFeedAccountAccountTypeEnum, str] diff --git a/src/merge/resources/accounting/types/bank_feed_account_request_currency.py b/src/merge/resources/accounting/types/bank_feed_account_request_currency.py index 9715b5e4..4aec3596 100644 --- a/src/merge/resources/accounting/types/bank_feed_account_request_currency.py +++ b/src/merge/resources/accounting/types/bank_feed_account_request_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum BankFeedAccountRequestCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/bank_feed_account_request_feed_status.py b/src/merge/resources/accounting/types/bank_feed_account_request_feed_status.py index e1756ff0..8150eed6 100644 --- a/src/merge/resources/accounting/types/bank_feed_account_request_feed_status.py +++ b/src/merge/resources/accounting/types/bank_feed_account_request_feed_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .feed_status_enum import FeedStatusEnum BankFeedAccountRequestFeedStatus = typing.Union[FeedStatusEnum, str] diff --git a/src/merge/resources/accounting/types/bank_feed_account_response.py b/src/merge/resources/accounting/types/bank_feed_account_response.py index 97db75c9..0a00e0b2 100644 --- a/src/merge/resources/accounting/types/bank_feed_account_response.py +++ b/src/merge/resources/accounting/types/bank_feed_account_response.py @@ -1,13 +1,14 @@ # 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 .bank_feed_account import BankFeedAccount -import typing -from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic +from .error_validation_problem import ErrorValidationProblem +from .warning_validation_problem import WarningValidationProblem class BankFeedAccountResponse(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/bank_feed_transaction.py b/src/merge/resources/accounting/types/bank_feed_transaction.py index 263d1df0..aace57db 100644 --- a/src/merge/resources/accounting/types/bank_feed_transaction.py +++ b/src/merge/resources/accounting/types/bank_feed_transaction.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .bank_feed_transaction_bank_feed_account import BankFeedTransactionBankFeedAccount from .bank_feed_transaction_credit_or_debit import BankFeedTransactionCreditOrDebit -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class BankFeedTransaction(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/bank_feed_transaction_bank_feed_account.py b/src/merge/resources/accounting/types/bank_feed_transaction_bank_feed_account.py index 47fe38f2..7249e758 100644 --- a/src/merge/resources/accounting/types/bank_feed_transaction_bank_feed_account.py +++ b/src/merge/resources/accounting/types/bank_feed_transaction_bank_feed_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .bank_feed_account import BankFeedAccount BankFeedTransactionBankFeedAccount = typing.Union[str, BankFeedAccount] diff --git a/src/merge/resources/accounting/types/bank_feed_transaction_credit_or_debit.py b/src/merge/resources/accounting/types/bank_feed_transaction_credit_or_debit.py index 246a1531..0c83c8fc 100644 --- a/src/merge/resources/accounting/types/bank_feed_transaction_credit_or_debit.py +++ b/src/merge/resources/accounting/types/bank_feed_transaction_credit_or_debit.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .credit_or_debit_enum import CreditOrDebitEnum BankFeedTransactionCreditOrDebit = typing.Union[CreditOrDebitEnum, str] 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 0f388a30..f5f9e482 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 @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing -from .bank_feed_transaction_request_request_bank_feed_account import BankFeedTransactionRequestRequestBankFeedAccount + import pydantic -import datetime as dt -from .bank_feed_transaction_request_request_credit_or_debit import BankFeedTransactionRequestRequestCreditOrDebit from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .bank_feed_transaction_request_request_bank_feed_account import BankFeedTransactionRequestRequestBankFeedAccount +from .bank_feed_transaction_request_request_credit_or_debit import BankFeedTransactionRequestRequestCreditOrDebit class BankFeedTransactionRequestRequest(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/bank_feed_transaction_request_request_bank_feed_account.py b/src/merge/resources/accounting/types/bank_feed_transaction_request_request_bank_feed_account.py index 0ba851aa..023a3e49 100644 --- a/src/merge/resources/accounting/types/bank_feed_transaction_request_request_bank_feed_account.py +++ b/src/merge/resources/accounting/types/bank_feed_transaction_request_request_bank_feed_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .bank_feed_account import BankFeedAccount BankFeedTransactionRequestRequestBankFeedAccount = typing.Union[str, BankFeedAccount] diff --git a/src/merge/resources/accounting/types/bank_feed_transaction_request_request_credit_or_debit.py b/src/merge/resources/accounting/types/bank_feed_transaction_request_request_credit_or_debit.py index a75d88c1..fc24af7f 100644 --- a/src/merge/resources/accounting/types/bank_feed_transaction_request_request_credit_or_debit.py +++ b/src/merge/resources/accounting/types/bank_feed_transaction_request_request_credit_or_debit.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .credit_or_debit_enum import CreditOrDebitEnum BankFeedTransactionRequestRequestCreditOrDebit = typing.Union[CreditOrDebitEnum, str] diff --git a/src/merge/resources/accounting/types/bank_feed_transaction_response.py b/src/merge/resources/accounting/types/bank_feed_transaction_response.py index d9b5b47e..4e579a51 100644 --- a/src/merge/resources/accounting/types/bank_feed_transaction_response.py +++ b/src/merge/resources/accounting/types/bank_feed_transaction_response.py @@ -1,13 +1,14 @@ # 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 .bank_feed_transaction import BankFeedTransaction -import typing -from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic +from .error_validation_problem import ErrorValidationProblem +from .warning_validation_problem import WarningValidationProblem class BankFeedTransactionResponse(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/cash_flow_statement.py b/src/merge/resources/accounting/types/cash_flow_statement.py index 9fdd8981..ef460a0e 100644 --- a/src/merge/resources/accounting/types/cash_flow_statement.py +++ b/src/merge/resources/accounting/types/cash_flow_statement.py @@ -1,14 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .cash_flow_statement_currency import CashFlowStatementCurrency +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .cash_flow_statement_company import CashFlowStatementCompany -from .report_item import ReportItem +from .cash_flow_statement_currency import CashFlowStatementCurrency from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from .report_item import ReportItem class CashFlowStatement(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/cash_flow_statement_company.py b/src/merge/resources/accounting/types/cash_flow_statement_company.py index 8db442ce..43b1fd82 100644 --- a/src/merge/resources/accounting/types/cash_flow_statement_company.py +++ b/src/merge/resources/accounting/types/cash_flow_statement_company.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .company_info import CompanyInfo CashFlowStatementCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/cash_flow_statement_currency.py b/src/merge/resources/accounting/types/cash_flow_statement_currency.py index 7dd1b753..09c651f9 100644 --- a/src/merge/resources/accounting/types/cash_flow_statement_currency.py +++ b/src/merge/resources/accounting/types/cash_flow_statement_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum CashFlowStatementCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/common_model_scope_api.py b/src/merge/resources/accounting/types/common_model_scope_api.py index e372d68b..5484808d 100644 --- a/src/merge/resources/accounting/types/common_model_scope_api.py +++ b/src/merge/resources/accounting/types/common_model_scope_api.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .individual_common_model_scope_deserializer import IndividualCommonModelScopeDeserializer + 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): diff --git a/src/merge/resources/accounting/types/common_model_scopes_body_request.py b/src/merge/resources/accounting/types/common_model_scopes_body_request.py index 4a2f10cb..a9fed25b 100644 --- a/src/merge/resources/accounting/types/common_model_scopes_body_request.py +++ b/src/merge/resources/accounting/types/common_model_scopes_body_request.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .enabled_actions_enum import EnabledActionsEnum -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/accounting/types/company_info.py b/src/merge/resources/accounting/types/company_info.py index eff82eb7..1f8a46ef 100644 --- a/src/merge/resources/accounting/types/company_info.py +++ b/src/merge/resources/accounting/types/company_info.py @@ -1,14 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .company_info_currency import CompanyInfoCurrency -from .address import Address +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +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 -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class CompanyInfo(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/company_info_currency.py b/src/merge/resources/accounting/types/company_info_currency.py index 1a786ddf..52874769 100644 --- a/src/merge/resources/accounting/types/company_info_currency.py +++ b/src/merge/resources/accounting/types/company_info_currency.py @@ -1,6 +1,7 @@ # 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 30c8fc25..f036ebc6 100644 --- a/src/merge/resources/accounting/types/contact.py +++ b/src/merge/resources/accounting/types/contact.py @@ -1,15 +1,16 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .contact_status import ContactStatus -from .contact_addresses_item import ContactAddressesItem +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .accounting_phone_number import AccountingPhoneNumber +from .contact_addresses_item import ContactAddressesItem +from .contact_status import ContactStatus from .remote_data import RemoteData from .remote_field import RemoteField -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class Contact(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/contact_addresses_item.py b/src/merge/resources/accounting/types/contact_addresses_item.py index d0de8d39..9c305f5f 100644 --- a/src/merge/resources/accounting/types/contact_addresses_item.py +++ b/src/merge/resources/accounting/types/contact_addresses_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .address import Address ContactAddressesItem = typing.Union[str, Address] diff --git a/src/merge/resources/accounting/types/contact_request.py b/src/merge/resources/accounting/types/contact_request.py index a86a0039..e324842c 100644 --- a/src/merge/resources/accounting/types/contact_request.py +++ b/src/merge/resources/accounting/types/contact_request.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing + import pydantic -from .contact_request_status import ContactRequestStatus -from .contact_request_addresses_item import ContactRequestAddressesItem +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .accounting_phone_number_request import AccountingPhoneNumberRequest +from .contact_request_addresses_item import ContactRequestAddressesItem +from .contact_request_status import ContactRequestStatus from .remote_field_request import RemoteFieldRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class ContactRequest(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/contact_request_addresses_item.py b/src/merge/resources/accounting/types/contact_request_addresses_item.py index 7f826b42..e6ea9c20 100644 --- a/src/merge/resources/accounting/types/contact_request_addresses_item.py +++ b/src/merge/resources/accounting/types/contact_request_addresses_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .address import Address ContactRequestAddressesItem = typing.Union[str, Address] diff --git a/src/merge/resources/accounting/types/contact_request_status.py b/src/merge/resources/accounting/types/contact_request_status.py index f0155f42..b12e4d58 100644 --- a/src/merge/resources/accounting/types/contact_request_status.py +++ b/src/merge/resources/accounting/types/contact_request_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .status_7_d_1_enum import Status7D1Enum ContactRequestStatus = typing.Union[Status7D1Enum, str] diff --git a/src/merge/resources/accounting/types/contact_response.py b/src/merge/resources/accounting/types/contact_response.py index 3c16d8d8..a78621a5 100644 --- a/src/merge/resources/accounting/types/contact_response.py +++ b/src/merge/resources/accounting/types/contact_response.py @@ -1,13 +1,14 @@ # 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 .contact import Contact -import typing -from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic +from .error_validation_problem import ErrorValidationProblem +from .warning_validation_problem import WarningValidationProblem class ContactResponse(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/contact_status.py b/src/merge/resources/accounting/types/contact_status.py index 5724cc2b..fc5b2d28 100644 --- a/src/merge/resources/accounting/types/contact_status.py +++ b/src/merge/resources/accounting/types/contact_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .status_7_d_1_enum 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 b2a35992..58be8048 100644 --- a/src/merge/resources/accounting/types/credit_note.py +++ b/src/merge/resources/accounting/types/credit_note.py @@ -1,22 +1,23 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -from ....core.unchecked_base_model import UncheckedBaseModel + +import datetime as dt import typing + import pydantic -import datetime as dt -from .credit_note_status import CreditNoteStatus -from .credit_note_contact import CreditNoteContact +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .credit_note_accounting_period import CreditNoteAccountingPeriod +from .credit_note_applied_payments_item import CreditNoteAppliedPaymentsItem from .credit_note_company import CreditNoteCompany -from .credit_note_line_item import CreditNoteLineItem -from .credit_note_tracking_categories_item import CreditNoteTrackingCategoriesItem +from .credit_note_contact import CreditNoteContact from .credit_note_currency import CreditNoteCurrency +from .credit_note_line_item import CreditNoteLineItem from .credit_note_payments_item import CreditNotePaymentsItem -from .credit_note_applied_payments_item import CreditNoteAppliedPaymentsItem -from .credit_note_accounting_period import CreditNoteAccountingPeriod +from .credit_note_status import CreditNoteStatus +from .credit_note_tracking_categories_item import CreditNoteTrackingCategoriesItem from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.pydantic_utilities import update_forward_refs class CreditNote(UncheckedBaseModel): @@ -458,11 +459,11 @@ class Config: extra = pydantic.Extra.allow -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote # noqa: E402 -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice # noqa: E402 -from .invoice import Invoice # noqa: E402 -from .vendor_credit import VendorCredit # noqa: E402 -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice # noqa: E402 -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit # noqa: E402 +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(CreditNote) diff --git a/src/merge/resources/accounting/types/credit_note_accounting_period.py b/src/merge/resources/accounting/types/credit_note_accounting_period.py index 5f50c051..77c885ce 100644 --- a/src/merge/resources/accounting/types/credit_note_accounting_period.py +++ b/src/merge/resources/accounting/types/credit_note_accounting_period.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .accounting_period import AccountingPeriod CreditNoteAccountingPeriod = typing.Union[str, AccountingPeriod] diff --git a/src/merge/resources/accounting/types/credit_note_applied_payments_item.py b/src/merge/resources/accounting/types/credit_note_applied_payments_item.py index b59fd182..8efbe1cb 100644 --- a/src/merge/resources/accounting/types/credit_note_applied_payments_item.py +++ b/src/merge/resources/accounting/types/credit_note_applied_payments_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .payment_line_item import PaymentLineItem CreditNoteAppliedPaymentsItem = typing.Union[str, PaymentLineItem] 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 843ace95..643aa3cd 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 @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -from ....core.unchecked_base_model import UncheckedBaseModel + +import datetime as dt import typing + import pydantic -import datetime as dt -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.pydantic_utilities import update_forward_refs +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel class CreditNoteApplyLineForCreditNote(UncheckedBaseModel): @@ -60,12 +61,12 @@ class Config: extra = pydantic.Extra.allow -from .credit_note import CreditNote # noqa: E402 -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice # noqa: E402 -from .invoice import Invoice # noqa: E402 -from .vendor_credit import VendorCredit # noqa: E402 -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice # noqa: E402 -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit # noqa: E402 -from .credit_note_apply_line_for_credit_note_invoice import CreditNoteApplyLineForCreditNoteInvoice # noqa: E402 +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) diff --git a/src/merge/resources/accounting/types/credit_note_apply_line_for_credit_note_invoice.py b/src/merge/resources/accounting/types/credit_note_apply_line_for_credit_note_invoice.py index 23ff4e45..059db7a4 100644 --- a/src/merge/resources/accounting/types/credit_note_apply_line_for_credit_note_invoice.py +++ b/src/merge/resources/accounting/types/credit_note_apply_line_for_credit_note_invoice.py @@ -1,7 +1,7 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -import typing + import typing if typing.TYPE_CHECKING: 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 e4e39e6d..0256e246 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 @@ -1,18 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .credit_note import CreditNote -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice -from .invoice import Invoice -from .vendor_credit import VendorCredit -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit +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 .credit_note_apply_line_for_credit_note_request_invoice import CreditNoteApplyLineForCreditNoteRequestInvoice -import datetime as dt -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class CreditNoteApplyLineForCreditNoteRequest(UncheckedBaseModel): @@ -52,3 +48,14 @@ class Config: frozen = True smart_union = True 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_credit_note_request_invoice.py b/src/merge/resources/accounting/types/credit_note_apply_line_for_credit_note_request_invoice.py index c675378b..22a89baf 100644 --- a/src/merge/resources/accounting/types/credit_note_apply_line_for_credit_note_request_invoice.py +++ b/src/merge/resources/accounting/types/credit_note_apply_line_for_credit_note_request_invoice.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .invoice import Invoice CreditNoteApplyLineForCreditNoteRequestInvoice = typing.Union[str, Invoice] 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 3b2041ab..f56415f9 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 @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -from ....core.unchecked_base_model import UncheckedBaseModel + +import datetime as dt import typing + import pydantic -import datetime as dt -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.pydantic_utilities import update_forward_refs +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel class CreditNoteApplyLineForInvoice(UncheckedBaseModel): @@ -60,12 +61,12 @@ class Config: extra = pydantic.Extra.allow -from .credit_note import CreditNote # noqa: E402 -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote # noqa: E402 -from .invoice import Invoice # noqa: E402 -from .vendor_credit import VendorCredit # noqa: E402 -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice # noqa: E402 -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit # noqa: E402 -from .credit_note_apply_line_for_invoice_credit_note import CreditNoteApplyLineForInvoiceCreditNote # noqa: E402 +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) diff --git a/src/merge/resources/accounting/types/credit_note_apply_line_for_invoice_credit_note.py b/src/merge/resources/accounting/types/credit_note_apply_line_for_invoice_credit_note.py index 5b609893..32a1c3f9 100644 --- a/src/merge/resources/accounting/types/credit_note_apply_line_for_invoice_credit_note.py +++ b/src/merge/resources/accounting/types/credit_note_apply_line_for_invoice_credit_note.py @@ -1,7 +1,7 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -import typing + import typing if typing.TYPE_CHECKING: diff --git a/src/merge/resources/accounting/types/credit_note_company.py b/src/merge/resources/accounting/types/credit_note_company.py index 4f7554c6..1241eff2 100644 --- a/src/merge/resources/accounting/types/credit_note_company.py +++ b/src/merge/resources/accounting/types/credit_note_company.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .company_info import CompanyInfo CreditNoteCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/credit_note_contact.py b/src/merge/resources/accounting/types/credit_note_contact.py index bdb550da..58479d5e 100644 --- a/src/merge/resources/accounting/types/credit_note_contact.py +++ b/src/merge/resources/accounting/types/credit_note_contact.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .contact import Contact CreditNoteContact = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/credit_note_currency.py b/src/merge/resources/accounting/types/credit_note_currency.py index 351a41f8..53fd912f 100644 --- a/src/merge/resources/accounting/types/credit_note_currency.py +++ b/src/merge/resources/accounting/types/credit_note_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum CreditNoteCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/credit_note_line_item.py b/src/merge/resources/accounting/types/credit_note_line_item.py index 48a0ce8b..4675bed7 100644 --- a/src/merge/resources/accounting/types/credit_note_line_item.py +++ b/src/merge/resources/accounting/types/credit_note_line_item.py @@ -1,12 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .credit_note_line_item_item import CreditNoteLineItemItem -from .credit_note_line_item_company import CreditNoteLineItemCompany from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .credit_note_line_item_company import CreditNoteLineItemCompany +from .credit_note_line_item_contact import CreditNoteLineItemContact +from .credit_note_line_item_item import CreditNoteLineItemItem +from .credit_note_line_item_project import CreditNoteLineItemProject class CreditNoteLineItem(UncheckedBaseModel): @@ -91,6 +94,12 @@ class CreditNoteLineItem(UncheckedBaseModel): The company the credit note belongs to. """ + contact: typing.Optional[CreditNoteLineItemContact] = pydantic.Field(default=None) + """ + The credit note's contact. + """ + + project: typing.Optional[CreditNoteLineItemProject] = 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/accounting/types/credit_note_line_item_company.py b/src/merge/resources/accounting/types/credit_note_line_item_company.py index c7aa8773..87e55a57 100644 --- a/src/merge/resources/accounting/types/credit_note_line_item_company.py +++ b/src/merge/resources/accounting/types/credit_note_line_item_company.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .company_info import CompanyInfo CreditNoteLineItemCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/credit_note_line_item_contact.py b/src/merge/resources/accounting/types/credit_note_line_item_contact.py new file mode 100644 index 00000000..e096c932 --- /dev/null +++ b/src/merge/resources/accounting/types/credit_note_line_item_contact.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .contact import Contact + +CreditNoteLineItemContact = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/credit_note_line_item_item.py b/src/merge/resources/accounting/types/credit_note_line_item_item.py index f95f4fb0..87bf291e 100644 --- a/src/merge/resources/accounting/types/credit_note_line_item_item.py +++ b/src/merge/resources/accounting/types/credit_note_line_item_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .item import Item CreditNoteLineItemItem = typing.Union[str, Item] diff --git a/src/merge/resources/accounting/types/credit_note_line_item_project.py b/src/merge/resources/accounting/types/credit_note_line_item_project.py new file mode 100644 index 00000000..d6eed401 --- /dev/null +++ b/src/merge/resources/accounting/types/credit_note_line_item_project.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .project import Project + +CreditNoteLineItemProject = typing.Union[str, Project] 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 f27a230b..f6e5048b 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 @@ -1,11 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing + import pydantic -from .credit_note_line_item_request_item import CreditNoteLineItemRequestItem -from .credit_note_line_item_request_company import CreditNoteLineItemRequestCompany from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .credit_note_line_item_request_company import CreditNoteLineItemRequestCompany +from .credit_note_line_item_request_contact import CreditNoteLineItemRequestContact +from .credit_note_line_item_request_item import CreditNoteLineItemRequestItem +from .credit_note_line_item_request_project import CreditNoteLineItemRequestProject class CreditNoteLineItemRequest(UncheckedBaseModel): @@ -79,6 +82,12 @@ class CreditNoteLineItemRequest(UncheckedBaseModel): The company the credit note belongs to. """ + contact: typing.Optional[CreditNoteLineItemRequestContact] = pydantic.Field(default=None) + """ + The credit note's contact. + """ + + 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 diff --git a/src/merge/resources/accounting/types/credit_note_line_item_request_company.py b/src/merge/resources/accounting/types/credit_note_line_item_request_company.py index 7e548928..3b4f3f53 100644 --- a/src/merge/resources/accounting/types/credit_note_line_item_request_company.py +++ b/src/merge/resources/accounting/types/credit_note_line_item_request_company.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .company_info import CompanyInfo CreditNoteLineItemRequestCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/credit_note_line_item_request_contact.py b/src/merge/resources/accounting/types/credit_note_line_item_request_contact.py new file mode 100644 index 00000000..7fd26cf2 --- /dev/null +++ b/src/merge/resources/accounting/types/credit_note_line_item_request_contact.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .contact import Contact + +CreditNoteLineItemRequestContact = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/credit_note_line_item_request_item.py b/src/merge/resources/accounting/types/credit_note_line_item_request_item.py index 55888a3b..748156fd 100644 --- a/src/merge/resources/accounting/types/credit_note_line_item_request_item.py +++ b/src/merge/resources/accounting/types/credit_note_line_item_request_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .item import Item CreditNoteLineItemRequestItem = typing.Union[str, Item] 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 new file mode 100644 index 00000000..334b238e --- /dev/null +++ b/src/merge/resources/accounting/types/credit_note_line_item_request_project.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .contact import Contact + +CreditNoteLineItemRequestProject = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/credit_note_payments_item.py b/src/merge/resources/accounting/types/credit_note_payments_item.py index ddc66a85..eb5a2c36 100644 --- a/src/merge/resources/accounting/types/credit_note_payments_item.py +++ b/src/merge/resources/accounting/types/credit_note_payments_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .payment import Payment CreditNotePaymentsItem = typing.Union[str, Payment] diff --git a/src/merge/resources/accounting/types/credit_note_request.py b/src/merge/resources/accounting/types/credit_note_request.py index 3790dada..48e28f06 100644 --- a/src/merge/resources/accounting/types/credit_note_request.py +++ b/src/merge/resources/accounting/types/credit_note_request.py @@ -1,27 +1,23 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .credit_note import CreditNote -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice -from .invoice import Invoice -from .vendor_credit import VendorCredit -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit -import typing +from __future__ import annotations + import datetime as dt +import typing + import pydantic -from .credit_note_request_status import CreditNoteRequestStatus -from .credit_note_request_contact import CreditNoteRequestContact +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .credit_note_apply_line_for_credit_note_request import CreditNoteApplyLineForCreditNoteRequest +from .credit_note_request_accounting_period import CreditNoteRequestAccountingPeriod +from .credit_note_request_applied_payments_item import CreditNoteRequestAppliedPaymentsItem from .credit_note_request_company import CreditNoteRequestCompany -from .credit_note_request_line_items_item import CreditNoteRequestLineItemsItem -from .credit_note_request_tracking_categories_item import CreditNoteRequestTrackingCategoriesItem +from .credit_note_request_contact import CreditNoteRequestContact from .credit_note_request_currency import CreditNoteRequestCurrency +from .credit_note_request_line_items_item import CreditNoteRequestLineItemsItem from .credit_note_request_payments_item import CreditNoteRequestPaymentsItem -from .credit_note_request_applied_payments_item import CreditNoteRequestAppliedPaymentsItem -from .credit_note_request_accounting_period import CreditNoteRequestAccountingPeriod -from .credit_note_apply_line_for_credit_note_request import CreditNoteApplyLineForCreditNoteRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from .credit_note_request_status import CreditNoteRequestStatus +from .credit_note_request_tracking_categories_item import CreditNoteRequestTrackingCategoriesItem class CreditNoteRequest(UncheckedBaseModel): @@ -434,3 +430,14 @@ class Config: frozen = True smart_union = True 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_request_accounting_period.py b/src/merge/resources/accounting/types/credit_note_request_accounting_period.py index e917c2a4..67775b16 100644 --- a/src/merge/resources/accounting/types/credit_note_request_accounting_period.py +++ b/src/merge/resources/accounting/types/credit_note_request_accounting_period.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .accounting_period import AccountingPeriod CreditNoteRequestAccountingPeriod = typing.Union[str, AccountingPeriod] diff --git a/src/merge/resources/accounting/types/credit_note_request_applied_payments_item.py b/src/merge/resources/accounting/types/credit_note_request_applied_payments_item.py index 873e67b7..a4d823c0 100644 --- a/src/merge/resources/accounting/types/credit_note_request_applied_payments_item.py +++ b/src/merge/resources/accounting/types/credit_note_request_applied_payments_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .payment_line_item import PaymentLineItem CreditNoteRequestAppliedPaymentsItem = typing.Union[str, PaymentLineItem] diff --git a/src/merge/resources/accounting/types/credit_note_request_company.py b/src/merge/resources/accounting/types/credit_note_request_company.py index 548c2bbc..993fffd1 100644 --- a/src/merge/resources/accounting/types/credit_note_request_company.py +++ b/src/merge/resources/accounting/types/credit_note_request_company.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .company_info import CompanyInfo CreditNoteRequestCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/credit_note_request_contact.py b/src/merge/resources/accounting/types/credit_note_request_contact.py index 1c687c17..6f4aa658 100644 --- a/src/merge/resources/accounting/types/credit_note_request_contact.py +++ b/src/merge/resources/accounting/types/credit_note_request_contact.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .contact import Contact CreditNoteRequestContact = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/credit_note_request_currency.py b/src/merge/resources/accounting/types/credit_note_request_currency.py index f257804c..9bf89dc1 100644 --- a/src/merge/resources/accounting/types/credit_note_request_currency.py +++ b/src/merge/resources/accounting/types/credit_note_request_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum CreditNoteRequestCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/credit_note_request_line_items_item.py b/src/merge/resources/accounting/types/credit_note_request_line_items_item.py index 813aea8c..6a4417b3 100644 --- a/src/merge/resources/accounting/types/credit_note_request_line_items_item.py +++ b/src/merge/resources/accounting/types/credit_note_request_line_items_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .credit_note_line_item_request import CreditNoteLineItemRequest CreditNoteRequestLineItemsItem = typing.Union[str, CreditNoteLineItemRequest] diff --git a/src/merge/resources/accounting/types/credit_note_request_payments_item.py b/src/merge/resources/accounting/types/credit_note_request_payments_item.py index d542a8a0..50e9d387 100644 --- a/src/merge/resources/accounting/types/credit_note_request_payments_item.py +++ b/src/merge/resources/accounting/types/credit_note_request_payments_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .payment import Payment CreditNoteRequestPaymentsItem = typing.Union[str, Payment] diff --git a/src/merge/resources/accounting/types/credit_note_request_status.py b/src/merge/resources/accounting/types/credit_note_request_status.py index 7691fcae..00c31e3d 100644 --- a/src/merge/resources/accounting/types/credit_note_request_status.py +++ b/src/merge/resources/accounting/types/credit_note_request_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .credit_note_status_enum import CreditNoteStatusEnum CreditNoteRequestStatus = typing.Union[CreditNoteStatusEnum, str] diff --git a/src/merge/resources/accounting/types/credit_note_request_tracking_categories_item.py b/src/merge/resources/accounting/types/credit_note_request_tracking_categories_item.py index 52d53a2d..28e2911d 100644 --- a/src/merge/resources/accounting/types/credit_note_request_tracking_categories_item.py +++ b/src/merge/resources/accounting/types/credit_note_request_tracking_categories_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory CreditNoteRequestTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/credit_note_response.py b/src/merge/resources/accounting/types/credit_note_response.py index f3ce588e..587bb615 100644 --- a/src/merge/resources/accounting/types/credit_note_response.py +++ b/src/merge/resources/accounting/types/credit_note_response.py @@ -1,23 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .credit_note import CreditNote -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice -from .invoice import Invoice -from .vendor_credit import VendorCredit -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit +from __future__ import annotations + import typing -from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem -from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .debug_mode_log import DebugModeLog +from .error_validation_problem import ErrorValidationProblem +from .warning_validation_problem import WarningValidationProblem class CreditNoteResponse(UncheckedBaseModel): - model: CreditNote + model: "CreditNote" warnings: typing.List[WarningValidationProblem] errors: typing.List[ErrorValidationProblem] logs: typing.Optional[typing.List[DebugModeLog]] = None @@ -30,3 +26,14 @@ class Config: frozen = True smart_union = True 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(CreditNoteResponse) diff --git a/src/merge/resources/accounting/types/credit_note_status.py b/src/merge/resources/accounting/types/credit_note_status.py index 6872cb01..c4bccb8b 100644 --- a/src/merge/resources/accounting/types/credit_note_status.py +++ b/src/merge/resources/accounting/types/credit_note_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .credit_note_status_enum import CreditNoteStatusEnum CreditNoteStatus = typing.Union[CreditNoteStatusEnum, str] diff --git a/src/merge/resources/accounting/types/credit_note_tracking_categories_item.py b/src/merge/resources/accounting/types/credit_note_tracking_categories_item.py index 96069936..8d0758d3 100644 --- a/src/merge/resources/accounting/types/credit_note_tracking_categories_item.py +++ b/src/merge/resources/accounting/types/credit_note_tracking_categories_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory CreditNoteTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/data_passthrough_request.py b/src/merge/resources/accounting/types/data_passthrough_request.py index 37920aa3..67f3359e 100644 --- a/src/merge/resources/accounting/types/data_passthrough_request.py +++ b/src/merge/resources/accounting/types/data_passthrough_request.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .method_enum import MethodEnum -import pydantic 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 .multipart_form_field_request import MultipartFormFieldRequest from .request_format_enum import RequestFormatEnum -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class DataPassthroughRequest(UncheckedBaseModel): @@ -19,7 +20,7 @@ class DataPassthroughRequest(UncheckedBaseModel): Create a `DataPassthrough` to get team hierarchies from your Rippling integration. """ - method: MethodEnum + method: DataPassthroughRequestMethod path: str = pydantic.Field() """ The path of the request in the third party's platform. diff --git a/src/merge/resources/accounting/types/data_passthrough_request_method.py b/src/merge/resources/accounting/types/data_passthrough_request_method.py new file mode 100644 index 00000000..58874cbf --- /dev/null +++ b/src/merge/resources/accounting/types/data_passthrough_request_method.py @@ -0,0 +1,7 @@ +# 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/debug_mode_log.py b/src/merge/resources/accounting/types/debug_mode_log.py index 7dcc7458..9c7d2a3f 100644 --- a/src/merge/resources/accounting/types/debug_mode_log.py +++ b/src/merge/resources/accounting/types/debug_mode_log.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .debug_model_log_summary import DebugModelLogSummary -from ....core.pydantic_utilities import IS_PYDANTIC_V2 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): diff --git a/src/merge/resources/accounting/types/debug_model_log_summary.py b/src/merge/resources/accounting/types/debug_model_log_summary.py index 105e3136..d7e1d3e6 100644 --- a/src/merge/resources/accounting/types/debug_model_log_summary.py +++ b/src/merge/resources/accounting/types/debug_model_log_summary.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class DebugModelLogSummary(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/employee.py b/src/merge/resources/accounting/types/employee.py index b568d9bc..145497c2 100644 --- a/src/merge/resources/accounting/types/employee.py +++ b/src/merge/resources/accounting/types/employee.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .employee_company import EmployeeCompany from .employee_status import EmployeeStatus from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class Employee(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/employee_company.py b/src/merge/resources/accounting/types/employee_company.py index d2cbdf96..2ce4237f 100644 --- a/src/merge/resources/accounting/types/employee_company.py +++ b/src/merge/resources/accounting/types/employee_company.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .company_info import CompanyInfo EmployeeCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/employee_status.py b/src/merge/resources/accounting/types/employee_status.py index b22405e5..69151268 100644 --- a/src/merge/resources/accounting/types/employee_status.py +++ b/src/merge/resources/accounting/types/employee_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .status_895_enum import Status895Enum EmployeeStatus = typing.Union[Status895Enum, str] diff --git a/src/merge/resources/accounting/types/error_validation_problem.py b/src/merge/resources/accounting/types/error_validation_problem.py index a3cef60c..04f82d05 100644 --- a/src/merge/resources/accounting/types/error_validation_problem.py +++ b/src/merge/resources/accounting/types/error_validation_problem.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .validation_problem_source import ValidationProblemSource -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/accounting/types/event_type_enum.py b/src/merge/resources/accounting/types/event_type_enum.py index 28f9cfec..537cea3f 100644 --- a/src/merge/resources/accounting/types/event_type_enum.py +++ b/src/merge/resources/accounting/types/event_type_enum.py @@ -13,6 +13,7 @@ class EventTypeEnum(str, enum.Enum): * `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 @@ -57,6 +58,7 @@ class EventTypeEnum(str, enum.Enum): 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" @@ -102,6 +104,7 @@ def visit( 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], @@ -150,6 +153,8 @@ def visit( 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: diff --git a/src/merge/resources/accounting/types/expense.py b/src/merge/resources/accounting/types/expense.py index 84517aa8..a995193a 100644 --- a/src/merge/resources/accounting/types/expense.py +++ b/src/merge/resources/accounting/types/expense.py @@ -1,20 +1,21 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .expense_account import ExpenseAccount +from .expense_accounting_period import ExpenseAccountingPeriod +from .expense_company import ExpenseCompany from .expense_contact import ExpenseContact from .expense_currency import ExpenseCurrency -from .expense_company import ExpenseCompany from .expense_employee import ExpenseEmployee from .expense_line import ExpenseLine from .expense_tracking_categories_item import ExpenseTrackingCategoriesItem -from .expense_accounting_period import ExpenseAccountingPeriod from .remote_data import RemoteData from .remote_field import RemoteField -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class Expense(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/expense_account.py b/src/merge/resources/accounting/types/expense_account.py index 3a7c4062..4da9826e 100644 --- a/src/merge/resources/accounting/types/expense_account.py +++ b/src/merge/resources/accounting/types/expense_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account ExpenseAccount = typing.Union[str, Account] diff --git a/src/merge/resources/accounting/types/expense_accounting_period.py b/src/merge/resources/accounting/types/expense_accounting_period.py index 3c6251e5..ef90ea80 100644 --- a/src/merge/resources/accounting/types/expense_accounting_period.py +++ b/src/merge/resources/accounting/types/expense_accounting_period.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .accounting_period import AccountingPeriod ExpenseAccountingPeriod = typing.Union[str, AccountingPeriod] diff --git a/src/merge/resources/accounting/types/expense_company.py b/src/merge/resources/accounting/types/expense_company.py index 15728379..fb3a47cb 100644 --- a/src/merge/resources/accounting/types/expense_company.py +++ b/src/merge/resources/accounting/types/expense_company.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .company_info import CompanyInfo ExpenseCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/expense_contact.py b/src/merge/resources/accounting/types/expense_contact.py index 589c22cd..b032b507 100644 --- a/src/merge/resources/accounting/types/expense_contact.py +++ b/src/merge/resources/accounting/types/expense_contact.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .contact import Contact ExpenseContact = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/expense_currency.py b/src/merge/resources/accounting/types/expense_currency.py index 2741e2fc..159c69e6 100644 --- a/src/merge/resources/accounting/types/expense_currency.py +++ b/src/merge/resources/accounting/types/expense_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum ExpenseCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/expense_employee.py b/src/merge/resources/accounting/types/expense_employee.py index c08e1794..c02e2e03 100644 --- a/src/merge/resources/accounting/types/expense_employee.py +++ b/src/merge/resources/accounting/types/expense_employee.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .employee import Employee ExpenseEmployee = typing.Union[str, Employee] diff --git a/src/merge/resources/accounting/types/expense_line.py b/src/merge/resources/accounting/types/expense_line.py index a13afde2..7ff6f26f 100644 --- a/src/merge/resources/accounting/types/expense_line.py +++ b/src/merge/resources/accounting/types/expense_line.py @@ -1,17 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .expense_line_item import ExpenseLineItem -from .expense_line_tracking_category import ExpenseLineTrackingCategory -from .expense_line_tracking_categories_item import ExpenseLineTrackingCategoriesItem -from .expense_line_employee import ExpenseLineEmployee -from .expense_line_currency import ExpenseLineCurrency +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .expense_line_account import ExpenseLineAccount from .expense_line_contact import ExpenseLineContact -from ....core.pydantic_utilities import IS_PYDANTIC_V2 +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 class ExpenseLine(UncheckedBaseModel): @@ -390,6 +392,7 @@ class ExpenseLine(UncheckedBaseModel): The expense's contact. """ + project: typing.Optional[ExpenseLineProject] = None description: typing.Optional[str] = pydantic.Field(default=None) """ The description of the item that was purchased by the company. diff --git a/src/merge/resources/accounting/types/expense_line_account.py b/src/merge/resources/accounting/types/expense_line_account.py index 9fa0ca1c..c04b7bd2 100644 --- a/src/merge/resources/accounting/types/expense_line_account.py +++ b/src/merge/resources/accounting/types/expense_line_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account ExpenseLineAccount = typing.Union[str, Account] diff --git a/src/merge/resources/accounting/types/expense_line_contact.py b/src/merge/resources/accounting/types/expense_line_contact.py index 76181c8b..7152af35 100644 --- a/src/merge/resources/accounting/types/expense_line_contact.py +++ b/src/merge/resources/accounting/types/expense_line_contact.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .contact import Contact ExpenseLineContact = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/expense_line_currency.py b/src/merge/resources/accounting/types/expense_line_currency.py index 24e942d0..82f51331 100644 --- a/src/merge/resources/accounting/types/expense_line_currency.py +++ b/src/merge/resources/accounting/types/expense_line_currency.py @@ -1,6 +1,7 @@ # 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_employee.py b/src/merge/resources/accounting/types/expense_line_employee.py index bce4b2c0..6aeafab9 100644 --- a/src/merge/resources/accounting/types/expense_line_employee.py +++ b/src/merge/resources/accounting/types/expense_line_employee.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .employee import Employee ExpenseLineEmployee = typing.Union[str, Employee] diff --git a/src/merge/resources/accounting/types/expense_line_item.py b/src/merge/resources/accounting/types/expense_line_item.py index d8b3ff52..321fe8a2 100644 --- a/src/merge/resources/accounting/types/expense_line_item.py +++ b/src/merge/resources/accounting/types/expense_line_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .item import Item ExpenseLineItem = typing.Union[str, Item] diff --git a/src/merge/resources/accounting/types/expense_line_project.py b/src/merge/resources/accounting/types/expense_line_project.py new file mode 100644 index 00000000..0f7e0a62 --- /dev/null +++ b/src/merge/resources/accounting/types/expense_line_project.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .project import Project + +ExpenseLineProject = typing.Union[str, Project] diff --git a/src/merge/resources/accounting/types/expense_line_request.py b/src/merge/resources/accounting/types/expense_line_request.py index 74168eaa..c9fbb2e0 100644 --- a/src/merge/resources/accounting/types/expense_line_request.py +++ b/src/merge/resources/accounting/types/expense_line_request.py @@ -1,17 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing + import pydantic -from .expense_line_request_item import ExpenseLineRequestItem -from .expense_line_request_tracking_category import ExpenseLineRequestTrackingCategory -from .expense_line_request_tracking_categories_item import ExpenseLineRequestTrackingCategoriesItem -from .expense_line_request_employee import ExpenseLineRequestEmployee -from .expense_line_request_currency import ExpenseLineRequestCurrency +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .expense_line_request_account import ExpenseLineRequestAccount from .expense_line_request_contact import ExpenseLineRequestContact +from .expense_line_request_currency import ExpenseLineRequestCurrency +from .expense_line_request_employee import ExpenseLineRequestEmployee +from .expense_line_request_item import ExpenseLineRequestItem +from .expense_line_request_project import ExpenseLineRequestProject +from .expense_line_request_tracking_categories_item import ExpenseLineRequestTrackingCategoriesItem +from .expense_line_request_tracking_category import ExpenseLineRequestTrackingCategory from .remote_field_request import RemoteFieldRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class ExpenseLineRequest(UncheckedBaseModel): @@ -379,6 +381,7 @@ class ExpenseLineRequest(UncheckedBaseModel): The expense's contact. """ + project: typing.Optional[ExpenseLineRequestProject] = None description: typing.Optional[str] = pydantic.Field(default=None) """ The description of the item that was purchased by the company. diff --git a/src/merge/resources/accounting/types/expense_line_request_account.py b/src/merge/resources/accounting/types/expense_line_request_account.py index 5c64366c..1b68d457 100644 --- a/src/merge/resources/accounting/types/expense_line_request_account.py +++ b/src/merge/resources/accounting/types/expense_line_request_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account ExpenseLineRequestAccount = typing.Union[str, Account] diff --git a/src/merge/resources/accounting/types/expense_line_request_contact.py b/src/merge/resources/accounting/types/expense_line_request_contact.py index c46a0de4..6bd0bfae 100644 --- a/src/merge/resources/accounting/types/expense_line_request_contact.py +++ b/src/merge/resources/accounting/types/expense_line_request_contact.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .contact import Contact ExpenseLineRequestContact = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/expense_line_request_currency.py b/src/merge/resources/accounting/types/expense_line_request_currency.py index 8cd922c6..86840503 100644 --- a/src/merge/resources/accounting/types/expense_line_request_currency.py +++ b/src/merge/resources/accounting/types/expense_line_request_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum ExpenseLineRequestCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/expense_line_request_employee.py b/src/merge/resources/accounting/types/expense_line_request_employee.py index 0fe16ea4..06788f2f 100644 --- a/src/merge/resources/accounting/types/expense_line_request_employee.py +++ b/src/merge/resources/accounting/types/expense_line_request_employee.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .employee import Employee ExpenseLineRequestEmployee = typing.Union[str, Employee] diff --git a/src/merge/resources/accounting/types/expense_line_request_item.py b/src/merge/resources/accounting/types/expense_line_request_item.py index 9631cd0c..f65e9bde 100644 --- a/src/merge/resources/accounting/types/expense_line_request_item.py +++ b/src/merge/resources/accounting/types/expense_line_request_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .item import Item ExpenseLineRequestItem = typing.Union[str, Item] diff --git a/src/merge/resources/accounting/types/expense_line_request_project.py b/src/merge/resources/accounting/types/expense_line_request_project.py new file mode 100644 index 00000000..a4a23629 --- /dev/null +++ b/src/merge/resources/accounting/types/expense_line_request_project.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .contact import Contact + +ExpenseLineRequestProject = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/expense_line_request_tracking_categories_item.py b/src/merge/resources/accounting/types/expense_line_request_tracking_categories_item.py index 8176e76f..d3a539e6 100644 --- a/src/merge/resources/accounting/types/expense_line_request_tracking_categories_item.py +++ b/src/merge/resources/accounting/types/expense_line_request_tracking_categories_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory ExpenseLineRequestTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/expense_line_request_tracking_category.py b/src/merge/resources/accounting/types/expense_line_request_tracking_category.py index 3d630a47..ccc3b333 100644 --- a/src/merge/resources/accounting/types/expense_line_request_tracking_category.py +++ b/src/merge/resources/accounting/types/expense_line_request_tracking_category.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory ExpenseLineRequestTrackingCategory = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/expense_line_tracking_categories_item.py b/src/merge/resources/accounting/types/expense_line_tracking_categories_item.py index 40c9628d..a3e6f796 100644 --- a/src/merge/resources/accounting/types/expense_line_tracking_categories_item.py +++ b/src/merge/resources/accounting/types/expense_line_tracking_categories_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory ExpenseLineTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/expense_line_tracking_category.py b/src/merge/resources/accounting/types/expense_line_tracking_category.py index 05ac968b..ea969833 100644 --- a/src/merge/resources/accounting/types/expense_line_tracking_category.py +++ b/src/merge/resources/accounting/types/expense_line_tracking_category.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory ExpenseLineTrackingCategory = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/expense_request.py b/src/merge/resources/accounting/types/expense_request.py index 00b6846d..b7385ad5 100644 --- a/src/merge/resources/accounting/types/expense_request.py +++ b/src/merge/resources/accounting/types/expense_request.py @@ -1,19 +1,20 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import typing 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_line_request import ExpenseLineRequest 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_company import ExpenseRequestCompany from .expense_request_employee import ExpenseRequestEmployee -from .expense_line_request import ExpenseLineRequest from .expense_request_tracking_categories_item import ExpenseRequestTrackingCategoriesItem -from .expense_request_accounting_period import ExpenseRequestAccountingPeriod from .remote_field_request import RemoteFieldRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class ExpenseRequest(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/expense_request_account.py b/src/merge/resources/accounting/types/expense_request_account.py index 5f16b076..6d3d14de 100644 --- a/src/merge/resources/accounting/types/expense_request_account.py +++ b/src/merge/resources/accounting/types/expense_request_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account ExpenseRequestAccount = typing.Union[str, Account] diff --git a/src/merge/resources/accounting/types/expense_request_accounting_period.py b/src/merge/resources/accounting/types/expense_request_accounting_period.py index 7315ffed..42d60154 100644 --- a/src/merge/resources/accounting/types/expense_request_accounting_period.py +++ b/src/merge/resources/accounting/types/expense_request_accounting_period.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .accounting_period import AccountingPeriod ExpenseRequestAccountingPeriod = typing.Union[str, AccountingPeriod] diff --git a/src/merge/resources/accounting/types/expense_request_company.py b/src/merge/resources/accounting/types/expense_request_company.py index 21157c63..c632888f 100644 --- a/src/merge/resources/accounting/types/expense_request_company.py +++ b/src/merge/resources/accounting/types/expense_request_company.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .company_info import CompanyInfo ExpenseRequestCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/expense_request_contact.py b/src/merge/resources/accounting/types/expense_request_contact.py index cab86b62..815e7427 100644 --- a/src/merge/resources/accounting/types/expense_request_contact.py +++ b/src/merge/resources/accounting/types/expense_request_contact.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .contact import Contact ExpenseRequestContact = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/expense_request_currency.py b/src/merge/resources/accounting/types/expense_request_currency.py index 70003267..af5c01f3 100644 --- a/src/merge/resources/accounting/types/expense_request_currency.py +++ b/src/merge/resources/accounting/types/expense_request_currency.py @@ -1,6 +1,7 @@ # 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/expense_request_employee.py b/src/merge/resources/accounting/types/expense_request_employee.py index 6b279b33..5031dad1 100644 --- a/src/merge/resources/accounting/types/expense_request_employee.py +++ b/src/merge/resources/accounting/types/expense_request_employee.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .employee import Employee ExpenseRequestEmployee = typing.Union[str, Employee] diff --git a/src/merge/resources/accounting/types/expense_request_tracking_categories_item.py b/src/merge/resources/accounting/types/expense_request_tracking_categories_item.py index 97754fd6..a56580fa 100644 --- a/src/merge/resources/accounting/types/expense_request_tracking_categories_item.py +++ b/src/merge/resources/accounting/types/expense_request_tracking_categories_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory ExpenseRequestTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/expense_response.py b/src/merge/resources/accounting/types/expense_response.py index c0dbe8a0..d5e3e54c 100644 --- a/src/merge/resources/accounting/types/expense_response.py +++ b/src/merge/resources/accounting/types/expense_response.py @@ -1,13 +1,14 @@ # 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 import Expense -import typing from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem -from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class ExpenseResponse(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/expense_tracking_categories_item.py b/src/merge/resources/accounting/types/expense_tracking_categories_item.py index 39d65d72..69a369cb 100644 --- a/src/merge/resources/accounting/types/expense_tracking_categories_item.py +++ b/src/merge/resources/accounting/types/expense_tracking_categories_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory ExpenseTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/external_target_field_api.py b/src/merge/resources/accounting/types/external_target_field_api.py index 2f0677ba..c0fea1eb 100644 --- a/src/merge/resources/accounting/types/external_target_field_api.py +++ b/src/merge/resources/accounting/types/external_target_field_api.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ExternalTargetFieldApi(UncheckedBaseModel): 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 8c929ea0..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 @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .external_target_field_api import ExternalTargetFieldApi + 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): @@ -59,6 +60,7 @@ class ExternalTargetFieldApiResponse(UncheckedBaseModel): payment_method: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field( alias="PaymentMethod", default=None ) + project: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field(alias="Project", default=None) payment_term: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field( alias="PaymentTerm", default=None ) diff --git a/src/merge/resources/accounting/types/field_mapping_api_instance.py b/src/merge/resources/accounting/types/field_mapping_api_instance.py index 566f157c..a5815313 100644 --- a/src/merge/resources/accounting/types/field_mapping_api_instance.py +++ b/src/merge/resources/accounting/types/field_mapping_api_instance.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .field_mapping_api_instance_target_field import FieldMappingApiInstanceTargetField -from .field_mapping_api_instance_remote_field import FieldMappingApiInstanceRemoteField -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): 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 d47c8008..578a2b10 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 @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel 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, ) -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class FieldMappingApiInstanceRemoteField(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py b/src/merge/resources/accounting/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py index 706ba0b2..4171f08b 100644 --- a/src/merge/resources/accounting/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py +++ b/src/merge/resources/accounting/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo(UncheckedBaseModel): 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 cb04116e..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 @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .field_mapping_api_instance import FieldMappingApiInstance + 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): @@ -61,6 +62,7 @@ class FieldMappingApiInstanceResponse(UncheckedBaseModel): payment_method: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field( alias="PaymentMethod", default=None ) + project: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field(alias="Project", default=None) payment_term: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field( alias="PaymentTerm", default=None ) diff --git a/src/merge/resources/accounting/types/field_mapping_api_instance_target_field.py b/src/merge/resources/accounting/types/field_mapping_api_instance_target_field.py index 32fd6f63..e6474cba 100644 --- a/src/merge/resources/accounting/types/field_mapping_api_instance_target_field.py +++ b/src/merge/resources/accounting/types/field_mapping_api_instance_target_field.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class FieldMappingApiInstanceTargetField(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/field_mapping_instance_response.py b/src/merge/resources/accounting/types/field_mapping_instance_response.py index fd9b7493..f921e641 100644 --- a/src/merge/resources/accounting/types/field_mapping_instance_response.py +++ b/src/merge/resources/accounting/types/field_mapping_instance_response.py @@ -1,13 +1,14 @@ # 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 -import typing from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem -from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class FieldMappingInstanceResponse(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/field_permission_deserializer.py b/src/merge/resources/accounting/types/field_permission_deserializer.py index 84124686..1d71ae04 100644 --- a/src/merge/resources/accounting/types/field_permission_deserializer.py +++ b/src/merge/resources/accounting/types/field_permission_deserializer.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class FieldPermissionDeserializer(UncheckedBaseModel): 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 c701f1d0..a4113b46 100644 --- a/src/merge/resources/accounting/types/field_permission_deserializer_request.py +++ b/src/merge/resources/accounting/types/field_permission_deserializer_request.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class FieldPermissionDeserializerRequest(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/general_ledger_transaction.py b/src/merge/resources/accounting/types/general_ledger_transaction.py index 8efe7b58..b2c874fb 100644 --- a/src/merge/resources/accounting/types/general_ledger_transaction.py +++ b/src/merge/resources/accounting/types/general_ledger_transaction.py @@ -1,18 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .general_ledger_transaction_underlying_transaction_type import GeneralLedgerTransactionUnderlyingTransactionType +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .general_ledger_transaction_accounting_period import GeneralLedgerTransactionAccountingPeriod from .general_ledger_transaction_company import GeneralLedgerTransactionCompany -from .general_ledger_transaction_tracking_categories_item import GeneralLedgerTransactionTrackingCategoriesItem from .general_ledger_transaction_general_ledger_transaction_lines_item import ( GeneralLedgerTransactionGeneralLedgerTransactionLinesItem, ) +from .general_ledger_transaction_tracking_categories_item import GeneralLedgerTransactionTrackingCategoriesItem +from .general_ledger_transaction_underlying_transaction_type import GeneralLedgerTransactionUnderlyingTransactionType from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class GeneralLedgerTransaction(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/general_ledger_transaction_accounting_period.py b/src/merge/resources/accounting/types/general_ledger_transaction_accounting_period.py index 44fbd481..7c771414 100644 --- a/src/merge/resources/accounting/types/general_ledger_transaction_accounting_period.py +++ b/src/merge/resources/accounting/types/general_ledger_transaction_accounting_period.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .accounting_period import AccountingPeriod GeneralLedgerTransactionAccountingPeriod = typing.Union[str, AccountingPeriod] diff --git a/src/merge/resources/accounting/types/general_ledger_transaction_company.py b/src/merge/resources/accounting/types/general_ledger_transaction_company.py index 704e8788..64e5741f 100644 --- a/src/merge/resources/accounting/types/general_ledger_transaction_company.py +++ b/src/merge/resources/accounting/types/general_ledger_transaction_company.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .company_info import CompanyInfo GeneralLedgerTransactionCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/general_ledger_transaction_general_ledger_transaction_lines_item.py b/src/merge/resources/accounting/types/general_ledger_transaction_general_ledger_transaction_lines_item.py index b2b2647e..c64d8baa 100644 --- a/src/merge/resources/accounting/types/general_ledger_transaction_general_ledger_transaction_lines_item.py +++ b/src/merge/resources/accounting/types/general_ledger_transaction_general_ledger_transaction_lines_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .general_ledger_transaction_line import GeneralLedgerTransactionLine GeneralLedgerTransactionGeneralLedgerTransactionLinesItem = typing.Union[str, GeneralLedgerTransactionLine] 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 1f6cd37e..41f26593 100644 --- a/src/merge/resources/accounting/types/general_ledger_transaction_line.py +++ b/src/merge/resources/accounting/types/general_ledger_transaction_line.py @@ -1,18 +1,20 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt +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_employee import GeneralLedgerTransactionLineEmployee from .general_ledger_transaction_line_contact import GeneralLedgerTransactionLineContact -from .general_ledger_transaction_line_base_currency import GeneralLedgerTransactionLineBaseCurrency -from .general_ledger_transaction_line_transaction_currency import GeneralLedgerTransactionLineTransactionCurrency -from .general_ledger_transaction_line_tracking_categories_item import GeneralLedgerTransactionLineTrackingCategoriesItem +from .general_ledger_transaction_line_employee import GeneralLedgerTransactionLineEmployee from .general_ledger_transaction_line_item import GeneralLedgerTransactionLineItem -from ....core.pydantic_utilities import IS_PYDANTIC_V2 +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 class GeneralLedgerTransactionLine(UncheckedBaseModel): @@ -49,6 +51,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) """ The base currency of the transaction diff --git a/src/merge/resources/accounting/types/general_ledger_transaction_line_account.py b/src/merge/resources/accounting/types/general_ledger_transaction_line_account.py index 799e642f..89aad014 100644 --- a/src/merge/resources/accounting/types/general_ledger_transaction_line_account.py +++ b/src/merge/resources/accounting/types/general_ledger_transaction_line_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account GeneralLedgerTransactionLineAccount = typing.Union[str, Account] 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 index f717f993..7f4a549f 100644 --- 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 @@ -1,6 +1,7 @@ # 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/general_ledger_transaction_line_company.py b/src/merge/resources/accounting/types/general_ledger_transaction_line_company.py index db747b93..a0e34d7a 100644 --- a/src/merge/resources/accounting/types/general_ledger_transaction_line_company.py +++ b/src/merge/resources/accounting/types/general_ledger_transaction_line_company.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .company_info import CompanyInfo GeneralLedgerTransactionLineCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/general_ledger_transaction_line_contact.py b/src/merge/resources/accounting/types/general_ledger_transaction_line_contact.py index 153c7955..302034fd 100644 --- a/src/merge/resources/accounting/types/general_ledger_transaction_line_contact.py +++ b/src/merge/resources/accounting/types/general_ledger_transaction_line_contact.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .contact import Contact GeneralLedgerTransactionLineContact = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/general_ledger_transaction_line_employee.py b/src/merge/resources/accounting/types/general_ledger_transaction_line_employee.py index 2a40bc5d..a2f35bc0 100644 --- a/src/merge/resources/accounting/types/general_ledger_transaction_line_employee.py +++ b/src/merge/resources/accounting/types/general_ledger_transaction_line_employee.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .employee import Employee GeneralLedgerTransactionLineEmployee = typing.Union[str, Employee] diff --git a/src/merge/resources/accounting/types/general_ledger_transaction_line_item.py b/src/merge/resources/accounting/types/general_ledger_transaction_line_item.py index 59f9ca19..1600c001 100644 --- a/src/merge/resources/accounting/types/general_ledger_transaction_line_item.py +++ b/src/merge/resources/accounting/types/general_ledger_transaction_line_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .item import Item GeneralLedgerTransactionLineItem = typing.Union[str, Item] diff --git a/src/merge/resources/accounting/types/general_ledger_transaction_line_project.py b/src/merge/resources/accounting/types/general_ledger_transaction_line_project.py new file mode 100644 index 00000000..dfc52b59 --- /dev/null +++ b/src/merge/resources/accounting/types/general_ledger_transaction_line_project.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .project import Project + +GeneralLedgerTransactionLineProject = typing.Union[str, Project] diff --git a/src/merge/resources/accounting/types/general_ledger_transaction_line_tracking_categories_item.py b/src/merge/resources/accounting/types/general_ledger_transaction_line_tracking_categories_item.py index b9126b40..42e27203 100644 --- a/src/merge/resources/accounting/types/general_ledger_transaction_line_tracking_categories_item.py +++ b/src/merge/resources/accounting/types/general_ledger_transaction_line_tracking_categories_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory GeneralLedgerTransactionLineTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/general_ledger_transaction_line_transaction_currency.py b/src/merge/resources/accounting/types/general_ledger_transaction_line_transaction_currency.py index e1c3b2ef..4737b029 100644 --- a/src/merge/resources/accounting/types/general_ledger_transaction_line_transaction_currency.py +++ b/src/merge/resources/accounting/types/general_ledger_transaction_line_transaction_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum GeneralLedgerTransactionLineTransactionCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/general_ledger_transaction_tracking_categories_item.py b/src/merge/resources/accounting/types/general_ledger_transaction_tracking_categories_item.py index 0e12ad82..20b52e97 100644 --- a/src/merge/resources/accounting/types/general_ledger_transaction_tracking_categories_item.py +++ b/src/merge/resources/accounting/types/general_ledger_transaction_tracking_categories_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory GeneralLedgerTransactionTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/general_ledger_transaction_underlying_transaction_type.py b/src/merge/resources/accounting/types/general_ledger_transaction_underlying_transaction_type.py index 8dfaeed6..31bf2bcf 100644 --- a/src/merge/resources/accounting/types/general_ledger_transaction_underlying_transaction_type.py +++ b/src/merge/resources/accounting/types/general_ledger_transaction_underlying_transaction_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .underlying_transaction_type_enum import UnderlyingTransactionTypeEnum GeneralLedgerTransactionUnderlyingTransactionType = typing.Union[UnderlyingTransactionTypeEnum, str] diff --git a/src/merge/resources/accounting/types/income_statement.py b/src/merge/resources/accounting/types/income_statement.py index 74df5aea..39feb450 100644 --- a/src/merge/resources/accounting/types/income_statement.py +++ b/src/merge/resources/accounting/types/income_statement.py @@ -1,14 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .income_statement_currency import IncomeStatementCurrency +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .income_statement_company import IncomeStatementCompany -from .report_item import ReportItem +from .income_statement_currency import IncomeStatementCurrency from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from .report_item import ReportItem class IncomeStatement(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/income_statement_company.py b/src/merge/resources/accounting/types/income_statement_company.py index 10c03b61..62b20e79 100644 --- a/src/merge/resources/accounting/types/income_statement_company.py +++ b/src/merge/resources/accounting/types/income_statement_company.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .company_info import CompanyInfo IncomeStatementCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/income_statement_currency.py b/src/merge/resources/accounting/types/income_statement_currency.py index ee3fd9f3..3a55f491 100644 --- a/src/merge/resources/accounting/types/income_statement_currency.py +++ b/src/merge/resources/accounting/types/income_statement_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum IncomeStatementCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/individual_common_model_scope_deserializer.py b/src/merge/resources/accounting/types/individual_common_model_scope_deserializer.py index 2883752e..4b1ef6a4 100644 --- a/src/merge/resources/accounting/types/individual_common_model_scope_deserializer.py +++ b/src/merge/resources/accounting/types/individual_common_model_scope_deserializer.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .model_permission_deserializer import ModelPermissionDeserializer -from .field_permission_deserializer import FieldPermissionDeserializer -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/accounting/types/individual_common_model_scope_deserializer_request.py b/src/merge/resources/accounting/types/individual_common_model_scope_deserializer_request.py index 785e3287..1dcda203 100644 --- a/src/merge/resources/accounting/types/individual_common_model_scope_deserializer_request.py +++ b/src/merge/resources/accounting/types/individual_common_model_scope_deserializer_request.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .model_permission_deserializer_request import ModelPermissionDeserializerRequest -from .field_permission_deserializer_request import FieldPermissionDeserializerRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/accounting/types/invoice.py b/src/merge/resources/accounting/types/invoice.py index b4bbac1c..628e1b78 100644 --- a/src/merge/resources/accounting/types/invoice.py +++ b/src/merge/resources/accounting/types/invoice.py @@ -1,27 +1,28 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -from ....core.unchecked_base_model import UncheckedBaseModel + +import datetime as dt import typing + import pydantic -import datetime as dt -from .invoice_type import InvoiceType -from .invoice_contact import InvoiceContact +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .invoice_accounting_period import InvoiceAccountingPeriod +from .invoice_applied_payments_item import InvoiceAppliedPaymentsItem from .invoice_company import InvoiceCompany -from .invoice_employee import InvoiceEmployee +from .invoice_contact import InvoiceContact from .invoice_currency import InvoiceCurrency +from .invoice_employee import InvoiceEmployee +from .invoice_line_item import InvoiceLineItem from .invoice_payment_term import InvoicePaymentTerm +from .invoice_payments_item import InvoicePaymentsItem +from .invoice_purchase_orders_item import InvoicePurchaseOrdersItem from .invoice_status import InvoiceStatus from .invoice_tracking_categories_item import InvoiceTrackingCategoriesItem -from .invoice_accounting_period import InvoiceAccountingPeriod -from .invoice_purchase_orders_item import InvoicePurchaseOrdersItem -from .invoice_payments_item import InvoicePaymentsItem -from .invoice_applied_payments_item import InvoiceAppliedPaymentsItem -from .invoice_line_item import InvoiceLineItem +from .invoice_type import InvoiceType from .remote_data import RemoteData from .remote_field import RemoteField -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.pydantic_utilities import update_forward_refs class Invoice(UncheckedBaseModel): @@ -521,13 +522,13 @@ class Config: extra = pydantic.Extra.allow -from .credit_note import CreditNote # noqa: E402 -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote # noqa: E402 -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice # noqa: E402 -from .vendor_credit import VendorCredit # noqa: E402 -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice # noqa: E402 -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit # noqa: E402 -from .invoice_applied_credit_notes_item import InvoiceAppliedCreditNotesItem # noqa: E402 -from .invoice_applied_vendor_credits_item import InvoiceAppliedVendorCreditsItem # noqa: E402 +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 update_forward_refs(Invoice) diff --git a/src/merge/resources/accounting/types/invoice_accounting_period.py b/src/merge/resources/accounting/types/invoice_accounting_period.py index decfbd1e..e3b87d8c 100644 --- a/src/merge/resources/accounting/types/invoice_accounting_period.py +++ b/src/merge/resources/accounting/types/invoice_accounting_period.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .accounting_period import AccountingPeriod InvoiceAccountingPeriod = typing.Union[str, AccountingPeriod] diff --git a/src/merge/resources/accounting/types/invoice_applied_credit_notes_item.py b/src/merge/resources/accounting/types/invoice_applied_credit_notes_item.py index 1446b2ca..1eb63aa6 100644 --- a/src/merge/resources/accounting/types/invoice_applied_credit_notes_item.py +++ b/src/merge/resources/accounting/types/invoice_applied_credit_notes_item.py @@ -1,7 +1,7 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -import typing + import typing if typing.TYPE_CHECKING: diff --git a/src/merge/resources/accounting/types/invoice_applied_payments_item.py b/src/merge/resources/accounting/types/invoice_applied_payments_item.py index 90a659ed..e2b48038 100644 --- a/src/merge/resources/accounting/types/invoice_applied_payments_item.py +++ b/src/merge/resources/accounting/types/invoice_applied_payments_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .payment_line_item import PaymentLineItem InvoiceAppliedPaymentsItem = typing.Union[str, PaymentLineItem] diff --git a/src/merge/resources/accounting/types/invoice_applied_vendor_credits_item.py b/src/merge/resources/accounting/types/invoice_applied_vendor_credits_item.py index 06945ce4..c677fbbf 100644 --- a/src/merge/resources/accounting/types/invoice_applied_vendor_credits_item.py +++ b/src/merge/resources/accounting/types/invoice_applied_vendor_credits_item.py @@ -1,7 +1,7 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -import typing + import typing if typing.TYPE_CHECKING: diff --git a/src/merge/resources/accounting/types/invoice_company.py b/src/merge/resources/accounting/types/invoice_company.py index 9d2faef9..e8558dc2 100644 --- a/src/merge/resources/accounting/types/invoice_company.py +++ b/src/merge/resources/accounting/types/invoice_company.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .company_info import CompanyInfo InvoiceCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/invoice_contact.py b/src/merge/resources/accounting/types/invoice_contact.py index d2ac5f49..88b5c862 100644 --- a/src/merge/resources/accounting/types/invoice_contact.py +++ b/src/merge/resources/accounting/types/invoice_contact.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .contact import Contact InvoiceContact = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/invoice_currency.py b/src/merge/resources/accounting/types/invoice_currency.py index 678084e8..7cc3fdfe 100644 --- a/src/merge/resources/accounting/types/invoice_currency.py +++ b/src/merge/resources/accounting/types/invoice_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum InvoiceCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/invoice_employee.py b/src/merge/resources/accounting/types/invoice_employee.py index 3d9920a4..d55c9efc 100644 --- a/src/merge/resources/accounting/types/invoice_employee.py +++ b/src/merge/resources/accounting/types/invoice_employee.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .employee import Employee InvoiceEmployee = typing.Union[str, Employee] diff --git a/src/merge/resources/accounting/types/invoice_line_item.py b/src/merge/resources/accounting/types/invoice_line_item.py index 3bee8dd5..2ef8d245 100644 --- a/src/merge/resources/accounting/types/invoice_line_item.py +++ b/src/merge/resources/accounting/types/invoice_line_item.py @@ -1,17 +1,20 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .invoice_line_item_employee import InvoiceLineItemEmployee +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .invoice_line_item_account import InvoiceLineItemAccount +from .invoice_line_item_contact import InvoiceLineItemContact from .invoice_line_item_currency import InvoiceLineItemCurrency +from .invoice_line_item_employee import InvoiceLineItemEmployee from .invoice_line_item_item import InvoiceLineItemItem -from .invoice_line_item_account import InvoiceLineItemAccount -from .invoice_line_item_tracking_category import InvoiceLineItemTrackingCategory +from .invoice_line_item_project import InvoiceLineItemProject from .invoice_line_item_tracking_categories_item import InvoiceLineItemTrackingCategoriesItem +from .invoice_line_item_tracking_category import InvoiceLineItemTrackingCategory from .remote_field import RemoteField -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class InvoiceLineItem(UncheckedBaseModel): @@ -65,6 +68,12 @@ class InvoiceLineItem(UncheckedBaseModel): The employee this overall transaction relates to. """ + project: typing.Optional[InvoiceLineItemProject] = None + contact: typing.Optional[InvoiceLineItemContact] = pydantic.Field(default=None) + """ + The invoice's contact. + """ + currency: typing.Optional[InvoiceLineItemCurrency] = pydantic.Field(default=None) """ The line item's currency. diff --git a/src/merge/resources/accounting/types/invoice_line_item_account.py b/src/merge/resources/accounting/types/invoice_line_item_account.py index 24acfa7f..c9bd67f7 100644 --- a/src/merge/resources/accounting/types/invoice_line_item_account.py +++ b/src/merge/resources/accounting/types/invoice_line_item_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account InvoiceLineItemAccount = typing.Union[str, Account] diff --git a/src/merge/resources/accounting/types/invoice_line_item_contact.py b/src/merge/resources/accounting/types/invoice_line_item_contact.py new file mode 100644 index 00000000..ac14d84b --- /dev/null +++ b/src/merge/resources/accounting/types/invoice_line_item_contact.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .contact import Contact + +InvoiceLineItemContact = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/invoice_line_item_currency.py b/src/merge/resources/accounting/types/invoice_line_item_currency.py index a2b55a51..417d389a 100644 --- a/src/merge/resources/accounting/types/invoice_line_item_currency.py +++ b/src/merge/resources/accounting/types/invoice_line_item_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum InvoiceLineItemCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/invoice_line_item_employee.py b/src/merge/resources/accounting/types/invoice_line_item_employee.py index f9785234..7eca0667 100644 --- a/src/merge/resources/accounting/types/invoice_line_item_employee.py +++ b/src/merge/resources/accounting/types/invoice_line_item_employee.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .employee import Employee InvoiceLineItemEmployee = typing.Union[str, Employee] diff --git a/src/merge/resources/accounting/types/invoice_line_item_item.py b/src/merge/resources/accounting/types/invoice_line_item_item.py index fdb657d6..dbf9418a 100644 --- a/src/merge/resources/accounting/types/invoice_line_item_item.py +++ b/src/merge/resources/accounting/types/invoice_line_item_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .item import Item InvoiceLineItemItem = typing.Union[str, Item] diff --git a/src/merge/resources/accounting/types/invoice_line_item_project.py b/src/merge/resources/accounting/types/invoice_line_item_project.py new file mode 100644 index 00000000..713f2b6a --- /dev/null +++ b/src/merge/resources/accounting/types/invoice_line_item_project.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .project import Project + +InvoiceLineItemProject = typing.Union[str, Project] 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 95b1bf98..aeea1507 100644 --- a/src/merge/resources/accounting/types/invoice_line_item_request.py +++ b/src/merge/resources/accounting/types/invoice_line_item_request.py @@ -1,16 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing + import pydantic -from .invoice_line_item_request_employee import InvoiceLineItemRequestEmployee +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .invoice_line_item_request_account import InvoiceLineItemRequestAccount +from .invoice_line_item_request_contact import InvoiceLineItemRequestContact from .invoice_line_item_request_currency import InvoiceLineItemRequestCurrency +from .invoice_line_item_request_employee import InvoiceLineItemRequestEmployee from .invoice_line_item_request_item import InvoiceLineItemRequestItem -from .invoice_line_item_request_account import InvoiceLineItemRequestAccount -from .invoice_line_item_request_tracking_category import InvoiceLineItemRequestTrackingCategory +from .invoice_line_item_request_project import InvoiceLineItemRequestProject from .invoice_line_item_request_tracking_categories_item import InvoiceLineItemRequestTrackingCategoriesItem +from .invoice_line_item_request_tracking_category import InvoiceLineItemRequestTrackingCategory from .remote_field_request import RemoteFieldRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class InvoiceLineItemRequest(UncheckedBaseModel): @@ -53,6 +56,12 @@ class InvoiceLineItemRequest(UncheckedBaseModel): The employee this overall transaction relates to. """ + project: typing.Optional[InvoiceLineItemRequestProject] = None + contact: typing.Optional[InvoiceLineItemRequestContact] = pydantic.Field(default=None) + """ + The invoice's contact. + """ + currency: typing.Optional[InvoiceLineItemRequestCurrency] = pydantic.Field(default=None) """ The line item's currency. diff --git a/src/merge/resources/accounting/types/invoice_line_item_request_account.py b/src/merge/resources/accounting/types/invoice_line_item_request_account.py index b401417c..0b1c8cd6 100644 --- a/src/merge/resources/accounting/types/invoice_line_item_request_account.py +++ b/src/merge/resources/accounting/types/invoice_line_item_request_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account InvoiceLineItemRequestAccount = typing.Union[str, Account] diff --git a/src/merge/resources/accounting/types/invoice_line_item_request_contact.py b/src/merge/resources/accounting/types/invoice_line_item_request_contact.py new file mode 100644 index 00000000..3accba92 --- /dev/null +++ b/src/merge/resources/accounting/types/invoice_line_item_request_contact.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .contact import Contact + +InvoiceLineItemRequestContact = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/invoice_line_item_request_currency.py b/src/merge/resources/accounting/types/invoice_line_item_request_currency.py index ccd06989..22b73b39 100644 --- a/src/merge/resources/accounting/types/invoice_line_item_request_currency.py +++ b/src/merge/resources/accounting/types/invoice_line_item_request_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum InvoiceLineItemRequestCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/invoice_line_item_request_employee.py b/src/merge/resources/accounting/types/invoice_line_item_request_employee.py index 2e394c2a..1a6c561e 100644 --- a/src/merge/resources/accounting/types/invoice_line_item_request_employee.py +++ b/src/merge/resources/accounting/types/invoice_line_item_request_employee.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .employee import Employee InvoiceLineItemRequestEmployee = typing.Union[str, Employee] diff --git a/src/merge/resources/accounting/types/invoice_line_item_request_item.py b/src/merge/resources/accounting/types/invoice_line_item_request_item.py index 38e9f1c5..a0c32380 100644 --- a/src/merge/resources/accounting/types/invoice_line_item_request_item.py +++ b/src/merge/resources/accounting/types/invoice_line_item_request_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .item import Item InvoiceLineItemRequestItem = typing.Union[str, Item] diff --git a/src/merge/resources/accounting/types/invoice_line_item_request_project.py b/src/merge/resources/accounting/types/invoice_line_item_request_project.py new file mode 100644 index 00000000..2ca28d2d --- /dev/null +++ b/src/merge/resources/accounting/types/invoice_line_item_request_project.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .project import Project + +InvoiceLineItemRequestProject = typing.Union[str, Project] diff --git a/src/merge/resources/accounting/types/invoice_line_item_request_tracking_categories_item.py b/src/merge/resources/accounting/types/invoice_line_item_request_tracking_categories_item.py index 4d489e3a..a7eba0c4 100644 --- a/src/merge/resources/accounting/types/invoice_line_item_request_tracking_categories_item.py +++ b/src/merge/resources/accounting/types/invoice_line_item_request_tracking_categories_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory InvoiceLineItemRequestTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/invoice_line_item_request_tracking_category.py b/src/merge/resources/accounting/types/invoice_line_item_request_tracking_category.py index 3774d618..499d43ee 100644 --- a/src/merge/resources/accounting/types/invoice_line_item_request_tracking_category.py +++ b/src/merge/resources/accounting/types/invoice_line_item_request_tracking_category.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory InvoiceLineItemRequestTrackingCategory = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/invoice_line_item_tracking_categories_item.py b/src/merge/resources/accounting/types/invoice_line_item_tracking_categories_item.py index adb4e876..fa22c4ea 100644 --- a/src/merge/resources/accounting/types/invoice_line_item_tracking_categories_item.py +++ b/src/merge/resources/accounting/types/invoice_line_item_tracking_categories_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory InvoiceLineItemTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/invoice_line_item_tracking_category.py b/src/merge/resources/accounting/types/invoice_line_item_tracking_category.py index a5b02155..fff4c012 100644 --- a/src/merge/resources/accounting/types/invoice_line_item_tracking_category.py +++ b/src/merge/resources/accounting/types/invoice_line_item_tracking_category.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory InvoiceLineItemTrackingCategory = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/invoice_payment_term.py b/src/merge/resources/accounting/types/invoice_payment_term.py index 721ff446..5666e256 100644 --- a/src/merge/resources/accounting/types/invoice_payment_term.py +++ b/src/merge/resources/accounting/types/invoice_payment_term.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .payment_term import PaymentTerm InvoicePaymentTerm = typing.Union[str, PaymentTerm] diff --git a/src/merge/resources/accounting/types/invoice_payments_item.py b/src/merge/resources/accounting/types/invoice_payments_item.py index 9e9b0658..546f3ef2 100644 --- a/src/merge/resources/accounting/types/invoice_payments_item.py +++ b/src/merge/resources/accounting/types/invoice_payments_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .payment import Payment InvoicePaymentsItem = typing.Union[str, Payment] diff --git a/src/merge/resources/accounting/types/invoice_purchase_orders_item.py b/src/merge/resources/accounting/types/invoice_purchase_orders_item.py index c7b6a15f..a91afeba 100644 --- a/src/merge/resources/accounting/types/invoice_purchase_orders_item.py +++ b/src/merge/resources/accounting/types/invoice_purchase_orders_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .purchase_order import PurchaseOrder InvoicePurchaseOrdersItem = typing.Union[str, PurchaseOrder] diff --git a/src/merge/resources/accounting/types/invoice_request.py b/src/merge/resources/accounting/types/invoice_request.py index 71a897a7..5bfa2e9f 100644 --- a/src/merge/resources/accounting/types/invoice_request.py +++ b/src/merge/resources/accounting/types/invoice_request.py @@ -1,22 +1,23 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing -from .invoice_request_type import InvoiceRequestType + import pydantic -from .invoice_request_contact import InvoiceRequestContact -import datetime as dt -from .invoice_request_employee import InvoiceRequestEmployee -from .invoice_request_status import InvoiceRequestStatus +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .invoice_line_item_request import InvoiceLineItemRequest from .invoice_request_company import InvoiceRequestCompany +from .invoice_request_contact import InvoiceRequestContact from .invoice_request_currency import InvoiceRequestCurrency +from .invoice_request_employee import InvoiceRequestEmployee from .invoice_request_payment_term import InvoiceRequestPaymentTerm from .invoice_request_payments_item import InvoiceRequestPaymentsItem -from .invoice_request_tracking_categories_item import InvoiceRequestTrackingCategoriesItem -from .invoice_line_item_request import InvoiceLineItemRequest from .invoice_request_purchase_orders_item import InvoiceRequestPurchaseOrdersItem +from .invoice_request_status import InvoiceRequestStatus +from .invoice_request_tracking_categories_item import InvoiceRequestTrackingCategoriesItem +from .invoice_request_type import InvoiceRequestType from .remote_field_request import RemoteFieldRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class InvoiceRequest(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/invoice_request_company.py b/src/merge/resources/accounting/types/invoice_request_company.py index d3ffd5e9..dba10e8c 100644 --- a/src/merge/resources/accounting/types/invoice_request_company.py +++ b/src/merge/resources/accounting/types/invoice_request_company.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .company_info import CompanyInfo InvoiceRequestCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/invoice_request_contact.py b/src/merge/resources/accounting/types/invoice_request_contact.py index 537743ff..e197c573 100644 --- a/src/merge/resources/accounting/types/invoice_request_contact.py +++ b/src/merge/resources/accounting/types/invoice_request_contact.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .contact import Contact InvoiceRequestContact = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/invoice_request_currency.py b/src/merge/resources/accounting/types/invoice_request_currency.py index 26cdb8e7..70d5104b 100644 --- a/src/merge/resources/accounting/types/invoice_request_currency.py +++ b/src/merge/resources/accounting/types/invoice_request_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum InvoiceRequestCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/invoice_request_employee.py b/src/merge/resources/accounting/types/invoice_request_employee.py index 80ec45eb..cbfe7d82 100644 --- a/src/merge/resources/accounting/types/invoice_request_employee.py +++ b/src/merge/resources/accounting/types/invoice_request_employee.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .employee import Employee InvoiceRequestEmployee = typing.Union[str, Employee] diff --git a/src/merge/resources/accounting/types/invoice_request_payment_term.py b/src/merge/resources/accounting/types/invoice_request_payment_term.py index 00eccdd8..6367179b 100644 --- a/src/merge/resources/accounting/types/invoice_request_payment_term.py +++ b/src/merge/resources/accounting/types/invoice_request_payment_term.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .payment_term import PaymentTerm InvoiceRequestPaymentTerm = typing.Union[str, PaymentTerm] diff --git a/src/merge/resources/accounting/types/invoice_request_payments_item.py b/src/merge/resources/accounting/types/invoice_request_payments_item.py index 6c00ca5a..9fce823b 100644 --- a/src/merge/resources/accounting/types/invoice_request_payments_item.py +++ b/src/merge/resources/accounting/types/invoice_request_payments_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .payment import Payment InvoiceRequestPaymentsItem = typing.Union[str, Payment] diff --git a/src/merge/resources/accounting/types/invoice_request_purchase_orders_item.py b/src/merge/resources/accounting/types/invoice_request_purchase_orders_item.py index da93d985..e45382ce 100644 --- a/src/merge/resources/accounting/types/invoice_request_purchase_orders_item.py +++ b/src/merge/resources/accounting/types/invoice_request_purchase_orders_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .purchase_order import PurchaseOrder InvoiceRequestPurchaseOrdersItem = typing.Union[str, PurchaseOrder] diff --git a/src/merge/resources/accounting/types/invoice_request_status.py b/src/merge/resources/accounting/types/invoice_request_status.py index afabdf22..7311ef1d 100644 --- a/src/merge/resources/accounting/types/invoice_request_status.py +++ b/src/merge/resources/accounting/types/invoice_request_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .invoice_status_enum import InvoiceStatusEnum InvoiceRequestStatus = typing.Union[InvoiceStatusEnum, str] diff --git a/src/merge/resources/accounting/types/invoice_request_tracking_categories_item.py b/src/merge/resources/accounting/types/invoice_request_tracking_categories_item.py index 3913ccd2..9a333048 100644 --- a/src/merge/resources/accounting/types/invoice_request_tracking_categories_item.py +++ b/src/merge/resources/accounting/types/invoice_request_tracking_categories_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory InvoiceRequestTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/invoice_request_type.py b/src/merge/resources/accounting/types/invoice_request_type.py index 8ab1a60a..9b0799d0 100644 --- a/src/merge/resources/accounting/types/invoice_request_type.py +++ b/src/merge/resources/accounting/types/invoice_request_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .invoice_type_enum import InvoiceTypeEnum InvoiceRequestType = typing.Union[InvoiceTypeEnum, str] diff --git a/src/merge/resources/accounting/types/invoice_response.py b/src/merge/resources/accounting/types/invoice_response.py index b79c427d..ee6e266e 100644 --- a/src/merge/resources/accounting/types/invoice_response.py +++ b/src/merge/resources/accounting/types/invoice_response.py @@ -1,23 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .credit_note import CreditNote -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice -from .invoice import Invoice -from .vendor_credit import VendorCredit -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit +from __future__ import annotations + import typing -from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem -from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .debug_mode_log import DebugModeLog +from .error_validation_problem import ErrorValidationProblem +from .warning_validation_problem import WarningValidationProblem class InvoiceResponse(UncheckedBaseModel): - model: Invoice + model: "Invoice" warnings: typing.List[WarningValidationProblem] errors: typing.List[ErrorValidationProblem] logs: typing.Optional[typing.List[DebugModeLog]] = None @@ -30,3 +26,14 @@ class Config: frozen = True smart_union = True 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(InvoiceResponse) diff --git a/src/merge/resources/accounting/types/invoice_status.py b/src/merge/resources/accounting/types/invoice_status.py index 34180cef..aff15936 100644 --- a/src/merge/resources/accounting/types/invoice_status.py +++ b/src/merge/resources/accounting/types/invoice_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .invoice_status_enum import InvoiceStatusEnum InvoiceStatus = typing.Union[InvoiceStatusEnum, str] diff --git a/src/merge/resources/accounting/types/invoice_tracking_categories_item.py b/src/merge/resources/accounting/types/invoice_tracking_categories_item.py index f7c610ff..1ade3e05 100644 --- a/src/merge/resources/accounting/types/invoice_tracking_categories_item.py +++ b/src/merge/resources/accounting/types/invoice_tracking_categories_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory InvoiceTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/invoice_type.py b/src/merge/resources/accounting/types/invoice_type.py index 8adfd989..701f7ece 100644 --- a/src/merge/resources/accounting/types/invoice_type.py +++ b/src/merge/resources/accounting/types/invoice_type.py @@ -1,6 +1,7 @@ # 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 ebaca8b1..df31be95 100644 --- a/src/merge/resources/accounting/types/issue.py +++ b/src/merge/resources/accounting/types/issue.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing -from .issue_status import IssueStatus + import pydantic -import datetime as dt from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .issue_status import IssueStatus class Issue(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/issue_status.py b/src/merge/resources/accounting/types/issue_status.py index 59d004d8..8e4d6516 100644 --- a/src/merge/resources/accounting/types/issue_status.py +++ b/src/merge/resources/accounting/types/issue_status.py @@ -1,6 +1,7 @@ # 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/accounting/types/item.py b/src/merge/resources/accounting/types/item.py index 401b8fbc..3d030eaa 100644 --- a/src/merge/resources/accounting/types/item.py +++ b/src/merge/resources/accounting/types/item.py @@ -1,17 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .item_status import ItemStatus -from .item_purchase_account import ItemPurchaseAccount -from .item_sales_account import ItemSalesAccount +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .item_company import ItemCompany +from .item_purchase_account import ItemPurchaseAccount from .item_purchase_tax_rate import ItemPurchaseTaxRate +from .item_sales_account import ItemSalesAccount from .item_sales_tax_rate import ItemSalesTaxRate +from .item_status import ItemStatus from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class Item(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/item_company.py b/src/merge/resources/accounting/types/item_company.py index b6e28471..8bd6469f 100644 --- a/src/merge/resources/accounting/types/item_company.py +++ b/src/merge/resources/accounting/types/item_company.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .company_info import CompanyInfo ItemCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/item_purchase_account.py b/src/merge/resources/accounting/types/item_purchase_account.py index 97459039..adb31772 100644 --- a/src/merge/resources/accounting/types/item_purchase_account.py +++ b/src/merge/resources/accounting/types/item_purchase_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account ItemPurchaseAccount = typing.Union[str, Account] diff --git a/src/merge/resources/accounting/types/item_purchase_tax_rate.py b/src/merge/resources/accounting/types/item_purchase_tax_rate.py index db4379ab..50af77f9 100644 --- a/src/merge/resources/accounting/types/item_purchase_tax_rate.py +++ b/src/merge/resources/accounting/types/item_purchase_tax_rate.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tax_rate import TaxRate ItemPurchaseTaxRate = typing.Union[str, TaxRate] diff --git a/src/merge/resources/accounting/types/item_request_request.py b/src/merge/resources/accounting/types/item_request_request.py new file mode 100644 index 00000000..c6080a03 --- /dev/null +++ b/src/merge/resources/accounting/types/item_request_request.py @@ -0,0 +1,95 @@ +# 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 .item_request_request_company import ItemRequestRequestCompany +from .item_request_request_purchase_account import ItemRequestRequestPurchaseAccount +from .item_request_request_purchase_tax_rate import ItemRequestRequestPurchaseTaxRate +from .item_request_request_sales_account import ItemRequestRequestSalesAccount +from .item_request_request_sales_tax_rate import ItemRequestRequestSalesTaxRate +from .item_request_request_status import ItemRequestRequestStatus +from .item_request_request_type import ItemRequestRequestType + + +class ItemRequestRequest(UncheckedBaseModel): + """ + # 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. + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + The item's name. + """ + + status: typing.Optional[ItemRequestRequestStatus] = pydantic.Field(default=None) + """ + The item's status. + + * `ACTIVE` - ACTIVE + * `ARCHIVED` - ARCHIVED + """ + + type: typing.Optional[ItemRequestRequestType] = pydantic.Field(default=None) + """ + The item's type. + + * `INVENTORY` - INVENTORY + * `NON_INVENTORY` - NON_INVENTORY + * `SERVICE` - SERVICE + * `UNKNOWN` - UNKNOWN + """ + + unit_price: typing.Optional[float] = pydantic.Field(default=None) + """ + The item's unit price. + """ + + purchase_price: typing.Optional[float] = pydantic.Field(default=None) + """ + The price at which the item is purchased from a vendor. + """ + + purchase_account: typing.Optional[ItemRequestRequestPurchaseAccount] = pydantic.Field(default=None) + """ + References the default account used to record a purchase of the item. + """ + + sales_account: typing.Optional[ItemRequestRequestSalesAccount] = pydantic.Field(default=None) + """ + References the default account used to record a sale. + """ + + company: typing.Optional[ItemRequestRequestCompany] = pydantic.Field(default=None) + """ + The company the item belongs to. + """ + + purchase_tax_rate: typing.Optional[ItemRequestRequestPurchaseTaxRate] = pydantic.Field(default=None) + """ + The default purchase tax rate for this item. + """ + + sales_tax_rate: typing.Optional[ItemRequestRequestSalesTaxRate] = pydantic.Field(default=None) + """ + 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 + + 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/item_request_request_company.py b/src/merge/resources/accounting/types/item_request_request_company.py new file mode 100644 index 00000000..8d091f07 --- /dev/null +++ b/src/merge/resources/accounting/types/item_request_request_company.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .company_info import CompanyInfo + +ItemRequestRequestCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/item_request_request_purchase_account.py b/src/merge/resources/accounting/types/item_request_request_purchase_account.py new file mode 100644 index 00000000..57e4f366 --- /dev/null +++ b/src/merge/resources/accounting/types/item_request_request_purchase_account.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .account import Account + +ItemRequestRequestPurchaseAccount = typing.Union[str, Account] diff --git a/src/merge/resources/accounting/types/item_request_request_purchase_tax_rate.py b/src/merge/resources/accounting/types/item_request_request_purchase_tax_rate.py new file mode 100644 index 00000000..4df44f65 --- /dev/null +++ b/src/merge/resources/accounting/types/item_request_request_purchase_tax_rate.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .tax_rate import TaxRate + +ItemRequestRequestPurchaseTaxRate = typing.Union[str, TaxRate] diff --git a/src/merge/resources/accounting/types/item_request_request_sales_account.py b/src/merge/resources/accounting/types/item_request_request_sales_account.py new file mode 100644 index 00000000..5689078e --- /dev/null +++ b/src/merge/resources/accounting/types/item_request_request_sales_account.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .account import Account + +ItemRequestRequestSalesAccount = typing.Union[str, Account] diff --git a/src/merge/resources/accounting/types/item_request_request_sales_tax_rate.py b/src/merge/resources/accounting/types/item_request_request_sales_tax_rate.py new file mode 100644 index 00000000..b7a65d5c --- /dev/null +++ b/src/merge/resources/accounting/types/item_request_request_sales_tax_rate.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .tax_rate import TaxRate + +ItemRequestRequestSalesTaxRate = typing.Union[str, TaxRate] diff --git a/src/merge/resources/accounting/types/item_request_request_status.py b/src/merge/resources/accounting/types/item_request_request_status.py new file mode 100644 index 00000000..a4e45a0d --- /dev/null +++ b/src/merge/resources/accounting/types/item_request_request_status.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .status_7_d_1_enum 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 new file mode 100644 index 00000000..7aba64f6 --- /dev/null +++ b/src/merge/resources/accounting/types/item_request_request_type.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .type_2_bb_enum import Type2BbEnum + +ItemRequestRequestType = typing.Union[Type2BbEnum, str] diff --git a/src/merge/resources/accounting/types/item_response.py b/src/merge/resources/accounting/types/item_response.py new file mode 100644 index 00000000..d13099d6 --- /dev/null +++ b/src/merge/resources/accounting/types/item_response.py @@ -0,0 +1,27 @@ +# 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 .item import Item +from .warning_validation_problem import WarningValidationProblem + + +class ItemResponse(UncheckedBaseModel): + model: Item + 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/item_sales_account.py b/src/merge/resources/accounting/types/item_sales_account.py index daa5300f..9c6991a2 100644 --- a/src/merge/resources/accounting/types/item_sales_account.py +++ b/src/merge/resources/accounting/types/item_sales_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account ItemSalesAccount = typing.Union[str, Account] diff --git a/src/merge/resources/accounting/types/item_sales_tax_rate.py b/src/merge/resources/accounting/types/item_sales_tax_rate.py index 9face230..b0b7e77e 100644 --- a/src/merge/resources/accounting/types/item_sales_tax_rate.py +++ b/src/merge/resources/accounting/types/item_sales_tax_rate.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tax_rate import TaxRate ItemSalesTaxRate = typing.Union[str, TaxRate] diff --git a/src/merge/resources/accounting/types/item_schema.py b/src/merge/resources/accounting/types/item_schema.py index 5a639259..fceec554 100644 --- a/src/merge/resources/accounting/types/item_schema.py +++ b/src/merge/resources/accounting/types/item_schema.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .item_type_enum import ItemTypeEnum -from .item_format_enum import ItemFormatEnum -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .item_format_enum import ItemFormatEnum +from .item_type_enum import ItemTypeEnum class ItemSchema(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/item_status.py b/src/merge/resources/accounting/types/item_status.py index 28262e4a..5b7de869 100644 --- a/src/merge/resources/accounting/types/item_status.py +++ b/src/merge/resources/accounting/types/item_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .status_7_d_1_enum import Status7D1Enum ItemStatus = typing.Union[Status7D1Enum, str] diff --git a/src/merge/resources/accounting/types/journal_entry.py b/src/merge/resources/accounting/types/journal_entry.py index 5f5eb0c4..886ffa58 100644 --- a/src/merge/resources/accounting/types/journal_entry.py +++ b/src/merge/resources/accounting/types/journal_entry.py @@ -1,20 +1,21 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .journal_entry_payments_item import JournalEntryPaymentsItem +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .journal_entry_accounting_period import JournalEntryAccountingPeriod from .journal_entry_applied_payments_item import JournalEntryAppliedPaymentsItem -from .journal_entry_currency import JournalEntryCurrency from .journal_entry_company import JournalEntryCompany -from .journal_line import JournalLine -from .journal_entry_tracking_categories_item import JournalEntryTrackingCategoriesItem +from .journal_entry_currency import JournalEntryCurrency +from .journal_entry_payments_item import JournalEntryPaymentsItem from .journal_entry_posting_status import JournalEntryPostingStatus -from .journal_entry_accounting_period import JournalEntryAccountingPeriod +from .journal_entry_tracking_categories_item import JournalEntryTrackingCategoriesItem +from .journal_line import JournalLine from .remote_data import RemoteData from .remote_field import RemoteField -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class JournalEntry(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/journal_entry_accounting_period.py b/src/merge/resources/accounting/types/journal_entry_accounting_period.py index e0176a57..1684bcf6 100644 --- a/src/merge/resources/accounting/types/journal_entry_accounting_period.py +++ b/src/merge/resources/accounting/types/journal_entry_accounting_period.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .accounting_period import AccountingPeriod JournalEntryAccountingPeriod = typing.Union[str, AccountingPeriod] diff --git a/src/merge/resources/accounting/types/journal_entry_applied_payments_item.py b/src/merge/resources/accounting/types/journal_entry_applied_payments_item.py index 142ef0fb..4a8fb7fc 100644 --- a/src/merge/resources/accounting/types/journal_entry_applied_payments_item.py +++ b/src/merge/resources/accounting/types/journal_entry_applied_payments_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .payment_line_item import PaymentLineItem JournalEntryAppliedPaymentsItem = typing.Union[str, PaymentLineItem] diff --git a/src/merge/resources/accounting/types/journal_entry_company.py b/src/merge/resources/accounting/types/journal_entry_company.py index b5acbcf4..6856f4f3 100644 --- a/src/merge/resources/accounting/types/journal_entry_company.py +++ b/src/merge/resources/accounting/types/journal_entry_company.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .company_info import CompanyInfo JournalEntryCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/journal_entry_currency.py b/src/merge/resources/accounting/types/journal_entry_currency.py index 3f9d316f..df0ae433 100644 --- a/src/merge/resources/accounting/types/journal_entry_currency.py +++ b/src/merge/resources/accounting/types/journal_entry_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum JournalEntryCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/journal_entry_payments_item.py b/src/merge/resources/accounting/types/journal_entry_payments_item.py index 75629f32..286f7632 100644 --- a/src/merge/resources/accounting/types/journal_entry_payments_item.py +++ b/src/merge/resources/accounting/types/journal_entry_payments_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .payment import Payment JournalEntryPaymentsItem = typing.Union[str, Payment] diff --git a/src/merge/resources/accounting/types/journal_entry_posting_status.py b/src/merge/resources/accounting/types/journal_entry_posting_status.py index 1cabd08b..4be13128 100644 --- a/src/merge/resources/accounting/types/journal_entry_posting_status.py +++ b/src/merge/resources/accounting/types/journal_entry_posting_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .posting_status_enum import PostingStatusEnum JournalEntryPostingStatus = typing.Union[PostingStatusEnum, str] diff --git a/src/merge/resources/accounting/types/journal_entry_request.py b/src/merge/resources/accounting/types/journal_entry_request.py index 1b275ab9..5c45360e 100644 --- a/src/merge/resources/accounting/types/journal_entry_request.py +++ b/src/merge/resources/accounting/types/journal_entry_request.py @@ -1,17 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import typing import datetime as dt +import typing + import pydantic -from .journal_entry_request_payments_item import JournalEntryRequestPaymentsItem -from .journal_entry_request_currency import JournalEntryRequestCurrency +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .journal_entry_request_company import JournalEntryRequestCompany +from .journal_entry_request_currency import JournalEntryRequestCurrency +from .journal_entry_request_payments_item import JournalEntryRequestPaymentsItem +from .journal_entry_request_posting_status import JournalEntryRequestPostingStatus from .journal_entry_request_tracking_categories_item import JournalEntryRequestTrackingCategoriesItem from .journal_line_request import JournalLineRequest -from .journal_entry_request_posting_status import JournalEntryRequestPostingStatus from .remote_field_request import RemoteFieldRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class JournalEntryRequest(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/journal_entry_request_company.py b/src/merge/resources/accounting/types/journal_entry_request_company.py index cbb988fc..5c388f77 100644 --- a/src/merge/resources/accounting/types/journal_entry_request_company.py +++ b/src/merge/resources/accounting/types/journal_entry_request_company.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .company_info import CompanyInfo JournalEntryRequestCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/journal_entry_request_currency.py b/src/merge/resources/accounting/types/journal_entry_request_currency.py index 4a2ed8da..58ebe8d0 100644 --- a/src/merge/resources/accounting/types/journal_entry_request_currency.py +++ b/src/merge/resources/accounting/types/journal_entry_request_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum JournalEntryRequestCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/journal_entry_request_payments_item.py b/src/merge/resources/accounting/types/journal_entry_request_payments_item.py index dcc1cd26..13c34a9c 100644 --- a/src/merge/resources/accounting/types/journal_entry_request_payments_item.py +++ b/src/merge/resources/accounting/types/journal_entry_request_payments_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .payment import Payment JournalEntryRequestPaymentsItem = typing.Union[str, Payment] diff --git a/src/merge/resources/accounting/types/journal_entry_request_posting_status.py b/src/merge/resources/accounting/types/journal_entry_request_posting_status.py index 1a6fc512..44728c57 100644 --- a/src/merge/resources/accounting/types/journal_entry_request_posting_status.py +++ b/src/merge/resources/accounting/types/journal_entry_request_posting_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .posting_status_enum import PostingStatusEnum JournalEntryRequestPostingStatus = typing.Union[PostingStatusEnum, str] diff --git a/src/merge/resources/accounting/types/journal_entry_request_tracking_categories_item.py b/src/merge/resources/accounting/types/journal_entry_request_tracking_categories_item.py index 5bbcc3e9..5661c699 100644 --- a/src/merge/resources/accounting/types/journal_entry_request_tracking_categories_item.py +++ b/src/merge/resources/accounting/types/journal_entry_request_tracking_categories_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory JournalEntryRequestTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/journal_entry_response.py b/src/merge/resources/accounting/types/journal_entry_response.py index edb71cba..c70678a5 100644 --- a/src/merge/resources/accounting/types/journal_entry_response.py +++ b/src/merge/resources/accounting/types/journal_entry_response.py @@ -1,13 +1,14 @@ # 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 .journal_entry import JournalEntry -import typing from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem -from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class JournalEntryResponse(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/journal_entry_tracking_categories_item.py b/src/merge/resources/accounting/types/journal_entry_tracking_categories_item.py index 8b56d5a8..dc3f6b22 100644 --- a/src/merge/resources/accounting/types/journal_entry_tracking_categories_item.py +++ b/src/merge/resources/accounting/types/journal_entry_tracking_categories_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory JournalEntryTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/journal_line.py b/src/merge/resources/accounting/types/journal_line.py index 471bd14b..4e68b2b5 100644 --- a/src/merge/resources/accounting/types/journal_line.py +++ b/src/merge/resources/accounting/types/journal_line.py @@ -1,15 +1,17 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .journal_line_account import JournalLineAccount -from .journal_line_tracking_category import JournalLineTrackingCategory -from .journal_line_tracking_categories_item import JournalLineTrackingCategoriesItem from .journal_line_currency import JournalLineCurrency +from .journal_line_project import JournalLineProject +from .journal_line_tracking_categories_item import JournalLineTrackingCategoriesItem +from .journal_line_tracking_category import JournalLineTrackingCategory from .remote_field import RemoteField -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class JournalLine(UncheckedBaseModel): @@ -370,6 +372,7 @@ class JournalLine(UncheckedBaseModel): """ employee: typing.Optional[str] = None + project: typing.Optional[JournalLineProject] = None contact: typing.Optional[str] = None tax_rate: typing.Optional[str] = pydantic.Field(default=None) """ diff --git a/src/merge/resources/accounting/types/journal_line_account.py b/src/merge/resources/accounting/types/journal_line_account.py index aa8748bd..3f1ff32c 100644 --- a/src/merge/resources/accounting/types/journal_line_account.py +++ b/src/merge/resources/accounting/types/journal_line_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account JournalLineAccount = typing.Union[str, Account] diff --git a/src/merge/resources/accounting/types/journal_line_currency.py b/src/merge/resources/accounting/types/journal_line_currency.py index 8aa528f5..61c8c74d 100644 --- a/src/merge/resources/accounting/types/journal_line_currency.py +++ b/src/merge/resources/accounting/types/journal_line_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum JournalLineCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/journal_line_project.py b/src/merge/resources/accounting/types/journal_line_project.py new file mode 100644 index 00000000..97ec9783 --- /dev/null +++ b/src/merge/resources/accounting/types/journal_line_project.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .project import Project + +JournalLineProject = typing.Union[str, Project] diff --git a/src/merge/resources/accounting/types/journal_line_request.py b/src/merge/resources/accounting/types/journal_line_request.py index f1cca636..05533fa0 100644 --- a/src/merge/resources/accounting/types/journal_line_request.py +++ b/src/merge/resources/accounting/types/journal_line_request.py @@ -1,14 +1,16 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .journal_line_request_account import JournalLineRequestAccount -from .journal_line_request_tracking_category import JournalLineRequestTrackingCategory -from .journal_line_request_tracking_categories_item import JournalLineRequestTrackingCategoriesItem from .journal_line_request_currency import JournalLineRequestCurrency +from .journal_line_request_project import JournalLineRequestProject +from .journal_line_request_tracking_categories_item import JournalLineRequestTrackingCategoriesItem +from .journal_line_request_tracking_category import JournalLineRequestTrackingCategory from .remote_field_request import RemoteFieldRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class JournalLineRequest(UncheckedBaseModel): @@ -358,6 +360,7 @@ class JournalLineRequest(UncheckedBaseModel): """ employee: typing.Optional[str] = None + project: typing.Optional[JournalLineRequestProject] = None contact: typing.Optional[str] = None tax_rate: typing.Optional[str] = pydantic.Field(default=None) """ diff --git a/src/merge/resources/accounting/types/journal_line_request_account.py b/src/merge/resources/accounting/types/journal_line_request_account.py index c812ebfc..a16863b7 100644 --- a/src/merge/resources/accounting/types/journal_line_request_account.py +++ b/src/merge/resources/accounting/types/journal_line_request_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account JournalLineRequestAccount = typing.Union[str, Account] diff --git a/src/merge/resources/accounting/types/journal_line_request_currency.py b/src/merge/resources/accounting/types/journal_line_request_currency.py index 7aedc048..920a6b74 100644 --- a/src/merge/resources/accounting/types/journal_line_request_currency.py +++ b/src/merge/resources/accounting/types/journal_line_request_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum JournalLineRequestCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/journal_line_request_project.py b/src/merge/resources/accounting/types/journal_line_request_project.py new file mode 100644 index 00000000..fa9953f5 --- /dev/null +++ b/src/merge/resources/accounting/types/journal_line_request_project.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .project import Project + +JournalLineRequestProject = typing.Union[str, Project] diff --git a/src/merge/resources/accounting/types/journal_line_request_tracking_categories_item.py b/src/merge/resources/accounting/types/journal_line_request_tracking_categories_item.py index c60477af..8833229a 100644 --- a/src/merge/resources/accounting/types/journal_line_request_tracking_categories_item.py +++ b/src/merge/resources/accounting/types/journal_line_request_tracking_categories_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory JournalLineRequestTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/journal_line_request_tracking_category.py b/src/merge/resources/accounting/types/journal_line_request_tracking_category.py index 7191d13c..995705d7 100644 --- a/src/merge/resources/accounting/types/journal_line_request_tracking_category.py +++ b/src/merge/resources/accounting/types/journal_line_request_tracking_category.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory JournalLineRequestTrackingCategory = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/journal_line_tracking_categories_item.py b/src/merge/resources/accounting/types/journal_line_tracking_categories_item.py index 723f6671..e63bdbaa 100644 --- a/src/merge/resources/accounting/types/journal_line_tracking_categories_item.py +++ b/src/merge/resources/accounting/types/journal_line_tracking_categories_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory JournalLineTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/journal_line_tracking_category.py b/src/merge/resources/accounting/types/journal_line_tracking_category.py index e85273ab..122dffa0 100644 --- a/src/merge/resources/accounting/types/journal_line_tracking_category.py +++ b/src/merge/resources/accounting/types/journal_line_tracking_category.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory JournalLineTrackingCategory = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/link_token.py b/src/merge/resources/accounting/types/link_token.py index 273b4add..f78dedeb 100644 --- a/src/merge/resources/accounting/types/link_token.py +++ b/src/merge/resources/accounting/types/link_token.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class LinkToken(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/linked_account_status.py b/src/merge/resources/accounting/types/linked_account_status.py index fe00263e..ab2e0f09 100644 --- a/src/merge/resources/accounting/types/linked_account_status.py +++ b/src/merge/resources/accounting/types/linked_account_status.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class LinkedAccountStatus(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/meta_response.py b/src/merge/resources/accounting/types/meta_response.py index cb2e08c1..caa2c831 100644 --- a/src/merge/resources/accounting/types/meta_response.py +++ b/src/merge/resources/accounting/types/meta_response.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .linked_account_status import LinkedAccountStatus -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .linked_account_status import LinkedAccountStatus class MetaResponse(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/model_operation.py b/src/merge/resources/accounting/types/model_operation.py index bc09f2c1..c367572d 100644 --- a/src/merge/resources/accounting/types/model_operation.py +++ b/src/merge/resources/accounting/types/model_operation.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ModelOperation(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/model_permission_deserializer.py b/src/merge/resources/accounting/types/model_permission_deserializer.py index 4a524c19..6381814c 100644 --- a/src/merge/resources/accounting/types/model_permission_deserializer.py +++ b/src/merge/resources/accounting/types/model_permission_deserializer.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ModelPermissionDeserializer(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/model_permission_deserializer_request.py b/src/merge/resources/accounting/types/model_permission_deserializer_request.py index 5b693e6f..cdc2ff4c 100644 --- a/src/merge/resources/accounting/types/model_permission_deserializer_request.py +++ b/src/merge/resources/accounting/types/model_permission_deserializer_request.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ModelPermissionDeserializerRequest(UncheckedBaseModel): 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 7bdbe021..abc37692 100644 --- a/src/merge/resources/accounting/types/multipart_form_field_request.py +++ b/src/merge/resources/accounting/types/multipart_form_field_request.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import pydantic import typing -from .multipart_form_field_request_encoding import MultipartFormFieldRequestEncoding + +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): diff --git a/src/merge/resources/accounting/types/multipart_form_field_request_encoding.py b/src/merge/resources/accounting/types/multipart_form_field_request_encoding.py index 2b1db5ad..c6513b6b 100644 --- a/src/merge/resources/accounting/types/multipart_form_field_request_encoding.py +++ b/src/merge/resources/accounting/types/multipart_form_field_request_encoding.py @@ -1,6 +1,7 @@ # 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/accounting/types/paginated_account_details_and_actions_list.py b/src/merge/resources/accounting/types/paginated_account_details_and_actions_list.py index 8a2148be..d2d16116 100644 --- a/src/merge/resources/accounting/types/paginated_account_details_and_actions_list.py +++ b/src/merge/resources/accounting/types/paginated_account_details_and_actions_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .account_details_and_actions import AccountDetailsAndActions -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/accounting/types/paginated_account_list.py b/src/merge/resources/accounting/types/paginated_account_list.py index 45c6c13d..0d541b39 100644 --- a/src/merge/resources/accounting/types/paginated_account_list.py +++ b/src/merge/resources/accounting/types/paginated_account_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .account import Account -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .account import Account class PaginatedAccountList(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/paginated_accounting_attachment_list.py b/src/merge/resources/accounting/types/paginated_accounting_attachment_list.py index f8ed1da2..36d16c9c 100644 --- a/src/merge/resources/accounting/types/paginated_accounting_attachment_list.py +++ b/src/merge/resources/accounting/types/paginated_accounting_attachment_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .accounting_attachment import AccountingAttachment -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .accounting_attachment import AccountingAttachment class PaginatedAccountingAttachmentList(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/paginated_accounting_period_list.py b/src/merge/resources/accounting/types/paginated_accounting_period_list.py index 0a563105..142ceb0a 100644 --- a/src/merge/resources/accounting/types/paginated_accounting_period_list.py +++ b/src/merge/resources/accounting/types/paginated_accounting_period_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .accounting_period import AccountingPeriod -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .accounting_period import AccountingPeriod class PaginatedAccountingPeriodList(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/paginated_audit_log_event_list.py b/src/merge/resources/accounting/types/paginated_audit_log_event_list.py index dc914668..24139397 100644 --- a/src/merge/resources/accounting/types/paginated_audit_log_event_list.py +++ b/src/merge/resources/accounting/types/paginated_audit_log_event_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .audit_log_event import AuditLogEvent -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/accounting/types/paginated_balance_sheet_list.py b/src/merge/resources/accounting/types/paginated_balance_sheet_list.py index 9e36192d..061b734d 100644 --- a/src/merge/resources/accounting/types/paginated_balance_sheet_list.py +++ b/src/merge/resources/accounting/types/paginated_balance_sheet_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .balance_sheet import BalanceSheet -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .balance_sheet import BalanceSheet class PaginatedBalanceSheetList(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/paginated_bank_feed_account_list.py b/src/merge/resources/accounting/types/paginated_bank_feed_account_list.py index 2e866655..1fa3dfd0 100644 --- a/src/merge/resources/accounting/types/paginated_bank_feed_account_list.py +++ b/src/merge/resources/accounting/types/paginated_bank_feed_account_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .bank_feed_account import BankFeedAccount -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .bank_feed_account import BankFeedAccount class PaginatedBankFeedAccountList(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/paginated_bank_feed_transaction_list.py b/src/merge/resources/accounting/types/paginated_bank_feed_transaction_list.py index fc5ffe9e..d8cafc8b 100644 --- a/src/merge/resources/accounting/types/paginated_bank_feed_transaction_list.py +++ b/src/merge/resources/accounting/types/paginated_bank_feed_transaction_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .bank_feed_transaction import BankFeedTransaction -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .bank_feed_transaction import BankFeedTransaction class PaginatedBankFeedTransactionList(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/paginated_cash_flow_statement_list.py b/src/merge/resources/accounting/types/paginated_cash_flow_statement_list.py index 066b3d74..386f116d 100644 --- a/src/merge/resources/accounting/types/paginated_cash_flow_statement_list.py +++ b/src/merge/resources/accounting/types/paginated_cash_flow_statement_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .cash_flow_statement import CashFlowStatement -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .cash_flow_statement import CashFlowStatement class PaginatedCashFlowStatementList(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/paginated_company_info_list.py b/src/merge/resources/accounting/types/paginated_company_info_list.py index ed864438..880fc487 100644 --- a/src/merge/resources/accounting/types/paginated_company_info_list.py +++ b/src/merge/resources/accounting/types/paginated_company_info_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .company_info import CompanyInfo -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .company_info import CompanyInfo class PaginatedCompanyInfoList(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/paginated_contact_list.py b/src/merge/resources/accounting/types/paginated_contact_list.py index 7f2b5478..7a9d28a3 100644 --- a/src/merge/resources/accounting/types/paginated_contact_list.py +++ b/src/merge/resources/accounting/types/paginated_contact_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .contact import Contact -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .contact import Contact class PaginatedContactList(UncheckedBaseModel): 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 eaa20f08..4cdc16aa 100644 --- a/src/merge/resources/accounting/types/paginated_credit_note_list.py +++ b/src/merge/resources/accounting/types/paginated_credit_note_list.py @@ -1,22 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .credit_note import CreditNote -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice -from .invoice import Invoice -from .vendor_credit import VendorCredit -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit +from __future__ import annotations + import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel class PaginatedCreditNoteList(UncheckedBaseModel): next: typing.Optional[str] = None previous: typing.Optional[str] = None - results: typing.Optional[typing.List[CreditNote]] = None + results: typing.Optional[typing.List["CreditNote"]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -26,3 +22,14 @@ class Config: frozen = True smart_union = True 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(PaginatedCreditNoteList) diff --git a/src/merge/resources/accounting/types/paginated_employee_list.py b/src/merge/resources/accounting/types/paginated_employee_list.py index 374a0ffa..81adcabe 100644 --- a/src/merge/resources/accounting/types/paginated_employee_list.py +++ b/src/merge/resources/accounting/types/paginated_employee_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .employee import Employee -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .employee import Employee class PaginatedEmployeeList(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/paginated_expense_list.py b/src/merge/resources/accounting/types/paginated_expense_list.py index 6fa99054..e52af45d 100644 --- a/src/merge/resources/accounting/types/paginated_expense_list.py +++ b/src/merge/resources/accounting/types/paginated_expense_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .expense import Expense -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .expense import Expense class PaginatedExpenseList(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/paginated_general_ledger_transaction_list.py b/src/merge/resources/accounting/types/paginated_general_ledger_transaction_list.py index 2710a638..a7e3e5a5 100644 --- a/src/merge/resources/accounting/types/paginated_general_ledger_transaction_list.py +++ b/src/merge/resources/accounting/types/paginated_general_ledger_transaction_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .general_ledger_transaction import GeneralLedgerTransaction -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .general_ledger_transaction import GeneralLedgerTransaction class PaginatedGeneralLedgerTransactionList(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/paginated_income_statement_list.py b/src/merge/resources/accounting/types/paginated_income_statement_list.py index 8357c909..2912e145 100644 --- a/src/merge/resources/accounting/types/paginated_income_statement_list.py +++ b/src/merge/resources/accounting/types/paginated_income_statement_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .income_statement import IncomeStatement -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .income_statement import IncomeStatement class PaginatedIncomeStatementList(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/paginated_invoice_list.py b/src/merge/resources/accounting/types/paginated_invoice_list.py index b0c991bb..fd6795d5 100644 --- a/src/merge/resources/accounting/types/paginated_invoice_list.py +++ b/src/merge/resources/accounting/types/paginated_invoice_list.py @@ -1,22 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .credit_note import CreditNote -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice -from .invoice import Invoice -from .vendor_credit import VendorCredit -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit +from __future__ import annotations + import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel class PaginatedInvoiceList(UncheckedBaseModel): next: typing.Optional[str] = None previous: typing.Optional[str] = None - results: typing.Optional[typing.List[Invoice]] = None + results: typing.Optional[typing.List["Invoice"]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -26,3 +22,14 @@ class Config: frozen = True smart_union = True 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(PaginatedInvoiceList) diff --git a/src/merge/resources/accounting/types/paginated_issue_list.py b/src/merge/resources/accounting/types/paginated_issue_list.py index 57a92876..686173e5 100644 --- a/src/merge/resources/accounting/types/paginated_issue_list.py +++ b/src/merge/resources/accounting/types/paginated_issue_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .issue import Issue -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .issue import Issue class PaginatedIssueList(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/paginated_item_list.py b/src/merge/resources/accounting/types/paginated_item_list.py index cdf982ea..6873d870 100644 --- a/src/merge/resources/accounting/types/paginated_item_list.py +++ b/src/merge/resources/accounting/types/paginated_item_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .item import Item -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .item import Item class PaginatedItemList(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/paginated_journal_entry_list.py b/src/merge/resources/accounting/types/paginated_journal_entry_list.py index f25d0398..a53d869d 100644 --- a/src/merge/resources/accounting/types/paginated_journal_entry_list.py +++ b/src/merge/resources/accounting/types/paginated_journal_entry_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .journal_entry import JournalEntry -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .journal_entry import JournalEntry class PaginatedJournalEntryList(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/paginated_payment_list.py b/src/merge/resources/accounting/types/paginated_payment_list.py index 3e97070a..82ab5547 100644 --- a/src/merge/resources/accounting/types/paginated_payment_list.py +++ b/src/merge/resources/accounting/types/paginated_payment_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .payment import Payment -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .payment import Payment class PaginatedPaymentList(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/paginated_payment_method_list.py b/src/merge/resources/accounting/types/paginated_payment_method_list.py index 5c8dd3de..88be2d3e 100644 --- a/src/merge/resources/accounting/types/paginated_payment_method_list.py +++ b/src/merge/resources/accounting/types/paginated_payment_method_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .payment_method import PaymentMethod -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .payment_method import PaymentMethod class PaginatedPaymentMethodList(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/paginated_payment_term_list.py b/src/merge/resources/accounting/types/paginated_payment_term_list.py index 1e4cf8cd..39cc110c 100644 --- a/src/merge/resources/accounting/types/paginated_payment_term_list.py +++ b/src/merge/resources/accounting/types/paginated_payment_term_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .payment_term import PaymentTerm -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .payment_term import PaymentTerm class PaginatedPaymentTermList(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/paginated_project_list.py b/src/merge/resources/accounting/types/paginated_project_list.py new file mode 100644 index 00000000..c709e35b --- /dev/null +++ b/src/merge/resources/accounting/types/paginated_project_list.py @@ -0,0 +1,23 @@ +# 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 .project import Project + + +class PaginatedProjectList(UncheckedBaseModel): + next: typing.Optional[str] = None + previous: typing.Optional[str] = None + results: typing.Optional[typing.List[Project]] = 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_purchase_order_list.py b/src/merge/resources/accounting/types/paginated_purchase_order_list.py index 28ea7d25..14585df9 100644 --- a/src/merge/resources/accounting/types/paginated_purchase_order_list.py +++ b/src/merge/resources/accounting/types/paginated_purchase_order_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .purchase_order import PurchaseOrder -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .purchase_order import PurchaseOrder class PaginatedPurchaseOrderList(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/paginated_remote_field_class_list.py b/src/merge/resources/accounting/types/paginated_remote_field_class_list.py index 96ecc090..9d68cf9b 100644 --- a/src/merge/resources/accounting/types/paginated_remote_field_class_list.py +++ b/src/merge/resources/accounting/types/paginated_remote_field_class_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .remote_field_class import RemoteFieldClass -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_field_class import RemoteFieldClass class PaginatedRemoteFieldClassList(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/paginated_sync_status_list.py b/src/merge/resources/accounting/types/paginated_sync_status_list.py index d8984b33..cc4bd7a8 100644 --- a/src/merge/resources/accounting/types/paginated_sync_status_list.py +++ b/src/merge/resources/accounting/types/paginated_sync_status_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .sync_status import SyncStatus -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/accounting/types/paginated_tax_rate_list.py b/src/merge/resources/accounting/types/paginated_tax_rate_list.py index d0031467..aff086d3 100644 --- a/src/merge/resources/accounting/types/paginated_tax_rate_list.py +++ b/src/merge/resources/accounting/types/paginated_tax_rate_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .tax_rate import TaxRate -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .tax_rate import TaxRate class PaginatedTaxRateList(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/paginated_tracking_category_list.py b/src/merge/resources/accounting/types/paginated_tracking_category_list.py index 1f9fa46e..63a4b262 100644 --- a/src/merge/resources/accounting/types/paginated_tracking_category_list.py +++ b/src/merge/resources/accounting/types/paginated_tracking_category_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .tracking_category import TrackingCategory -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .tracking_category import TrackingCategory class PaginatedTrackingCategoryList(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/paginated_transaction_list.py b/src/merge/resources/accounting/types/paginated_transaction_list.py index 8f484603..f79f7ab6 100644 --- a/src/merge/resources/accounting/types/paginated_transaction_list.py +++ b/src/merge/resources/accounting/types/paginated_transaction_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .transaction import Transaction -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .transaction import Transaction class PaginatedTransactionList(UncheckedBaseModel): 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 a0ba4a02..eb676449 100644 --- a/src/merge/resources/accounting/types/paginated_vendor_credit_list.py +++ b/src/merge/resources/accounting/types/paginated_vendor_credit_list.py @@ -1,22 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .credit_note import CreditNote -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice -from .invoice import Invoice -from .vendor_credit import VendorCredit -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit +from __future__ import annotations + import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel class PaginatedVendorCreditList(UncheckedBaseModel): next: typing.Optional[str] = None previous: typing.Optional[str] = None - results: typing.Optional[typing.List[VendorCredit]] = None + results: typing.Optional[typing.List["VendorCredit"]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -26,3 +22,14 @@ class Config: frozen = True smart_union = True 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(PaginatedVendorCreditList) diff --git a/src/merge/resources/accounting/types/patched_item_request_request.py b/src/merge/resources/accounting/types/patched_item_request_request.py new file mode 100644 index 00000000..11578169 --- /dev/null +++ b/src/merge/resources/accounting/types/patched_item_request_request.py @@ -0,0 +1,90 @@ +# 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 .patched_item_request_request_status import PatchedItemRequestRequestStatus +from .patched_item_request_request_type import PatchedItemRequestRequestType + + +class PatchedItemRequestRequest(UncheckedBaseModel): + """ + # 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. + """ + + name: typing.Optional[str] = pydantic.Field(default=None) + """ + The item's name. + """ + + status: typing.Optional[PatchedItemRequestRequestStatus] = pydantic.Field(default=None) + """ + The item's status. + + * `ACTIVE` - ACTIVE + * `ARCHIVED` - ARCHIVED + """ + + type: typing.Optional[PatchedItemRequestRequestType] = pydantic.Field(default=None) + """ + The item's type. + + * `INVENTORY` - INVENTORY + * `NON_INVENTORY` - NON_INVENTORY + * `SERVICE` - SERVICE + * `UNKNOWN` - UNKNOWN + """ + + unit_price: typing.Optional[float] = pydantic.Field(default=None) + """ + The item's unit price. + """ + + purchase_price: typing.Optional[float] = pydantic.Field(default=None) + """ + The price at which the item is purchased from a vendor. + """ + + purchase_account: typing.Optional[str] = pydantic.Field(default=None) + """ + References the default account used to record a purchase of the item. + """ + + sales_account: typing.Optional[str] = pydantic.Field(default=None) + """ + References the default account used to record a sale. + """ + + company: typing.Optional[str] = pydantic.Field(default=None) + """ + The company the item belongs to. + """ + + purchase_tax_rate: typing.Optional[str] = pydantic.Field(default=None) + """ + The default purchase tax rate for this item. + """ + + sales_tax_rate: typing.Optional[str] = pydantic.Field(default=None) + """ + 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 + + 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_item_request_request_status.py b/src/merge/resources/accounting/types/patched_item_request_request_status.py new file mode 100644 index 00000000..013b1682 --- /dev/null +++ b/src/merge/resources/accounting/types/patched_item_request_request_status.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .status_7_d_1_enum 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 new file mode 100644 index 00000000..9990ccf7 --- /dev/null +++ b/src/merge/resources/accounting/types/patched_item_request_request_type.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .type_2_bb_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 3570cc91..7222862a 100644 --- a/src/merge/resources/accounting/types/patched_payment_request.py +++ b/src/merge/resources/accounting/types/patched_payment_request.py @@ -1,20 +1,21 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import typing import datetime as dt +import typing + import pydantic -from .patched_payment_request_contact import PatchedPaymentRequestContact +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .patched_payment_request_account import PatchedPaymentRequestAccount -from .patched_payment_request_payment_method import PatchedPaymentRequestPaymentMethod -from .patched_payment_request_currency import PatchedPaymentRequestCurrency -from .patched_payment_request_company import PatchedPaymentRequestCompany -from .patched_payment_request_type import PatchedPaymentRequestType -from .patched_payment_request_tracking_categories_item import PatchedPaymentRequestTrackingCategoriesItem from .patched_payment_request_accounting_period import PatchedPaymentRequestAccountingPeriod from .patched_payment_request_applied_to_lines_item import PatchedPaymentRequestAppliedToLinesItem +from .patched_payment_request_company import PatchedPaymentRequestCompany +from .patched_payment_request_contact import PatchedPaymentRequestContact +from .patched_payment_request_currency import PatchedPaymentRequestCurrency +from .patched_payment_request_payment_method import PatchedPaymentRequestPaymentMethod +from .patched_payment_request_tracking_categories_item import PatchedPaymentRequestTrackingCategoriesItem +from .patched_payment_request_type import PatchedPaymentRequestType from .remote_field_request import RemoteFieldRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class PatchedPaymentRequest(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/patched_payment_request_account.py b/src/merge/resources/accounting/types/patched_payment_request_account.py index 73514946..f051a194 100644 --- a/src/merge/resources/accounting/types/patched_payment_request_account.py +++ b/src/merge/resources/accounting/types/patched_payment_request_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account PatchedPaymentRequestAccount = typing.Union[str, Account] diff --git a/src/merge/resources/accounting/types/patched_payment_request_accounting_period.py b/src/merge/resources/accounting/types/patched_payment_request_accounting_period.py index e88629d6..bfd131d4 100644 --- a/src/merge/resources/accounting/types/patched_payment_request_accounting_period.py +++ b/src/merge/resources/accounting/types/patched_payment_request_accounting_period.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .accounting_period import AccountingPeriod PatchedPaymentRequestAccountingPeriod = typing.Union[str, AccountingPeriod] diff --git a/src/merge/resources/accounting/types/patched_payment_request_applied_to_lines_item.py b/src/merge/resources/accounting/types/patched_payment_request_applied_to_lines_item.py index 9093a74f..b7624b38 100644 --- a/src/merge/resources/accounting/types/patched_payment_request_applied_to_lines_item.py +++ b/src/merge/resources/accounting/types/patched_payment_request_applied_to_lines_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .payment_line_item_request import PaymentLineItemRequest PatchedPaymentRequestAppliedToLinesItem = typing.Union[str, PaymentLineItemRequest] diff --git a/src/merge/resources/accounting/types/patched_payment_request_company.py b/src/merge/resources/accounting/types/patched_payment_request_company.py index f948b30e..46869369 100644 --- a/src/merge/resources/accounting/types/patched_payment_request_company.py +++ b/src/merge/resources/accounting/types/patched_payment_request_company.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .company_info import CompanyInfo PatchedPaymentRequestCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/patched_payment_request_contact.py b/src/merge/resources/accounting/types/patched_payment_request_contact.py index 7c69b0f0..1478828a 100644 --- a/src/merge/resources/accounting/types/patched_payment_request_contact.py +++ b/src/merge/resources/accounting/types/patched_payment_request_contact.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .contact import Contact PatchedPaymentRequestContact = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/patched_payment_request_currency.py b/src/merge/resources/accounting/types/patched_payment_request_currency.py index 756897aa..703b204e 100644 --- a/src/merge/resources/accounting/types/patched_payment_request_currency.py +++ b/src/merge/resources/accounting/types/patched_payment_request_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum PatchedPaymentRequestCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/patched_payment_request_payment_method.py b/src/merge/resources/accounting/types/patched_payment_request_payment_method.py index 81a0ef83..0ae7a0d7 100644 --- a/src/merge/resources/accounting/types/patched_payment_request_payment_method.py +++ b/src/merge/resources/accounting/types/patched_payment_request_payment_method.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .payment_method import PaymentMethod PatchedPaymentRequestPaymentMethod = typing.Union[str, PaymentMethod] diff --git a/src/merge/resources/accounting/types/patched_payment_request_tracking_categories_item.py b/src/merge/resources/accounting/types/patched_payment_request_tracking_categories_item.py index 9d411f90..5ec2c8f9 100644 --- a/src/merge/resources/accounting/types/patched_payment_request_tracking_categories_item.py +++ b/src/merge/resources/accounting/types/patched_payment_request_tracking_categories_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory PatchedPaymentRequestTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/patched_payment_request_type.py b/src/merge/resources/accounting/types/patched_payment_request_type.py index 416ffc53..13dde772 100644 --- a/src/merge/resources/accounting/types/patched_payment_request_type.py +++ b/src/merge/resources/accounting/types/patched_payment_request_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .payment_type_enum import PaymentTypeEnum PatchedPaymentRequestType = typing.Union[PaymentTypeEnum, str] diff --git a/src/merge/resources/accounting/types/payment.py b/src/merge/resources/accounting/types/payment.py index c5cc346c..c005cf14 100644 --- a/src/merge/resources/accounting/types/payment.py +++ b/src/merge/resources/accounting/types/payment.py @@ -1,21 +1,22 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .payment_contact import PaymentContact +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .payment_account import PaymentAccount -from .payment_payment_method import PaymentPaymentMethod -from .payment_currency import PaymentCurrency -from .payment_company import PaymentCompany -from .payment_type import PaymentType -from .payment_tracking_categories_item import PaymentTrackingCategoriesItem from .payment_accounting_period import PaymentAccountingPeriod from .payment_applied_to_lines_item import PaymentAppliedToLinesItem +from .payment_company import PaymentCompany +from .payment_contact import PaymentContact +from .payment_currency import PaymentCurrency +from .payment_payment_method import PaymentPaymentMethod +from .payment_tracking_categories_item import PaymentTrackingCategoriesItem +from .payment_type import PaymentType from .remote_data import RemoteData from .remote_field import RemoteField -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class Payment(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/payment_account.py b/src/merge/resources/accounting/types/payment_account.py index b2bd909c..1134aaab 100644 --- a/src/merge/resources/accounting/types/payment_account.py +++ b/src/merge/resources/accounting/types/payment_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account PaymentAccount = typing.Union[str, Account] diff --git a/src/merge/resources/accounting/types/payment_accounting_period.py b/src/merge/resources/accounting/types/payment_accounting_period.py index 096ba31f..f53d132d 100644 --- a/src/merge/resources/accounting/types/payment_accounting_period.py +++ b/src/merge/resources/accounting/types/payment_accounting_period.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .accounting_period import AccountingPeriod PaymentAccountingPeriod = typing.Union[str, AccountingPeriod] diff --git a/src/merge/resources/accounting/types/payment_applied_to_lines_item.py b/src/merge/resources/accounting/types/payment_applied_to_lines_item.py index 57fd5522..664fde17 100644 --- a/src/merge/resources/accounting/types/payment_applied_to_lines_item.py +++ b/src/merge/resources/accounting/types/payment_applied_to_lines_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .payment_line_item import PaymentLineItem PaymentAppliedToLinesItem = typing.Union[str, PaymentLineItem] diff --git a/src/merge/resources/accounting/types/payment_company.py b/src/merge/resources/accounting/types/payment_company.py index bdbc780c..8dfe2cc3 100644 --- a/src/merge/resources/accounting/types/payment_company.py +++ b/src/merge/resources/accounting/types/payment_company.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .company_info import CompanyInfo PaymentCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/payment_contact.py b/src/merge/resources/accounting/types/payment_contact.py index 51bb5114..70e0b700 100644 --- a/src/merge/resources/accounting/types/payment_contact.py +++ b/src/merge/resources/accounting/types/payment_contact.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .contact import Contact PaymentContact = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/payment_currency.py b/src/merge/resources/accounting/types/payment_currency.py index ee6ab9b5..0ad2071f 100644 --- a/src/merge/resources/accounting/types/payment_currency.py +++ b/src/merge/resources/accounting/types/payment_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum PaymentCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/payment_line_item.py b/src/merge/resources/accounting/types/payment_line_item.py index f2c13cbf..359c3433 100644 --- a/src/merge/resources/accounting/types/payment_line_item.py +++ b/src/merge/resources/accounting/types/payment_line_item.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class PaymentLineItem(UncheckedBaseModel): 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 122de5ca..ecc0e374 100644 --- a/src/merge/resources/accounting/types/payment_line_item_request.py +++ b/src/merge/resources/accounting/types/payment_line_item_request.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .remote_field_request import RemoteFieldRequest from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_field_request import RemoteFieldRequest class PaymentLineItemRequest(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/payment_method.py b/src/merge/resources/accounting/types/payment_method.py index 1b90eda9..0a3ec48d 100644 --- a/src/merge/resources/accounting/types/payment_method.py +++ b/src/merge/resources/accounting/types/payment_method.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .payment_method_method_type import PaymentMethodMethodType from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class PaymentMethod(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/payment_method_method_type.py b/src/merge/resources/accounting/types/payment_method_method_type.py index 6c668b24..9e60ce5b 100644 --- a/src/merge/resources/accounting/types/payment_method_method_type.py +++ b/src/merge/resources/accounting/types/payment_method_method_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .method_type_enum import MethodTypeEnum PaymentMethodMethodType = typing.Union[MethodTypeEnum, str] diff --git a/src/merge/resources/accounting/types/payment_payment_method.py b/src/merge/resources/accounting/types/payment_payment_method.py index 0dda81b4..94c9f222 100644 --- a/src/merge/resources/accounting/types/payment_payment_method.py +++ b/src/merge/resources/accounting/types/payment_payment_method.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .payment_method import PaymentMethod PaymentPaymentMethod = typing.Union[str, PaymentMethod] diff --git a/src/merge/resources/accounting/types/payment_request.py b/src/merge/resources/accounting/types/payment_request.py index b77306cc..9896b109 100644 --- a/src/merge/resources/accounting/types/payment_request.py +++ b/src/merge/resources/accounting/types/payment_request.py @@ -1,20 +1,21 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import typing import datetime as dt +import typing + import pydantic -from .payment_request_contact import PaymentRequestContact +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .payment_request_account import PaymentRequestAccount -from .payment_request_payment_method import PaymentRequestPaymentMethod -from .payment_request_currency import PaymentRequestCurrency -from .payment_request_company import PaymentRequestCompany -from .payment_request_type import PaymentRequestType -from .payment_request_tracking_categories_item import PaymentRequestTrackingCategoriesItem from .payment_request_accounting_period import PaymentRequestAccountingPeriod from .payment_request_applied_to_lines_item import PaymentRequestAppliedToLinesItem +from .payment_request_company import PaymentRequestCompany +from .payment_request_contact import PaymentRequestContact +from .payment_request_currency import PaymentRequestCurrency +from .payment_request_payment_method import PaymentRequestPaymentMethod +from .payment_request_tracking_categories_item import PaymentRequestTrackingCategoriesItem +from .payment_request_type import PaymentRequestType from .remote_field_request import RemoteFieldRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class PaymentRequest(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/payment_request_account.py b/src/merge/resources/accounting/types/payment_request_account.py index d2536068..de594743 100644 --- a/src/merge/resources/accounting/types/payment_request_account.py +++ b/src/merge/resources/accounting/types/payment_request_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account PaymentRequestAccount = typing.Union[str, Account] diff --git a/src/merge/resources/accounting/types/payment_request_accounting_period.py b/src/merge/resources/accounting/types/payment_request_accounting_period.py index 7d017f30..893f6f8e 100644 --- a/src/merge/resources/accounting/types/payment_request_accounting_period.py +++ b/src/merge/resources/accounting/types/payment_request_accounting_period.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .accounting_period import AccountingPeriod PaymentRequestAccountingPeriod = typing.Union[str, AccountingPeriod] diff --git a/src/merge/resources/accounting/types/payment_request_applied_to_lines_item.py b/src/merge/resources/accounting/types/payment_request_applied_to_lines_item.py index 1bd63fa2..ecd42a0d 100644 --- a/src/merge/resources/accounting/types/payment_request_applied_to_lines_item.py +++ b/src/merge/resources/accounting/types/payment_request_applied_to_lines_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .payment_line_item_request import PaymentLineItemRequest PaymentRequestAppliedToLinesItem = typing.Union[str, PaymentLineItemRequest] diff --git a/src/merge/resources/accounting/types/payment_request_company.py b/src/merge/resources/accounting/types/payment_request_company.py index f3f9f841..1ca40fe1 100644 --- a/src/merge/resources/accounting/types/payment_request_company.py +++ b/src/merge/resources/accounting/types/payment_request_company.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .company_info import CompanyInfo PaymentRequestCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/payment_request_contact.py b/src/merge/resources/accounting/types/payment_request_contact.py index d3d65a6b..190cbc2f 100644 --- a/src/merge/resources/accounting/types/payment_request_contact.py +++ b/src/merge/resources/accounting/types/payment_request_contact.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .contact import Contact PaymentRequestContact = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/payment_request_currency.py b/src/merge/resources/accounting/types/payment_request_currency.py index a911b6c6..07e0c385 100644 --- a/src/merge/resources/accounting/types/payment_request_currency.py +++ b/src/merge/resources/accounting/types/payment_request_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum PaymentRequestCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/payment_request_payment_method.py b/src/merge/resources/accounting/types/payment_request_payment_method.py index ebfdbff0..d543ef4a 100644 --- a/src/merge/resources/accounting/types/payment_request_payment_method.py +++ b/src/merge/resources/accounting/types/payment_request_payment_method.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .payment_method import PaymentMethod PaymentRequestPaymentMethod = typing.Union[str, PaymentMethod] diff --git a/src/merge/resources/accounting/types/payment_request_tracking_categories_item.py b/src/merge/resources/accounting/types/payment_request_tracking_categories_item.py index a467b183..a976f214 100644 --- a/src/merge/resources/accounting/types/payment_request_tracking_categories_item.py +++ b/src/merge/resources/accounting/types/payment_request_tracking_categories_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory PaymentRequestTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/payment_request_type.py b/src/merge/resources/accounting/types/payment_request_type.py index 72f37964..cdf01583 100644 --- a/src/merge/resources/accounting/types/payment_request_type.py +++ b/src/merge/resources/accounting/types/payment_request_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .payment_type_enum import PaymentTypeEnum PaymentRequestType = typing.Union[PaymentTypeEnum, str] diff --git a/src/merge/resources/accounting/types/payment_response.py b/src/merge/resources/accounting/types/payment_response.py index 559fd015..2bfc19dc 100644 --- a/src/merge/resources/accounting/types/payment_response.py +++ b/src/merge/resources/accounting/types/payment_response.py @@ -1,13 +1,14 @@ # 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 .payment import Payment -import typing from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem -from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class PaymentResponse(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/payment_term.py b/src/merge/resources/accounting/types/payment_term.py index 7540f5bb..9c4209b4 100644 --- a/src/merge/resources/accounting/types/payment_term.py +++ b/src/merge/resources/accounting/types/payment_term.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .payment_term_company import PaymentTermCompany from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class PaymentTerm(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/payment_term_company.py b/src/merge/resources/accounting/types/payment_term_company.py index f4ff9c10..2a28b48d 100644 --- a/src/merge/resources/accounting/types/payment_term_company.py +++ b/src/merge/resources/accounting/types/payment_term_company.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .company_info import CompanyInfo PaymentTermCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/payment_tracking_categories_item.py b/src/merge/resources/accounting/types/payment_tracking_categories_item.py index fe4ebb23..cf8204c9 100644 --- a/src/merge/resources/accounting/types/payment_tracking_categories_item.py +++ b/src/merge/resources/accounting/types/payment_tracking_categories_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory PaymentTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/payment_type.py b/src/merge/resources/accounting/types/payment_type.py index b4be47d5..95c1776f 100644 --- a/src/merge/resources/accounting/types/payment_type.py +++ b/src/merge/resources/accounting/types/payment_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .payment_type_enum import PaymentTypeEnum PaymentType = typing.Union[PaymentTypeEnum, str] diff --git a/src/merge/resources/accounting/types/project.py b/src/merge/resources/accounting/types/project.py new file mode 100644 index 00000000..6cc2cbf1 --- /dev/null +++ b/src/merge/resources/accounting/types/project.py @@ -0,0 +1,71 @@ +# 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 .project_company import ProjectCompany +from .project_contact import ProjectContact +from .remote_data import RemoteData + + +class Project(UncheckedBaseModel): + """ + # 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. + """ + + 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: str = pydantic.Field() + """ + The project’s name + """ + + is_active: typing.Optional[bool] = pydantic.Field(default=None) + """ + `True` if the project is active, `False` if the project is not active. + """ + + company: typing.Optional[ProjectCompany] = pydantic.Field(default=None) + """ + The subsidiary that the project belongs to. + """ + + contact: typing.Optional[ProjectContact] = pydantic.Field(default=None) + """ + The supplier, or customer involved in the project. + """ + + 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/accounting/types/project_company.py b/src/merge/resources/accounting/types/project_company.py new file mode 100644 index 00000000..5abff9e3 --- /dev/null +++ b/src/merge/resources/accounting/types/project_company.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .company_info import CompanyInfo + +ProjectCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/project_contact.py b/src/merge/resources/accounting/types/project_contact.py new file mode 100644 index 00000000..5ac8fb10 --- /dev/null +++ b/src/merge/resources/accounting/types/project_contact.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .contact import Contact + +ProjectContact = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/purchase_order.py b/src/merge/resources/accounting/types/purchase_order.py index a71ae8b3..6de72fda 100644 --- a/src/merge/resources/accounting/types/purchase_order.py +++ b/src/merge/resources/accounting/types/purchase_order.py @@ -1,21 +1,22 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .purchase_order_status import PurchaseOrderStatus -from .purchase_order_delivery_address import PurchaseOrderDeliveryAddress -from .purchase_order_vendor import PurchaseOrderVendor +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .purchase_order_accounting_period import PurchaseOrderAccountingPeriod from .purchase_order_company import PurchaseOrderCompany from .purchase_order_currency import PurchaseOrderCurrency -from .purchase_order_payment_term import PurchaseOrderPaymentTerm +from .purchase_order_delivery_address import PurchaseOrderDeliveryAddress from .purchase_order_line_item import PurchaseOrderLineItem +from .purchase_order_payment_term import PurchaseOrderPaymentTerm +from .purchase_order_status import PurchaseOrderStatus from .purchase_order_tracking_categories_item import PurchaseOrderTrackingCategoriesItem -from .purchase_order_accounting_period import PurchaseOrderAccountingPeriod +from .purchase_order_vendor import PurchaseOrderVendor from .remote_data import RemoteData from .remote_field import RemoteField -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class PurchaseOrder(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/purchase_order_accounting_period.py b/src/merge/resources/accounting/types/purchase_order_accounting_period.py index 67a55475..a2e3e1eb 100644 --- a/src/merge/resources/accounting/types/purchase_order_accounting_period.py +++ b/src/merge/resources/accounting/types/purchase_order_accounting_period.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .accounting_period import AccountingPeriod PurchaseOrderAccountingPeriod = typing.Union[str, AccountingPeriod] diff --git a/src/merge/resources/accounting/types/purchase_order_company.py b/src/merge/resources/accounting/types/purchase_order_company.py index ed112b86..ca2f0db9 100644 --- a/src/merge/resources/accounting/types/purchase_order_company.py +++ b/src/merge/resources/accounting/types/purchase_order_company.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .company_info import CompanyInfo PurchaseOrderCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/purchase_order_currency.py b/src/merge/resources/accounting/types/purchase_order_currency.py index 7a4e56c7..f85c9278 100644 --- a/src/merge/resources/accounting/types/purchase_order_currency.py +++ b/src/merge/resources/accounting/types/purchase_order_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum PurchaseOrderCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/purchase_order_delivery_address.py b/src/merge/resources/accounting/types/purchase_order_delivery_address.py index bb7b0286..333453d3 100644 --- a/src/merge/resources/accounting/types/purchase_order_delivery_address.py +++ b/src/merge/resources/accounting/types/purchase_order_delivery_address.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .address import Address PurchaseOrderDeliveryAddress = typing.Union[str, Address] diff --git a/src/merge/resources/accounting/types/purchase_order_line_item.py b/src/merge/resources/accounting/types/purchase_order_line_item.py index f31e9afa..76bb8b42 100644 --- a/src/merge/resources/accounting/types/purchase_order_line_item.py +++ b/src/merge/resources/accounting/types/purchase_order_line_item.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .purchase_order_line_item_item import PurchaseOrderLineItemItem +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .purchase_order_line_item_currency import PurchaseOrderLineItemCurrency +from .purchase_order_line_item_item import PurchaseOrderLineItemItem from .remote_field import RemoteField -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class PurchaseOrderLineItem(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/purchase_order_line_item_currency.py b/src/merge/resources/accounting/types/purchase_order_line_item_currency.py index 26138e56..71815173 100644 --- a/src/merge/resources/accounting/types/purchase_order_line_item_currency.py +++ b/src/merge/resources/accounting/types/purchase_order_line_item_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum PurchaseOrderLineItemCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/purchase_order_line_item_item.py b/src/merge/resources/accounting/types/purchase_order_line_item_item.py index 375aaec6..b1a2a0cf 100644 --- a/src/merge/resources/accounting/types/purchase_order_line_item_item.py +++ b/src/merge/resources/accounting/types/purchase_order_line_item_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .item import Item PurchaseOrderLineItemItem = typing.Union[str, Item] 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 737ec57b..964b9e1e 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 @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing + import pydantic -from .purchase_order_line_item_request_item import PurchaseOrderLineItemRequestItem +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .purchase_order_line_item_request_currency import PurchaseOrderLineItemRequestCurrency +from .purchase_order_line_item_request_item import PurchaseOrderLineItemRequestItem from .remote_field_request import RemoteFieldRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class PurchaseOrderLineItemRequest(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/purchase_order_line_item_request_currency.py b/src/merge/resources/accounting/types/purchase_order_line_item_request_currency.py index e61ac320..636139e2 100644 --- a/src/merge/resources/accounting/types/purchase_order_line_item_request_currency.py +++ b/src/merge/resources/accounting/types/purchase_order_line_item_request_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum PurchaseOrderLineItemRequestCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/purchase_order_line_item_request_item.py b/src/merge/resources/accounting/types/purchase_order_line_item_request_item.py index 2b762b27..d3474562 100644 --- a/src/merge/resources/accounting/types/purchase_order_line_item_request_item.py +++ b/src/merge/resources/accounting/types/purchase_order_line_item_request_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .item import Item PurchaseOrderLineItemRequestItem = typing.Union[str, Item] diff --git a/src/merge/resources/accounting/types/purchase_order_payment_term.py b/src/merge/resources/accounting/types/purchase_order_payment_term.py index 80a7b79d..1f3c8547 100644 --- a/src/merge/resources/accounting/types/purchase_order_payment_term.py +++ b/src/merge/resources/accounting/types/purchase_order_payment_term.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .payment_term import PaymentTerm PurchaseOrderPaymentTerm = typing.Union[str, PaymentTerm] diff --git a/src/merge/resources/accounting/types/purchase_order_request.py b/src/merge/resources/accounting/types/purchase_order_request.py index 7c8bb128..95fa1a1e 100644 --- a/src/merge/resources/accounting/types/purchase_order_request.py +++ b/src/merge/resources/accounting/types/purchase_order_request.py @@ -1,19 +1,20 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing -from .purchase_order_request_status import PurchaseOrderRequestStatus + import pydantic -import datetime as dt -from .purchase_order_request_delivery_address import PurchaseOrderRequestDeliveryAddress -from .purchase_order_request_vendor import PurchaseOrderRequestVendor +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .purchase_order_line_item_request import PurchaseOrderLineItemRequest from .purchase_order_request_company import PurchaseOrderRequestCompany -from .purchase_order_request_payment_term import PurchaseOrderRequestPaymentTerm from .purchase_order_request_currency import PurchaseOrderRequestCurrency +from .purchase_order_request_delivery_address import PurchaseOrderRequestDeliveryAddress +from .purchase_order_request_payment_term import PurchaseOrderRequestPaymentTerm +from .purchase_order_request_status import PurchaseOrderRequestStatus from .purchase_order_request_tracking_categories_item import PurchaseOrderRequestTrackingCategoriesItem -from .purchase_order_line_item_request import PurchaseOrderLineItemRequest +from .purchase_order_request_vendor import PurchaseOrderRequestVendor from .remote_field_request import RemoteFieldRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class PurchaseOrderRequest(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/purchase_order_request_company.py b/src/merge/resources/accounting/types/purchase_order_request_company.py index 806d8eb8..81167ef1 100644 --- a/src/merge/resources/accounting/types/purchase_order_request_company.py +++ b/src/merge/resources/accounting/types/purchase_order_request_company.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .company_info import CompanyInfo PurchaseOrderRequestCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/purchase_order_request_currency.py b/src/merge/resources/accounting/types/purchase_order_request_currency.py index b41788a7..082e4654 100644 --- a/src/merge/resources/accounting/types/purchase_order_request_currency.py +++ b/src/merge/resources/accounting/types/purchase_order_request_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum PurchaseOrderRequestCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/purchase_order_request_delivery_address.py b/src/merge/resources/accounting/types/purchase_order_request_delivery_address.py index cc517532..5387a269 100644 --- a/src/merge/resources/accounting/types/purchase_order_request_delivery_address.py +++ b/src/merge/resources/accounting/types/purchase_order_request_delivery_address.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .address import Address PurchaseOrderRequestDeliveryAddress = typing.Union[str, Address] diff --git a/src/merge/resources/accounting/types/purchase_order_request_payment_term.py b/src/merge/resources/accounting/types/purchase_order_request_payment_term.py index 5f2a2d39..bb2528ba 100644 --- a/src/merge/resources/accounting/types/purchase_order_request_payment_term.py +++ b/src/merge/resources/accounting/types/purchase_order_request_payment_term.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .payment_term import PaymentTerm PurchaseOrderRequestPaymentTerm = typing.Union[str, PaymentTerm] diff --git a/src/merge/resources/accounting/types/purchase_order_request_status.py b/src/merge/resources/accounting/types/purchase_order_request_status.py index 00cc7774..de4651e4 100644 --- a/src/merge/resources/accounting/types/purchase_order_request_status.py +++ b/src/merge/resources/accounting/types/purchase_order_request_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .purchase_order_status_enum import PurchaseOrderStatusEnum PurchaseOrderRequestStatus = typing.Union[PurchaseOrderStatusEnum, str] diff --git a/src/merge/resources/accounting/types/purchase_order_request_tracking_categories_item.py b/src/merge/resources/accounting/types/purchase_order_request_tracking_categories_item.py index 8d413521..e0006bb6 100644 --- a/src/merge/resources/accounting/types/purchase_order_request_tracking_categories_item.py +++ b/src/merge/resources/accounting/types/purchase_order_request_tracking_categories_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory PurchaseOrderRequestTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/purchase_order_request_vendor.py b/src/merge/resources/accounting/types/purchase_order_request_vendor.py index 7f2a6fa9..7d0dae2b 100644 --- a/src/merge/resources/accounting/types/purchase_order_request_vendor.py +++ b/src/merge/resources/accounting/types/purchase_order_request_vendor.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .contact import Contact PurchaseOrderRequestVendor = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/purchase_order_response.py b/src/merge/resources/accounting/types/purchase_order_response.py index dbe2ac48..bffbc5a1 100644 --- a/src/merge/resources/accounting/types/purchase_order_response.py +++ b/src/merge/resources/accounting/types/purchase_order_response.py @@ -1,13 +1,14 @@ # 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 .purchase_order import PurchaseOrder -import typing from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem -from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class PurchaseOrderResponse(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/purchase_order_status.py b/src/merge/resources/accounting/types/purchase_order_status.py index d0d8f5d5..0c1c6944 100644 --- a/src/merge/resources/accounting/types/purchase_order_status.py +++ b/src/merge/resources/accounting/types/purchase_order_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .purchase_order_status_enum import PurchaseOrderStatusEnum PurchaseOrderStatus = typing.Union[PurchaseOrderStatusEnum, str] diff --git a/src/merge/resources/accounting/types/purchase_order_tracking_categories_item.py b/src/merge/resources/accounting/types/purchase_order_tracking_categories_item.py index 53a46064..6662ceaa 100644 --- a/src/merge/resources/accounting/types/purchase_order_tracking_categories_item.py +++ b/src/merge/resources/accounting/types/purchase_order_tracking_categories_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory PurchaseOrderTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/purchase_order_vendor.py b/src/merge/resources/accounting/types/purchase_order_vendor.py index 9b42765a..a0ead21e 100644 --- a/src/merge/resources/accounting/types/purchase_order_vendor.py +++ b/src/merge/resources/accounting/types/purchase_order_vendor.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .contact import Contact PurchaseOrderVendor = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/remote_data.py b/src/merge/resources/accounting/types/remote_data.py index 4e405fc1..b60f53bf 100644 --- a/src/merge/resources/accounting/types/remote_data.py +++ b/src/merge/resources/accounting/types/remote_data.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import pydantic import typing + +import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class RemoteData(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/remote_endpoint_info.py b/src/merge/resources/accounting/types/remote_endpoint_info.py index a145dff6..07ceff6a 100644 --- a/src/merge/resources/accounting/types/remote_endpoint_info.py +++ b/src/merge/resources/accounting/types/remote_endpoint_info.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class RemoteEndpointInfo(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/remote_field.py b/src/merge/resources/accounting/types/remote_field.py index 0bde5fa0..1a9272f0 100644 --- a/src/merge/resources/accounting/types/remote_field.py +++ b/src/merge/resources/accounting/types/remote_field.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_field_remote_field_class import RemoteFieldRemoteFieldClass import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_field_remote_field_class import RemoteFieldRemoteFieldClass class RemoteField(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/remote_field_api.py b/src/merge/resources/accounting/types/remote_field_api.py index 4c862ec8..4c66a23b 100644 --- a/src/merge/resources/accounting/types/remote_field_api.py +++ b/src/merge/resources/accounting/types/remote_field_api.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing + import pydantic -from .remote_endpoint_info import RemoteEndpointInfo +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 -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class RemoteFieldApi(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/remote_field_api_response.py b/src/merge/resources/accounting/types/remote_field_api_response.py index fb5c9ef9..68f5ce25 100644 --- a/src/merge/resources/accounting/types/remote_field_api_response.py +++ b/src/merge/resources/accounting/types/remote_field_api_response.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .remote_field_api import RemoteFieldApi + 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): @@ -45,6 +46,7 @@ class RemoteFieldApiResponse(UncheckedBaseModel): ) employee: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field(alias="Employee", default=None) payment_method: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field(alias="PaymentMethod", default=None) + project: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field(alias="Project", default=None) payment_term: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field(alias="PaymentTerm", default=None) if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/remote_field_class.py b/src/merge/resources/accounting/types/remote_field_class.py index 7679b09d..e5672719 100644 --- a/src/merge/resources/accounting/types/remote_field_class.py +++ b/src/merge/resources/accounting/types/remote_field_class.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .field_type_enum import FieldTypeEnum + +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 ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class RemoteFieldClass(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/remote_field_remote_field_class.py b/src/merge/resources/accounting/types/remote_field_remote_field_class.py index c2c470c9..b7ab0ef6 100644 --- a/src/merge/resources/accounting/types/remote_field_remote_field_class.py +++ b/src/merge/resources/accounting/types/remote_field_remote_field_class.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .remote_field_class import RemoteFieldClass RemoteFieldRemoteFieldClass = typing.Union[str, RemoteFieldClass] diff --git a/src/merge/resources/accounting/types/remote_field_request.py b/src/merge/resources/accounting/types/remote_field_request.py index 9a88246b..69bc39da 100644 --- a/src/merge/resources/accounting/types/remote_field_request.py +++ b/src/merge/resources/accounting/types/remote_field_request.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_field_request_remote_field_class import RemoteFieldRequestRemoteFieldClass import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_field_request_remote_field_class import RemoteFieldRequestRemoteFieldClass class RemoteFieldRequest(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/remote_field_request_remote_field_class.py b/src/merge/resources/accounting/types/remote_field_request_remote_field_class.py index ebf56780..08797e5e 100644 --- a/src/merge/resources/accounting/types/remote_field_request_remote_field_class.py +++ b/src/merge/resources/accounting/types/remote_field_request_remote_field_class.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .remote_field_class import RemoteFieldClass RemoteFieldRequestRemoteFieldClass = typing.Union[str, RemoteFieldClass] diff --git a/src/merge/resources/accounting/types/remote_key.py b/src/merge/resources/accounting/types/remote_key.py index 904480e9..e5d9758c 100644 --- a/src/merge/resources/accounting/types/remote_key.py +++ b/src/merge/resources/accounting/types/remote_key.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class RemoteKey(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/remote_response.py b/src/merge/resources/accounting/types/remote_response.py index 9f1e4b18..af181fc0 100644 --- a/src/merge/resources/accounting/types/remote_response.py +++ b/src/merge/resources/accounting/types/remote_response.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .response_type_enum import ResponseTypeEnum -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/accounting/types/report_item.py b/src/merge/resources/accounting/types/report_item.py index ed4bbe1d..4fdbd010 100644 --- a/src/merge/resources/accounting/types/report_item.py +++ b/src/merge/resources/accounting/types/report_item.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ReportItem(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/sync_status.py b/src/merge/resources/accounting/types/sync_status.py index 3cc6d466..ca6a53b0 100644 --- a/src/merge/resources/accounting/types/sync_status.py +++ b/src/merge/resources/accounting/types/sync_status.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import typing import datetime as dt +import typing + +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 .status_fd_5_enum import StatusFd5Enum from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic +from .sync_status_status import SyncStatusStatus class SyncStatus(UncheckedBaseModel): @@ -26,7 +27,7 @@ class SyncStatus(UncheckedBaseModel): next_sync_start: typing.Optional[dt.datetime] = None last_sync_result: typing.Optional[LastSyncResultEnum] = 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/accounting/types/sync_status_status.py b/src/merge/resources/accounting/types/sync_status_status.py new file mode 100644 index 00000000..78e4cc47 --- /dev/null +++ b/src/merge/resources/accounting/types/sync_status_status.py @@ -0,0 +1,7 @@ +# 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/accounting/types/tax_component.py b/src/merge/resources/accounting/types/tax_component.py index ffca3aac..e648de4b 100644 --- a/src/merge/resources/accounting/types/tax_component.py +++ b/src/merge/resources/accounting/types/tax_component.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .tax_component_component_type import TaxComponentComponentType from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .tax_component_component_type import TaxComponentComponentType class TaxComponent(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/tax_component_component_type.py b/src/merge/resources/accounting/types/tax_component_component_type.py index 78e70dd4..59919c1b 100644 --- a/src/merge/resources/accounting/types/tax_component_component_type.py +++ b/src/merge/resources/accounting/types/tax_component_component_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .component_type_enum import ComponentTypeEnum TaxComponentComponentType = typing.Union[ComponentTypeEnum, str] diff --git a/src/merge/resources/accounting/types/tax_rate.py b/src/merge/resources/accounting/types/tax_rate.py index 748f7654..66b673c1 100644 --- a/src/merge/resources/accounting/types/tax_rate.py +++ b/src/merge/resources/accounting/types/tax_rate.py @@ -1,14 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_data import RemoteData from .tax_rate_company import TaxRateCompany from .tax_rate_status import TaxRateStatus from .tax_rate_tax_components_item import TaxRateTaxComponentsItem -from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class TaxRate(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/tax_rate_company.py b/src/merge/resources/accounting/types/tax_rate_company.py index 4d5bbe3a..a3b6cd68 100644 --- a/src/merge/resources/accounting/types/tax_rate_company.py +++ b/src/merge/resources/accounting/types/tax_rate_company.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .company_info import CompanyInfo TaxRateCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/tax_rate_status.py b/src/merge/resources/accounting/types/tax_rate_status.py index 8ef48af4..dae00ac2 100644 --- a/src/merge/resources/accounting/types/tax_rate_status.py +++ b/src/merge/resources/accounting/types/tax_rate_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .status_7_d_1_enum import Status7D1Enum TaxRateStatus = typing.Union[Status7D1Enum, str] diff --git a/src/merge/resources/accounting/types/tax_rate_tax_components_item.py b/src/merge/resources/accounting/types/tax_rate_tax_components_item.py index a58f87a2..203fbae8 100644 --- a/src/merge/resources/accounting/types/tax_rate_tax_components_item.py +++ b/src/merge/resources/accounting/types/tax_rate_tax_components_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tax_component import TaxComponent TaxRateTaxComponentsItem = typing.Union[str, TaxComponent] diff --git a/src/merge/resources/accounting/types/tracking_category.py b/src/merge/resources/accounting/types/tracking_category.py index 97f287ec..f4d2e0ba 100644 --- a/src/merge/resources/accounting/types/tracking_category.py +++ b/src/merge/resources/accounting/types/tracking_category.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .tracking_category_status import TrackingCategoryStatus +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .tracking_category_category_type import TrackingCategoryCategoryType from .tracking_category_company import TrackingCategoryCompany -from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from .tracking_category_status import TrackingCategoryStatus class TrackingCategory(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/tracking_category_category_type.py b/src/merge/resources/accounting/types/tracking_category_category_type.py index 2cc4f4b2..4b5d1999 100644 --- a/src/merge/resources/accounting/types/tracking_category_category_type.py +++ b/src/merge/resources/accounting/types/tracking_category_category_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .category_type_enum import CategoryTypeEnum TrackingCategoryCategoryType = typing.Union[CategoryTypeEnum, str] diff --git a/src/merge/resources/accounting/types/tracking_category_company.py b/src/merge/resources/accounting/types/tracking_category_company.py index fa6fc565..47be6b88 100644 --- a/src/merge/resources/accounting/types/tracking_category_company.py +++ b/src/merge/resources/accounting/types/tracking_category_company.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .company_info import CompanyInfo TrackingCategoryCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/tracking_category_status.py b/src/merge/resources/accounting/types/tracking_category_status.py index 97662aca..8d0328ef 100644 --- a/src/merge/resources/accounting/types/tracking_category_status.py +++ b/src/merge/resources/accounting/types/tracking_category_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .status_7_d_1_enum 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 8542d918..9a014736 100644 --- a/src/merge/resources/accounting/types/transaction.py +++ b/src/merge/resources/accounting/types/transaction.py @@ -1,17 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_data import RemoteData from .transaction_account import TransactionAccount +from .transaction_accounting_period import TransactionAccountingPeriod from .transaction_contact import TransactionContact from .transaction_currency import TransactionCurrency -from .transaction_tracking_categories_item import TransactionTrackingCategoriesItem from .transaction_line_item import TransactionLineItem -from .transaction_accounting_period import TransactionAccountingPeriod -from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from .transaction_tracking_categories_item import TransactionTrackingCategoriesItem class Transaction(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/transaction_account.py b/src/merge/resources/accounting/types/transaction_account.py index d7b92b4f..d52c48e8 100644 --- a/src/merge/resources/accounting/types/transaction_account.py +++ b/src/merge/resources/accounting/types/transaction_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account TransactionAccount = typing.Union[str, Account] diff --git a/src/merge/resources/accounting/types/transaction_accounting_period.py b/src/merge/resources/accounting/types/transaction_accounting_period.py index be08a3ef..7de59158 100644 --- a/src/merge/resources/accounting/types/transaction_accounting_period.py +++ b/src/merge/resources/accounting/types/transaction_accounting_period.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .accounting_period import AccountingPeriod TransactionAccountingPeriod = typing.Union[str, AccountingPeriod] diff --git a/src/merge/resources/accounting/types/transaction_contact.py b/src/merge/resources/accounting/types/transaction_contact.py index 24039839..424ca153 100644 --- a/src/merge/resources/accounting/types/transaction_contact.py +++ b/src/merge/resources/accounting/types/transaction_contact.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .contact import Contact TransactionContact = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/transaction_currency.py b/src/merge/resources/accounting/types/transaction_currency.py index f2877b97..1c634327 100644 --- a/src/merge/resources/accounting/types/transaction_currency.py +++ b/src/merge/resources/accounting/types/transaction_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum TransactionCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/transaction_line_item.py b/src/merge/resources/accounting/types/transaction_line_item.py index cba112a8..22fe4364 100644 --- a/src/merge/resources/accounting/types/transaction_line_item.py +++ b/src/merge/resources/accounting/types/transaction_line_item.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .transaction_line_item_item import TransactionLineItemItem -from .transaction_line_item_currency import TransactionLineItemCurrency from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .transaction_line_item_currency import TransactionLineItemCurrency +from .transaction_line_item_item import TransactionLineItemItem class TransactionLineItem(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/transaction_line_item_currency.py b/src/merge/resources/accounting/types/transaction_line_item_currency.py index 19e3e25d..69cbae95 100644 --- a/src/merge/resources/accounting/types/transaction_line_item_currency.py +++ b/src/merge/resources/accounting/types/transaction_line_item_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum TransactionLineItemCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/transaction_line_item_item.py b/src/merge/resources/accounting/types/transaction_line_item_item.py index ec961596..88c664ff 100644 --- a/src/merge/resources/accounting/types/transaction_line_item_item.py +++ b/src/merge/resources/accounting/types/transaction_line_item_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .item import Item TransactionLineItemItem = typing.Union[str, Item] diff --git a/src/merge/resources/accounting/types/transaction_tracking_categories_item.py b/src/merge/resources/accounting/types/transaction_tracking_categories_item.py index aa33c1f9..08b778c9 100644 --- a/src/merge/resources/accounting/types/transaction_tracking_categories_item.py +++ b/src/merge/resources/accounting/types/transaction_tracking_categories_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory TransactionTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/type_2_bb_enum.py b/src/merge/resources/accounting/types/type_2_bb_enum.py new file mode 100644 index 00000000..1506d7c8 --- /dev/null +++ b/src/merge/resources/accounting/types/type_2_bb_enum.py @@ -0,0 +1,36 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class Type2BbEnum(str, enum.Enum): + """ + * `INVENTORY` - INVENTORY + * `NON_INVENTORY` - NON_INVENTORY + * `SERVICE` - SERVICE + * `UNKNOWN` - UNKNOWN + """ + + INVENTORY = "INVENTORY" + NON_INVENTORY = "NON_INVENTORY" + SERVICE = "SERVICE" + UNKNOWN = "UNKNOWN" + + def visit( + self, + inventory: typing.Callable[[], T_Result], + non_inventory: typing.Callable[[], T_Result], + service: typing.Callable[[], T_Result], + unknown: typing.Callable[[], T_Result], + ) -> T_Result: + if self is Type2BbEnum.INVENTORY: + return inventory() + if self is Type2BbEnum.NON_INVENTORY: + return non_inventory() + if self is Type2BbEnum.SERVICE: + return service() + if self is Type2BbEnum.UNKNOWN: + return unknown() diff --git a/src/merge/resources/accounting/types/validation_problem_source.py b/src/merge/resources/accounting/types/validation_problem_source.py index ceed8b91..fbebe626 100644 --- a/src/merge/resources/accounting/types/validation_problem_source.py +++ b/src/merge/resources/accounting/types/validation_problem_source.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ValidationProblemSource(UncheckedBaseModel): diff --git a/src/merge/resources/accounting/types/vendor_credit.py b/src/merge/resources/accounting/types/vendor_credit.py index 517df3fc..21467ced 100644 --- a/src/merge/resources/accounting/types/vendor_credit.py +++ b/src/merge/resources/accounting/types/vendor_credit.py @@ -1,19 +1,20 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -from ....core.unchecked_base_model import UncheckedBaseModel + +import datetime as dt import typing + import pydantic -import datetime as dt -from .vendor_credit_vendor import VendorCreditVendor -from .vendor_credit_currency import VendorCreditCurrency +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_data import RemoteData +from .vendor_credit_accounting_period import VendorCreditAccountingPeriod from .vendor_credit_company import VendorCreditCompany +from .vendor_credit_currency import VendorCreditCurrency from .vendor_credit_line import VendorCreditLine from .vendor_credit_tracking_categories_item import VendorCreditTrackingCategoriesItem -from .vendor_credit_accounting_period import VendorCreditAccountingPeriod -from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.pydantic_utilities import update_forward_refs +from .vendor_credit_vendor import VendorCreditVendor class VendorCredit(UncheckedBaseModel): @@ -421,11 +422,11 @@ class Config: extra = pydantic.Extra.allow -from .credit_note import CreditNote # noqa: E402 -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote # noqa: E402 -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice # noqa: E402 -from .invoice import Invoice # noqa: E402 -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice # noqa: E402 -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit # noqa: E402 +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 update_forward_refs(VendorCredit) diff --git a/src/merge/resources/accounting/types/vendor_credit_accounting_period.py b/src/merge/resources/accounting/types/vendor_credit_accounting_period.py index 645425f0..3ae13422 100644 --- a/src/merge/resources/accounting/types/vendor_credit_accounting_period.py +++ b/src/merge/resources/accounting/types/vendor_credit_accounting_period.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .accounting_period import AccountingPeriod VendorCreditAccountingPeriod = typing.Union[str, AccountingPeriod] 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 6a0864dd..83485a9e 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 @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -from ....core.unchecked_base_model import UncheckedBaseModel + +import datetime as dt import typing + import pydantic -import datetime as dt -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.pydantic_utilities import update_forward_refs +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel class VendorCreditApplyLineForInvoice(UncheckedBaseModel): @@ -60,12 +61,12 @@ class Config: extra = pydantic.Extra.allow -from .credit_note import CreditNote # noqa: E402 -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote # noqa: E402 -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice # noqa: E402 -from .invoice import Invoice # noqa: E402 -from .vendor_credit import VendorCredit # noqa: E402 -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit # noqa: E402 -from .vendor_credit_apply_line_for_invoice_vendor_credit import VendorCreditApplyLineForInvoiceVendorCredit # noqa: E402 +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) diff --git a/src/merge/resources/accounting/types/vendor_credit_apply_line_for_invoice_vendor_credit.py b/src/merge/resources/accounting/types/vendor_credit_apply_line_for_invoice_vendor_credit.py index 7b3c3f2d..867acc3b 100644 --- a/src/merge/resources/accounting/types/vendor_credit_apply_line_for_invoice_vendor_credit.py +++ b/src/merge/resources/accounting/types/vendor_credit_apply_line_for_invoice_vendor_credit.py @@ -1,7 +1,7 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -import typing + import typing if typing.TYPE_CHECKING: 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 58481eb1..46a8ae61 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 @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -from ....core.unchecked_base_model import UncheckedBaseModel + +import datetime as dt import typing + import pydantic -import datetime as dt -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.pydantic_utilities import update_forward_refs +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel class VendorCreditApplyLineForVendorCredit(UncheckedBaseModel): @@ -60,12 +61,12 @@ class Config: extra = pydantic.Extra.allow -from .credit_note import CreditNote # noqa: E402 -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote # noqa: E402 -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice # noqa: E402 -from .invoice import Invoice # noqa: E402 -from .vendor_credit import VendorCredit # noqa: E402 -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice # noqa: E402 -from .vendor_credit_apply_line_for_vendor_credit_invoice import VendorCreditApplyLineForVendorCreditInvoice # noqa: E402 +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) diff --git a/src/merge/resources/accounting/types/vendor_credit_apply_line_for_vendor_credit_invoice.py b/src/merge/resources/accounting/types/vendor_credit_apply_line_for_vendor_credit_invoice.py index 2f7d74ea..69dc0a97 100644 --- a/src/merge/resources/accounting/types/vendor_credit_apply_line_for_vendor_credit_invoice.py +++ b/src/merge/resources/accounting/types/vendor_credit_apply_line_for_vendor_credit_invoice.py @@ -1,7 +1,7 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -import typing + import typing if typing.TYPE_CHECKING: 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 02e61ed0..402394d8 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 @@ -1,20 +1,16 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .credit_note import CreditNote -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice -from .invoice import Invoice -from .vendor_credit import VendorCredit -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit +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 .vendor_credit_apply_line_for_vendor_credit_request_invoice import ( VendorCreditApplyLineForVendorCreditRequestInvoice, ) -import datetime as dt -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class VendorCreditApplyLineForVendorCreditRequest(UncheckedBaseModel): @@ -54,3 +50,14 @@ class Config: frozen = True smart_union = True 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_apply_line_for_vendor_credit_request_invoice.py b/src/merge/resources/accounting/types/vendor_credit_apply_line_for_vendor_credit_request_invoice.py index 6cb8e5e1..54ce2f5f 100644 --- a/src/merge/resources/accounting/types/vendor_credit_apply_line_for_vendor_credit_request_invoice.py +++ b/src/merge/resources/accounting/types/vendor_credit_apply_line_for_vendor_credit_request_invoice.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .invoice import Invoice VendorCreditApplyLineForVendorCreditRequestInvoice = typing.Union[str, Invoice] diff --git a/src/merge/resources/accounting/types/vendor_credit_company.py b/src/merge/resources/accounting/types/vendor_credit_company.py index f83d7fb8..1219a0c8 100644 --- a/src/merge/resources/accounting/types/vendor_credit_company.py +++ b/src/merge/resources/accounting/types/vendor_credit_company.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .company_info import CompanyInfo VendorCreditCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/vendor_credit_currency.py b/src/merge/resources/accounting/types/vendor_credit_currency.py index 95b521a7..e071598d 100644 --- a/src/merge/resources/accounting/types/vendor_credit_currency.py +++ b/src/merge/resources/accounting/types/vendor_credit_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum VendorCreditCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/vendor_credit_line.py b/src/merge/resources/accounting/types/vendor_credit_line.py index 665618b2..bf7ded91 100644 --- a/src/merge/resources/accounting/types/vendor_credit_line.py +++ b/src/merge/resources/accounting/types/vendor_credit_line.py @@ -1,11 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .vendor_credit_line_account import VendorCreditLineAccount from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .vendor_credit_line_account import VendorCreditLineAccount +from .vendor_credit_line_contact import VendorCreditLineContact +from .vendor_credit_line_project import VendorCreditLineProject class VendorCreditLine(UncheckedBaseModel): @@ -64,6 +67,8 @@ class VendorCreditLine(UncheckedBaseModel): The company the line belongs to. """ + project: typing.Optional[VendorCreditLineProject] = None + contact: typing.Optional[VendorCreditLineContact] = None tax_rate: typing.Optional[str] = pydantic.Field(default=None) """ The tax rate that applies to this line item. diff --git a/src/merge/resources/accounting/types/vendor_credit_line_account.py b/src/merge/resources/accounting/types/vendor_credit_line_account.py index 3698e92e..22aad4ac 100644 --- a/src/merge/resources/accounting/types/vendor_credit_line_account.py +++ b/src/merge/resources/accounting/types/vendor_credit_line_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account VendorCreditLineAccount = typing.Union[str, Account] diff --git a/src/merge/resources/accounting/types/vendor_credit_line_contact.py b/src/merge/resources/accounting/types/vendor_credit_line_contact.py new file mode 100644 index 00000000..a974aa62 --- /dev/null +++ b/src/merge/resources/accounting/types/vendor_credit_line_contact.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .contact import Contact + +VendorCreditLineContact = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/vendor_credit_line_project.py b/src/merge/resources/accounting/types/vendor_credit_line_project.py new file mode 100644 index 00000000..80575a35 --- /dev/null +++ b/src/merge/resources/accounting/types/vendor_credit_line_project.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .project import Project + +VendorCreditLineProject = typing.Union[str, Project] 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 c473ab91..c346c7a5 100644 --- a/src/merge/resources/accounting/types/vendor_credit_line_request.py +++ b/src/merge/resources/accounting/types/vendor_credit_line_request.py @@ -1,10 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing + import pydantic -from .vendor_credit_line_request_account import VendorCreditLineRequestAccount from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .vendor_credit_line_request_account import VendorCreditLineRequestAccount +from .vendor_credit_line_request_contact import VendorCreditLineRequestContact +from .vendor_credit_line_request_project import VendorCreditLineRequestProject class VendorCreditLineRequest(UncheckedBaseModel): @@ -52,6 +55,8 @@ class VendorCreditLineRequest(UncheckedBaseModel): The company the line belongs to. """ + project: typing.Optional[VendorCreditLineRequestProject] = None + contact: typing.Optional[VendorCreditLineRequestContact] = None tax_rate: typing.Optional[str] = pydantic.Field(default=None) """ The tax rate that applies to this line item. diff --git a/src/merge/resources/accounting/types/vendor_credit_line_request_account.py b/src/merge/resources/accounting/types/vendor_credit_line_request_account.py index 3a74f687..d27254f1 100644 --- a/src/merge/resources/accounting/types/vendor_credit_line_request_account.py +++ b/src/merge/resources/accounting/types/vendor_credit_line_request_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account VendorCreditLineRequestAccount = typing.Union[str, Account] diff --git a/src/merge/resources/accounting/types/vendor_credit_line_request_contact.py b/src/merge/resources/accounting/types/vendor_credit_line_request_contact.py new file mode 100644 index 00000000..c3af7c71 --- /dev/null +++ b/src/merge/resources/accounting/types/vendor_credit_line_request_contact.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .contact import Contact + +VendorCreditLineRequestContact = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/vendor_credit_line_request_project.py b/src/merge/resources/accounting/types/vendor_credit_line_request_project.py new file mode 100644 index 00000000..ba9a37c7 --- /dev/null +++ b/src/merge/resources/accounting/types/vendor_credit_line_request_project.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .project import Project + +VendorCreditLineRequestProject = typing.Union[str, Project] diff --git a/src/merge/resources/accounting/types/vendor_credit_request.py b/src/merge/resources/accounting/types/vendor_credit_request.py index dd2e2b3d..d8b7d4dd 100644 --- a/src/merge/resources/accounting/types/vendor_credit_request.py +++ b/src/merge/resources/accounting/types/vendor_credit_request.py @@ -1,23 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .credit_note import CreditNote -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice -from .invoice import Invoice -from .vendor_credit import VendorCredit -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit +from __future__ import annotations + +import datetime as dt import typing + import pydantic -import datetime as dt -from .vendor_credit_request_vendor import VendorCreditRequestVendor -from .vendor_credit_request_currency import VendorCreditRequestCurrency -from .vendor_credit_request_company import VendorCreditRequestCompany -from .vendor_credit_request_tracking_categories_item import VendorCreditRequestTrackingCategoriesItem +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel from .vendor_credit_apply_line_for_vendor_credit_request import VendorCreditApplyLineForVendorCreditRequest from .vendor_credit_request_accounting_period import VendorCreditRequestAccountingPeriod -from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from .vendor_credit_request_company import VendorCreditRequestCompany +from .vendor_credit_request_currency import VendorCreditRequestCurrency +from .vendor_credit_request_tracking_categories_item import VendorCreditRequestTrackingCategoriesItem +from .vendor_credit_request_vendor import VendorCreditRequestVendor class VendorCreditRequest(UncheckedBaseModel): @@ -401,3 +397,14 @@ class Config: frozen = True smart_union = True 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_request_accounting_period.py b/src/merge/resources/accounting/types/vendor_credit_request_accounting_period.py index dd5b9b5e..973e7532 100644 --- a/src/merge/resources/accounting/types/vendor_credit_request_accounting_period.py +++ b/src/merge/resources/accounting/types/vendor_credit_request_accounting_period.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .accounting_period import AccountingPeriod VendorCreditRequestAccountingPeriod = typing.Union[str, AccountingPeriod] diff --git a/src/merge/resources/accounting/types/vendor_credit_request_company.py b/src/merge/resources/accounting/types/vendor_credit_request_company.py index 5fcc4086..4fa76941 100644 --- a/src/merge/resources/accounting/types/vendor_credit_request_company.py +++ b/src/merge/resources/accounting/types/vendor_credit_request_company.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .company_info import CompanyInfo VendorCreditRequestCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/vendor_credit_request_currency.py b/src/merge/resources/accounting/types/vendor_credit_request_currency.py index 126630c7..82964b42 100644 --- a/src/merge/resources/accounting/types/vendor_credit_request_currency.py +++ b/src/merge/resources/accounting/types/vendor_credit_request_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .transaction_currency_enum import TransactionCurrencyEnum VendorCreditRequestCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/vendor_credit_request_tracking_categories_item.py b/src/merge/resources/accounting/types/vendor_credit_request_tracking_categories_item.py index 32d5e106..197cde01 100644 --- a/src/merge/resources/accounting/types/vendor_credit_request_tracking_categories_item.py +++ b/src/merge/resources/accounting/types/vendor_credit_request_tracking_categories_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory VendorCreditRequestTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/vendor_credit_request_vendor.py b/src/merge/resources/accounting/types/vendor_credit_request_vendor.py index 4848e1b3..a84987d5 100644 --- a/src/merge/resources/accounting/types/vendor_credit_request_vendor.py +++ b/src/merge/resources/accounting/types/vendor_credit_request_vendor.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .contact import Contact VendorCreditRequestVendor = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/vendor_credit_response.py b/src/merge/resources/accounting/types/vendor_credit_response.py index 5a29c0db..9dab6cb4 100644 --- a/src/merge/resources/accounting/types/vendor_credit_response.py +++ b/src/merge/resources/accounting/types/vendor_credit_response.py @@ -1,23 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .credit_note import CreditNote -from .credit_note_apply_line_for_credit_note import CreditNoteApplyLineForCreditNote -from .credit_note_apply_line_for_invoice import CreditNoteApplyLineForInvoice -from .invoice import Invoice -from .vendor_credit import VendorCredit -from .vendor_credit_apply_line_for_invoice import VendorCreditApplyLineForInvoice -from .vendor_credit_apply_line_for_vendor_credit import VendorCreditApplyLineForVendorCredit +from __future__ import annotations + import typing -from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem -from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .debug_mode_log import DebugModeLog +from .error_validation_problem import ErrorValidationProblem +from .warning_validation_problem import WarningValidationProblem class VendorCreditResponse(UncheckedBaseModel): - model: VendorCredit + model: "VendorCredit" warnings: typing.List[WarningValidationProblem] errors: typing.List[ErrorValidationProblem] logs: typing.Optional[typing.List[DebugModeLog]] = None @@ -30,3 +26,14 @@ class Config: frozen = True smart_union = True 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(VendorCreditResponse) diff --git a/src/merge/resources/accounting/types/vendor_credit_tracking_categories_item.py b/src/merge/resources/accounting/types/vendor_credit_tracking_categories_item.py index 04668f2f..f43c7cbe 100644 --- a/src/merge/resources/accounting/types/vendor_credit_tracking_categories_item.py +++ b/src/merge/resources/accounting/types/vendor_credit_tracking_categories_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .tracking_category import TrackingCategory VendorCreditTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/vendor_credit_vendor.py b/src/merge/resources/accounting/types/vendor_credit_vendor.py index fc5d0729..6e8012e7 100644 --- a/src/merge/resources/accounting/types/vendor_credit_vendor.py +++ b/src/merge/resources/accounting/types/vendor_credit_vendor.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .contact import Contact VendorCreditVendor = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/warning_validation_problem.py b/src/merge/resources/accounting/types/warning_validation_problem.py index b974ff37..4785e836 100644 --- a/src/merge/resources/accounting/types/warning_validation_problem.py +++ b/src/merge/resources/accounting/types/warning_validation_problem.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .validation_problem_source import ValidationProblemSource -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/accounting/types/webhook_receiver.py b/src/merge/resources/accounting/types/webhook_receiver.py index 8bb74f35..fb49c044 100644 --- a/src/merge/resources/accounting/types/webhook_receiver.py +++ b/src/merge/resources/accounting/types/webhook_receiver.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class WebhookReceiver(UncheckedBaseModel): diff --git a/src/merge/resources/ats/__init__.py b/src/merge/resources/ats/__init__.py index 37da25a5..046d9bc5 100644 --- a/src/merge/resources/ats/__init__.py +++ b/src/merge/resources/ats/__init__.py @@ -1,11 +1,16 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import ( AccessRoleEnum, AccountDetails, AccountDetailsAndActions, + AccountDetailsAndActionsCategory, AccountDetailsAndActionsIntegration, + AccountDetailsAndActionsStatus, AccountDetailsAndActionsStatusEnum, + AccountDetailsCategory, AccountIntegration, AccountToken, Activity, @@ -103,10 +108,12 @@ JobPosting, JobPostingJob, JobPostingJobPostingUrlsItem, + JobPostingStatus, JobPostingStatusEnum, JobRecruitersItem, JobStatus, JobStatusEnum, + JobType, JobTypeEnum, LanguageEnum, LastSyncResultEnum, @@ -200,6 +207,8 @@ SelectiveSyncConfigurationsUsageEnum, StatusFd5Enum, SyncStatus, + SyncStatusLastSyncResult, + SyncStatusStatus, Tag, Url, UrlRequest, @@ -226,6 +235,8 @@ EeocsListRequestShowEnumOrigins, EeocsRetrieveRequestRemoteFields, EeocsRetrieveRequestShowEnumOrigins, + EndUserDetailsRequestLanguage, + IgnoreCommonModelRequestReason, InterviewsListRequestExpand, InterviewsRetrieveRequestExpand, IssuesListRequestStatus, @@ -278,8 +289,11 @@ "AccessRoleEnum", "AccountDetails", "AccountDetailsAndActions", + "AccountDetailsAndActionsCategory", "AccountDetailsAndActionsIntegration", + "AccountDetailsAndActionsStatus", "AccountDetailsAndActionsStatusEnum", + "AccountDetailsCategory", "AccountIntegration", "AccountToken", "ActivitiesListRequestRemoteFields", @@ -363,6 +377,7 @@ "EmailAddressTypeEnum", "EnabledActionsEnum", "EncodingEnum", + "EndUserDetailsRequestLanguage", "ErrorValidationProblem", "EventTypeEnum", "ExternalTargetFieldApi", @@ -376,6 +391,7 @@ "FieldPermissionDeserializer", "FieldPermissionDeserializerRequest", "GenderEnum", + "IgnoreCommonModelRequestReason", "IndividualCommonModelScopeDeserializer", "IndividualCommonModelScopeDeserializerRequest", "InterviewsListRequestExpand", @@ -393,11 +409,13 @@ "JobPosting", "JobPostingJob", "JobPostingJobPostingUrlsItem", + "JobPostingStatus", "JobPostingStatusEnum", "JobPostingsListRequestStatus", "JobRecruitersItem", "JobStatus", "JobStatusEnum", + "JobType", "JobTypeEnum", "JobsListRequestExpand", "JobsListRequestStatus", @@ -500,6 +518,8 @@ "SelectiveSyncConfigurationsUsageEnum", "StatusFd5Enum", "SyncStatus", + "SyncStatusLastSyncResult", + "SyncStatusStatus", "Tag", "Url", "UrlRequest", diff --git a/src/merge/resources/ats/client.py b/src/merge/resources/ats/client.py index 1beca446..48d4a21a 100644 --- a/src/merge/resources/ats/client.py +++ b/src/merge/resources/ats/client.py @@ -1,79 +1,46 @@ # This file was auto-generated by Fern from our API Definition. -from ...core.client_wrapper import SyncClientWrapper -from .raw_client import RawAtsClient -from .resources.account_details.client import AccountDetailsClient -from .resources.account_token.client import AccountTokenClient -from .resources.activities.client import ActivitiesClient -from .resources.applications.client import ApplicationsClient +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .raw_client import AsyncRawAtsClient, RawAtsClient +from .resources.account_details.client import AccountDetailsClient, AsyncAccountDetailsClient +from .resources.account_token.client import AccountTokenClient, AsyncAccountTokenClient +from .resources.activities.client import ActivitiesClient, AsyncActivitiesClient +from .resources.applications.client import ApplicationsClient, AsyncApplicationsClient +from .resources.async_passthrough.client import AsyncAsyncPassthroughClient from .resources.async_passthrough.client import ( AsyncPassthroughClient as resources_ats_resources_async_passthrough_client_AsyncPassthroughClient, ) -from .resources.attachments.client import AttachmentsClient -from .resources.audit_trail.client import AuditTrailClient -from .resources.available_actions.client import AvailableActionsClient -from .resources.candidates.client import CandidatesClient -from .resources.scopes.client import ScopesClient -from .resources.delete_account.client import DeleteAccountClient -from .resources.departments.client import DepartmentsClient -from .resources.eeocs.client import EeocsClient -from .resources.field_mapping.client import FieldMappingClient -from .resources.generate_key.client import GenerateKeyClient -from .resources.interviews.client import InterviewsClient -from .resources.issues.client import IssuesClient -from .resources.job_interview_stages.client import JobInterviewStagesClient -from .resources.job_postings.client import JobPostingsClient -from .resources.jobs.client import JobsClient -from .resources.link_token.client import LinkTokenClient -from .resources.linked_accounts.client import LinkedAccountsClient -from .resources.offers.client import OffersClient -from .resources.offices.client import OfficesClient -from .resources.passthrough.client import PassthroughClient -from .resources.regenerate_key.client import RegenerateKeyClient -from .resources.reject_reasons.client import RejectReasonsClient -from .resources.scorecards.client import ScorecardsClient -from .resources.sync_status.client import SyncStatusClient -from .resources.force_resync.client import ForceResyncClient -from .resources.tags.client import TagsClient -from .resources.users.client import UsersClient -from .resources.webhook_receivers.client import WebhookReceiversClient -from ...core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAtsClient -from .resources.account_details.client import AsyncAccountDetailsClient -from .resources.account_token.client import AsyncAccountTokenClient -from .resources.activities.client import AsyncActivitiesClient -from .resources.applications.client import AsyncApplicationsClient -from .resources.async_passthrough.client import AsyncAsyncPassthroughClient -from .resources.attachments.client import AsyncAttachmentsClient -from .resources.audit_trail.client import AsyncAuditTrailClient -from .resources.available_actions.client import AsyncAvailableActionsClient -from .resources.candidates.client import AsyncCandidatesClient -from .resources.scopes.client import AsyncScopesClient -from .resources.delete_account.client import AsyncDeleteAccountClient -from .resources.departments.client import AsyncDepartmentsClient -from .resources.eeocs.client import AsyncEeocsClient -from .resources.field_mapping.client import AsyncFieldMappingClient -from .resources.generate_key.client import AsyncGenerateKeyClient -from .resources.interviews.client import AsyncInterviewsClient -from .resources.issues.client import AsyncIssuesClient -from .resources.job_interview_stages.client import AsyncJobInterviewStagesClient -from .resources.job_postings.client import AsyncJobPostingsClient -from .resources.jobs.client import AsyncJobsClient -from .resources.link_token.client import AsyncLinkTokenClient -from .resources.linked_accounts.client import AsyncLinkedAccountsClient -from .resources.offers.client import AsyncOffersClient -from .resources.offices.client import AsyncOfficesClient +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.candidates.client import AsyncCandidatesClient, CandidatesClient +from .resources.delete_account.client import AsyncDeleteAccountClient, DeleteAccountClient +from .resources.departments.client import AsyncDepartmentsClient, DepartmentsClient +from .resources.eeocs.client import AsyncEeocsClient, EeocsClient +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.interviews.client import AsyncInterviewsClient, InterviewsClient +from .resources.issues.client import AsyncIssuesClient, IssuesClient +from .resources.job_interview_stages.client import AsyncJobInterviewStagesClient, JobInterviewStagesClient +from .resources.job_postings.client import AsyncJobPostingsClient, JobPostingsClient +from .resources.jobs.client import AsyncJobsClient, JobsClient +from .resources.link_token.client import AsyncLinkTokenClient, LinkTokenClient +from .resources.linked_accounts.client import AsyncLinkedAccountsClient, LinkedAccountsClient +from .resources.offers.client import AsyncOffersClient, OffersClient +from .resources.offices.client import AsyncOfficesClient, OfficesClient from .resources.passthrough.client import ( AsyncPassthroughClient as resources_ats_resources_passthrough_client_AsyncPassthroughClient, ) -from .resources.regenerate_key.client import AsyncRegenerateKeyClient -from .resources.reject_reasons.client import AsyncRejectReasonsClient -from .resources.scorecards.client import AsyncScorecardsClient -from .resources.sync_status.client import AsyncSyncStatusClient -from .resources.force_resync.client import AsyncForceResyncClient -from .resources.tags.client import AsyncTagsClient -from .resources.users.client import AsyncUsersClient -from .resources.webhook_receivers.client import AsyncWebhookReceiversClient +from .resources.passthrough.client import PassthroughClient +from .resources.regenerate_key.client import AsyncRegenerateKeyClient, RegenerateKeyClient +from .resources.reject_reasons.client import AsyncRejectReasonsClient, RejectReasonsClient +from .resources.scopes.client import AsyncScopesClient, ScopesClient +from .resources.scorecards.client import AsyncScorecardsClient, ScorecardsClient +from .resources.sync_status.client import AsyncSyncStatusClient, SyncStatusClient +from .resources.tags.client import AsyncTagsClient, TagsClient +from .resources.users.client import AsyncUsersClient, UsersClient +from .resources.webhook_receivers.client import AsyncWebhookReceiversClient, WebhookReceiversClient class AtsClient: diff --git a/src/merge/resources/ats/raw_client.py b/src/merge/resources/ats/raw_client.py index e3fd4c3c..920ebc04 100644 --- a/src/merge/resources/ats/raw_client.py +++ b/src/merge/resources/ats/raw_client.py @@ -1,7 +1,6 @@ # This file was auto-generated by Fern from our API Definition. -from ...core.client_wrapper import SyncClientWrapper -from ...core.client_wrapper import AsyncClientWrapper +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper class RawAtsClient: diff --git a/src/merge/resources/ats/resources/__init__.py b/src/merge/resources/ats/resources/__init__.py index 609f24fa..f289f2fe 100644 --- a/src/merge/resources/ats/resources/__init__.py +++ b/src/merge/resources/ats/resources/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from . import ( account_details, account_token, @@ -43,7 +45,7 @@ ) from .applications import ApplicationsListRequestExpand, ApplicationsRetrieveRequestExpand from .async_passthrough import AsyncPassthroughRetrieveResponse -from .candidates import CandidatesListRequestExpand, CandidatesRetrieveRequestExpand +from .candidates import CandidatesListRequestExpand, CandidatesRetrieveRequestExpand, IgnoreCommonModelRequestReason from .eeocs import ( EeocsListRequestRemoteFields, EeocsListRequestShowEnumOrigins, @@ -59,6 +61,7 @@ JobsRetrieveRequestExpand, JobsScreeningQuestionsListRequestExpand, ) +from .link_token import EndUserDetailsRequestLanguage from .linked_accounts import LinkedAccountsListRequestCategory from .offers import OffersListRequestExpand, OffersRetrieveRequestExpand from .scorecards import ScorecardsListRequestExpand, ScorecardsRetrieveRequestExpand @@ -77,6 +80,8 @@ "EeocsListRequestShowEnumOrigins", "EeocsRetrieveRequestRemoteFields", "EeocsRetrieveRequestShowEnumOrigins", + "EndUserDetailsRequestLanguage", + "IgnoreCommonModelRequestReason", "InterviewsListRequestExpand", "InterviewsRetrieveRequestExpand", "IssuesListRequestStatus", diff --git a/src/merge/resources/ats/resources/account_details/__init__.py b/src/merge/resources/ats/resources/account_details/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ats/resources/account_details/__init__.py +++ b/src/merge/resources/ats/resources/account_details/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ats/resources/account_details/client.py b/src/merge/resources/ats/resources/account_details/client.py index 36c3120c..97e0ebde 100644 --- a/src/merge/resources/ats/resources/account_details/client.py +++ b/src/merge/resources/ats/resources/account_details/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAccountDetailsClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.account_details import AccountDetails -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAccountDetailsClient +from .raw_client import AsyncRawAccountDetailsClient, RawAccountDetailsClient class AccountDetailsClient: @@ -48,8 +47,8 @@ def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) - ) client.ats.account_details.retrieve() """ - response = self._raw_client.retrieve(request_options=request_options) - return response.data + _response = self._raw_client.retrieve(request_options=request_options) + return _response.data class AsyncAccountDetailsClient: @@ -99,5 +98,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.retrieve(request_options=request_options) + return _response.data diff --git a/src/merge/resources/ats/resources/account_details/raw_client.py b/src/merge/resources/ats/resources/account_details/raw_client.py index 4445abaf..53941b58 100644 --- a/src/merge/resources/ats/resources/account_details/raw_client.py +++ b/src/merge/resources/ats/resources/account_details/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.account_details import AccountDetails -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -47,8 +46,8 @@ def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) - return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -88,5 +87,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/account_token/__init__.py b/src/merge/resources/ats/resources/account_token/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ats/resources/account_token/__init__.py +++ b/src/merge/resources/ats/resources/account_token/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ats/resources/account_token/client.py b/src/merge/resources/ats/resources/account_token/client.py index 2fb883ec..eadd660b 100644 --- a/src/merge/resources/ats/resources/account_token/client.py +++ b/src/merge/resources/ats/resources/account_token/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAccountTokenClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.account_token import AccountToken -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAccountTokenClient +from .raw_client import AsyncRawAccountTokenClient, RawAccountTokenClient class AccountTokenClient: @@ -52,8 +51,8 @@ def retrieve(self, public_token: str, *, request_options: typing.Optional[Reques public_token="public_token", ) """ - response = self._raw_client.retrieve(public_token, request_options=request_options) - return response.data + _response = self._raw_client.retrieve(public_token, request_options=request_options) + return _response.data class AsyncAccountTokenClient: @@ -109,5 +108,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(public_token, request_options=request_options) - return response.data + _response = await self._raw_client.retrieve(public_token, request_options=request_options) + return _response.data diff --git a/src/merge/resources/ats/resources/account_token/raw_client.py b/src/merge/resources/ats/resources/account_token/raw_client.py index f170d9f2..c8478970 100644 --- a/src/merge/resources/ats/resources/account_token/raw_client.py +++ b/src/merge/resources/ats/resources/account_token/raw_client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.account_token import AccountToken -from .....core.jsonable_encoder import jsonable_encoder -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -52,8 +51,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -95,5 +94,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/activities/__init__.py b/src/merge/resources/ats/resources/activities/__init__.py index cf29ba8f..8570ca2f 100644 --- a/src/merge/resources/ats/resources/activities/__init__.py +++ b/src/merge/resources/ats/resources/activities/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import ( ActivitiesListRequestRemoteFields, ActivitiesListRequestShowEnumOrigins, diff --git a/src/merge/resources/ats/resources/activities/client.py b/src/merge/resources/ats/resources/activities/client.py index 958e4a58..4ce5438b 100644 --- a/src/merge/resources/ats/resources/activities/client.py +++ b/src/merge/resources/ats/resources/activities/client.py @@ -1,21 +1,20 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawActivitiesClient import datetime as dt -from .types.activities_list_request_remote_fields import ActivitiesListRequestRemoteFields -from .types.activities_list_request_show_enum_origins import ActivitiesListRequestShowEnumOrigins +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_activity_list import PaginatedActivityList +from ...types.activity import Activity from ...types.activity_request import ActivityRequest from ...types.activity_response import ActivityResponse +from ...types.meta_response import MetaResponse +from ...types.paginated_activity_list import PaginatedActivityList +from .raw_client import AsyncRawActivitiesClient, RawActivitiesClient +from .types.activities_list_request_remote_fields import ActivitiesListRequestRemoteFields +from .types.activities_list_request_show_enum_origins import ActivitiesListRequestShowEnumOrigins from .types.activities_retrieve_request_remote_fields import ActivitiesRetrieveRequestRemoteFields from .types.activities_retrieve_request_show_enum_origins import ActivitiesRetrieveRequestShowEnumOrigins -from ...types.activity import Activity -from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawActivitiesClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -120,7 +119,7 @@ def list( ) client.ats.activities.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -137,7 +136,7 @@ def list( user_id=user_id, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -185,14 +184,14 @@ def create( remote_user_id="remote_user_id", ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, remote_user_id=remote_user_id, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -247,7 +246,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -256,7 +255,7 @@ def retrieve( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -282,8 +281,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.ats.activities.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data class AsyncActivitiesClient: @@ -393,7 +392,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -410,7 +409,7 @@ async def main() -> None: user_id=user_id, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -466,14 +465,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _response = await self._raw_client.create( model=model, remote_user_id=remote_user_id, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -536,7 +535,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -545,7 +544,7 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -579,5 +578,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data diff --git a/src/merge/resources/ats/resources/activities/raw_client.py b/src/merge/resources/ats/resources/activities/raw_client.py index 6e6fc25c..f707a679 100644 --- a/src/merge/resources/ats/resources/activities/raw_client.py +++ b/src/merge/resources/ats/resources/activities/raw_client.py @@ -1,26 +1,25 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .types.activities_list_request_remote_fields import ActivitiesListRequestRemoteFields -from .types.activities_list_request_show_enum_origins import ActivitiesListRequestShowEnumOrigins -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_activity_list import PaginatedActivityList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +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.activity import Activity from ...types.activity_request import ActivityRequest from ...types.activity_response import ActivityResponse +from ...types.meta_response import MetaResponse +from ...types.paginated_activity_list import PaginatedActivityList +from .types.activities_list_request_remote_fields import ActivitiesListRequestRemoteFields +from .types.activities_list_request_show_enum_origins import ActivitiesListRequestShowEnumOrigins from .types.activities_retrieve_request_remote_fields import ActivitiesRetrieveRequestRemoteFields from .types.activities_retrieve_request_show_enum_origins import ActivitiesRetrieveRequestShowEnumOrigins -from ...types.activity import Activity -from .....core.jsonable_encoder import jsonable_encoder -from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -137,8 +136,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -201,8 +200,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -269,8 +268,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -305,8 +304,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawActivitiesClient: @@ -420,8 +419,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -484,8 +483,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -552,8 +551,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -588,5 +587,5 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/activities/types/__init__.py b/src/merge/resources/ats/resources/activities/types/__init__.py index 8ea9e1c7..3eb5b197 100644 --- a/src/merge/resources/ats/resources/activities/types/__init__.py +++ b/src/merge/resources/ats/resources/activities/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .activities_list_request_remote_fields import ActivitiesListRequestRemoteFields from .activities_list_request_show_enum_origins import ActivitiesListRequestShowEnumOrigins from .activities_retrieve_request_remote_fields import ActivitiesRetrieveRequestRemoteFields diff --git a/src/merge/resources/ats/resources/applications/__init__.py b/src/merge/resources/ats/resources/applications/__init__.py index bdb1dd70..3eb98119 100644 --- a/src/merge/resources/ats/resources/applications/__init__.py +++ b/src/merge/resources/ats/resources/applications/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import ApplicationsListRequestExpand, ApplicationsRetrieveRequestExpand __all__ = ["ApplicationsListRequestExpand", "ApplicationsRetrieveRequestExpand"] diff --git a/src/merge/resources/ats/resources/applications/client.py b/src/merge/resources/ats/resources/applications/client.py index 80c187f8..36f211ba 100644 --- a/src/merge/resources/ats/resources/applications/client.py +++ b/src/merge/resources/ats/resources/applications/client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawApplicationsClient import datetime as dt -from .types.applications_list_request_expand import ApplicationsListRequestExpand +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_application_list import PaginatedApplicationList +from ...types.application import Application from ...types.application_request import ApplicationRequest from ...types.application_response import ApplicationResponse -from .types.applications_retrieve_request_expand import ApplicationsRetrieveRequestExpand -from ...types.application import Application from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawApplicationsClient +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 # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -130,7 +129,7 @@ def list( ) client.ats.applications.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( candidate_id=candidate_id, created_after=created_after, created_before=created_before, @@ -150,7 +149,7 @@ def list( source=source, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -201,14 +200,14 @@ def create( remote_user_id="remote_user_id", ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, remote_user_id=remote_user_id, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -255,14 +254,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data def change_stage_create( self, @@ -312,7 +311,7 @@ def change_stage_create( id="id", ) """ - response = self._raw_client.change_stage_create( + _response = self._raw_client.change_stage_create( id, is_debug_mode=is_debug_mode, run_async=run_async, @@ -320,7 +319,7 @@ def change_stage_create( remote_user_id=remote_user_id, request_options=request_options, ) - return response.data + return _response.data def meta_post_retrieve( self, @@ -354,10 +353,10 @@ def meta_post_retrieve( ) client.ats.applications.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve( + _response = self._raw_client.meta_post_retrieve( application_remote_template_id=application_remote_template_id, request_options=request_options ) - return response.data + return _response.data class AsyncApplicationsClient: @@ -479,7 +478,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( candidate_id=candidate_id, created_after=created_after, created_before=created_before, @@ -499,7 +498,7 @@ async def main() -> None: source=source, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -558,14 +557,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _response = await self._raw_client.create( model=model, remote_user_id=remote_user_id, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -620,14 +619,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data async def change_stage_create( self, @@ -685,7 +684,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.change_stage_create( + _response = await self._raw_client.change_stage_create( id, is_debug_mode=is_debug_mode, run_async=run_async, @@ -693,7 +692,7 @@ async def main() -> None: remote_user_id=remote_user_id, request_options=request_options, ) - return response.data + return _response.data async def meta_post_retrieve( self, @@ -735,7 +734,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve( + _response = await self._raw_client.meta_post_retrieve( application_remote_template_id=application_remote_template_id, request_options=request_options ) - return response.data + return _response.data diff --git a/src/merge/resources/ats/resources/applications/raw_client.py b/src/merge/resources/ats/resources/applications/raw_client.py index 6cf7b9da..a6d3ec0e 100644 --- a/src/merge/resources/ats/resources/applications/raw_client.py +++ b/src/merge/resources/ats/resources/applications/raw_client.py @@ -1,24 +1,23 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .types.applications_list_request_expand import ApplicationsListRequestExpand -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_application_list import PaginatedApplicationList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +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.application import Application from ...types.application_request import ApplicationRequest from ...types.application_response import ApplicationResponse -from .types.applications_retrieve_request_expand import ApplicationsRetrieveRequestExpand -from ...types.application import Application -from .....core.jsonable_encoder import jsonable_encoder from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from ...types.paginated_application_list import PaginatedApplicationList +from .types.applications_list_request_expand import ApplicationsListRequestExpand +from .types.applications_retrieve_request_expand import ApplicationsRetrieveRequestExpand # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -150,8 +149,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -217,8 +216,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -275,8 +274,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 change_stage_create( self, @@ -343,8 +342,8 @@ def change_stage_create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -388,8 +387,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawApplicationsClient: @@ -518,8 +517,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -585,8 +584,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -643,8 +642,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 change_stage_create( self, @@ -711,8 +710,8 @@ async def change_stage_create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -756,5 +755,5 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/applications/types/__init__.py b/src/merge/resources/ats/resources/applications/types/__init__.py index cd87b5cb..726620c7 100644 --- a/src/merge/resources/ats/resources/applications/types/__init__.py +++ b/src/merge/resources/ats/resources/applications/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .applications_list_request_expand import ApplicationsListRequestExpand from .applications_retrieve_request_expand import ApplicationsRetrieveRequestExpand diff --git a/src/merge/resources/ats/resources/async_passthrough/__init__.py b/src/merge/resources/ats/resources/async_passthrough/__init__.py index cb869002..4767933f 100644 --- a/src/merge/resources/ats/resources/async_passthrough/__init__.py +++ b/src/merge/resources/ats/resources/async_passthrough/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import AsyncPassthroughRetrieveResponse __all__ = ["AsyncPassthroughRetrieveResponse"] diff --git a/src/merge/resources/ats/resources/async_passthrough/client.py b/src/merge/resources/ats/resources/async_passthrough/client.py index f36206d2..c877943e 100644 --- a/src/merge/resources/ats/resources/async_passthrough/client.py +++ b/src/merge/resources/ats/resources/async_passthrough/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAsyncPassthroughClient -from ...types.data_passthrough_request import DataPassthroughRequest + +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 -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAsyncPassthroughClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -63,8 +62,8 @@ def create( ), ) """ - response = self._raw_client.create(request=request, request_options=request_options) - return response.data + _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 @@ -96,8 +95,8 @@ def 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 + _response = self._raw_client.retrieve(async_passthrough_receipt_id, request_options=request_options) + return _response.data class AsyncAsyncPassthroughClient: @@ -157,8 +156,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create(request=request, request_options=request_options) - return response.data + _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 @@ -198,5 +197,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(async_passthrough_receipt_id, request_options=request_options) - return response.data + _response = await self._raw_client.retrieve(async_passthrough_receipt_id, request_options=request_options) + return _response.data diff --git a/src/merge/resources/ats/resources/async_passthrough/raw_client.py b/src/merge/resources/ats/resources/async_passthrough/raw_client.py index 1a26bcc4..e5c894c1 100644 --- a/src/merge/resources/ats/resources/async_passthrough/raw_client.py +++ b/src/merge/resources/ats/resources/async_passthrough/raw_client.py @@ -1,18 +1,17 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from ...types.data_passthrough_request import DataPassthroughRequest -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.async_passthrough_reciept import AsyncPassthroughReciept -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .types.async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -44,6 +43,9 @@ def create( "ats/v1/async-passthrough", method="POST", json=request, + headers={ + "content-type": "application/json", + }, request_options=request_options, omit=OMIT, ) @@ -59,8 +61,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -97,8 +99,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -127,6 +129,9 @@ async def create( "ats/v1/async-passthrough", method="POST", json=request, + headers={ + "content-type": "application/json", + }, request_options=request_options, omit=OMIT, ) @@ -142,8 +147,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -180,5 +185,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/async_passthrough/types/__init__.py b/src/merge/resources/ats/resources/async_passthrough/types/__init__.py index caff085b..cb7e997d 100644 --- a/src/merge/resources/ats/resources/async_passthrough/types/__init__.py +++ b/src/merge/resources/ats/resources/async_passthrough/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse __all__ = ["AsyncPassthroughRetrieveResponse"] diff --git a/src/merge/resources/ats/resources/async_passthrough/types/async_passthrough_retrieve_response.py b/src/merge/resources/ats/resources/async_passthrough/types/async_passthrough_retrieve_response.py index 5a819dfd..f8f87c18 100644 --- a/src/merge/resources/ats/resources/async_passthrough/types/async_passthrough_retrieve_response.py +++ b/src/merge/resources/ats/resources/async_passthrough/types/async_passthrough_retrieve_response.py @@ -1,6 +1,7 @@ # 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/ats/resources/attachments/__init__.py b/src/merge/resources/ats/resources/attachments/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ats/resources/attachments/__init__.py +++ b/src/merge/resources/ats/resources/attachments/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ats/resources/attachments/client.py b/src/merge/resources/ats/resources/attachments/client.py index 00a64234..02e1d145 100644 --- a/src/merge/resources/ats/resources/attachments/client.py +++ b/src/merge/resources/ats/resources/attachments/client.py @@ -1,17 +1,16 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAttachmentsClient import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_attachment_list import PaginatedAttachmentList +from ...types.attachment import Attachment from ...types.attachment_request import AttachmentRequest from ...types.attachment_response import AttachmentResponse -from ...types.attachment import Attachment from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAttachmentsClient +from ...types.paginated_attachment_list import PaginatedAttachmentList +from .raw_client import AsyncRawAttachmentsClient, RawAttachmentsClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -116,7 +115,7 @@ def list( ) client.ats.attachments.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( candidate_id=candidate_id, created_after=created_after, created_before=created_before, @@ -133,7 +132,7 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -181,14 +180,14 @@ def create( remote_user_id="remote_user_id", ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, remote_user_id=remote_user_id, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -243,7 +242,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -252,7 +251,7 @@ def retrieve( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -278,8 +277,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.ats.attachments.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data class AsyncAttachmentsClient: @@ -389,7 +388,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( candidate_id=candidate_id, created_after=created_after, created_before=created_before, @@ -406,7 +405,7 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -462,14 +461,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _response = await self._raw_client.create( model=model, remote_user_id=remote_user_id, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -532,7 +531,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -541,7 +540,7 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -575,5 +574,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data diff --git a/src/merge/resources/ats/resources/attachments/raw_client.py b/src/merge/resources/ats/resources/attachments/raw_client.py index 918b2944..cb05fc3d 100644 --- a/src/merge/resources/ats/resources/attachments/raw_client.py +++ b/src/merge/resources/ats/resources/attachments/raw_client.py @@ -1,22 +1,21 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_attachment_list import PaginatedAttachmentList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +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.attachment_request import AttachmentRequest from ...types.attachment_response import AttachmentResponse -from ...types.attachment import Attachment -from .....core.jsonable_encoder import jsonable_encoder from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from ...types.paginated_attachment_list import PaginatedAttachmentList # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -133,8 +132,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -197,8 +196,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -265,8 +264,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -301,8 +300,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -416,8 +415,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -480,8 +479,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -548,8 +547,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -584,5 +583,5 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/audit_trail/__init__.py b/src/merge/resources/ats/resources/audit_trail/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ats/resources/audit_trail/__init__.py +++ b/src/merge/resources/ats/resources/audit_trail/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ats/resources/audit_trail/client.py b/src/merge/resources/ats/resources/audit_trail/client.py index 8dff1d2f..51f2e0df 100644 --- a/src/merge/resources/ats/resources/audit_trail/client.py +++ b/src/merge/resources/ats/resources/audit_trail/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAuditTrailClient 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 .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAuditTrailClient +from .raw_client import AsyncRawAuditTrailClient, RawAuditTrailClient class AuditTrailClient: @@ -47,7 +46,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`, `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`, `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. @@ -76,7 +75,7 @@ def list( ) client.ats.audit_trail.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -85,7 +84,7 @@ def list( user_email=user_email, request_options=request_options, ) - return response.data + return _response.data class AsyncAuditTrailClient: @@ -126,7 +125,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`, `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`, `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. @@ -163,7 +162,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -172,4 +171,4 @@ async def main() -> None: user_email=user_email, request_options=request_options, ) - return response.data + 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 1899ad64..296a6041 100644 --- a/src/merge/resources/ats/resources/audit_trail/raw_client.py +++ b/src/merge/resources/ats/resources/audit_trail/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -39,7 +38,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`, `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`, `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. @@ -83,8 +82,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -114,7 +113,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`, `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`, `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. @@ -158,5 +157,5 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/available_actions/__init__.py b/src/merge/resources/ats/resources/available_actions/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ats/resources/available_actions/__init__.py +++ b/src/merge/resources/ats/resources/available_actions/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ats/resources/available_actions/client.py b/src/merge/resources/ats/resources/available_actions/client.py index 21584229..5cd5e55f 100644 --- a/src/merge/resources/ats/resources/available_actions/client.py +++ b/src/merge/resources/ats/resources/available_actions/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAvailableActionsClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.available_actions import AvailableActions -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAvailableActionsClient +from .raw_client import AsyncRawAvailableActionsClient, RawAvailableActionsClient class AvailableActionsClient: @@ -48,8 +47,8 @@ def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) - ) client.ats.available_actions.retrieve() """ - response = self._raw_client.retrieve(request_options=request_options) - return response.data + _response = self._raw_client.retrieve(request_options=request_options) + return _response.data class AsyncAvailableActionsClient: @@ -99,5 +98,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.retrieve(request_options=request_options) + return _response.data diff --git a/src/merge/resources/ats/resources/available_actions/raw_client.py b/src/merge/resources/ats/resources/available_actions/raw_client.py index 1a322c38..6157a71b 100644 --- a/src/merge/resources/ats/resources/available_actions/raw_client.py +++ b/src/merge/resources/ats/resources/available_actions/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.available_actions import AvailableActions -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -47,8 +46,8 @@ def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) - return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -88,5 +87,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/candidates/__init__.py b/src/merge/resources/ats/resources/candidates/__init__.py index 8276856d..bf3ea73d 100644 --- a/src/merge/resources/ats/resources/candidates/__init__.py +++ b/src/merge/resources/ats/resources/candidates/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. -from .types import CandidatesListRequestExpand, CandidatesRetrieveRequestExpand +# isort: skip_file -__all__ = ["CandidatesListRequestExpand", "CandidatesRetrieveRequestExpand"] +from .types import CandidatesListRequestExpand, CandidatesRetrieveRequestExpand, IgnoreCommonModelRequestReason + +__all__ = ["CandidatesListRequestExpand", "CandidatesRetrieveRequestExpand", "IgnoreCommonModelRequestReason"] diff --git a/src/merge/resources/ats/resources/candidates/client.py b/src/merge/resources/ats/resources/candidates/client.py index f6715a3b..418b1d66 100644 --- a/src/merge/resources/ats/resources/candidates/client.py +++ b/src/merge/resources/ats/resources/candidates/client.py @@ -1,21 +1,20 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawCandidatesClient import datetime as dt -from .types.candidates_list_request_expand import CandidatesListRequestExpand +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_candidate_list import PaginatedCandidateList +from ...types.candidate import Candidate from ...types.candidate_request import CandidateRequest from ...types.candidate_response import CandidateResponse -from .types.candidates_retrieve_request_expand import CandidatesRetrieveRequestExpand -from ...types.candidate import Candidate -from ...types.patched_candidate_request import PatchedCandidateRequest -from ...types.reason_enum import ReasonEnum from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawCandidatesClient +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 # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -124,7 +123,7 @@ def list( ) client.ats.candidates.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -142,7 +141,7 @@ def list( tags=tags, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -190,14 +189,14 @@ def create( remote_user_id="remote_user_id", ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, remote_user_id=remote_user_id, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -244,14 +243,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data def partial_update( self, @@ -303,7 +302,7 @@ def partial_update( remote_user_id="remote_user_id", ) """ - response = self._raw_client.partial_update( + _response = self._raw_client.partial_update( id, model=model, remote_user_id=remote_user_id, @@ -311,13 +310,13 @@ def partial_update( run_async=run_async, request_options=request_options, ) - return response.data + return _response.data def ignore_create( self, model_id: str, *, - reason: ReasonEnum, + reason: IgnoreCommonModelRequestReason, message: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> None: @@ -328,7 +327,7 @@ def ignore_create( ---------- model_id : str - reason : ReasonEnum + reason : IgnoreCommonModelRequestReason message : typing.Optional[str] @@ -353,10 +352,10 @@ def ignore_create( reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, ) """ - response = self._raw_client.ignore_create( + _response = self._raw_client.ignore_create( model_id, reason=reason, message=message, request_options=request_options ) - return response.data + return _response.data def meta_patch_retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -386,8 +385,8 @@ def meta_patch_retrieve(self, id: str, *, request_options: typing.Optional[Reque id="id", ) """ - response = self._raw_client.meta_patch_retrieve(id, request_options=request_options) - return response.data + _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: """ @@ -413,8 +412,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.ats.candidates.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data class AsyncCandidatesClient: @@ -528,7 +527,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -546,7 +545,7 @@ async def main() -> None: tags=tags, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -602,14 +601,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _response = await self._raw_client.create( model=model, remote_user_id=remote_user_id, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -664,14 +663,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data async def partial_update( self, @@ -731,7 +730,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.partial_update( + _response = await self._raw_client.partial_update( id, model=model, remote_user_id=remote_user_id, @@ -739,13 +738,13 @@ async def main() -> None: run_async=run_async, request_options=request_options, ) - return response.data + return _response.data async def ignore_create( self, model_id: str, *, - reason: ReasonEnum, + reason: IgnoreCommonModelRequestReason, message: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> None: @@ -756,7 +755,7 @@ async def ignore_create( ---------- model_id : str - reason : ReasonEnum + reason : IgnoreCommonModelRequestReason message : typing.Optional[str] @@ -789,10 +788,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.ignore_create( + _response = await self._raw_client.ignore_create( model_id, reason=reason, message=message, request_options=request_options ) - return response.data + return _response.data async def meta_patch_retrieve( self, id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -832,8 +831,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_patch_retrieve(id, request_options=request_options) - return response.data + _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: """ @@ -867,5 +866,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data diff --git a/src/merge/resources/ats/resources/candidates/raw_client.py b/src/merge/resources/ats/resources/candidates/raw_client.py index 81bb5a05..c4fbc46d 100644 --- a/src/merge/resources/ats/resources/candidates/raw_client.py +++ b/src/merge/resources/ats/resources/candidates/raw_client.py @@ -1,26 +1,25 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .types.candidates_list_request_expand import CandidatesListRequestExpand -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_candidate_list import PaginatedCandidateList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +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.candidate import Candidate from ...types.candidate_request import CandidateRequest from ...types.candidate_response import CandidateResponse -from .types.candidates_retrieve_request_expand import CandidatesRetrieveRequestExpand -from ...types.candidate import Candidate -from .....core.jsonable_encoder import jsonable_encoder -from ...types.patched_candidate_request import PatchedCandidateRequest -from ...types.reason_enum import ReasonEnum from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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 # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -142,8 +141,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -206,8 +205,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -264,8 +263,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -331,14 +330,14 @@ def partial_update( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 ignore_create( self, model_id: str, *, - reason: ReasonEnum, + reason: IgnoreCommonModelRequestReason, message: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[None]: @@ -349,7 +348,7 @@ def ignore_create( ---------- model_id : str - reason : ReasonEnum + reason : IgnoreCommonModelRequestReason message : typing.Optional[str] @@ -378,8 +377,8 @@ def ignore_create( return HttpResponse(response=_response, data=None) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -416,8 +415,8 @@ def meta_patch_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -452,8 +451,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawCandidatesClient: @@ -572,8 +571,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -636,8 +635,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -694,8 +693,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -761,14 +760,14 @@ async def partial_update( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 ignore_create( self, model_id: str, *, - reason: ReasonEnum, + reason: IgnoreCommonModelRequestReason, message: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[None]: @@ -779,7 +778,7 @@ async def ignore_create( ---------- model_id : str - reason : ReasonEnum + reason : IgnoreCommonModelRequestReason message : typing.Optional[str] @@ -808,8 +807,8 @@ async def ignore_create( return AsyncHttpResponse(response=_response, data=None) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -846,8 +845,8 @@ async def meta_patch_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -882,5 +881,5 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/candidates/types/__init__.py b/src/merge/resources/ats/resources/candidates/types/__init__.py index 82b08e75..b8f577b7 100644 --- a/src/merge/resources/ats/resources/candidates/types/__init__.py +++ b/src/merge/resources/ats/resources/candidates/types/__init__.py @@ -1,6 +1,9 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .candidates_list_request_expand import CandidatesListRequestExpand from .candidates_retrieve_request_expand import CandidatesRetrieveRequestExpand +from .ignore_common_model_request_reason import IgnoreCommonModelRequestReason -__all__ = ["CandidatesListRequestExpand", "CandidatesRetrieveRequestExpand"] +__all__ = ["CandidatesListRequestExpand", "CandidatesRetrieveRequestExpand", "IgnoreCommonModelRequestReason"] 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 new file mode 100644 index 00000000..4baf20f1 --- /dev/null +++ b/src/merge/resources/ats/resources/candidates/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 ....types.reason_enum import ReasonEnum + +IgnoreCommonModelRequestReason = typing.Union[ReasonEnum, str] diff --git a/src/merge/resources/ats/resources/delete_account/__init__.py b/src/merge/resources/ats/resources/delete_account/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ats/resources/delete_account/__init__.py +++ b/src/merge/resources/ats/resources/delete_account/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ats/resources/delete_account/client.py b/src/merge/resources/ats/resources/delete_account/client.py index 6adc4f67..adaa6a40 100644 --- a/src/merge/resources/ats/resources/delete_account/client.py +++ b/src/merge/resources/ats/resources/delete_account/client.py @@ -1,11 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawDeleteAccountClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawDeleteAccountClient +from .raw_client import AsyncRawDeleteAccountClient, RawDeleteAccountClient class DeleteAccountClient: @@ -46,8 +45,8 @@ def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> ) client.ats.delete_account.delete() """ - response = self._raw_client.delete(request_options=request_options) - return response.data + _response = self._raw_client.delete(request_options=request_options) + return _response.data class AsyncDeleteAccountClient: @@ -96,5 +95,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.delete(request_options=request_options) - return response.data + _response = await self._raw_client.delete(request_options=request_options) + return _response.data diff --git a/src/merge/resources/ats/resources/delete_account/raw_client.py b/src/merge/resources/ats/resources/delete_account/raw_client.py index 73f0da4c..e9752440 100644 --- a/src/merge/resources/ats/resources/delete_account/raw_client.py +++ b/src/merge/resources/ats/resources/delete_account/raw_client.py @@ -1,13 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.request_options import RequestOptions class RawDeleteAccountClient: @@ -37,8 +36,8 @@ def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> return HttpResponse(response=_response, data=None) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -68,5 +67,5 @@ async def delete(self, *, request_options: typing.Optional[RequestOptions] = Non return AsyncHttpResponse(response=_response, data=None) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/departments/__init__.py b/src/merge/resources/ats/resources/departments/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ats/resources/departments/__init__.py +++ b/src/merge/resources/ats/resources/departments/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ats/resources/departments/client.py b/src/merge/resources/ats/resources/departments/client.py index 0fc56677..549ad189 100644 --- a/src/merge/resources/ats/resources/departments/client.py +++ b/src/merge/resources/ats/resources/departments/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawDepartmentsClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_department_list import PaginatedDepartmentList from ...types.department import Department -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawDepartmentsClient +from ...types.paginated_department_list import PaginatedDepartmentList +from .raw_client import AsyncRawDepartmentsClient, RawDepartmentsClient class DepartmentsClient: @@ -94,7 +93,7 @@ def list( ) client.ats.departments.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -107,7 +106,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -150,13 +149,13 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncDepartmentsClient: @@ -250,7 +249,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -263,7 +262,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -314,10 +313,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data diff --git a/src/merge/resources/ats/resources/departments/raw_client.py b/src/merge/resources/ats/resources/departments/raw_client.py index 7a3c4bac..3e6908a0 100644 --- a/src/merge/resources/ats/resources/departments/raw_client.py +++ b/src/merge/resources/ats/resources/departments/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_department_list import PaginatedDepartmentList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.department import Department +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type +from ...types.department import Department +from ...types.paginated_department_list import PaginatedDepartmentList class RawDepartmentsClient: @@ -107,8 +106,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -160,8 +159,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawDepartmentsClient: @@ -255,8 +254,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -308,5 +307,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/eeocs/__init__.py b/src/merge/resources/ats/resources/eeocs/__init__.py index eb35af8c..97a4870a 100644 --- a/src/merge/resources/ats/resources/eeocs/__init__.py +++ b/src/merge/resources/ats/resources/eeocs/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import ( EeocsListRequestRemoteFields, EeocsListRequestShowEnumOrigins, diff --git a/src/merge/resources/ats/resources/eeocs/client.py b/src/merge/resources/ats/resources/eeocs/client.py index 9b882aef..7c83afcb 100644 --- a/src/merge/resources/ats/resources/eeocs/client.py +++ b/src/merge/resources/ats/resources/eeocs/client.py @@ -1,18 +1,17 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawEeocsClient -import typing import datetime as dt -from .types.eeocs_list_request_remote_fields import EeocsListRequestRemoteFields -from .types.eeocs_list_request_show_enum_origins import EeocsListRequestShowEnumOrigins +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper 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_remote_fields import EeocsListRequestRemoteFields +from .types.eeocs_list_request_show_enum_origins import EeocsListRequestShowEnumOrigins from .types.eeocs_retrieve_request_remote_fields import EeocsRetrieveRequestRemoteFields from .types.eeocs_retrieve_request_show_enum_origins import EeocsRetrieveRequestShowEnumOrigins -from ...types.eeoc import Eeoc -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawEeocsClient class EeocsClient: @@ -114,7 +113,7 @@ def list( ) client.ats.eeocs.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( candidate_id=candidate_id, created_after=created_after, created_before=created_before, @@ -131,7 +130,7 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -186,7 +185,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -195,7 +194,7 @@ def retrieve( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data class AsyncEeocsClient: @@ -305,7 +304,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( candidate_id=candidate_id, created_after=created_after, created_before=created_before, @@ -322,7 +321,7 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -385,7 +384,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -394,4 +393,4 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data diff --git a/src/merge/resources/ats/resources/eeocs/raw_client.py b/src/merge/resources/ats/resources/eeocs/raw_client.py index 11ae0c79..1f8f24b9 100644 --- a/src/merge/resources/ats/resources/eeocs/raw_client.py +++ b/src/merge/resources/ats/resources/eeocs/raw_client.py @@ -1,23 +1,22 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .types.eeocs_list_request_remote_fields import EeocsListRequestRemoteFields -from .types.eeocs_list_request_show_enum_origins import EeocsListRequestShowEnumOrigins -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_eeoc_list import PaginatedEeocList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +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.eeoc import Eeoc +from ...types.paginated_eeoc_list import PaginatedEeocList +from .types.eeocs_list_request_remote_fields import EeocsListRequestRemoteFields +from .types.eeocs_list_request_show_enum_origins import EeocsListRequestShowEnumOrigins from .types.eeocs_retrieve_request_remote_fields import EeocsRetrieveRequestRemoteFields from .types.eeocs_retrieve_request_show_enum_origins import EeocsRetrieveRequestShowEnumOrigins -from ...types.eeoc import Eeoc -from .....core.jsonable_encoder import jsonable_encoder -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse class RawEeocsClient: @@ -131,8 +130,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -199,8 +198,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawEeocsClient: @@ -314,8 +313,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -382,5 +381,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/eeocs/types/__init__.py b/src/merge/resources/ats/resources/eeocs/types/__init__.py index 86206368..0597c3ff 100644 --- a/src/merge/resources/ats/resources/eeocs/types/__init__.py +++ b/src/merge/resources/ats/resources/eeocs/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .eeocs_list_request_remote_fields import EeocsListRequestRemoteFields from .eeocs_list_request_show_enum_origins import EeocsListRequestShowEnumOrigins from .eeocs_retrieve_request_remote_fields import EeocsRetrieveRequestRemoteFields diff --git a/src/merge/resources/ats/resources/field_mapping/__init__.py b/src/merge/resources/ats/resources/field_mapping/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ats/resources/field_mapping/__init__.py +++ b/src/merge/resources/ats/resources/field_mapping/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ats/resources/field_mapping/client.py b/src/merge/resources/ats/resources/field_mapping/client.py index 15e8618e..aa2a3ffe 100644 --- a/src/merge/resources/ats/resources/field_mapping/client.py +++ b/src/merge/resources/ats/resources/field_mapping/client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawFieldMappingClient + +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 ...types.external_target_field_api_response import ExternalTargetFieldApiResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawFieldMappingClient +from .raw_client import AsyncRawFieldMappingClient, RawFieldMappingClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -62,10 +61,10 @@ def field_mappings_retrieve( ) client.ats.field_mapping.field_mappings_retrieve() """ - response = self._raw_client.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 + return _response.data def field_mappings_create( self, @@ -130,7 +129,7 @@ def field_mappings_create( common_model_name="ExampleCommonModel", ) """ - response = self._raw_client.field_mappings_create( + _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, @@ -140,7 +139,7 @@ def field_mappings_create( exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options, ) - return response.data + return _response.data def field_mappings_destroy( self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -172,8 +171,8 @@ def 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 + _response = self._raw_client.field_mappings_destroy(field_mapping_id, request_options=request_options) + return _response.data def field_mappings_partial_update( self, @@ -220,14 +219,14 @@ def field_mappings_partial_update( field_mapping_id="field_mapping_id", ) """ - response = self._raw_client.field_mappings_partial_update( + _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 + return _response.data def remote_fields_retrieve( self, @@ -265,10 +264,10 @@ def remote_fields_retrieve( ) client.ats.field_mapping.remote_fields_retrieve() """ - response = self._raw_client.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 + return _response.data def target_fields_retrieve( self, *, request_options: typing.Optional[RequestOptions] = None @@ -296,8 +295,8 @@ def target_fields_retrieve( ) client.ats.field_mapping.target_fields_retrieve() """ - response = self._raw_client.target_fields_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.target_fields_retrieve(request_options=request_options) + return _response.data class AsyncFieldMappingClient: @@ -355,10 +354,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.field_mappings_retrieve( + _response = await self._raw_client.field_mappings_retrieve( exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options ) - return response.data + return _response.data async def field_mappings_create( self, @@ -431,7 +430,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.field_mappings_create( + _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, @@ -441,7 +440,7 @@ async def main() -> None: exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options, ) - return response.data + return _response.data async def field_mappings_destroy( self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -481,8 +480,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.field_mappings_destroy(field_mapping_id, request_options=request_options) - return response.data + _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, @@ -537,14 +536,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.field_mappings_partial_update( + _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 + return _response.data async def remote_fields_retrieve( self, @@ -590,10 +589,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.remote_fields_retrieve( + _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 + return _response.data async def target_fields_retrieve( self, *, request_options: typing.Optional[RequestOptions] = None @@ -629,5 +628,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.target_fields_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.target_fields_retrieve(request_options=request_options) + return _response.data 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 1c5093ea..df161ca0 100644 --- a/src/merge/resources/ats/resources/field_mapping/raw_client.py +++ b/src/merge/resources/ats/resources/field_mapping/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.field_mapping_api_instance_response import FieldMappingApiInstanceResponse -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.field_mapping_instance_response import FieldMappingInstanceResponse +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder -from ...types.remote_field_api_response import RemoteFieldApiResponse +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type from ...types.external_target_field_api_response import ExternalTargetFieldApiResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -65,8 +64,8 @@ def field_mappings_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -146,8 +145,8 @@ def field_mappings_create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -184,8 +183,8 @@ def field_mappings_destroy( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -246,8 +245,8 @@ def field_mappings_partial_update( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -296,8 +295,8 @@ def remote_fields_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -332,8 +331,8 @@ def target_fields_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -382,8 +381,8 @@ async def field_mappings_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -463,8 +462,8 @@ async def field_mappings_create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -501,8 +500,8 @@ async def field_mappings_destroy( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -563,8 +562,8 @@ async def field_mappings_partial_update( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -613,8 +612,8 @@ async def remote_fields_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -649,5 +648,5 @@ async def target_fields_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/force_resync/__init__.py b/src/merge/resources/ats/resources/force_resync/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ats/resources/force_resync/__init__.py +++ b/src/merge/resources/ats/resources/force_resync/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ats/resources/force_resync/client.py b/src/merge/resources/ats/resources/force_resync/client.py index af2e640a..8213df1d 100644 --- a/src/merge/resources/ats/resources/force_resync/client.py +++ b/src/merge/resources/ats/resources/force_resync/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawForceResyncClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.sync_status import SyncStatus -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawForceResyncClient +from .raw_client import AsyncRawForceResyncClient, RawForceResyncClient class ForceResyncClient: @@ -50,8 +49,8 @@ def sync_status_resync_create( ) client.ats.force_resync.sync_status_resync_create() """ - response = self._raw_client.sync_status_resync_create(request_options=request_options) - return response.data + _response = self._raw_client.sync_status_resync_create(request_options=request_options) + return _response.data class AsyncForceResyncClient: @@ -103,5 +102,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.sync_status_resync_create(request_options=request_options) - return response.data + _response = await self._raw_client.sync_status_resync_create(request_options=request_options) + return _response.data diff --git a/src/merge/resources/ats/resources/force_resync/raw_client.py b/src/merge/resources/ats/resources/force_resync/raw_client.py index ae9cb5fb..49601e04 100644 --- a/src/merge/resources/ats/resources/force_resync/raw_client.py +++ b/src/merge/resources/ats/resources/force_resync/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.sync_status import SyncStatus -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -49,8 +48,8 @@ def sync_status_resync_create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -90,5 +89,5 @@ async def sync_status_resync_create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/generate_key/__init__.py b/src/merge/resources/ats/resources/generate_key/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ats/resources/generate_key/__init__.py +++ b/src/merge/resources/ats/resources/generate_key/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ats/resources/generate_key/client.py b/src/merge/resources/ats/resources/generate_key/client.py index 41ba6a69..93955743 100644 --- a/src/merge/resources/ats/resources/generate_key/client.py +++ b/src/merge/resources/ats/resources/generate_key/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawGenerateKeyClient + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.remote_key import RemoteKey -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawGenerateKeyClient +from .raw_client import AsyncRawGenerateKeyClient, RawGenerateKeyClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -56,8 +55,8 @@ def create(self, *, name: str, request_options: typing.Optional[RequestOptions] name="Remote Deployment Key 1", ) """ - response = self._raw_client.create(name=name, request_options=request_options) - return response.data + _response = self._raw_client.create(name=name, request_options=request_options) + return _response.data class AsyncGenerateKeyClient: @@ -112,5 +111,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create(name=name, request_options=request_options) - return response.data + _response = await self._raw_client.create(name=name, request_options=request_options) + return _response.data diff --git a/src/merge/resources/ats/resources/generate_key/raw_client.py b/src/merge/resources/ats/resources/generate_key/raw_client.py index 72a3e99c..91614905 100644 --- a/src/merge/resources/ats/resources/generate_key/raw_client.py +++ b/src/merge/resources/ats/resources/generate_key/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.remote_key import RemoteKey -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -60,8 +59,8 @@ def create(self, *, name: str, request_options: typing.Optional[RequestOptions] return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -111,5 +110,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/interviews/__init__.py b/src/merge/resources/ats/resources/interviews/__init__.py index 5ed1b82c..2f677fd2 100644 --- a/src/merge/resources/ats/resources/interviews/__init__.py +++ b/src/merge/resources/ats/resources/interviews/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import InterviewsListRequestExpand, InterviewsRetrieveRequestExpand __all__ = ["InterviewsListRequestExpand", "InterviewsRetrieveRequestExpand"] diff --git a/src/merge/resources/ats/resources/interviews/client.py b/src/merge/resources/ats/resources/interviews/client.py index f5b15a85..9330c06e 100644 --- a/src/merge/resources/ats/resources/interviews/client.py +++ b/src/merge/resources/ats/resources/interviews/client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawInterviewsClient import datetime as dt -from .types.interviews_list_request_expand import InterviewsListRequestExpand +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions +from ...types.meta_response import MetaResponse from ...types.paginated_scheduled_interview_list import PaginatedScheduledInterviewList +from ...types.scheduled_interview import ScheduledInterview 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.scheduled_interview import ScheduledInterview -from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawInterviewsClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -130,7 +129,7 @@ def list( ) client.ats.interviews.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( application_id=application_id, created_after=created_after, created_before=created_before, @@ -150,7 +149,7 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -198,14 +197,14 @@ def create( remote_user_id="remote_user_id", ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, remote_user_id=remote_user_id, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -260,7 +259,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -269,7 +268,7 @@ def retrieve( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -295,8 +294,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.ats.interviews.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data class AsyncInterviewsClient: @@ -418,7 +417,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( application_id=application_id, created_after=created_after, created_before=created_before, @@ -438,7 +437,7 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -494,14 +493,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _response = await self._raw_client.create( model=model, remote_user_id=remote_user_id, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -564,7 +563,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -573,7 +572,7 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -607,5 +606,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data diff --git a/src/merge/resources/ats/resources/interviews/raw_client.py b/src/merge/resources/ats/resources/interviews/raw_client.py index 6d3fd1c4..92c42e5e 100644 --- a/src/merge/resources/ats/resources/interviews/raw_client.py +++ b/src/merge/resources/ats/resources/interviews/raw_client.py @@ -1,24 +1,23 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .types.interviews_list_request_expand import InterviewsListRequestExpand -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_scheduled_interview_list import PaginatedScheduledInterviewList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +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.meta_response import MetaResponse +from ...types.paginated_scheduled_interview_list import PaginatedScheduledInterviewList +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.scheduled_interview import ScheduledInterview -from .....core.jsonable_encoder import jsonable_encoder -from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -150,8 +149,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -214,8 +213,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -282,8 +281,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -318,8 +317,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawInterviewsClient: @@ -448,8 +447,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -512,8 +511,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -580,8 +579,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -616,5 +615,5 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/interviews/types/__init__.py b/src/merge/resources/ats/resources/interviews/types/__init__.py index a4964147..c2524626 100644 --- a/src/merge/resources/ats/resources/interviews/types/__init__.py +++ b/src/merge/resources/ats/resources/interviews/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .interviews_list_request_expand import InterviewsListRequestExpand from .interviews_retrieve_request_expand import InterviewsRetrieveRequestExpand diff --git a/src/merge/resources/ats/resources/issues/__init__.py b/src/merge/resources/ats/resources/issues/__init__.py index ab74e304..bb7feb68 100644 --- a/src/merge/resources/ats/resources/issues/__init__.py +++ b/src/merge/resources/ats/resources/issues/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import IssuesListRequestStatus __all__ = ["IssuesListRequestStatus"] diff --git a/src/merge/resources/ats/resources/issues/client.py b/src/merge/resources/ats/resources/issues/client.py index cbc74bbc..07cdb53b 100644 --- a/src/merge/resources/ats/resources/issues/client.py +++ b/src/merge/resources/ats/resources/issues/client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawIssuesClient -import typing import datetime as dt -from .types.issues_list_request_status import IssuesListRequestStatus +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_issue_list import PaginatedIssueList from ...types.issue import Issue -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawIssuesClient +from ...types.paginated_issue_list import PaginatedIssueList +from .raw_client import AsyncRawIssuesClient, RawIssuesClient +from .types.issues_list_request_status import IssuesListRequestStatus class IssuesClient: @@ -111,7 +110,7 @@ def list( ) client.ats.issues.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -128,7 +127,7 @@ def list( status=status, request_options=request_options, ) - return response.data + return _response.data def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ @@ -158,8 +157,8 @@ def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] id="id", ) """ - response = self._raw_client.retrieve(id, request_options=request_options) - return response.data + _response = self._raw_client.retrieve(id, request_options=request_options) + return _response.data class AsyncIssuesClient: @@ -269,7 +268,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -286,7 +285,7 @@ async def main() -> None: status=status, request_options=request_options, ) - return response.data + return _response.data async def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ @@ -324,5 +323,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(id, request_options=request_options) - return response.data + _response = await self._raw_client.retrieve(id, request_options=request_options) + return _response.data diff --git a/src/merge/resources/ats/resources/issues/raw_client.py b/src/merge/resources/ats/resources/issues/raw_client.py index 504b5c38..00602bce 100644 --- a/src/merge/resources/ats/resources/issues/raw_client.py +++ b/src/merge/resources/ats/resources/issues/raw_client.py @@ -1,20 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .types.issues_list_request_status import IssuesListRequestStatus -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_issue_list import PaginatedIssueList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.issue import Issue +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -136,8 +135,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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]: """ @@ -172,8 +171,8 @@ def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -295,8 +294,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -333,5 +332,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/issues/types/__init__.py b/src/merge/resources/ats/resources/issues/types/__init__.py index 660c5d2a..06333662 100644 --- a/src/merge/resources/ats/resources/issues/types/__init__.py +++ b/src/merge/resources/ats/resources/issues/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .issues_list_request_status import IssuesListRequestStatus __all__ = ["IssuesListRequestStatus"] 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 f3ea2659..5cde0202 100644 --- a/src/merge/resources/ats/resources/job_interview_stages/__init__.py +++ b/src/merge/resources/ats/resources/job_interview_stages/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + 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 54a9f3ef..1133af8e 100644 --- a/src/merge/resources/ats/resources/job_interview_stages/client.py +++ b/src/merge/resources/ats/resources/job_interview_stages/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawJobInterviewStagesClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_job_interview_stage_list import PaginatedJobInterviewStageList from ...types.job_interview_stage import JobInterviewStage -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawJobInterviewStagesClient +from ...types.paginated_job_interview_stage_list import PaginatedJobInterviewStageList +from .raw_client import AsyncRawJobInterviewStagesClient, RawJobInterviewStagesClient class JobInterviewStagesClient: @@ -102,7 +101,7 @@ def list( ) client.ats.job_interview_stages.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -117,7 +116,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -164,14 +163,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncJobInterviewStagesClient: @@ -273,7 +272,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -288,7 +287,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -343,11 +342,11 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data 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 e5cd670a..8d2bd2da 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 @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_job_interview_stage_list import PaginatedJobInterviewStageList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.job_interview_stage import JobInterviewStage +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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 class RawJobInterviewStagesClient: @@ -117,8 +116,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -175,8 +174,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawJobInterviewStagesClient: @@ -280,8 +279,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -338,5 +337,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/job_postings/__init__.py b/src/merge/resources/ats/resources/job_postings/__init__.py index d2e41380..944101ca 100644 --- a/src/merge/resources/ats/resources/job_postings/__init__.py +++ b/src/merge/resources/ats/resources/job_postings/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import JobPostingsListRequestStatus __all__ = ["JobPostingsListRequestStatus"] diff --git a/src/merge/resources/ats/resources/job_postings/client.py b/src/merge/resources/ats/resources/job_postings/client.py index a83f7ecc..eec24b7e 100644 --- a/src/merge/resources/ats/resources/job_postings/client.py +++ b/src/merge/resources/ats/resources/job_postings/client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawJobPostingsClient -import typing import datetime as dt -from .types.job_postings_list_request_status import JobPostingsListRequestStatus +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_job_posting_list import PaginatedJobPostingList from ...types.job_posting import JobPosting -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawJobPostingsClient +from ...types.paginated_job_posting_list import PaginatedJobPostingList +from .raw_client import AsyncRawJobPostingsClient, RawJobPostingsClient +from .types.job_postings_list_request_status import JobPostingsListRequestStatus class JobPostingsClient: @@ -109,7 +108,7 @@ def list( ) client.ats.job_postings.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -124,7 +123,7 @@ def list( status=status, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -171,14 +170,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncJobPostingsClient: @@ -286,7 +285,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -301,7 +300,7 @@ async def main() -> None: status=status, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -356,11 +355,11 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data 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 8cec2ae6..93e9742a 100644 --- a/src/merge/resources/ats/resources/job_postings/raw_client.py +++ b/src/merge/resources/ats/resources/job_postings/raw_client.py @@ -1,20 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .types.job_postings_list_request_status import JobPostingsListRequestStatus -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_job_posting_list import PaginatedJobPostingList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.job_posting import JobPosting +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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_status import JobPostingsListRequestStatus class RawJobPostingsClient: @@ -124,8 +123,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -182,8 +181,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawJobPostingsClient: @@ -293,8 +292,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -351,5 +350,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/job_postings/types/__init__.py b/src/merge/resources/ats/resources/job_postings/types/__init__.py index 4d5c3961..48726fd4 100644 --- a/src/merge/resources/ats/resources/job_postings/types/__init__.py +++ b/src/merge/resources/ats/resources/job_postings/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .job_postings_list_request_status import JobPostingsListRequestStatus __all__ = ["JobPostingsListRequestStatus"] diff --git a/src/merge/resources/ats/resources/jobs/__init__.py b/src/merge/resources/ats/resources/jobs/__init__.py index 7ee2a095..3ad007b2 100644 --- a/src/merge/resources/ats/resources/jobs/__init__.py +++ b/src/merge/resources/ats/resources/jobs/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import ( JobsListRequestExpand, JobsListRequestStatus, diff --git a/src/merge/resources/ats/resources/jobs/client.py b/src/merge/resources/ats/resources/jobs/client.py index d72a2736..73d353e0 100644 --- a/src/merge/resources/ats/resources/jobs/client.py +++ b/src/merge/resources/ats/resources/jobs/client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawJobsClient -import typing import datetime as dt -from .types.jobs_list_request_expand import JobsListRequestExpand -from .types.jobs_list_request_status import JobsListRequestStatus +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper 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 .raw_client import AsyncRawJobsClient, RawJobsClient +from .types.jobs_list_request_expand import JobsListRequestExpand +from .types.jobs_list_request_status import JobsListRequestStatus from .types.jobs_retrieve_request_expand import JobsRetrieveRequestExpand -from ...types.job import Job from .types.jobs_screening_questions_list_request_expand import JobsScreeningQuestionsListRequestExpand -from ...types.paginated_screening_question_list import PaginatedScreeningQuestionList -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawJobsClient class JobsClient: @@ -129,7 +128,7 @@ def list( ) client.ats.jobs.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( code=code, created_after=created_after, created_before=created_before, @@ -148,7 +147,7 @@ def list( status=status, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -203,7 +202,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -212,7 +211,7 @@ def retrieve( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data def screening_questions_list( self, @@ -271,7 +270,7 @@ def screening_questions_list( job_id="job_id", ) """ - response = self._raw_client.screening_questions_list( + _response = self._raw_client.screening_questions_list( job_id, cursor=cursor, expand=expand, @@ -281,7 +280,7 @@ def screening_questions_list( page_size=page_size, request_options=request_options, ) - return response.data + return _response.data class AsyncJobsClient: @@ -405,7 +404,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( code=code, created_after=created_after, created_before=created_before, @@ -424,7 +423,7 @@ async def main() -> None: status=status, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -487,7 +486,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -496,7 +495,7 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data async def screening_questions_list( self, @@ -563,7 +562,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.screening_questions_list( + _response = await self._raw_client.screening_questions_list( job_id, cursor=cursor, expand=expand, @@ -573,4 +572,4 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return response.data + 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 3a74d70d..2bfca594 100644 --- a/src/merge/resources/ats/resources/jobs/raw_client.py +++ b/src/merge/resources/ats/resources/jobs/raw_client.py @@ -1,24 +1,23 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .types.jobs_list_request_expand import JobsListRequestExpand -from .types.jobs_list_request_status import JobsListRequestStatus -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_job_list import PaginatedJobList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .types.jobs_retrieve_request_expand import JobsRetrieveRequestExpand -from ...types.job import Job +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 .types.jobs_screening_questions_list_request_expand import JobsScreeningQuestionsListRequestExpand +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 .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from .types.jobs_list_request_expand import JobsListRequestExpand +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 class RawJobsClient: @@ -148,8 +147,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -216,8 +215,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 screening_questions_list( self, @@ -289,8 +288,8 @@ def screening_questions_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawJobsClient: @@ -420,8 +419,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -488,8 +487,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 screening_questions_list( self, @@ -561,5 +560,5 @@ async def screening_questions_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/jobs/types/__init__.py b/src/merge/resources/ats/resources/jobs/types/__init__.py index 3c4a5dd5..03fa59f6 100644 --- a/src/merge/resources/ats/resources/jobs/types/__init__.py +++ b/src/merge/resources/ats/resources/jobs/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .jobs_list_request_expand import JobsListRequestExpand from .jobs_list_request_status import JobsListRequestStatus from .jobs_retrieve_request_expand import JobsRetrieveRequestExpand diff --git a/src/merge/resources/ats/resources/link_token/__init__.py b/src/merge/resources/ats/resources/link_token/__init__.py index f3ea2659..a640c12b 100644 --- a/src/merge/resources/ats/resources/link_token/__init__.py +++ b/src/merge/resources/ats/resources/link_token/__init__.py @@ -1,2 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + +from .types import EndUserDetailsRequestLanguage + +__all__ = ["EndUserDetailsRequestLanguage"] diff --git a/src/merge/resources/ats/resources/link_token/client.py b/src/merge/resources/ats/resources/link_token/client.py index 5a414cd3..63de9768 100644 --- a/src/merge/resources/ats/resources/link_token/client.py +++ b/src/merge/resources/ats/resources/link_token/client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawLinkTokenClient + +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 .....core.request_options import RequestOptions from ...types.link_token import LinkToken -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawLinkTokenClient +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, ...) @@ -46,7 +45,7 @@ def create( category_common_model_scopes: typing.Optional[ typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] ] = OMIT, - language: typing.Optional[LanguageEnum] = 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, request_options: typing.Optional[RequestOptions] = None, @@ -86,7 +85,7 @@ def 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. - language : typing.Optional[LanguageEnum] + language : typing.Optional[EndUserDetailsRequestLanguage] The following subset of IETF language tags can be used to configure localization. * `en` - en @@ -122,7 +121,7 @@ def create( categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], ) """ - response = self._raw_client.create( + _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, @@ -138,7 +137,7 @@ def create( integration_specific_config=integration_specific_config, request_options=request_options, ) - return response.data + return _response.data class AsyncLinkTokenClient: @@ -171,7 +170,7 @@ async def create( category_common_model_scopes: typing.Optional[ typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] ] = OMIT, - language: typing.Optional[LanguageEnum] = 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, request_options: typing.Optional[RequestOptions] = None, @@ -211,7 +210,7 @@ async def 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. - language : typing.Optional[LanguageEnum] + language : typing.Optional[EndUserDetailsRequestLanguage] The following subset of IETF language tags can be used to configure localization. * `en` - en @@ -255,7 +254,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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, @@ -271,4 +270,4 @@ async def main() -> None: integration_specific_config=integration_specific_config, request_options=request_options, ) - return response.data + return _response.data 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 be8f8438..8051f896 100644 --- a/src/merge/resources/ats/resources/link_token/raw_client.py +++ b/src/merge/resources/ats/resources/link_token/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper +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 .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse from ...types.link_token import LinkToken -from .....core.unchecked_base_model import construct_type -from json.decoder import JSONDecodeError -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from .types.end_user_details_request_language import EndUserDetailsRequestLanguage # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -38,7 +37,7 @@ def create( category_common_model_scopes: typing.Optional[ typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] ] = OMIT, - language: typing.Optional[LanguageEnum] = 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, request_options: typing.Optional[RequestOptions] = None, @@ -78,7 +77,7 @@ def 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. - language : typing.Optional[LanguageEnum] + language : typing.Optional[EndUserDetailsRequestLanguage] The following subset of IETF language tags can be used to configure localization. * `en` - en @@ -134,8 +133,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -157,7 +156,7 @@ async def create( category_common_model_scopes: typing.Optional[ typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] ] = OMIT, - language: typing.Optional[LanguageEnum] = 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, request_options: typing.Optional[RequestOptions] = None, @@ -197,7 +196,7 @@ async def 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. - language : typing.Optional[LanguageEnum] + language : typing.Optional[EndUserDetailsRequestLanguage] The following subset of IETF language tags can be used to configure localization. * `en` - en @@ -253,5 +252,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/link_token/types/__init__.py b/src/merge/resources/ats/resources/link_token/types/__init__.py new file mode 100644 index 00000000..fa266f8e --- /dev/null +++ b/src/merge/resources/ats/resources/link_token/types/__init__.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +from .end_user_details_request_language import EndUserDetailsRequestLanguage + +__all__ = ["EndUserDetailsRequestLanguage"] diff --git a/src/merge/resources/ats/resources/link_token/types/end_user_details_request_language.py b/src/merge/resources/ats/resources/link_token/types/end_user_details_request_language.py new file mode 100644 index 00000000..65c4b44a --- /dev/null +++ b/src/merge/resources/ats/resources/link_token/types/end_user_details_request_language.py @@ -0,0 +1,7 @@ +# 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/ats/resources/linked_accounts/__init__.py b/src/merge/resources/ats/resources/linked_accounts/__init__.py index 70377fa3..e7254ec5 100644 --- a/src/merge/resources/ats/resources/linked_accounts/__init__.py +++ b/src/merge/resources/ats/resources/linked_accounts/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import LinkedAccountsListRequestCategory __all__ = ["LinkedAccountsListRequestCategory"] diff --git a/src/merge/resources/ats/resources/linked_accounts/client.py b/src/merge/resources/ats/resources/linked_accounts/client.py index d6c02d29..cd72d270 100644 --- a/src/merge/resources/ats/resources/linked_accounts/client.py +++ b/src/merge/resources/ats/resources/linked_accounts/client.py @@ -1,13 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawLinkedAccountsClient import typing -from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawLinkedAccountsClient +from .raw_client import AsyncRawLinkedAccountsClient, RawLinkedAccountsClient +from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory class LinkedAccountsClient: @@ -112,7 +111,7 @@ def list( ) client.ats.linked_accounts.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -128,7 +127,7 @@ def list( status=status, request_options=request_options, ) - return response.data + return _response.data class AsyncLinkedAccountsClient: @@ -241,7 +240,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -257,4 +256,4 @@ async def main() -> None: status=status, request_options=request_options, ) - return response.data + 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 0f883c31..ff1e240c 100644 --- a/src/merge/resources/ats/resources/linked_accounts/raw_client.py +++ b/src/merge/resources/ats/resources/linked_accounts/raw_client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -126,8 +125,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -243,5 +242,5 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/linked_accounts/types/__init__.py b/src/merge/resources/ats/resources/linked_accounts/types/__init__.py index 9ff5c0ae..88354602 100644 --- a/src/merge/resources/ats/resources/linked_accounts/types/__init__.py +++ b/src/merge/resources/ats/resources/linked_accounts/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .linked_accounts_list_request_category import LinkedAccountsListRequestCategory __all__ = ["LinkedAccountsListRequestCategory"] diff --git a/src/merge/resources/ats/resources/offers/__init__.py b/src/merge/resources/ats/resources/offers/__init__.py index 170e2917..79ea511d 100644 --- a/src/merge/resources/ats/resources/offers/__init__.py +++ b/src/merge/resources/ats/resources/offers/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import OffersListRequestExpand, OffersRetrieveRequestExpand __all__ = ["OffersListRequestExpand", "OffersRetrieveRequestExpand"] diff --git a/src/merge/resources/ats/resources/offers/client.py b/src/merge/resources/ats/resources/offers/client.py index 09f9acf0..910b32ad 100644 --- a/src/merge/resources/ats/resources/offers/client.py +++ b/src/merge/resources/ats/resources/offers/client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawOffersClient -import typing import datetime as dt -from .types.offers_list_request_expand import OffersListRequestExpand +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper 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.offer import Offer -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawOffersClient class OffersClient: @@ -116,7 +115,7 @@ def list( ) client.ats.offers.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( application_id=application_id, created_after=created_after, created_before=created_before, @@ -134,7 +133,7 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -189,7 +188,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -198,7 +197,7 @@ def retrieve( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data class AsyncOffersClient: @@ -312,7 +311,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( application_id=application_id, created_after=created_after, created_before=created_before, @@ -330,7 +329,7 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -393,7 +392,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -402,4 +401,4 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data diff --git a/src/merge/resources/ats/resources/offers/raw_client.py b/src/merge/resources/ats/resources/offers/raw_client.py index 643688ef..dceccd3d 100644 --- a/src/merge/resources/ats/resources/offers/raw_client.py +++ b/src/merge/resources/ats/resources/offers/raw_client.py @@ -1,21 +1,20 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .types.offers_list_request_expand import OffersListRequestExpand -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_offer_list import PaginatedOfferList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .types.offers_retrieve_request_expand import OffersRetrieveRequestExpand -from ...types.offer import Offer +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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 class RawOffersClient: @@ -134,8 +133,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -202,8 +201,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawOffersClient: @@ -322,8 +321,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -390,5 +389,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/offers/types/__init__.py b/src/merge/resources/ats/resources/offers/types/__init__.py index 01564710..b16d7929 100644 --- a/src/merge/resources/ats/resources/offers/types/__init__.py +++ b/src/merge/resources/ats/resources/offers/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .offers_list_request_expand import OffersListRequestExpand from .offers_retrieve_request_expand import OffersRetrieveRequestExpand diff --git a/src/merge/resources/ats/resources/offices/__init__.py b/src/merge/resources/ats/resources/offices/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ats/resources/offices/__init__.py +++ b/src/merge/resources/ats/resources/offices/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ats/resources/offices/client.py b/src/merge/resources/ats/resources/offices/client.py index f7f0a2f2..323998d6 100644 --- a/src/merge/resources/ats/resources/offices/client.py +++ b/src/merge/resources/ats/resources/offices/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawOfficesClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_office_list import PaginatedOfficeList from ...types.office import Office -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawOfficesClient +from ...types.paginated_office_list import PaginatedOfficeList +from .raw_client import AsyncRawOfficesClient, RawOfficesClient class OfficesClient: @@ -94,7 +93,7 @@ def list( ) client.ats.offices.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -107,7 +106,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -150,13 +149,13 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncOfficesClient: @@ -250,7 +249,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -263,7 +262,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -314,10 +313,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data diff --git a/src/merge/resources/ats/resources/offices/raw_client.py b/src/merge/resources/ats/resources/offices/raw_client.py index ece8e756..826a5f60 100644 --- a/src/merge/resources/ats/resources/offices/raw_client.py +++ b/src/merge/resources/ats/resources/offices/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_office_list import PaginatedOfficeList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.office import Office +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type +from ...types.office import Office +from ...types.paginated_office_list import PaginatedOfficeList class RawOfficesClient: @@ -107,8 +106,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -160,8 +159,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawOfficesClient: @@ -255,8 +254,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -308,5 +307,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/passthrough/__init__.py b/src/merge/resources/ats/resources/passthrough/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ats/resources/passthrough/__init__.py +++ b/src/merge/resources/ats/resources/passthrough/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ats/resources/passthrough/client.py b/src/merge/resources/ats/resources/passthrough/client.py index ef0d862a..f7a23fcc 100644 --- a/src/merge/resources/ats/resources/passthrough/client.py +++ b/src/merge/resources/ats/resources/passthrough/client.py @@ -1,13 +1,12 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawPassthroughClient -from ...types.data_passthrough_request import DataPassthroughRequest + +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 .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawPassthroughClient +from .raw_client import AsyncRawPassthroughClient, RawPassthroughClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -62,8 +61,8 @@ def create( ), ) """ - response = self._raw_client.create(request=request, request_options=request_options) - return response.data + _response = self._raw_client.create(request=request, request_options=request_options) + return _response.data class AsyncPassthroughClient: @@ -123,5 +122,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create(request=request, request_options=request_options) - return response.data + _response = await self._raw_client.create(request=request, request_options=request_options) + return _response.data diff --git a/src/merge/resources/ats/resources/passthrough/raw_client.py b/src/merge/resources/ats/resources/passthrough/raw_client.py index d415fdfa..610aae4f 100644 --- a/src/merge/resources/ats/resources/passthrough/raw_client.py +++ b/src/merge/resources/ats/resources/passthrough/raw_client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from ...types.data_passthrough_request import DataPassthroughRequest -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.remote_response import RemoteResponse -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -42,6 +41,9 @@ def create( "ats/v1/passthrough", method="POST", json=request, + headers={ + "content-type": "application/json", + }, request_options=request_options, omit=OMIT, ) @@ -57,8 +59,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -87,6 +89,9 @@ async def create( "ats/v1/passthrough", method="POST", json=request, + headers={ + "content-type": "application/json", + }, request_options=request_options, omit=OMIT, ) @@ -102,5 +107,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/regenerate_key/__init__.py b/src/merge/resources/ats/resources/regenerate_key/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ats/resources/regenerate_key/__init__.py +++ b/src/merge/resources/ats/resources/regenerate_key/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ats/resources/regenerate_key/client.py b/src/merge/resources/ats/resources/regenerate_key/client.py index 56ac0de9..0caa9f4d 100644 --- a/src/merge/resources/ats/resources/regenerate_key/client.py +++ b/src/merge/resources/ats/resources/regenerate_key/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawRegenerateKeyClient + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.remote_key import RemoteKey -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawRegenerateKeyClient +from .raw_client import AsyncRawRegenerateKeyClient, RawRegenerateKeyClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -56,8 +55,8 @@ def create(self, *, name: str, request_options: typing.Optional[RequestOptions] name="Remote Deployment Key 1", ) """ - response = self._raw_client.create(name=name, request_options=request_options) - return response.data + _response = self._raw_client.create(name=name, request_options=request_options) + return _response.data class AsyncRegenerateKeyClient: @@ -112,5 +111,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create(name=name, request_options=request_options) - return response.data + _response = await self._raw_client.create(name=name, request_options=request_options) + return _response.data diff --git a/src/merge/resources/ats/resources/regenerate_key/raw_client.py b/src/merge/resources/ats/resources/regenerate_key/raw_client.py index ecde710b..7c563aa6 100644 --- a/src/merge/resources/ats/resources/regenerate_key/raw_client.py +++ b/src/merge/resources/ats/resources/regenerate_key/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.remote_key import RemoteKey -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -60,8 +59,8 @@ def create(self, *, name: str, request_options: typing.Optional[RequestOptions] return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -111,5 +110,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/reject_reasons/__init__.py b/src/merge/resources/ats/resources/reject_reasons/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ats/resources/reject_reasons/__init__.py +++ b/src/merge/resources/ats/resources/reject_reasons/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ats/resources/reject_reasons/client.py b/src/merge/resources/ats/resources/reject_reasons/client.py index ad330354..36cf953e 100644 --- a/src/merge/resources/ats/resources/reject_reasons/client.py +++ b/src/merge/resources/ats/resources/reject_reasons/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawRejectReasonsClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.paginated_reject_reason_list import PaginatedRejectReasonList from ...types.reject_reason import RejectReason -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawRejectReasonsClient +from .raw_client import AsyncRawRejectReasonsClient, RawRejectReasonsClient class RejectReasonsClient: @@ -94,7 +93,7 @@ def list( ) client.ats.reject_reasons.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -107,7 +106,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -150,13 +149,13 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncRejectReasonsClient: @@ -250,7 +249,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -263,7 +262,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -314,10 +313,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data 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 2d60480c..b7951868 100644 --- a/src/merge/resources/ats/resources/reject_reasons/raw_client.py +++ b/src/merge/resources/ats/resources/reject_reasons/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_reject_reason_list import PaginatedRejectReasonList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.reject_reason import RejectReason +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type +from ...types.paginated_reject_reason_list import PaginatedRejectReasonList +from ...types.reject_reason import RejectReason class RawRejectReasonsClient: @@ -107,8 +106,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -160,8 +159,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawRejectReasonsClient: @@ -255,8 +254,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -308,5 +307,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/scopes/__init__.py b/src/merge/resources/ats/resources/scopes/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ats/resources/scopes/__init__.py +++ b/src/merge/resources/ats/resources/scopes/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ats/resources/scopes/client.py b/src/merge/resources/ats/resources/scopes/client.py index bbc257b3..705e23c9 100644 --- a/src/merge/resources/ats/resources/scopes/client.py +++ b/src/merge/resources/ats/resources/scopes/client.py @@ -1,13 +1,12 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawScopesClient + +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 .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawScopesClient +from .raw_client import AsyncRawScopesClient, RawScopesClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -54,8 +53,8 @@ def default_scopes_retrieve( ) client.ats.scopes.default_scopes_retrieve() """ - response = self._raw_client.default_scopes_retrieve(request_options=request_options) - return response.data + _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 @@ -83,8 +82,8 @@ def linked_account_scopes_retrieve( ) client.ats.scopes.linked_account_scopes_retrieve() """ - response = self._raw_client.linked_account_scopes_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.linked_account_scopes_retrieve(request_options=request_options) + return _response.data def linked_account_scopes_create( self, @@ -149,10 +148,10 @@ def linked_account_scopes_create( ], ) """ - response = self._raw_client.linked_account_scopes_create( + _response = self._raw_client.linked_account_scopes_create( common_models=common_models, request_options=request_options ) - return response.data + return _response.data class AsyncScopesClient: @@ -204,8 +203,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.default_scopes_retrieve(request_options=request_options) - return response.data + _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 @@ -241,8 +240,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.linked_account_scopes_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.linked_account_scopes_retrieve(request_options=request_options) + return _response.data async def linked_account_scopes_create( self, @@ -315,7 +314,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.linked_account_scopes_create( + _response = await self._raw_client.linked_account_scopes_create( common_models=common_models, request_options=request_options ) - return response.data + return _response.data diff --git a/src/merge/resources/ats/resources/scopes/raw_client.py b/src/merge/resources/ats/resources/scopes/raw_client.py index 64368ec2..498b5489 100644 --- a/src/merge/resources/ats/resources/scopes/raw_client.py +++ b/src/merge/resources/ats/resources/scopes/raw_client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.common_model_scope_api import CommonModelScopeApi -from .....core.unchecked_base_model import construct_type 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 -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -53,8 +52,8 @@ def default_scopes_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -89,8 +88,8 @@ def linked_account_scopes_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -138,8 +137,8 @@ def linked_account_scopes_create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -179,8 +178,8 @@ async def default_scopes_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -215,8 +214,8 @@ async def linked_account_scopes_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -264,5 +263,5 @@ async def linked_account_scopes_create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/scorecards/__init__.py b/src/merge/resources/ats/resources/scorecards/__init__.py index 69680812..822a75fa 100644 --- a/src/merge/resources/ats/resources/scorecards/__init__.py +++ b/src/merge/resources/ats/resources/scorecards/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import ScorecardsListRequestExpand, ScorecardsRetrieveRequestExpand __all__ = ["ScorecardsListRequestExpand", "ScorecardsRetrieveRequestExpand"] diff --git a/src/merge/resources/ats/resources/scorecards/client.py b/src/merge/resources/ats/resources/scorecards/client.py index 91944fb3..0df3750e 100644 --- a/src/merge/resources/ats/resources/scorecards/client.py +++ b/src/merge/resources/ats/resources/scorecards/client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawScorecardsClient -import typing import datetime as dt -from .types.scorecards_list_request_expand import ScorecardsListRequestExpand +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.paginated_scorecard_list import PaginatedScorecardList -from .types.scorecards_retrieve_request_expand import ScorecardsRetrieveRequestExpand from ...types.scorecard import Scorecard -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawScorecardsClient +from .raw_client import AsyncRawScorecardsClient, RawScorecardsClient +from .types.scorecards_list_request_expand import ScorecardsListRequestExpand +from .types.scorecards_retrieve_request_expand import ScorecardsRetrieveRequestExpand class ScorecardsClient: @@ -120,7 +119,7 @@ def list( ) client.ats.scorecards.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( application_id=application_id, created_after=created_after, created_before=created_before, @@ -139,7 +138,7 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -194,7 +193,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -203,7 +202,7 @@ def retrieve( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data class AsyncScorecardsClient: @@ -321,7 +320,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( application_id=application_id, created_after=created_after, created_before=created_before, @@ -340,7 +339,7 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -403,7 +402,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -412,4 +411,4 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data diff --git a/src/merge/resources/ats/resources/scorecards/raw_client.py b/src/merge/resources/ats/resources/scorecards/raw_client.py index e30b380a..0bdb8fa2 100644 --- a/src/merge/resources/ats/resources/scorecards/raw_client.py +++ b/src/merge/resources/ats/resources/scorecards/raw_client.py @@ -1,21 +1,20 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .types.scorecards_list_request_expand import ScorecardsListRequestExpand -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_scorecard_list import PaginatedScorecardList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .types.scorecards_retrieve_request_expand import ScorecardsRetrieveRequestExpand -from ...types.scorecard import Scorecard +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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 class RawScorecardsClient: @@ -139,8 +138,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -207,8 +206,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawScorecardsClient: @@ -332,8 +331,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -400,5 +399,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/scorecards/types/__init__.py b/src/merge/resources/ats/resources/scorecards/types/__init__.py index 7e5a2fd4..6e9cb078 100644 --- a/src/merge/resources/ats/resources/scorecards/types/__init__.py +++ b/src/merge/resources/ats/resources/scorecards/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .scorecards_list_request_expand import ScorecardsListRequestExpand from .scorecards_retrieve_request_expand import ScorecardsRetrieveRequestExpand diff --git a/src/merge/resources/ats/resources/sync_status/__init__.py b/src/merge/resources/ats/resources/sync_status/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ats/resources/sync_status/__init__.py +++ b/src/merge/resources/ats/resources/sync_status/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ats/resources/sync_status/client.py b/src/merge/resources/ats/resources/sync_status/client.py index 7a985054..c87a7fcd 100644 --- a/src/merge/resources/ats/resources/sync_status/client.py +++ b/src/merge/resources/ats/resources/sync_status/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawSyncStatusClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.paginated_sync_status_list import PaginatedSyncStatusList -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawSyncStatusClient +from .raw_client import AsyncRawSyncStatusClient, RawSyncStatusClient class SyncStatusClient: @@ -60,8 +59,8 @@ def list( ) client.ats.sync_status.list() """ - response = self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return response.data + _response = self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) + return _response.data class AsyncSyncStatusClient: @@ -123,5 +122,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return response.data + _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/ats/resources/sync_status/raw_client.py b/src/merge/resources/ats/resources/sync_status/raw_client.py index 2dd2c030..857f6dcb 100644 --- a/src/merge/resources/ats/resources/sync_status/raw_client.py +++ b/src/merge/resources/ats/resources/sync_status/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_sync_status_list import PaginatedSyncStatusList -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -63,8 +62,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -118,5 +117,5 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/tags/__init__.py b/src/merge/resources/ats/resources/tags/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ats/resources/tags/__init__.py +++ b/src/merge/resources/ats/resources/tags/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ats/resources/tags/client.py b/src/merge/resources/ats/resources/tags/client.py index df5dfce4..8e447a7d 100644 --- a/src/merge/resources/ats/resources/tags/client.py +++ b/src/merge/resources/ats/resources/tags/client.py @@ -1,13 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawTagsClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.paginated_tag_list import PaginatedTagList -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawTagsClient +from .raw_client import AsyncRawTagsClient, RawTagsClient class TagsClient: @@ -93,7 +92,7 @@ def list( ) client.ats.tags.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -106,7 +105,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data class AsyncTagsClient: @@ -200,7 +199,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -213,4 +212,4 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + 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 66d95323..9137b708 100644 --- a/src/merge/resources/ats/resources/tags/raw_client.py +++ b/src/merge/resources/ats/resources/tags/raw_client.py @@ -1,17 +1,16 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_tag_list import PaginatedTagList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.datetime_utils import serialize_datetime +from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type +from ...types.paginated_tag_list import PaginatedTagList class RawTagsClient: @@ -105,8 +104,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawTagsClient: @@ -200,5 +199,5 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/users/__init__.py b/src/merge/resources/ats/resources/users/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ats/resources/users/__init__.py +++ b/src/merge/resources/ats/resources/users/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ats/resources/users/client.py b/src/merge/resources/ats/resources/users/client.py index 346a688d..b09b7e5b 100644 --- a/src/merge/resources/ats/resources/users/client.py +++ b/src/merge/resources/ats/resources/users/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawUsersClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.paginated_remote_user_list import PaginatedRemoteUserList from ...types.remote_user import RemoteUser -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawUsersClient +from .raw_client import AsyncRawUsersClient, RawUsersClient class UsersClient: @@ -106,7 +105,7 @@ def list( ) client.ats.users.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -122,7 +121,7 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -173,7 +172,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, include_remote_data=include_remote_data, include_shell_data=include_shell_data, @@ -181,7 +180,7 @@ def retrieve( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data class AsyncUsersClient: @@ -287,7 +286,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -303,7 +302,7 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -362,7 +361,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, include_remote_data=include_remote_data, include_shell_data=include_shell_data, @@ -370,4 +369,4 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data diff --git a/src/merge/resources/ats/resources/users/raw_client.py b/src/merge/resources/ats/resources/users/raw_client.py index 5c9e66c2..cadd27a9 100644 --- a/src/merge/resources/ats/resources/users/raw_client.py +++ b/src/merge/resources/ats/resources/users/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_remote_user_list import PaginatedRemoteUserList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.remote_user import RemoteUser +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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 class RawUsersClient: @@ -122,8 +121,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -185,8 +184,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -295,8 +294,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -358,5 +357,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/resources/webhook_receivers/__init__.py b/src/merge/resources/ats/resources/webhook_receivers/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ats/resources/webhook_receivers/__init__.py +++ b/src/merge/resources/ats/resources/webhook_receivers/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ats/resources/webhook_receivers/client.py b/src/merge/resources/ats/resources/webhook_receivers/client.py index 90de3d1e..0dcb5e69 100644 --- a/src/merge/resources/ats/resources/webhook_receivers/client.py +++ b/src/merge/resources/ats/resources/webhook_receivers/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawWebhookReceiversClient + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.webhook_receiver import WebhookReceiver -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawWebhookReceiversClient +from .raw_client import AsyncRawWebhookReceiversClient, RawWebhookReceiversClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -51,8 +50,8 @@ def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> ty ) client.ats.webhook_receivers.list() """ - response = self._raw_client.list(request_options=request_options) - return response.data + _response = self._raw_client.list(request_options=request_options) + return _response.data def create( self, @@ -94,8 +93,8 @@ def create( is_active=True, ) """ - response = self._raw_client.create(event=event, is_active=is_active, key=key, request_options=request_options) - return response.data + _response = self._raw_client.create(event=event, is_active=is_active, key=key, request_options=request_options) + return _response.data class AsyncWebhookReceiversClient: @@ -145,8 +144,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list(request_options=request_options) - return response.data + _response = await self._raw_client.list(request_options=request_options) + return _response.data async def create( self, @@ -196,7 +195,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _response = await self._raw_client.create( event=event, is_active=is_active, key=key, request_options=request_options ) - return response.data + return _response.data diff --git a/src/merge/resources/ats/resources/webhook_receivers/raw_client.py b/src/merge/resources/ats/resources/webhook_receivers/raw_client.py index b68a6b50..0df96f9e 100644 --- a/src/merge/resources/ats/resources/webhook_receivers/raw_client.py +++ b/src/merge/resources/ats/resources/webhook_receivers/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.webhook_receiver import WebhookReceiver -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -52,8 +51,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -108,8 +107,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -149,8 +148,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -205,5 +204,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ats/types/__init__.py b/src/merge/resources/ats/types/__init__.py index 0a6c6e83..ad1fbf7d 100644 --- a/src/merge/resources/ats/types/__init__.py +++ b/src/merge/resources/ats/types/__init__.py @@ -1,10 +1,15 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .access_role_enum import AccessRoleEnum 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 .activity import Activity @@ -104,10 +109,12 @@ from .job_posting import JobPosting from .job_posting_job import JobPostingJob from .job_posting_job_posting_urls_item import JobPostingJobPostingUrlsItem +from .job_posting_status import JobPostingStatus from .job_posting_status_enum import JobPostingStatusEnum from .job_recruiters_item import JobRecruitersItem from .job_status import JobStatus from .job_status_enum import JobStatusEnum +from .job_type import JobType from .job_type_enum import JobTypeEnum from .language_enum import LanguageEnum from .last_sync_result_enum import LastSyncResultEnum @@ -201,6 +208,8 @@ 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 .tag import Tag from .url import Url from .url_request import UrlRequest @@ -217,8 +226,11 @@ "AccessRoleEnum", "AccountDetails", "AccountDetailsAndActions", + "AccountDetailsAndActionsCategory", "AccountDetailsAndActionsIntegration", + "AccountDetailsAndActionsStatus", "AccountDetailsAndActionsStatusEnum", + "AccountDetailsCategory", "AccountIntegration", "AccountToken", "Activity", @@ -316,10 +328,12 @@ "JobPosting", "JobPostingJob", "JobPostingJobPostingUrlsItem", + "JobPostingStatus", "JobPostingStatusEnum", "JobRecruitersItem", "JobStatus", "JobStatusEnum", + "JobType", "JobTypeEnum", "LanguageEnum", "LastSyncResultEnum", @@ -413,6 +427,8 @@ "SelectiveSyncConfigurationsUsageEnum", "StatusFd5Enum", "SyncStatus", + "SyncStatusLastSyncResult", + "SyncStatusStatus", "Tag", "Url", "UrlRequest", diff --git a/src/merge/resources/ats/types/account_details.py b/src/merge/resources/ats/types/account_details.py index b5bae11d..98923cd8 100644 --- a/src/merge/resources/ats/types/account_details.py +++ b/src/merge/resources/ats/types/account_details.py @@ -1,18 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing -from .category_enum import CategoryEnum + import pydantic -import datetime as dt 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[CategoryEnum] = 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 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 22726b6a..93c874ed 100644 --- a/src/merge/resources/ats/types/account_details_and_actions.py +++ b/src/merge/resources/ats/types/account_details_and_actions.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing -from .category_enum import CategoryEnum -from .account_details_and_actions_status_enum import AccountDetailsAndActionsStatusEnum + import pydantic -from .account_details_and_actions_integration import AccountDetailsAndActionsIntegration -import datetime as dt 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): @@ -21,8 +22,8 @@ class AccountDetailsAndActions(UncheckedBaseModel): """ id: str - category: typing.Optional[CategoryEnum] = None - status: AccountDetailsAndActionsStatusEnum + 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 @@ -41,6 +42,7 @@ 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_details_and_actions_category.py b/src/merge/resources/ats/types/account_details_and_actions_category.py new file mode 100644 index 00000000..93b4188b --- /dev/null +++ b/src/merge/resources/ats/types/account_details_and_actions_category.py @@ -0,0 +1,7 @@ +# 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/ats/types/account_details_and_actions_integration.py b/src/merge/resources/ats/types/account_details_and_actions_integration.py index d3826f1b..73467bbb 100644 --- a/src/merge/resources/ats/types/account_details_and_actions_integration.py +++ b/src/merge/resources/ats/types/account_details_and_actions_integration.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel 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 -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class AccountDetailsAndActionsIntegration(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/account_details_and_actions_status.py b/src/merge/resources/ats/types/account_details_and_actions_status.py new file mode 100644 index 00000000..445922f8 --- /dev/null +++ b/src/merge/resources/ats/types/account_details_and_actions_status.py @@ -0,0 +1,7 @@ +# 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/ats/types/account_details_category.py b/src/merge/resources/ats/types/account_details_category.py new file mode 100644 index 00000000..8a0cc59c --- /dev/null +++ b/src/merge/resources/ats/types/account_details_category.py @@ -0,0 +1,7 @@ +# 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/ats/types/account_integration.py b/src/merge/resources/ats/types/account_integration.py index 9695197b..ef8b260d 100644 --- a/src/merge/resources/ats/types/account_integration.py +++ b/src/merge/resources/ats/types/account_integration.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import pydantic import typing -from .categories_enum import CategoriesEnum + +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): diff --git a/src/merge/resources/ats/types/account_token.py b/src/merge/resources/ats/types/account_token.py index 0fc6016b..6e82c8ac 100644 --- a/src/merge/resources/ats/types/account_token.py +++ b/src/merge/resources/ats/types/account_token.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .account_integration import AccountIntegration -from ....core.pydantic_utilities import IS_PYDANTIC_V2 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): diff --git a/src/merge/resources/ats/types/activity.py b/src/merge/resources/ats/types/activity.py index a33ad1a6..3a794363 100644 --- a/src/merge/resources/ats/types/activity.py +++ b/src/merge/resources/ats/types/activity.py @@ -1,14 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .activity_user import ActivityUser +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .activity_activity_type import ActivityActivityType +from .activity_user import ActivityUser from .activity_visibility import ActivityVisibility from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class Activity(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/activity_activity_type.py b/src/merge/resources/ats/types/activity_activity_type.py index e3e18da3..f369e7f0 100644 --- a/src/merge/resources/ats/types/activity_activity_type.py +++ b/src/merge/resources/ats/types/activity_activity_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .activity_type_enum import ActivityTypeEnum ActivityActivityType = typing.Union[ActivityTypeEnum, str] diff --git a/src/merge/resources/ats/types/activity_request.py b/src/merge/resources/ats/types/activity_request.py index a161d236..5a6a4f30 100644 --- a/src/merge/resources/ats/types/activity_request.py +++ b/src/merge/resources/ats/types/activity_request.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .activity_request_user import ActivityRequestUser + 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 ....core.pydantic_utilities import IS_PYDANTIC_V2 class ActivityRequest(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/activity_request_activity_type.py b/src/merge/resources/ats/types/activity_request_activity_type.py index 1caa72fb..f4236ee0 100644 --- a/src/merge/resources/ats/types/activity_request_activity_type.py +++ b/src/merge/resources/ats/types/activity_request_activity_type.py @@ -1,6 +1,7 @@ # 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/activity_request_user.py b/src/merge/resources/ats/types/activity_request_user.py index 0daab4af..9c4dfb0f 100644 --- a/src/merge/resources/ats/types/activity_request_user.py +++ b/src/merge/resources/ats/types/activity_request_user.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .remote_user import RemoteUser ActivityRequestUser = typing.Union[str, RemoteUser] diff --git a/src/merge/resources/ats/types/activity_request_visibility.py b/src/merge/resources/ats/types/activity_request_visibility.py index 2ed042b9..07ab9c7a 100644 --- a/src/merge/resources/ats/types/activity_request_visibility.py +++ b/src/merge/resources/ats/types/activity_request_visibility.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .visibility_enum import VisibilityEnum ActivityRequestVisibility = typing.Union[VisibilityEnum, str] diff --git a/src/merge/resources/ats/types/activity_response.py b/src/merge/resources/ats/types/activity_response.py index 4337d6ff..054189ea 100644 --- a/src/merge/resources/ats/types/activity_response.py +++ b/src/merge/resources/ats/types/activity_response.py @@ -1,13 +1,14 @@ # 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 .activity import Activity -import typing -from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic +from .error_validation_problem import ErrorValidationProblem +from .warning_validation_problem import WarningValidationProblem class ActivityResponse(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/activity_user.py b/src/merge/resources/ats/types/activity_user.py index 7a1dca8c..db261e0f 100644 --- a/src/merge/resources/ats/types/activity_user.py +++ b/src/merge/resources/ats/types/activity_user.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .remote_user import RemoteUser ActivityUser = typing.Union[str, RemoteUser] diff --git a/src/merge/resources/ats/types/activity_visibility.py b/src/merge/resources/ats/types/activity_visibility.py index 45f91682..a6d51ff6 100644 --- a/src/merge/resources/ats/types/activity_visibility.py +++ b/src/merge/resources/ats/types/activity_visibility.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .visibility_enum import VisibilityEnum ActivityVisibility = typing.Union[VisibilityEnum, str] diff --git a/src/merge/resources/ats/types/advanced_metadata.py b/src/merge/resources/ats/types/advanced_metadata.py index 7b4d6211..60b5d072 100644 --- a/src/merge/resources/ats/types/advanced_metadata.py +++ b/src/merge/resources/ats/types/advanced_metadata.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class AdvancedMetadata(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/application.py b/src/merge/resources/ats/types/application.py index 8d218928..8aad0835 100644 --- a/src/merge/resources/ats/types/application.py +++ b/src/merge/resources/ats/types/application.py @@ -1,18 +1,19 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -from ....core.unchecked_base_model import UncheckedBaseModel + +import datetime as dt import typing + import pydantic -import datetime as dt -from .application_job import ApplicationJob +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel from .application_credited_to import ApplicationCreditedTo -from .application_screening_question_answers_item import ApplicationScreeningQuestionAnswersItem from .application_current_stage import ApplicationCurrentStage +from .application_job import ApplicationJob from .application_reject_reason import ApplicationRejectReason +from .application_screening_question_answers_item import ApplicationScreeningQuestionAnswersItem from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.pydantic_utilities import update_forward_refs class Application(UncheckedBaseModel): @@ -101,9 +102,9 @@ class Config: extra = pydantic.Extra.allow -from .candidate import Candidate # noqa: E402 -from .offer import Offer # noqa: E402 -from .application_candidate import ApplicationCandidate # noqa: E402 -from .application_offers_item import ApplicationOffersItem # noqa: E402 +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 update_forward_refs(Application) diff --git a/src/merge/resources/ats/types/application_candidate.py b/src/merge/resources/ats/types/application_candidate.py index a866b355..9126f29b 100644 --- a/src/merge/resources/ats/types/application_candidate.py +++ b/src/merge/resources/ats/types/application_candidate.py @@ -1,7 +1,7 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -import typing + import typing if typing.TYPE_CHECKING: diff --git a/src/merge/resources/ats/types/application_credited_to.py b/src/merge/resources/ats/types/application_credited_to.py index d5acca51..9e58ac83 100644 --- a/src/merge/resources/ats/types/application_credited_to.py +++ b/src/merge/resources/ats/types/application_credited_to.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .remote_user import RemoteUser ApplicationCreditedTo = typing.Union[str, RemoteUser] diff --git a/src/merge/resources/ats/types/application_current_stage.py b/src/merge/resources/ats/types/application_current_stage.py index 46007b6e..599a3159 100644 --- a/src/merge/resources/ats/types/application_current_stage.py +++ b/src/merge/resources/ats/types/application_current_stage.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .job_interview_stage import JobInterviewStage ApplicationCurrentStage = typing.Union[str, JobInterviewStage] diff --git a/src/merge/resources/ats/types/application_job.py b/src/merge/resources/ats/types/application_job.py index aeb23d1e..17285343 100644 --- a/src/merge/resources/ats/types/application_job.py +++ b/src/merge/resources/ats/types/application_job.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .job import Job ApplicationJob = typing.Union[str, Job] diff --git a/src/merge/resources/ats/types/application_offers_item.py b/src/merge/resources/ats/types/application_offers_item.py index 88a5bfea..70dffb5f 100644 --- a/src/merge/resources/ats/types/application_offers_item.py +++ b/src/merge/resources/ats/types/application_offers_item.py @@ -1,7 +1,7 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -import typing + import typing if typing.TYPE_CHECKING: diff --git a/src/merge/resources/ats/types/application_reject_reason.py b/src/merge/resources/ats/types/application_reject_reason.py index 7d17736e..c4a28a8e 100644 --- a/src/merge/resources/ats/types/application_reject_reason.py +++ b/src/merge/resources/ats/types/application_reject_reason.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .reject_reason import RejectReason ApplicationRejectReason = typing.Union[str, RejectReason] diff --git a/src/merge/resources/ats/types/application_request.py b/src/merge/resources/ats/types/application_request.py index 8d347b98..ca0a600e 100644 --- a/src/merge/resources/ats/types/application_request.py +++ b/src/merge/resources/ats/types/application_request.py @@ -1,20 +1,20 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .application import Application -from .candidate import Candidate -from .offer import Offer +from __future__ import annotations + +import datetime as dt import typing -from .application_request_candidate import ApplicationRequestCandidate + import pydantic -from .application_request_job import ApplicationRequestJob -import datetime as dt -from .application_request_offers_item import ApplicationRequestOffersItem +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .application_request_candidate import ApplicationRequestCandidate from .application_request_credited_to import ApplicationRequestCreditedTo -from .application_request_screening_question_answers_item import ApplicationRequestScreeningQuestionAnswersItem from .application_request_current_stage import ApplicationRequestCurrentStage +from .application_request_job import ApplicationRequestJob +from .application_request_offers_item import ApplicationRequestOffersItem from .application_request_reject_reason import ApplicationRequestRejectReason -from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from .application_request_screening_question_answers_item import ApplicationRequestScreeningQuestionAnswersItem class ApplicationRequest(UncheckedBaseModel): @@ -81,3 +81,10 @@ class Config: frozen = True smart_union = True 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_request_candidate.py b/src/merge/resources/ats/types/application_request_candidate.py index 5433c318..f931b70e 100644 --- a/src/merge/resources/ats/types/application_request_candidate.py +++ b/src/merge/resources/ats/types/application_request_candidate.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .candidate import Candidate ApplicationRequestCandidate = typing.Union[str, Candidate] diff --git a/src/merge/resources/ats/types/application_request_credited_to.py b/src/merge/resources/ats/types/application_request_credited_to.py index 771fd16d..a8ccaeff 100644 --- a/src/merge/resources/ats/types/application_request_credited_to.py +++ b/src/merge/resources/ats/types/application_request_credited_to.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .remote_user import RemoteUser ApplicationRequestCreditedTo = typing.Union[str, RemoteUser] diff --git a/src/merge/resources/ats/types/application_request_current_stage.py b/src/merge/resources/ats/types/application_request_current_stage.py index 393c89ba..dd56a6d3 100644 --- a/src/merge/resources/ats/types/application_request_current_stage.py +++ b/src/merge/resources/ats/types/application_request_current_stage.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .job_interview_stage import JobInterviewStage ApplicationRequestCurrentStage = typing.Union[str, JobInterviewStage] diff --git a/src/merge/resources/ats/types/application_request_job.py b/src/merge/resources/ats/types/application_request_job.py index 15344451..354968cd 100644 --- a/src/merge/resources/ats/types/application_request_job.py +++ b/src/merge/resources/ats/types/application_request_job.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .job import Job ApplicationRequestJob = typing.Union[str, Job] diff --git a/src/merge/resources/ats/types/application_request_offers_item.py b/src/merge/resources/ats/types/application_request_offers_item.py index a0405e7a..1c727579 100644 --- a/src/merge/resources/ats/types/application_request_offers_item.py +++ b/src/merge/resources/ats/types/application_request_offers_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .offer import Offer ApplicationRequestOffersItem = typing.Union[str, Offer] diff --git a/src/merge/resources/ats/types/application_request_reject_reason.py b/src/merge/resources/ats/types/application_request_reject_reason.py index 93371cfd..03e47492 100644 --- a/src/merge/resources/ats/types/application_request_reject_reason.py +++ b/src/merge/resources/ats/types/application_request_reject_reason.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .reject_reason import RejectReason ApplicationRequestRejectReason = typing.Union[str, RejectReason] diff --git a/src/merge/resources/ats/types/application_request_screening_question_answers_item.py b/src/merge/resources/ats/types/application_request_screening_question_answers_item.py index a4994686..810e10fa 100644 --- a/src/merge/resources/ats/types/application_request_screening_question_answers_item.py +++ b/src/merge/resources/ats/types/application_request_screening_question_answers_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .screening_question_answer_request import ScreeningQuestionAnswerRequest ApplicationRequestScreeningQuestionAnswersItem = typing.Union[str, ScreeningQuestionAnswerRequest] diff --git a/src/merge/resources/ats/types/application_response.py b/src/merge/resources/ats/types/application_response.py index 4b88982e..8f5121a7 100644 --- a/src/merge/resources/ats/types/application_response.py +++ b/src/merge/resources/ats/types/application_response.py @@ -1,19 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .application import Application -from .candidate import Candidate -from .offer import Offer +from __future__ import annotations + import typing -from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem -from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .debug_mode_log import DebugModeLog +from .error_validation_problem import ErrorValidationProblem +from .warning_validation_problem import WarningValidationProblem class ApplicationResponse(UncheckedBaseModel): - model: Application + model: "Application" warnings: typing.List[WarningValidationProblem] errors: typing.List[ErrorValidationProblem] logs: typing.Optional[typing.List[DebugModeLog]] = None @@ -26,3 +26,10 @@ class Config: frozen = True smart_union = True 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(ApplicationResponse) diff --git a/src/merge/resources/ats/types/application_screening_question_answers_item.py b/src/merge/resources/ats/types/application_screening_question_answers_item.py index 7db5cca9..42cc4b76 100644 --- a/src/merge/resources/ats/types/application_screening_question_answers_item.py +++ b/src/merge/resources/ats/types/application_screening_question_answers_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .screening_question_answer import ScreeningQuestionAnswer ApplicationScreeningQuestionAnswersItem = typing.Union[str, ScreeningQuestionAnswer] diff --git a/src/merge/resources/ats/types/async_passthrough_reciept.py b/src/merge/resources/ats/types/async_passthrough_reciept.py index 4e217ee9..21c95080 100644 --- a/src/merge/resources/ats/types/async_passthrough_reciept.py +++ b/src/merge/resources/ats/types/async_passthrough_reciept.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class AsyncPassthroughReciept(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/attachment.py b/src/merge/resources/ats/types/attachment.py index c028e68b..8e988378 100644 --- a/src/merge/resources/ats/types/attachment.py +++ b/src/merge/resources/ats/types/attachment.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .attachment_attachment_type import AttachmentAttachmentType from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class Attachment(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/attachment_attachment_type.py b/src/merge/resources/ats/types/attachment_attachment_type.py index 0b4e8856..e767759b 100644 --- a/src/merge/resources/ats/types/attachment_attachment_type.py +++ b/src/merge/resources/ats/types/attachment_attachment_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .attachment_type_enum import AttachmentTypeEnum AttachmentAttachmentType = typing.Union[AttachmentTypeEnum, str] diff --git a/src/merge/resources/ats/types/attachment_request.py b/src/merge/resources/ats/types/attachment_request.py index 674452b1..55ebdfff 100644 --- a/src/merge/resources/ats/types/attachment_request.py +++ b/src/merge/resources/ats/types/attachment_request.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing + import pydantic -from .attachment_request_attachment_type import AttachmentRequestAttachmentType from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .attachment_request_attachment_type import AttachmentRequestAttachmentType class AttachmentRequest(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/attachment_request_attachment_type.py b/src/merge/resources/ats/types/attachment_request_attachment_type.py index e6afb6bb..c3d6d377 100644 --- a/src/merge/resources/ats/types/attachment_request_attachment_type.py +++ b/src/merge/resources/ats/types/attachment_request_attachment_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .attachment_type_enum import AttachmentTypeEnum AttachmentRequestAttachmentType = typing.Union[AttachmentTypeEnum, str] diff --git a/src/merge/resources/ats/types/attachment_response.py b/src/merge/resources/ats/types/attachment_response.py index a6bd50a3..6b0721b6 100644 --- a/src/merge/resources/ats/types/attachment_response.py +++ b/src/merge/resources/ats/types/attachment_response.py @@ -1,13 +1,14 @@ # 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 -import typing -from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic +from .error_validation_problem import ErrorValidationProblem +from .warning_validation_problem import WarningValidationProblem class AttachmentResponse(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/audit_log_event.py b/src/merge/resources/ats/types/audit_log_event.py index 1cf6997a..ab69fd32 100644 --- a/src/merge/resources/ats/types/audit_log_event.py +++ b/src/merge/resources/ats/types/audit_log_event.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -from .audit_log_event_role import AuditLogEventRole -from .audit_log_event_event_type import AuditLogEventEventType -import datetime as dt 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): @@ -43,6 +44,7 @@ class AuditLogEvent(UncheckedBaseModel): * `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 diff --git a/src/merge/resources/ats/types/audit_log_event_event_type.py b/src/merge/resources/ats/types/audit_log_event_event_type.py index f9d43eed..f9c9d2b3 100644 --- a/src/merge/resources/ats/types/audit_log_event_event_type.py +++ b/src/merge/resources/ats/types/audit_log_event_event_type.py @@ -1,6 +1,7 @@ # 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/ats/types/audit_log_event_role.py b/src/merge/resources/ats/types/audit_log_event_role.py index 83ecd93a..fe91ed6f 100644 --- a/src/merge/resources/ats/types/audit_log_event_role.py +++ b/src/merge/resources/ats/types/audit_log_event_role.py @@ -1,6 +1,7 @@ # 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/ats/types/available_actions.py b/src/merge/resources/ats/types/available_actions.py index f4361dd0..8b5019d7 100644 --- a/src/merge/resources/ats/types/available_actions.py +++ b/src/merge/resources/ats/types/available_actions.py @@ -1,11 +1,12 @@ # 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 -import typing from .model_operation import ModelOperation -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class AvailableActions(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/candidate.py b/src/merge/resources/ats/types/candidate.py index 5b116350..38f223dc 100644 --- a/src/merge/resources/ats/types/candidate.py +++ b/src/merge/resources/ats/types/candidate.py @@ -1,17 +1,18 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -from ....core.unchecked_base_model import UncheckedBaseModel + +import datetime as dt import typing + import pydantic -import datetime as dt -from .phone_number import PhoneNumber -from .email_address import EmailAddress -from .url import Url +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel from .candidate_attachments_item import CandidateAttachmentsItem +from .email_address import EmailAddress +from .phone_number import PhoneNumber from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.pydantic_utilities import update_forward_refs +from .url import Url class Candidate(UncheckedBaseModel): @@ -127,8 +128,8 @@ class Config: extra = pydantic.Extra.allow -from .application import Application # noqa: E402 -from .offer import Offer # noqa: E402 -from .candidate_applications_item import CandidateApplicationsItem # noqa: E402 +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 update_forward_refs(Candidate) diff --git a/src/merge/resources/ats/types/candidate_applications_item.py b/src/merge/resources/ats/types/candidate_applications_item.py index 99ad96d9..80934c66 100644 --- a/src/merge/resources/ats/types/candidate_applications_item.py +++ b/src/merge/resources/ats/types/candidate_applications_item.py @@ -1,7 +1,7 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -import typing + import typing if typing.TYPE_CHECKING: diff --git a/src/merge/resources/ats/types/candidate_attachments_item.py b/src/merge/resources/ats/types/candidate_attachments_item.py index 94bc14c6..b5076acd 100644 --- a/src/merge/resources/ats/types/candidate_attachments_item.py +++ b/src/merge/resources/ats/types/candidate_attachments_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .attachment import Attachment CandidateAttachmentsItem = typing.Union[str, Attachment] diff --git a/src/merge/resources/ats/types/candidate_request.py b/src/merge/resources/ats/types/candidate_request.py index 7b607c5b..bc8cf926 100644 --- a/src/merge/resources/ats/types/candidate_request.py +++ b/src/merge/resources/ats/types/candidate_request.py @@ -1,18 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .application import Application -from .candidate import Candidate -from .offer import Offer +from __future__ import annotations + +import datetime as dt import typing + import pydantic -import datetime as dt -from .phone_number_request import PhoneNumberRequest -from .email_address_request import EmailAddressRequest -from .url_request import UrlRequest +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel from .candidate_request_applications_item import CandidateRequestApplicationsItem from .candidate_request_attachments_item import CandidateRequestAttachmentsItem -from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from .email_address_request import EmailAddressRequest +from .phone_number_request import PhoneNumberRequest +from .url_request import UrlRequest class CandidateRequest(UncheckedBaseModel): @@ -98,3 +98,10 @@ class Config: frozen = True smart_union = True 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_request_applications_item.py b/src/merge/resources/ats/types/candidate_request_applications_item.py index 7de152ae..4c31a29e 100644 --- a/src/merge/resources/ats/types/candidate_request_applications_item.py +++ b/src/merge/resources/ats/types/candidate_request_applications_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .application import Application CandidateRequestApplicationsItem = typing.Union[str, Application] diff --git a/src/merge/resources/ats/types/candidate_request_attachments_item.py b/src/merge/resources/ats/types/candidate_request_attachments_item.py index 9afe74df..be6c3558 100644 --- a/src/merge/resources/ats/types/candidate_request_attachments_item.py +++ b/src/merge/resources/ats/types/candidate_request_attachments_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .attachment import Attachment CandidateRequestAttachmentsItem = typing.Union[str, Attachment] diff --git a/src/merge/resources/ats/types/candidate_response.py b/src/merge/resources/ats/types/candidate_response.py index 0375471b..56292f9f 100644 --- a/src/merge/resources/ats/types/candidate_response.py +++ b/src/merge/resources/ats/types/candidate_response.py @@ -1,19 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .application import Application -from .candidate import Candidate -from .offer import Offer +from __future__ import annotations + import typing -from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem -from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .debug_mode_log import DebugModeLog +from .error_validation_problem import ErrorValidationProblem +from .warning_validation_problem import WarningValidationProblem class CandidateResponse(UncheckedBaseModel): - model: Candidate + model: "Candidate" warnings: typing.List[WarningValidationProblem] errors: typing.List[ErrorValidationProblem] logs: typing.Optional[typing.List[DebugModeLog]] = None @@ -26,3 +26,10 @@ class Config: frozen = True smart_union = True 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(CandidateResponse) diff --git a/src/merge/resources/ats/types/common_model_scope_api.py b/src/merge/resources/ats/types/common_model_scope_api.py index e372d68b..5484808d 100644 --- a/src/merge/resources/ats/types/common_model_scope_api.py +++ b/src/merge/resources/ats/types/common_model_scope_api.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .individual_common_model_scope_deserializer import IndividualCommonModelScopeDeserializer + 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): diff --git a/src/merge/resources/ats/types/common_model_scopes_body_request.py b/src/merge/resources/ats/types/common_model_scopes_body_request.py index 4a2f10cb..a9fed25b 100644 --- a/src/merge/resources/ats/types/common_model_scopes_body_request.py +++ b/src/merge/resources/ats/types/common_model_scopes_body_request.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .enabled_actions_enum import EnabledActionsEnum -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/ats/types/data_passthrough_request.py b/src/merge/resources/ats/types/data_passthrough_request.py index 37920aa3..c9f0a799 100644 --- a/src/merge/resources/ats/types/data_passthrough_request.py +++ b/src/merge/resources/ats/types/data_passthrough_request.py @@ -1,12 +1,13 @@ # 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 -import pydantic -import typing from .multipart_form_field_request import MultipartFormFieldRequest from .request_format_enum import RequestFormatEnum -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class DataPassthroughRequest(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/debug_mode_log.py b/src/merge/resources/ats/types/debug_mode_log.py index 7dcc7458..9c7d2a3f 100644 --- a/src/merge/resources/ats/types/debug_mode_log.py +++ b/src/merge/resources/ats/types/debug_mode_log.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .debug_model_log_summary import DebugModelLogSummary -from ....core.pydantic_utilities import IS_PYDANTIC_V2 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): diff --git a/src/merge/resources/ats/types/debug_model_log_summary.py b/src/merge/resources/ats/types/debug_model_log_summary.py index 105e3136..d7e1d3e6 100644 --- a/src/merge/resources/ats/types/debug_model_log_summary.py +++ b/src/merge/resources/ats/types/debug_model_log_summary.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class DebugModelLogSummary(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/department.py b/src/merge/resources/ats/types/department.py index 4e061831..7098c001 100644 --- a/src/merge/resources/ats/types/department.py +++ b/src/merge/resources/ats/types/department.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .remote_data import RemoteData from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_data import RemoteData class Department(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/eeoc.py b/src/merge/resources/ats/types/eeoc.py index ee59216a..8091638f 100644 --- a/src/merge/resources/ats/types/eeoc.py +++ b/src/merge/resources/ats/types/eeoc.py @@ -1,19 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .application import Application -from .candidate import Candidate -from .offer import Offer +from __future__ import annotations + +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel from .eeoc_candidate import EeocCandidate -from .eeoc_race import EeocRace +from .eeoc_disability_status import EeocDisabilityStatus from .eeoc_gender import EeocGender +from .eeoc_race import EeocRace from .eeoc_veteran_status import EeocVeteranStatus -from .eeoc_disability_status import EeocDisabilityStatus from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class Eeoc(UncheckedBaseModel): @@ -110,3 +110,10 @@ class Config: frozen = True smart_union = True 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/eeoc_candidate.py b/src/merge/resources/ats/types/eeoc_candidate.py index ce2228dd..7b8461b2 100644 --- a/src/merge/resources/ats/types/eeoc_candidate.py +++ b/src/merge/resources/ats/types/eeoc_candidate.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .candidate import Candidate EeocCandidate = typing.Union[str, Candidate] diff --git a/src/merge/resources/ats/types/eeoc_disability_status.py b/src/merge/resources/ats/types/eeoc_disability_status.py index 78f0b10f..23d93772 100644 --- a/src/merge/resources/ats/types/eeoc_disability_status.py +++ b/src/merge/resources/ats/types/eeoc_disability_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .disability_status_enum import DisabilityStatusEnum EeocDisabilityStatus = typing.Union[DisabilityStatusEnum, str] diff --git a/src/merge/resources/ats/types/eeoc_gender.py b/src/merge/resources/ats/types/eeoc_gender.py index 587d6a3d..71f0a6ae 100644 --- a/src/merge/resources/ats/types/eeoc_gender.py +++ b/src/merge/resources/ats/types/eeoc_gender.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .gender_enum import GenderEnum EeocGender = typing.Union[GenderEnum, str] diff --git a/src/merge/resources/ats/types/eeoc_race.py b/src/merge/resources/ats/types/eeoc_race.py index 3d174e5c..b65e39ca 100644 --- a/src/merge/resources/ats/types/eeoc_race.py +++ b/src/merge/resources/ats/types/eeoc_race.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .race_enum import RaceEnum EeocRace = typing.Union[RaceEnum, str] diff --git a/src/merge/resources/ats/types/eeoc_veteran_status.py b/src/merge/resources/ats/types/eeoc_veteran_status.py index b1b21271..4a2e84e3 100644 --- a/src/merge/resources/ats/types/eeoc_veteran_status.py +++ b/src/merge/resources/ats/types/eeoc_veteran_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .veteran_status_enum import VeteranStatusEnum EeocVeteranStatus = typing.Union[VeteranStatusEnum, str] diff --git a/src/merge/resources/ats/types/email_address.py b/src/merge/resources/ats/types/email_address.py index e823a7b8..c377c891 100644 --- a/src/merge/resources/ats/types/email_address.py +++ b/src/merge/resources/ats/types/email_address.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import typing import datetime as dt +import typing + import pydantic -from .email_address_email_address_type import EmailAddressEmailAddressType from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .email_address_email_address_type import EmailAddressEmailAddressType class EmailAddress(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/email_address_email_address_type.py b/src/merge/resources/ats/types/email_address_email_address_type.py index a09efbf1..d91604f7 100644 --- a/src/merge/resources/ats/types/email_address_email_address_type.py +++ b/src/merge/resources/ats/types/email_address_email_address_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .email_address_type_enum import EmailAddressTypeEnum EmailAddressEmailAddressType = typing.Union[EmailAddressTypeEnum, str] diff --git a/src/merge/resources/ats/types/email_address_request.py b/src/merge/resources/ats/types/email_address_request.py index 0a284812..7bd79d2c 100644 --- a/src/merge/resources/ats/types/email_address_request.py +++ b/src/merge/resources/ats/types/email_address_request.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing + import pydantic -from .email_address_request_email_address_type import EmailAddressRequestEmailAddressType from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .email_address_request_email_address_type import EmailAddressRequestEmailAddressType class EmailAddressRequest(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/email_address_request_email_address_type.py b/src/merge/resources/ats/types/email_address_request_email_address_type.py index f744e918..66f22173 100644 --- a/src/merge/resources/ats/types/email_address_request_email_address_type.py +++ b/src/merge/resources/ats/types/email_address_request_email_address_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .email_address_type_enum import EmailAddressTypeEnum EmailAddressRequestEmailAddressType = typing.Union[EmailAddressTypeEnum, str] diff --git a/src/merge/resources/ats/types/error_validation_problem.py b/src/merge/resources/ats/types/error_validation_problem.py index a3cef60c..04f82d05 100644 --- a/src/merge/resources/ats/types/error_validation_problem.py +++ b/src/merge/resources/ats/types/error_validation_problem.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .validation_problem_source import ValidationProblemSource -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/ats/types/event_type_enum.py b/src/merge/resources/ats/types/event_type_enum.py index 28f9cfec..6f6f1476 100644 --- a/src/merge/resources/ats/types/event_type_enum.py +++ b/src/merge/resources/ats/types/event_type_enum.py @@ -13,6 +13,7 @@ class EventTypeEnum(str, enum.Enum): * `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 diff --git a/src/merge/resources/ats/types/external_target_field_api.py b/src/merge/resources/ats/types/external_target_field_api.py index 2f0677ba..c0fea1eb 100644 --- a/src/merge/resources/ats/types/external_target_field_api.py +++ b/src/merge/resources/ats/types/external_target_field_api.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ExternalTargetFieldApi(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/external_target_field_api_response.py b/src/merge/resources/ats/types/external_target_field_api_response.py index a160dba6..2f4ac0fc 100644 --- a/src/merge/resources/ats/types/external_target_field_api_response.py +++ b/src/merge/resources/ats/types/external_target_field_api_response.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .external_target_field_api import ExternalTargetFieldApi + 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): diff --git a/src/merge/resources/ats/types/field_mapping_api_instance.py b/src/merge/resources/ats/types/field_mapping_api_instance.py index 566f157c..a5815313 100644 --- a/src/merge/resources/ats/types/field_mapping_api_instance.py +++ b/src/merge/resources/ats/types/field_mapping_api_instance.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .field_mapping_api_instance_target_field import FieldMappingApiInstanceTargetField -from .field_mapping_api_instance_remote_field import FieldMappingApiInstanceRemoteField -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): 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 d47c8008..578a2b10 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 @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel 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, ) -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class FieldMappingApiInstanceRemoteField(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py b/src/merge/resources/ats/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py index 706ba0b2..4171f08b 100644 --- a/src/merge/resources/ats/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py +++ b/src/merge/resources/ats/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/field_mapping_api_instance_response.py b/src/merge/resources/ats/types/field_mapping_api_instance_response.py index 1f17ee38..65d4f96c 100644 --- a/src/merge/resources/ats/types/field_mapping_api_instance_response.py +++ b/src/merge/resources/ats/types/field_mapping_api_instance_response.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .field_mapping_api_instance import FieldMappingApiInstance + 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): diff --git a/src/merge/resources/ats/types/field_mapping_api_instance_target_field.py b/src/merge/resources/ats/types/field_mapping_api_instance_target_field.py index 32fd6f63..e6474cba 100644 --- a/src/merge/resources/ats/types/field_mapping_api_instance_target_field.py +++ b/src/merge/resources/ats/types/field_mapping_api_instance_target_field.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class FieldMappingApiInstanceTargetField(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/field_mapping_instance_response.py b/src/merge/resources/ats/types/field_mapping_instance_response.py index fd9b7493..f921e641 100644 --- a/src/merge/resources/ats/types/field_mapping_instance_response.py +++ b/src/merge/resources/ats/types/field_mapping_instance_response.py @@ -1,13 +1,14 @@ # 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 -import typing from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem -from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class FieldMappingInstanceResponse(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/field_permission_deserializer.py b/src/merge/resources/ats/types/field_permission_deserializer.py index 84124686..1d71ae04 100644 --- a/src/merge/resources/ats/types/field_permission_deserializer.py +++ b/src/merge/resources/ats/types/field_permission_deserializer.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class FieldPermissionDeserializer(UncheckedBaseModel): 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 c701f1d0..a4113b46 100644 --- a/src/merge/resources/ats/types/field_permission_deserializer_request.py +++ b/src/merge/resources/ats/types/field_permission_deserializer_request.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class FieldPermissionDeserializerRequest(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/individual_common_model_scope_deserializer.py b/src/merge/resources/ats/types/individual_common_model_scope_deserializer.py index 2883752e..4b1ef6a4 100644 --- a/src/merge/resources/ats/types/individual_common_model_scope_deserializer.py +++ b/src/merge/resources/ats/types/individual_common_model_scope_deserializer.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .model_permission_deserializer import ModelPermissionDeserializer -from .field_permission_deserializer import FieldPermissionDeserializer -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/ats/types/individual_common_model_scope_deserializer_request.py b/src/merge/resources/ats/types/individual_common_model_scope_deserializer_request.py index 785e3287..1dcda203 100644 --- a/src/merge/resources/ats/types/individual_common_model_scope_deserializer_request.py +++ b/src/merge/resources/ats/types/individual_common_model_scope_deserializer_request.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .model_permission_deserializer_request import ModelPermissionDeserializerRequest -from .field_permission_deserializer_request import FieldPermissionDeserializerRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/ats/types/issue.py b/src/merge/resources/ats/types/issue.py index ebaca8b1..df31be95 100644 --- a/src/merge/resources/ats/types/issue.py +++ b/src/merge/resources/ats/types/issue.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing -from .issue_status import IssueStatus + import pydantic -import datetime as dt from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .issue_status import IssueStatus class Issue(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/issue_status.py b/src/merge/resources/ats/types/issue_status.py index 59d004d8..8e4d6516 100644 --- a/src/merge/resources/ats/types/issue_status.py +++ b/src/merge/resources/ats/types/issue_status.py @@ -1,6 +1,7 @@ # 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/ats/types/job.py b/src/merge/resources/ats/types/job.py index 1977da04..81413e39 100644 --- a/src/merge/resources/ats/types/job.py +++ b/src/merge/resources/ats/types/job.py @@ -1,18 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .job_status import JobStatus -from .job_type_enum import JobTypeEnum -from .url import Url +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .job_departments_item import JobDepartmentsItem -from .job_offices_item import JobOfficesItem from .job_hiring_managers_item import JobHiringManagersItem +from .job_offices_item import JobOfficesItem from .job_recruiters_item import JobRecruitersItem +from .job_status import JobStatus +from .job_type import JobType from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from .url import Url class Job(UncheckedBaseModel): @@ -66,7 +67,7 @@ class Job(UncheckedBaseModel): * `PENDING` - PENDING """ - type: typing.Optional[JobTypeEnum] = pydantic.Field(default=None) + type: typing.Optional[JobType] = pydantic.Field(default=None) """ The job's type. diff --git a/src/merge/resources/ats/types/job_departments_item.py b/src/merge/resources/ats/types/job_departments_item.py index 5dc559df..d85e47f5 100644 --- a/src/merge/resources/ats/types/job_departments_item.py +++ b/src/merge/resources/ats/types/job_departments_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .department import Department JobDepartmentsItem = typing.Union[str, Department] diff --git a/src/merge/resources/ats/types/job_hiring_managers_item.py b/src/merge/resources/ats/types/job_hiring_managers_item.py index 1dd3a3be..2acfc40e 100644 --- a/src/merge/resources/ats/types/job_hiring_managers_item.py +++ b/src/merge/resources/ats/types/job_hiring_managers_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .remote_user import RemoteUser JobHiringManagersItem = typing.Union[str, RemoteUser] diff --git a/src/merge/resources/ats/types/job_interview_stage.py b/src/merge/resources/ats/types/job_interview_stage.py index ab93a880..6925d1e3 100644 --- a/src/merge/resources/ats/types/job_interview_stage.py +++ b/src/merge/resources/ats/types/job_interview_stage.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .job_interview_stage_job import JobInterviewStageJob from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class JobInterviewStage(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/job_interview_stage_job.py b/src/merge/resources/ats/types/job_interview_stage_job.py index 20962c4a..217ece49 100644 --- a/src/merge/resources/ats/types/job_interview_stage_job.py +++ b/src/merge/resources/ats/types/job_interview_stage_job.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .job import Job JobInterviewStageJob = typing.Union[str, Job] diff --git a/src/merge/resources/ats/types/job_offices_item.py b/src/merge/resources/ats/types/job_offices_item.py index b2940f10..e40e5f6c 100644 --- a/src/merge/resources/ats/types/job_offices_item.py +++ b/src/merge/resources/ats/types/job_offices_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .office import Office JobOfficesItem = typing.Union[str, Office] diff --git a/src/merge/resources/ats/types/job_posting.py b/src/merge/resources/ats/types/job_posting.py index abc687bd..ec539320 100644 --- a/src/merge/resources/ats/types/job_posting.py +++ b/src/merge/resources/ats/types/job_posting.py @@ -1,14 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .job_posting_job_posting_urls_item import JobPostingJobPostingUrlsItem +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .job_posting_job import JobPostingJob -from .job_posting_status_enum import JobPostingStatusEnum +from .job_posting_job_posting_urls_item import JobPostingJobPostingUrlsItem +from .job_posting_status import JobPostingStatus from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class JobPosting(UncheckedBaseModel): @@ -51,7 +52,7 @@ class JobPosting(UncheckedBaseModel): ID of `Job` object for this `JobPosting`. """ - status: typing.Optional[JobPostingStatusEnum] = pydantic.Field(default=None) + status: typing.Optional[JobPostingStatus] = pydantic.Field(default=None) """ The job posting's status. diff --git a/src/merge/resources/ats/types/job_posting_job.py b/src/merge/resources/ats/types/job_posting_job.py index e05fa7c8..764f306f 100644 --- a/src/merge/resources/ats/types/job_posting_job.py +++ b/src/merge/resources/ats/types/job_posting_job.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .job import Job JobPostingJob = typing.Union[str, Job] diff --git a/src/merge/resources/ats/types/job_posting_job_posting_urls_item.py b/src/merge/resources/ats/types/job_posting_job_posting_urls_item.py index e5edf549..2bb3e7de 100644 --- a/src/merge/resources/ats/types/job_posting_job_posting_urls_item.py +++ b/src/merge/resources/ats/types/job_posting_job_posting_urls_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .url import Url JobPostingJobPostingUrlsItem = typing.Union[str, Url] diff --git a/src/merge/resources/ats/types/job_posting_status.py b/src/merge/resources/ats/types/job_posting_status.py new file mode 100644 index 00000000..3aa0da14 --- /dev/null +++ b/src/merge/resources/ats/types/job_posting_status.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .job_posting_status_enum import JobPostingStatusEnum + +JobPostingStatus = typing.Union[JobPostingStatusEnum, str] diff --git a/src/merge/resources/ats/types/job_recruiters_item.py b/src/merge/resources/ats/types/job_recruiters_item.py index a6a78d78..989bcf4b 100644 --- a/src/merge/resources/ats/types/job_recruiters_item.py +++ b/src/merge/resources/ats/types/job_recruiters_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .remote_user import RemoteUser JobRecruitersItem = typing.Union[str, RemoteUser] diff --git a/src/merge/resources/ats/types/job_status.py b/src/merge/resources/ats/types/job_status.py index 11c24741..212b5725 100644 --- a/src/merge/resources/ats/types/job_status.py +++ b/src/merge/resources/ats/types/job_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .job_status_enum import JobStatusEnum JobStatus = typing.Union[JobStatusEnum, str] diff --git a/src/merge/resources/ats/types/job_type.py b/src/merge/resources/ats/types/job_type.py new file mode 100644 index 00000000..ead180d5 --- /dev/null +++ b/src/merge/resources/ats/types/job_type.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .job_type_enum import JobTypeEnum + +JobType = typing.Union[JobTypeEnum, str] diff --git a/src/merge/resources/ats/types/link_token.py b/src/merge/resources/ats/types/link_token.py index 273b4add..f78dedeb 100644 --- a/src/merge/resources/ats/types/link_token.py +++ b/src/merge/resources/ats/types/link_token.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class LinkToken(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/linked_account_status.py b/src/merge/resources/ats/types/linked_account_status.py index fe00263e..ab2e0f09 100644 --- a/src/merge/resources/ats/types/linked_account_status.py +++ b/src/merge/resources/ats/types/linked_account_status.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class LinkedAccountStatus(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/meta_response.py b/src/merge/resources/ats/types/meta_response.py index cb2e08c1..caa2c831 100644 --- a/src/merge/resources/ats/types/meta_response.py +++ b/src/merge/resources/ats/types/meta_response.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .linked_account_status import LinkedAccountStatus -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .linked_account_status import LinkedAccountStatus class MetaResponse(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/model_operation.py b/src/merge/resources/ats/types/model_operation.py index bc09f2c1..c367572d 100644 --- a/src/merge/resources/ats/types/model_operation.py +++ b/src/merge/resources/ats/types/model_operation.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ModelOperation(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/model_permission_deserializer.py b/src/merge/resources/ats/types/model_permission_deserializer.py index 4a524c19..6381814c 100644 --- a/src/merge/resources/ats/types/model_permission_deserializer.py +++ b/src/merge/resources/ats/types/model_permission_deserializer.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ModelPermissionDeserializer(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/model_permission_deserializer_request.py b/src/merge/resources/ats/types/model_permission_deserializer_request.py index 5b693e6f..cdc2ff4c 100644 --- a/src/merge/resources/ats/types/model_permission_deserializer_request.py +++ b/src/merge/resources/ats/types/model_permission_deserializer_request.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ModelPermissionDeserializerRequest(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/multipart_form_field_request.py b/src/merge/resources/ats/types/multipart_form_field_request.py index 7bdbe021..abc37692 100644 --- a/src/merge/resources/ats/types/multipart_form_field_request.py +++ b/src/merge/resources/ats/types/multipart_form_field_request.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import pydantic import typing -from .multipart_form_field_request_encoding import MultipartFormFieldRequestEncoding + +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): diff --git a/src/merge/resources/ats/types/multipart_form_field_request_encoding.py b/src/merge/resources/ats/types/multipart_form_field_request_encoding.py index 2b1db5ad..c6513b6b 100644 --- a/src/merge/resources/ats/types/multipart_form_field_request_encoding.py +++ b/src/merge/resources/ats/types/multipart_form_field_request_encoding.py @@ -1,6 +1,7 @@ # 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/ats/types/offer.py b/src/merge/resources/ats/types/offer.py index 0eed8fa1..d0046de7 100644 --- a/src/merge/resources/ats/types/offer.py +++ b/src/merge/resources/ats/types/offer.py @@ -1,15 +1,16 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -from ....core.unchecked_base_model import UncheckedBaseModel + +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel from .offer_creator import OfferCreator from .offer_status import OfferStatus from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.pydantic_utilities import update_forward_refs class Offer(UncheckedBaseModel): @@ -100,8 +101,8 @@ class Config: extra = pydantic.Extra.allow -from .application import Application # noqa: E402 -from .candidate import Candidate # noqa: E402 -from .offer_application import OfferApplication # noqa: E402 +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 update_forward_refs(Offer) diff --git a/src/merge/resources/ats/types/offer_application.py b/src/merge/resources/ats/types/offer_application.py index fcf4d509..df641716 100644 --- a/src/merge/resources/ats/types/offer_application.py +++ b/src/merge/resources/ats/types/offer_application.py @@ -1,7 +1,7 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -import typing + import typing if typing.TYPE_CHECKING: diff --git a/src/merge/resources/ats/types/offer_creator.py b/src/merge/resources/ats/types/offer_creator.py index fd9f8091..a06a8e2a 100644 --- a/src/merge/resources/ats/types/offer_creator.py +++ b/src/merge/resources/ats/types/offer_creator.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .remote_user import RemoteUser OfferCreator = typing.Union[str, RemoteUser] diff --git a/src/merge/resources/ats/types/offer_status.py b/src/merge/resources/ats/types/offer_status.py index 9c7491df..f487f0af 100644 --- a/src/merge/resources/ats/types/offer_status.py +++ b/src/merge/resources/ats/types/offer_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .offer_status_enum import OfferStatusEnum OfferStatus = typing.Union[OfferStatusEnum, str] diff --git a/src/merge/resources/ats/types/office.py b/src/merge/resources/ats/types/office.py index b8957d2d..120980d2 100644 --- a/src/merge/resources/ats/types/office.py +++ b/src/merge/resources/ats/types/office.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .remote_data import RemoteData from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_data import RemoteData class Office(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/paginated_account_details_and_actions_list.py b/src/merge/resources/ats/types/paginated_account_details_and_actions_list.py index 8a2148be..d2d16116 100644 --- a/src/merge/resources/ats/types/paginated_account_details_and_actions_list.py +++ b/src/merge/resources/ats/types/paginated_account_details_and_actions_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .account_details_and_actions import AccountDetailsAndActions -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/ats/types/paginated_activity_list.py b/src/merge/resources/ats/types/paginated_activity_list.py index fe8502c4..8812d543 100644 --- a/src/merge/resources/ats/types/paginated_activity_list.py +++ b/src/merge/resources/ats/types/paginated_activity_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .activity import Activity -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .activity import Activity class PaginatedActivityList(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/paginated_application_list.py b/src/merge/resources/ats/types/paginated_application_list.py index 4858c10d..bf13e66f 100644 --- a/src/merge/resources/ats/types/paginated_application_list.py +++ b/src/merge/resources/ats/types/paginated_application_list.py @@ -1,18 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .application import Application -from .candidate import Candidate -from .offer import Offer +from __future__ import annotations + import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel class PaginatedApplicationList(UncheckedBaseModel): next: typing.Optional[str] = None previous: typing.Optional[str] = None - results: typing.Optional[typing.List[Application]] = None + results: typing.Optional[typing.List["Application"]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -22,3 +22,10 @@ class Config: frozen = True smart_union = True 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(PaginatedApplicationList) diff --git a/src/merge/resources/ats/types/paginated_attachment_list.py b/src/merge/resources/ats/types/paginated_attachment_list.py index 4bbe978c..3222cbc0 100644 --- a/src/merge/resources/ats/types/paginated_attachment_list.py +++ b/src/merge/resources/ats/types/paginated_attachment_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .attachment import Attachment -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .attachment import Attachment class PaginatedAttachmentList(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/paginated_audit_log_event_list.py b/src/merge/resources/ats/types/paginated_audit_log_event_list.py index dc914668..24139397 100644 --- a/src/merge/resources/ats/types/paginated_audit_log_event_list.py +++ b/src/merge/resources/ats/types/paginated_audit_log_event_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .audit_log_event import AuditLogEvent -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/ats/types/paginated_candidate_list.py b/src/merge/resources/ats/types/paginated_candidate_list.py index 138041e2..a46dff6b 100644 --- a/src/merge/resources/ats/types/paginated_candidate_list.py +++ b/src/merge/resources/ats/types/paginated_candidate_list.py @@ -1,18 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .application import Application -from .candidate import Candidate -from .offer import Offer +from __future__ import annotations + import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel class PaginatedCandidateList(UncheckedBaseModel): next: typing.Optional[str] = None previous: typing.Optional[str] = None - results: typing.Optional[typing.List[Candidate]] = None + results: typing.Optional[typing.List["Candidate"]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -22,3 +22,10 @@ class Config: frozen = True smart_union = True 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(PaginatedCandidateList) diff --git a/src/merge/resources/ats/types/paginated_department_list.py b/src/merge/resources/ats/types/paginated_department_list.py index 63f2a801..dc0c2b5d 100644 --- a/src/merge/resources/ats/types/paginated_department_list.py +++ b/src/merge/resources/ats/types/paginated_department_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .department import Department -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .department import Department class PaginatedDepartmentList(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/paginated_eeoc_list.py b/src/merge/resources/ats/types/paginated_eeoc_list.py index b07a1772..f797f81f 100644 --- a/src/merge/resources/ats/types/paginated_eeoc_list.py +++ b/src/merge/resources/ats/types/paginated_eeoc_list.py @@ -1,13 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .application import Application -from .candidate import Candidate -from .offer import Offer +from __future__ import annotations + import typing -from .eeoc import Eeoc -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .eeoc import Eeoc class PaginatedEeocList(UncheckedBaseModel): @@ -23,3 +23,10 @@ class Config: frozen = True smart_union = True 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_issue_list.py b/src/merge/resources/ats/types/paginated_issue_list.py index 57a92876..686173e5 100644 --- a/src/merge/resources/ats/types/paginated_issue_list.py +++ b/src/merge/resources/ats/types/paginated_issue_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .issue import Issue -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .issue import Issue class PaginatedIssueList(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/paginated_job_interview_stage_list.py b/src/merge/resources/ats/types/paginated_job_interview_stage_list.py index d8f5c862..a7014ea4 100644 --- a/src/merge/resources/ats/types/paginated_job_interview_stage_list.py +++ b/src/merge/resources/ats/types/paginated_job_interview_stage_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .job_interview_stage import JobInterviewStage -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .job_interview_stage import JobInterviewStage class PaginatedJobInterviewStageList(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/paginated_job_list.py b/src/merge/resources/ats/types/paginated_job_list.py index e7d0d4f7..87040408 100644 --- a/src/merge/resources/ats/types/paginated_job_list.py +++ b/src/merge/resources/ats/types/paginated_job_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .job import Job -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .job import Job class PaginatedJobList(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/paginated_job_posting_list.py b/src/merge/resources/ats/types/paginated_job_posting_list.py index 452833aa..573ae196 100644 --- a/src/merge/resources/ats/types/paginated_job_posting_list.py +++ b/src/merge/resources/ats/types/paginated_job_posting_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .job_posting import JobPosting -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .job_posting import JobPosting class PaginatedJobPostingList(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/paginated_offer_list.py b/src/merge/resources/ats/types/paginated_offer_list.py index 7a354910..1a4932a6 100644 --- a/src/merge/resources/ats/types/paginated_offer_list.py +++ b/src/merge/resources/ats/types/paginated_offer_list.py @@ -1,18 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .application import Application -from .candidate import Candidate -from .offer import Offer +from __future__ import annotations + import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel class PaginatedOfferList(UncheckedBaseModel): next: typing.Optional[str] = None previous: typing.Optional[str] = None - results: typing.Optional[typing.List[Offer]] = None + results: typing.Optional[typing.List["Offer"]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -22,3 +22,10 @@ class Config: frozen = True smart_union = True 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(PaginatedOfferList) diff --git a/src/merge/resources/ats/types/paginated_office_list.py b/src/merge/resources/ats/types/paginated_office_list.py index 12fdb832..901c5149 100644 --- a/src/merge/resources/ats/types/paginated_office_list.py +++ b/src/merge/resources/ats/types/paginated_office_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .office import Office -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .office import Office class PaginatedOfficeList(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/paginated_reject_reason_list.py b/src/merge/resources/ats/types/paginated_reject_reason_list.py index ed123143..70ecc366 100644 --- a/src/merge/resources/ats/types/paginated_reject_reason_list.py +++ b/src/merge/resources/ats/types/paginated_reject_reason_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .reject_reason import RejectReason -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .reject_reason import RejectReason class PaginatedRejectReasonList(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/paginated_remote_user_list.py b/src/merge/resources/ats/types/paginated_remote_user_list.py index 483fbeea..24d677df 100644 --- a/src/merge/resources/ats/types/paginated_remote_user_list.py +++ b/src/merge/resources/ats/types/paginated_remote_user_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .remote_user import RemoteUser -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_user import RemoteUser class PaginatedRemoteUserList(UncheckedBaseModel): 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 311f1c42..6aca0c2b 100644 --- a/src/merge/resources/ats/types/paginated_scheduled_interview_list.py +++ b/src/merge/resources/ats/types/paginated_scheduled_interview_list.py @@ -1,13 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .application import Application -from .candidate import Candidate -from .offer import Offer +from __future__ import annotations + import typing -from .scheduled_interview import ScheduledInterview -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .scheduled_interview import ScheduledInterview class PaginatedScheduledInterviewList(UncheckedBaseModel): @@ -23,3 +23,10 @@ class Config: frozen = True smart_union = True 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 01c8980a..f42a495c 100644 --- a/src/merge/resources/ats/types/paginated_scorecard_list.py +++ b/src/merge/resources/ats/types/paginated_scorecard_list.py @@ -1,13 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .application import Application -from .candidate import Candidate -from .offer import Offer +from __future__ import annotations + import typing -from .scorecard import Scorecard -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .scorecard import Scorecard class PaginatedScorecardList(UncheckedBaseModel): @@ -23,3 +23,10 @@ class Config: frozen = True smart_union = True 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/paginated_screening_question_list.py b/src/merge/resources/ats/types/paginated_screening_question_list.py index a4e0c0de..f4306ba8 100644 --- a/src/merge/resources/ats/types/paginated_screening_question_list.py +++ b/src/merge/resources/ats/types/paginated_screening_question_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .screening_question import ScreeningQuestion -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .screening_question import ScreeningQuestion class PaginatedScreeningQuestionList(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/paginated_sync_status_list.py b/src/merge/resources/ats/types/paginated_sync_status_list.py index d8984b33..cc4bd7a8 100644 --- a/src/merge/resources/ats/types/paginated_sync_status_list.py +++ b/src/merge/resources/ats/types/paginated_sync_status_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .sync_status import SyncStatus -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/ats/types/paginated_tag_list.py b/src/merge/resources/ats/types/paginated_tag_list.py index 39166f8b..3b9aa2d4 100644 --- a/src/merge/resources/ats/types/paginated_tag_list.py +++ b/src/merge/resources/ats/types/paginated_tag_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .tag import Tag -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .tag import Tag class PaginatedTagList(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/patched_candidate_request.py b/src/merge/resources/ats/types/patched_candidate_request.py index 1559af58..77b8f2b2 100644 --- a/src/merge/resources/ats/types/patched_candidate_request.py +++ b/src/merge/resources/ats/types/patched_candidate_request.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .phone_number_request import PhoneNumberRequest +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .email_address_request import EmailAddressRequest +from .phone_number_request import PhoneNumberRequest from .url_request import UrlRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class PatchedCandidateRequest(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/phone_number.py b/src/merge/resources/ats/types/phone_number.py index 09de048b..37b82f12 100644 --- a/src/merge/resources/ats/types/phone_number.py +++ b/src/merge/resources/ats/types/phone_number.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import typing import datetime as dt +import typing + import pydantic -from .phone_number_phone_number_type import PhoneNumberPhoneNumberType from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .phone_number_phone_number_type import PhoneNumberPhoneNumberType class PhoneNumber(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/phone_number_phone_number_type.py b/src/merge/resources/ats/types/phone_number_phone_number_type.py index 39c7b804..277c34ed 100644 --- a/src/merge/resources/ats/types/phone_number_phone_number_type.py +++ b/src/merge/resources/ats/types/phone_number_phone_number_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .phone_number_type_enum import PhoneNumberTypeEnum PhoneNumberPhoneNumberType = typing.Union[PhoneNumberTypeEnum, str] diff --git a/src/merge/resources/ats/types/phone_number_request.py b/src/merge/resources/ats/types/phone_number_request.py index 1f77eb4b..aa54db17 100644 --- a/src/merge/resources/ats/types/phone_number_request.py +++ b/src/merge/resources/ats/types/phone_number_request.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing + import pydantic -from .phone_number_request_phone_number_type import PhoneNumberRequestPhoneNumberType from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .phone_number_request_phone_number_type import PhoneNumberRequestPhoneNumberType class PhoneNumberRequest(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/phone_number_request_phone_number_type.py b/src/merge/resources/ats/types/phone_number_request_phone_number_type.py index 102e40ea..a6b9275a 100644 --- a/src/merge/resources/ats/types/phone_number_request_phone_number_type.py +++ b/src/merge/resources/ats/types/phone_number_request_phone_number_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .phone_number_type_enum import PhoneNumberTypeEnum PhoneNumberRequestPhoneNumberType = typing.Union[PhoneNumberTypeEnum, str] diff --git a/src/merge/resources/ats/types/reject_reason.py b/src/merge/resources/ats/types/reject_reason.py index e558eaaf..7f2d533e 100644 --- a/src/merge/resources/ats/types/reject_reason.py +++ b/src/merge/resources/ats/types/reject_reason.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .remote_data import RemoteData from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_data import RemoteData class RejectReason(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/remote_data.py b/src/merge/resources/ats/types/remote_data.py index 4e405fc1..b60f53bf 100644 --- a/src/merge/resources/ats/types/remote_data.py +++ b/src/merge/resources/ats/types/remote_data.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import pydantic import typing + +import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class RemoteData(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/remote_endpoint_info.py b/src/merge/resources/ats/types/remote_endpoint_info.py index a145dff6..07ceff6a 100644 --- a/src/merge/resources/ats/types/remote_endpoint_info.py +++ b/src/merge/resources/ats/types/remote_endpoint_info.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class RemoteEndpointInfo(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/remote_field_api.py b/src/merge/resources/ats/types/remote_field_api.py index 4c862ec8..4c66a23b 100644 --- a/src/merge/resources/ats/types/remote_field_api.py +++ b/src/merge/resources/ats/types/remote_field_api.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing + import pydantic -from .remote_endpoint_info import RemoteEndpointInfo +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 -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class RemoteFieldApi(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/remote_field_api_response.py b/src/merge/resources/ats/types/remote_field_api_response.py index 44d34d54..3d3e79f5 100644 --- a/src/merge/resources/ats/types/remote_field_api_response.py +++ b/src/merge/resources/ats/types/remote_field_api_response.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .remote_field_api import RemoteFieldApi + 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): diff --git a/src/merge/resources/ats/types/remote_key.py b/src/merge/resources/ats/types/remote_key.py index 904480e9..e5d9758c 100644 --- a/src/merge/resources/ats/types/remote_key.py +++ b/src/merge/resources/ats/types/remote_key.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class RemoteKey(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/remote_response.py b/src/merge/resources/ats/types/remote_response.py index 25fcd745..db01131f 100644 --- a/src/merge/resources/ats/types/remote_response.py +++ b/src/merge/resources/ats/types/remote_response.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .remote_response_response_type import RemoteResponseResponseType -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/ats/types/remote_response_response_type.py b/src/merge/resources/ats/types/remote_response_response_type.py index 02c2e69b..2556417a 100644 --- a/src/merge/resources/ats/types/remote_response_response_type.py +++ b/src/merge/resources/ats/types/remote_response_response_type.py @@ -1,6 +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/ats/types/remote_user.py b/src/merge/resources/ats/types/remote_user.py index 0ffbea70..de6ec49a 100644 --- a/src/merge/resources/ats/types/remote_user.py +++ b/src/merge/resources/ats/types/remote_user.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .remote_user_access_role import RemoteUserAccessRole -from .remote_data import RemoteData from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_data import RemoteData +from .remote_user_access_role import RemoteUserAccessRole class RemoteUser(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/remote_user_access_role.py b/src/merge/resources/ats/types/remote_user_access_role.py index 4a5089fa..4f730dfc 100644 --- a/src/merge/resources/ats/types/remote_user_access_role.py +++ b/src/merge/resources/ats/types/remote_user_access_role.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .access_role_enum import AccessRoleEnum RemoteUserAccessRole = typing.Union[AccessRoleEnum, str] diff --git a/src/merge/resources/ats/types/scheduled_interview.py b/src/merge/resources/ats/types/scheduled_interview.py index e088368e..1c31538d 100644 --- a/src/merge/resources/ats/types/scheduled_interview.py +++ b/src/merge/resources/ats/types/scheduled_interview.py @@ -1,19 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .application import Application -from .candidate import Candidate -from .offer import Offer +from __future__ import annotations + +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_data import RemoteData from .scheduled_interview_application import ScheduledInterviewApplication +from .scheduled_interview_interviewers_item import ScheduledInterviewInterviewersItem from .scheduled_interview_job_interview_stage import ScheduledInterviewJobInterviewStage from .scheduled_interview_organizer import ScheduledInterviewOrganizer -from .scheduled_interview_interviewers_item import ScheduledInterviewInterviewersItem from .scheduled_interview_status import ScheduledInterviewStatus -from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class ScheduledInterview(UncheckedBaseModel): @@ -113,3 +113,10 @@ class Config: frozen = True smart_union = True 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_application.py b/src/merge/resources/ats/types/scheduled_interview_application.py index 04b0a288..56b89e59 100644 --- a/src/merge/resources/ats/types/scheduled_interview_application.py +++ b/src/merge/resources/ats/types/scheduled_interview_application.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .application import Application ScheduledInterviewApplication = typing.Union[str, Application] diff --git a/src/merge/resources/ats/types/scheduled_interview_interviewers_item.py b/src/merge/resources/ats/types/scheduled_interview_interviewers_item.py index 9ae11bb2..b0d45222 100644 --- a/src/merge/resources/ats/types/scheduled_interview_interviewers_item.py +++ b/src/merge/resources/ats/types/scheduled_interview_interviewers_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .remote_user import RemoteUser ScheduledInterviewInterviewersItem = typing.Union[str, RemoteUser] diff --git a/src/merge/resources/ats/types/scheduled_interview_job_interview_stage.py b/src/merge/resources/ats/types/scheduled_interview_job_interview_stage.py index 26734ca9..b1eaeb95 100644 --- a/src/merge/resources/ats/types/scheduled_interview_job_interview_stage.py +++ b/src/merge/resources/ats/types/scheduled_interview_job_interview_stage.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .job_interview_stage import JobInterviewStage ScheduledInterviewJobInterviewStage = typing.Union[str, JobInterviewStage] diff --git a/src/merge/resources/ats/types/scheduled_interview_organizer.py b/src/merge/resources/ats/types/scheduled_interview_organizer.py index 456c8d80..6f28b445 100644 --- a/src/merge/resources/ats/types/scheduled_interview_organizer.py +++ b/src/merge/resources/ats/types/scheduled_interview_organizer.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .remote_user import RemoteUser ScheduledInterviewOrganizer = typing.Union[str, RemoteUser] diff --git a/src/merge/resources/ats/types/scheduled_interview_request.py b/src/merge/resources/ats/types/scheduled_interview_request.py index 21d0ec25..b5b12bc5 100644 --- a/src/merge/resources/ats/types/scheduled_interview_request.py +++ b/src/merge/resources/ats/types/scheduled_interview_request.py @@ -1,18 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .application import Application -from .candidate import Candidate -from .offer import Offer +from __future__ import annotations + +import datetime as dt import typing -from .scheduled_interview_request_application import ScheduledInterviewRequestApplication + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .scheduled_interview_request_application import ScheduledInterviewRequestApplication +from .scheduled_interview_request_interviewers_item import ScheduledInterviewRequestInterviewersItem from .scheduled_interview_request_job_interview_stage import ScheduledInterviewRequestJobInterviewStage from .scheduled_interview_request_organizer import ScheduledInterviewRequestOrganizer -from .scheduled_interview_request_interviewers_item import ScheduledInterviewRequestInterviewersItem -import datetime as dt from .scheduled_interview_request_status import ScheduledInterviewRequestStatus -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class ScheduledInterviewRequest(UncheckedBaseModel): @@ -81,3 +81,10 @@ class Config: frozen = True smart_union = True 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_request_application.py b/src/merge/resources/ats/types/scheduled_interview_request_application.py index 0383e03e..023e98bd 100644 --- a/src/merge/resources/ats/types/scheduled_interview_request_application.py +++ b/src/merge/resources/ats/types/scheduled_interview_request_application.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .application import Application ScheduledInterviewRequestApplication = typing.Union[str, Application] diff --git a/src/merge/resources/ats/types/scheduled_interview_request_interviewers_item.py b/src/merge/resources/ats/types/scheduled_interview_request_interviewers_item.py index 2e119dde..9d91de72 100644 --- a/src/merge/resources/ats/types/scheduled_interview_request_interviewers_item.py +++ b/src/merge/resources/ats/types/scheduled_interview_request_interviewers_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .remote_user import RemoteUser ScheduledInterviewRequestInterviewersItem = typing.Union[str, RemoteUser] diff --git a/src/merge/resources/ats/types/scheduled_interview_request_job_interview_stage.py b/src/merge/resources/ats/types/scheduled_interview_request_job_interview_stage.py index fbdea903..e3540ac2 100644 --- a/src/merge/resources/ats/types/scheduled_interview_request_job_interview_stage.py +++ b/src/merge/resources/ats/types/scheduled_interview_request_job_interview_stage.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .job_interview_stage import JobInterviewStage ScheduledInterviewRequestJobInterviewStage = typing.Union[str, JobInterviewStage] diff --git a/src/merge/resources/ats/types/scheduled_interview_request_organizer.py b/src/merge/resources/ats/types/scheduled_interview_request_organizer.py index 2d9685da..39f4b8f9 100644 --- a/src/merge/resources/ats/types/scheduled_interview_request_organizer.py +++ b/src/merge/resources/ats/types/scheduled_interview_request_organizer.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .remote_user import RemoteUser ScheduledInterviewRequestOrganizer = typing.Union[str, RemoteUser] diff --git a/src/merge/resources/ats/types/scheduled_interview_request_status.py b/src/merge/resources/ats/types/scheduled_interview_request_status.py index c4933833..ffbbc800 100644 --- a/src/merge/resources/ats/types/scheduled_interview_request_status.py +++ b/src/merge/resources/ats/types/scheduled_interview_request_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .scheduled_interview_status_enum import ScheduledInterviewStatusEnum ScheduledInterviewRequestStatus = typing.Union[ScheduledInterviewStatusEnum, str] diff --git a/src/merge/resources/ats/types/scheduled_interview_response.py b/src/merge/resources/ats/types/scheduled_interview_response.py index 056d8027..280fff51 100644 --- a/src/merge/resources/ats/types/scheduled_interview_response.py +++ b/src/merge/resources/ats/types/scheduled_interview_response.py @@ -1,16 +1,16 @@ # 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 .application import Application -from .candidate import Candidate -from .offer import Offer +from .debug_mode_log import DebugModeLog +from .error_validation_problem import ErrorValidationProblem from .scheduled_interview import ScheduledInterview -import typing from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem -from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class ScheduledInterviewResponse(UncheckedBaseModel): @@ -27,3 +27,10 @@ class Config: frozen = True smart_union = True 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/scheduled_interview_status.py b/src/merge/resources/ats/types/scheduled_interview_status.py index 2d87c70e..2c043345 100644 --- a/src/merge/resources/ats/types/scheduled_interview_status.py +++ b/src/merge/resources/ats/types/scheduled_interview_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .scheduled_interview_status_enum import ScheduledInterviewStatusEnum ScheduledInterviewStatus = typing.Union[ScheduledInterviewStatusEnum, str] diff --git a/src/merge/resources/ats/types/scorecard.py b/src/merge/resources/ats/types/scorecard.py index af8b9018..3e713f87 100644 --- a/src/merge/resources/ats/types/scorecard.py +++ b/src/merge/resources/ats/types/scorecard.py @@ -1,18 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .application import Application -from .candidate import Candidate -from .offer import Offer +from __future__ import annotations + +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_data import RemoteData from .scorecard_application import ScorecardApplication from .scorecard_interview import ScorecardInterview from .scorecard_interviewer import ScorecardInterviewer from .scorecard_overall_recommendation import ScorecardOverallRecommendation -from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class Scorecard(UncheckedBaseModel): @@ -92,3 +92,10 @@ class Config: frozen = True smart_union = True 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/scorecard_application.py b/src/merge/resources/ats/types/scorecard_application.py index 36837aff..8d1b7dc2 100644 --- a/src/merge/resources/ats/types/scorecard_application.py +++ b/src/merge/resources/ats/types/scorecard_application.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .application import Application ScorecardApplication = typing.Union[str, Application] diff --git a/src/merge/resources/ats/types/scorecard_interview.py b/src/merge/resources/ats/types/scorecard_interview.py index e17ac2c5..2642494a 100644 --- a/src/merge/resources/ats/types/scorecard_interview.py +++ b/src/merge/resources/ats/types/scorecard_interview.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .scheduled_interview import ScheduledInterview ScorecardInterview = typing.Union[str, ScheduledInterview] diff --git a/src/merge/resources/ats/types/scorecard_interviewer.py b/src/merge/resources/ats/types/scorecard_interviewer.py index 0ee9d79f..96c34cc8 100644 --- a/src/merge/resources/ats/types/scorecard_interviewer.py +++ b/src/merge/resources/ats/types/scorecard_interviewer.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .remote_user import RemoteUser ScorecardInterviewer = typing.Union[str, RemoteUser] diff --git a/src/merge/resources/ats/types/scorecard_overall_recommendation.py b/src/merge/resources/ats/types/scorecard_overall_recommendation.py index 4ac4e4a4..7545a6ca 100644 --- a/src/merge/resources/ats/types/scorecard_overall_recommendation.py +++ b/src/merge/resources/ats/types/scorecard_overall_recommendation.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .overall_recommendation_enum import OverallRecommendationEnum ScorecardOverallRecommendation = typing.Union[OverallRecommendationEnum, str] diff --git a/src/merge/resources/ats/types/screening_question.py b/src/merge/resources/ats/types/screening_question.py index 643ba0eb..245cbd2a 100644 --- a/src/merge/resources/ats/types/screening_question.py +++ b/src/merge/resources/ats/types/screening_question.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .screening_question_job import ScreeningQuestionJob from .screening_question_type import ScreeningQuestionType -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class ScreeningQuestion(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/screening_question_answer.py b/src/merge/resources/ats/types/screening_question_answer.py index 8e5fb830..b6bc1ab2 100644 --- a/src/merge/resources/ats/types/screening_question_answer.py +++ b/src/merge/resources/ats/types/screening_question_answer.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .screening_question_answer_question import ScreeningQuestionAnswerQuestion from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .screening_question_answer_question import ScreeningQuestionAnswerQuestion class ScreeningQuestionAnswer(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/screening_question_answer_question.py b/src/merge/resources/ats/types/screening_question_answer_question.py index c6e3b2f6..623c4332 100644 --- a/src/merge/resources/ats/types/screening_question_answer_question.py +++ b/src/merge/resources/ats/types/screening_question_answer_question.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .screening_question import ScreeningQuestion ScreeningQuestionAnswerQuestion = typing.Union[str, ScreeningQuestion] 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 c7ed511a..af62b520 100644 --- a/src/merge/resources/ats/types/screening_question_answer_request.py +++ b/src/merge/resources/ats/types/screening_question_answer_request.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing + import pydantic -from .screening_question_answer_request_question import ScreeningQuestionAnswerRequestQuestion from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .screening_question_answer_request_question import ScreeningQuestionAnswerRequestQuestion class ScreeningQuestionAnswerRequest(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/screening_question_answer_request_question.py b/src/merge/resources/ats/types/screening_question_answer_request_question.py index 84615a89..689cba13 100644 --- a/src/merge/resources/ats/types/screening_question_answer_request_question.py +++ b/src/merge/resources/ats/types/screening_question_answer_request_question.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .screening_question import ScreeningQuestion ScreeningQuestionAnswerRequestQuestion = typing.Union[str, ScreeningQuestion] diff --git a/src/merge/resources/ats/types/screening_question_job.py b/src/merge/resources/ats/types/screening_question_job.py index 63116112..239c90e4 100644 --- a/src/merge/resources/ats/types/screening_question_job.py +++ b/src/merge/resources/ats/types/screening_question_job.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .job import Job ScreeningQuestionJob = typing.Union[str, Job] diff --git a/src/merge/resources/ats/types/screening_question_option.py b/src/merge/resources/ats/types/screening_question_option.py index 9345e543..7e3f1e6d 100644 --- a/src/merge/resources/ats/types/screening_question_option.py +++ b/src/merge/resources/ats/types/screening_question_option.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ScreeningQuestionOption(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/screening_question_type.py b/src/merge/resources/ats/types/screening_question_type.py index c589dc1d..de17251b 100644 --- a/src/merge/resources/ats/types/screening_question_type.py +++ b/src/merge/resources/ats/types/screening_question_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .screening_question_type_enum import ScreeningQuestionTypeEnum ScreeningQuestionType = typing.Union[ScreeningQuestionTypeEnum, str] diff --git a/src/merge/resources/ats/types/sync_status.py b/src/merge/resources/ats/types/sync_status.py index 3cc6d466..07ab1dc2 100644 --- a/src/merge/resources/ats/types/sync_status.py +++ b/src/merge/resources/ats/types/sync_status.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import typing import datetime as dt -from .last_sync_result_enum import LastSyncResultEnum -from .status_fd_5_enum import StatusFd5Enum -from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum -from ....core.pydantic_utilities import IS_PYDANTIC_V2 +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): @@ -24,9 +25,9 @@ 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: StatusFd5Enum + status: SyncStatusStatus is_initial_sync: bool selective_sync_configurations_usage: typing.Optional[SelectiveSyncConfigurationsUsageEnum] = None diff --git a/src/merge/resources/ats/types/sync_status_last_sync_result.py b/src/merge/resources/ats/types/sync_status_last_sync_result.py new file mode 100644 index 00000000..980e7d94 --- /dev/null +++ b/src/merge/resources/ats/types/sync_status_last_sync_result.py @@ -0,0 +1,7 @@ +# 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/ats/types/sync_status_status.py b/src/merge/resources/ats/types/sync_status_status.py new file mode 100644 index 00000000..78e4cc47 --- /dev/null +++ b/src/merge/resources/ats/types/sync_status_status.py @@ -0,0 +1,7 @@ +# 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/ats/types/tag.py b/src/merge/resources/ats/types/tag.py index a3e51725..6d73f731 100644 --- a/src/merge/resources/ats/types/tag.py +++ b/src/merge/resources/ats/types/tag.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class Tag(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/url.py b/src/merge/resources/ats/types/url.py index e5ca4b5e..506fbd94 100644 --- a/src/merge/resources/ats/types/url.py +++ b/src/merge/resources/ats/types/url.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import typing import datetime as dt +import typing + import pydantic -from .url_url_type import UrlUrlType from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .url_url_type import UrlUrlType class Url(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/url_request.py b/src/merge/resources/ats/types/url_request.py index 1ec140f4..292911d8 100644 --- a/src/merge/resources/ats/types/url_request.py +++ b/src/merge/resources/ats/types/url_request.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing + import pydantic -from .url_request_url_type import UrlRequestUrlType from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .url_request_url_type import UrlRequestUrlType class UrlRequest(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/url_request_url_type.py b/src/merge/resources/ats/types/url_request_url_type.py index 647cadb6..2735a7e6 100644 --- a/src/merge/resources/ats/types/url_request_url_type.py +++ b/src/merge/resources/ats/types/url_request_url_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .url_type_enum import UrlTypeEnum UrlRequestUrlType = typing.Union[UrlTypeEnum, str] diff --git a/src/merge/resources/ats/types/url_url_type.py b/src/merge/resources/ats/types/url_url_type.py index 2794ab44..2321b25f 100644 --- a/src/merge/resources/ats/types/url_url_type.py +++ b/src/merge/resources/ats/types/url_url_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .url_type_enum import UrlTypeEnum UrlUrlType = typing.Union[UrlTypeEnum, str] diff --git a/src/merge/resources/ats/types/validation_problem_source.py b/src/merge/resources/ats/types/validation_problem_source.py index ceed8b91..fbebe626 100644 --- a/src/merge/resources/ats/types/validation_problem_source.py +++ b/src/merge/resources/ats/types/validation_problem_source.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ValidationProblemSource(UncheckedBaseModel): diff --git a/src/merge/resources/ats/types/warning_validation_problem.py b/src/merge/resources/ats/types/warning_validation_problem.py index b974ff37..4785e836 100644 --- a/src/merge/resources/ats/types/warning_validation_problem.py +++ b/src/merge/resources/ats/types/warning_validation_problem.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .validation_problem_source import ValidationProblemSource -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/ats/types/webhook_receiver.py b/src/merge/resources/ats/types/webhook_receiver.py index 8bb74f35..fb49c044 100644 --- a/src/merge/resources/ats/types/webhook_receiver.py +++ b/src/merge/resources/ats/types/webhook_receiver.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class WebhookReceiver(UncheckedBaseModel): diff --git a/src/merge/resources/crm/__init__.py b/src/merge/resources/crm/__init__.py index 0934291a..cfdb5f13 100644 --- a/src/merge/resources/crm/__init__.py +++ b/src/merge/resources/crm/__init__.py @@ -1,11 +1,16 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import ( Account, AccountDetails, AccountDetailsAndActions, + AccountDetailsAndActionsCategory, AccountDetailsAndActionsIntegration, + AccountDetailsAndActionsStatus, AccountDetailsAndActionsStatusEnum, + AccountDetailsCategory, AccountIntegration, AccountOwner, AccountRequest, @@ -88,6 +93,7 @@ FieldPermissionDeserializerRequest, FieldTypeEnum, IgnoreCommonModelRequest, + IgnoreCommonModelRequestReason, IndividualCommonModelScopeDeserializer, IndividualCommonModelScopeDeserializerRequest, Issue, @@ -200,6 +206,7 @@ StatusFd5Enum, SyncStatus, SyncStatusLastSyncResult, + SyncStatusStatus, Task, TaskAccount, TaskOpportunity, @@ -221,6 +228,7 @@ AsyncPassthroughRetrieveResponse, ContactsListRequestExpand, ContactsRetrieveRequestExpand, + EndUserDetailsRequestLanguage, EngagementsListRequestExpand, EngagementsRetrieveRequestExpand, IssuesListRequestStatus, @@ -271,8 +279,11 @@ "Account", "AccountDetails", "AccountDetailsAndActions", + "AccountDetailsAndActionsCategory", "AccountDetailsAndActionsIntegration", + "AccountDetailsAndActionsStatus", "AccountDetailsAndActionsStatusEnum", + "AccountDetailsCategory", "AccountIntegration", "AccountOwner", "AccountRequest", @@ -328,6 +339,7 @@ "EmailAddressRequest", "EnabledActionsEnum", "EncodingEnum", + "EndUserDetailsRequestLanguage", "Engagement", "EngagementAccount", "EngagementContactsItem", @@ -360,6 +372,7 @@ "FieldPermissionDeserializerRequest", "FieldTypeEnum", "IgnoreCommonModelRequest", + "IgnoreCommonModelRequestReason", "IndividualCommonModelScopeDeserializer", "IndividualCommonModelScopeDeserializerRequest", "Issue", @@ -481,6 +494,7 @@ "StatusFd5Enum", "SyncStatus", "SyncStatusLastSyncResult", + "SyncStatusStatus", "Task", "TaskAccount", "TaskOpportunity", diff --git a/src/merge/resources/crm/client.py b/src/merge/resources/crm/client.py index 51d2bc52..80ba5e60 100644 --- a/src/merge/resources/crm/client.py +++ b/src/merge/resources/crm/client.py @@ -1,75 +1,44 @@ # This file was auto-generated by Fern from our API Definition. -from ...core.client_wrapper import SyncClientWrapper -from .raw_client import RawCrmClient -from .resources.account_details.client import AccountDetailsClient -from .resources.account_token.client import AccountTokenClient -from .resources.accounts.client import AccountsClient +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .raw_client import AsyncRawCrmClient, RawCrmClient +from .resources.account_details.client import AccountDetailsClient, AsyncAccountDetailsClient +from .resources.account_token.client import AccountTokenClient, AsyncAccountTokenClient +from .resources.accounts.client import AccountsClient, AsyncAccountsClient +from .resources.association_types.client import AssociationTypesClient, AsyncAssociationTypesClient +from .resources.associations.client import AssociationsClient, AsyncAssociationsClient +from .resources.async_passthrough.client import AsyncAsyncPassthroughClient from .resources.async_passthrough.client import ( AsyncPassthroughClient as resources_crm_resources_async_passthrough_client_AsyncPassthroughClient, ) -from .resources.audit_trail.client import AuditTrailClient -from .resources.available_actions.client import AvailableActionsClient -from .resources.contacts.client import ContactsClient -from .resources.custom_object_classes.client import CustomObjectClassesClient -from .resources.association_types.client import AssociationTypesClient -from .resources.custom_objects.client import CustomObjectsClient -from .resources.associations.client import AssociationsClient -from .resources.scopes.client import ScopesClient -from .resources.delete_account.client import DeleteAccountClient -from .resources.engagement_types.client import EngagementTypesClient -from .resources.engagements.client import EngagementsClient -from .resources.field_mapping.client import FieldMappingClient -from .resources.generate_key.client import GenerateKeyClient -from .resources.issues.client import IssuesClient -from .resources.leads.client import LeadsClient -from .resources.link_token.client import LinkTokenClient -from .resources.linked_accounts.client import LinkedAccountsClient -from .resources.notes.client import NotesClient -from .resources.opportunities.client import OpportunitiesClient -from .resources.passthrough.client import PassthroughClient -from .resources.regenerate_key.client import RegenerateKeyClient -from .resources.stages.client import StagesClient -from .resources.sync_status.client import SyncStatusClient -from .resources.force_resync.client import ForceResyncClient -from .resources.tasks.client import TasksClient -from .resources.users.client import UsersClient -from .resources.webhook_receivers.client import WebhookReceiversClient -from ...core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawCrmClient -from .resources.account_details.client import AsyncAccountDetailsClient -from .resources.account_token.client import AsyncAccountTokenClient -from .resources.accounts.client import AsyncAccountsClient -from .resources.async_passthrough.client import AsyncAsyncPassthroughClient -from .resources.audit_trail.client import AsyncAuditTrailClient -from .resources.available_actions.client import AsyncAvailableActionsClient -from .resources.contacts.client import AsyncContactsClient -from .resources.custom_object_classes.client import AsyncCustomObjectClassesClient -from .resources.association_types.client import AsyncAssociationTypesClient -from .resources.custom_objects.client import AsyncCustomObjectsClient -from .resources.associations.client import AsyncAssociationsClient -from .resources.scopes.client import AsyncScopesClient -from .resources.delete_account.client import AsyncDeleteAccountClient -from .resources.engagement_types.client import AsyncEngagementTypesClient -from .resources.engagements.client import AsyncEngagementsClient -from .resources.field_mapping.client import AsyncFieldMappingClient -from .resources.generate_key.client import AsyncGenerateKeyClient -from .resources.issues.client import AsyncIssuesClient -from .resources.leads.client import AsyncLeadsClient -from .resources.link_token.client import AsyncLinkTokenClient -from .resources.linked_accounts.client import AsyncLinkedAccountsClient -from .resources.notes.client import AsyncNotesClient -from .resources.opportunities.client import AsyncOpportunitiesClient +from .resources.audit_trail.client import AsyncAuditTrailClient, AuditTrailClient +from .resources.available_actions.client import AsyncAvailableActionsClient, AvailableActionsClient +from .resources.contacts.client import AsyncContactsClient, ContactsClient +from .resources.custom_object_classes.client import AsyncCustomObjectClassesClient, CustomObjectClassesClient +from .resources.custom_objects.client import AsyncCustomObjectsClient, CustomObjectsClient +from .resources.delete_account.client import AsyncDeleteAccountClient, DeleteAccountClient +from .resources.engagement_types.client import AsyncEngagementTypesClient, EngagementTypesClient +from .resources.engagements.client import AsyncEngagementsClient, EngagementsClient +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.issues.client import AsyncIssuesClient, IssuesClient +from .resources.leads.client import AsyncLeadsClient, LeadsClient +from .resources.link_token.client import AsyncLinkTokenClient, LinkTokenClient +from .resources.linked_accounts.client import AsyncLinkedAccountsClient, LinkedAccountsClient +from .resources.notes.client import AsyncNotesClient, NotesClient +from .resources.opportunities.client import AsyncOpportunitiesClient, OpportunitiesClient from .resources.passthrough.client import ( AsyncPassthroughClient as resources_crm_resources_passthrough_client_AsyncPassthroughClient, ) -from .resources.regenerate_key.client import AsyncRegenerateKeyClient -from .resources.stages.client import AsyncStagesClient -from .resources.sync_status.client import AsyncSyncStatusClient -from .resources.force_resync.client import AsyncForceResyncClient -from .resources.tasks.client import AsyncTasksClient -from .resources.users.client import AsyncUsersClient -from .resources.webhook_receivers.client import AsyncWebhookReceiversClient +from .resources.passthrough.client import PassthroughClient +from .resources.regenerate_key.client import AsyncRegenerateKeyClient, RegenerateKeyClient +from .resources.scopes.client import AsyncScopesClient, ScopesClient +from .resources.stages.client import AsyncStagesClient, StagesClient +from .resources.sync_status.client import AsyncSyncStatusClient, SyncStatusClient +from .resources.tasks.client import AsyncTasksClient, TasksClient +from .resources.users.client import AsyncUsersClient, UsersClient +from .resources.webhook_receivers.client import AsyncWebhookReceiversClient, WebhookReceiversClient class CrmClient: diff --git a/src/merge/resources/crm/raw_client.py b/src/merge/resources/crm/raw_client.py index 28346dfc..6317b4c8 100644 --- a/src/merge/resources/crm/raw_client.py +++ b/src/merge/resources/crm/raw_client.py @@ -1,7 +1,6 @@ # This file was auto-generated by Fern from our API Definition. -from ...core.client_wrapper import SyncClientWrapper -from ...core.client_wrapper import AsyncClientWrapper +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper class RawCrmClient: diff --git a/src/merge/resources/crm/resources/__init__.py b/src/merge/resources/crm/resources/__init__.py index a6e8a481..2e5d747c 100644 --- a/src/merge/resources/crm/resources/__init__.py +++ b/src/merge/resources/crm/resources/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from . import ( account_details, account_token, @@ -38,6 +40,7 @@ from .engagements import EngagementsListRequestExpand, EngagementsRetrieveRequestExpand from .issues import IssuesListRequestStatus from .leads import LeadsListRequestExpand, LeadsRetrieveRequestExpand +from .link_token import EndUserDetailsRequestLanguage from .linked_accounts import LinkedAccountsListRequestCategory from .notes import NotesListRequestExpand, NotesRetrieveRequestExpand from .opportunities import ( @@ -51,6 +54,7 @@ "AsyncPassthroughRetrieveResponse", "ContactsListRequestExpand", "ContactsRetrieveRequestExpand", + "EndUserDetailsRequestLanguage", "EngagementsListRequestExpand", "EngagementsRetrieveRequestExpand", "IssuesListRequestStatus", diff --git a/src/merge/resources/crm/resources/account_details/__init__.py b/src/merge/resources/crm/resources/account_details/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/crm/resources/account_details/__init__.py +++ b/src/merge/resources/crm/resources/account_details/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/crm/resources/account_details/client.py b/src/merge/resources/crm/resources/account_details/client.py index edae057f..a8718239 100644 --- a/src/merge/resources/crm/resources/account_details/client.py +++ b/src/merge/resources/crm/resources/account_details/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAccountDetailsClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.account_details import AccountDetails -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAccountDetailsClient +from .raw_client import AsyncRawAccountDetailsClient, RawAccountDetailsClient class AccountDetailsClient: @@ -48,8 +47,8 @@ def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) - ) client.crm.account_details.retrieve() """ - response = self._raw_client.retrieve(request_options=request_options) - return response.data + _response = self._raw_client.retrieve(request_options=request_options) + return _response.data class AsyncAccountDetailsClient: @@ -99,5 +98,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.retrieve(request_options=request_options) + return _response.data diff --git a/src/merge/resources/crm/resources/account_details/raw_client.py b/src/merge/resources/crm/resources/account_details/raw_client.py index d06a3ffd..3f119c05 100644 --- a/src/merge/resources/crm/resources/account_details/raw_client.py +++ b/src/merge/resources/crm/resources/account_details/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.account_details import AccountDetails -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -47,8 +46,8 @@ def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) - return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -88,5 +87,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/account_token/__init__.py b/src/merge/resources/crm/resources/account_token/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/crm/resources/account_token/__init__.py +++ b/src/merge/resources/crm/resources/account_token/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/crm/resources/account_token/client.py b/src/merge/resources/crm/resources/account_token/client.py index c4a2a11d..76432434 100644 --- a/src/merge/resources/crm/resources/account_token/client.py +++ b/src/merge/resources/crm/resources/account_token/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAccountTokenClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.account_token import AccountToken -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAccountTokenClient +from .raw_client import AsyncRawAccountTokenClient, RawAccountTokenClient class AccountTokenClient: @@ -52,8 +51,8 @@ def retrieve(self, public_token: str, *, request_options: typing.Optional[Reques public_token="public_token", ) """ - response = self._raw_client.retrieve(public_token, request_options=request_options) - return response.data + _response = self._raw_client.retrieve(public_token, request_options=request_options) + return _response.data class AsyncAccountTokenClient: @@ -109,5 +108,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(public_token, request_options=request_options) - return response.data + _response = await self._raw_client.retrieve(public_token, request_options=request_options) + return _response.data diff --git a/src/merge/resources/crm/resources/account_token/raw_client.py b/src/merge/resources/crm/resources/account_token/raw_client.py index c0ff69af..e39f8772 100644 --- a/src/merge/resources/crm/resources/account_token/raw_client.py +++ b/src/merge/resources/crm/resources/account_token/raw_client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.account_token import AccountToken -from .....core.jsonable_encoder import jsonable_encoder -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -52,8 +51,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -95,5 +94,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/accounts/__init__.py b/src/merge/resources/crm/resources/accounts/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/crm/resources/accounts/__init__.py +++ b/src/merge/resources/crm/resources/accounts/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/crm/resources/accounts/client.py b/src/merge/resources/crm/resources/accounts/client.py index d915ef81..b8b90549 100644 --- a/src/merge/resources/crm/resources/accounts/client.py +++ b/src/merge/resources/crm/resources/accounts/client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAccountsClient import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_account_list import PaginatedAccountList +from ...types.account import Account from ...types.account_request import AccountRequest from ...types.crm_account_response import CrmAccountResponse -from ...types.account import Account -from ...types.patched_account_request import PatchedAccountRequest from ...types.meta_response import MetaResponse +from ...types.paginated_account_list import PaginatedAccountList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAccountsClient +from ...types.patched_account_request import PatchedAccountRequest +from .raw_client import AsyncRawAccountsClient, RawAccountsClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -118,7 +117,7 @@ def list( ) client.crm.accounts.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -135,7 +134,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -179,10 +178,10 @@ def create( model=AccountRequest(), ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options ) - return response.data + return _response.data def retrieve( self, @@ -233,7 +232,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -241,7 +240,7 @@ def retrieve( include_shell_data=include_shell_data, request_options=request_options, ) - return response.data + return _response.data def partial_update( self, @@ -289,10 +288,10 @@ def partial_update( model=PatchedAccountRequest(), ) """ - response = self._raw_client.partial_update( + _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 + return _response.data def meta_patch_retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -322,8 +321,8 @@ def meta_patch_retrieve(self, id: str, *, request_options: typing.Optional[Reque id="id", ) """ - response = self._raw_client.meta_patch_retrieve(id, request_options=request_options) - return response.data + _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: """ @@ -349,8 +348,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.crm.accounts.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data def remote_field_classes_list( self, @@ -361,6 +360,7 @@ def remote_field_classes_list( include_remote_fields: 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: @@ -387,6 +387,9 @@ def 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. @@ -408,17 +411,18 @@ def remote_field_classes_list( ) client.crm.accounts.remote_field_classes_list() """ - response = self._raw_client.remote_field_classes_list( + _response = self._raw_client.remote_field_classes_list( cursor=cursor, 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 response.data + return _response.data class AsyncAccountsClient: @@ -528,7 +532,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -545,7 +549,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -597,10 +601,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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 + return _response.data async def retrieve( self, @@ -659,7 +663,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -667,7 +671,7 @@ async def main() -> None: include_shell_data=include_shell_data, request_options=request_options, ) - return response.data + return _response.data async def partial_update( self, @@ -723,10 +727,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.partial_update( + _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 + return _response.data async def meta_patch_retrieve( self, id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -766,8 +770,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_patch_retrieve(id, request_options=request_options) - return response.data + _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: """ @@ -801,8 +805,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data async def remote_field_classes_list( self, @@ -813,6 +817,7 @@ async def remote_field_classes_list( include_remote_fields: 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: @@ -839,6 +844,9 @@ async def 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. @@ -868,14 +876,15 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.remote_field_classes_list( + _response = await self._raw_client.remote_field_classes_list( cursor=cursor, 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 response.data + 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 7ada6e8d..f1e94b94 100644 --- a/src/merge/resources/crm/resources/accounts/raw_client.py +++ b/src/merge/resources/crm/resources/accounts/raw_client.py @@ -1,24 +1,23 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_account_list import PaginatedAccountList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +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.account import Account from ...types.account_request import AccountRequest from ...types.crm_account_response import CrmAccountResponse -from ...types.account import Account -from .....core.jsonable_encoder import jsonable_encoder -from ...types.patched_account_request import PatchedAccountRequest from ...types.meta_response import MetaResponse +from ...types.paginated_account_list import PaginatedAccountList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from ...types.patched_account_request import PatchedAccountRequest # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -135,8 +134,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -195,8 +194,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -258,8 +257,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -321,8 +320,8 @@ def partial_update( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -359,8 +358,8 @@ def meta_patch_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -395,8 +394,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -407,6 +406,7 @@ def remote_field_classes_list( include_remote_fields: 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]: @@ -433,6 +433,9 @@ def 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. @@ -454,6 +457,7 @@ def remote_field_classes_list( "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, @@ -470,8 +474,8 @@ def remote_field_classes_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawAccountsClient: @@ -585,8 +589,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -645,8 +649,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -708,8 +712,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -771,8 +775,8 @@ async def partial_update( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -809,8 +813,8 @@ async def meta_patch_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -845,8 +849,8 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -857,6 +861,7 @@ async def remote_field_classes_list( include_remote_fields: 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]: @@ -883,6 +888,9 @@ async def 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. @@ -904,6 +912,7 @@ async def remote_field_classes_list( "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, @@ -920,5 +929,5 @@ async def remote_field_classes_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/association_types/__init__.py b/src/merge/resources/crm/resources/association_types/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/crm/resources/association_types/__init__.py +++ b/src/merge/resources/crm/resources/association_types/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/crm/resources/association_types/client.py b/src/merge/resources/crm/resources/association_types/client.py index e82fc263..b58c597e 100644 --- a/src/merge/resources/crm/resources/association_types/client.py +++ b/src/merge/resources/crm/resources/association_types/client.py @@ -1,17 +1,16 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAssociationTypesClient import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_association_type_list import PaginatedAssociationTypeList +from ...types.association_type import AssociationType from ...types.association_type_request_request import AssociationTypeRequestRequest from ...types.crm_association_type_response import CrmAssociationTypeResponse -from ...types.association_type import AssociationType from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAssociationTypesClient +from ...types.paginated_association_type_list import PaginatedAssociationTypeList +from .raw_client import AsyncRawAssociationTypesClient, RawAssociationTypesClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -109,7 +108,7 @@ def custom_object_classes_association_types_list( custom_object_class_id="custom_object_class_id", ) """ - response = self._raw_client.custom_object_classes_association_types_list( + _response = self._raw_client.custom_object_classes_association_types_list( custom_object_class_id, created_after=created_after, created_before=created_before, @@ -124,7 +123,7 @@ def custom_object_classes_association_types_list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def custom_object_classes_association_types_create( self, @@ -188,14 +187,14 @@ def custom_object_classes_association_types_create( ), ) """ - response = self._raw_client.custom_object_classes_association_types_create( + _response = self._raw_client.custom_object_classes_association_types_create( custom_object_class_id, model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options, ) - return response.data + return _response.data def custom_object_classes_association_types_retrieve( self, @@ -246,7 +245,7 @@ def custom_object_classes_association_types_retrieve( id="id", ) """ - response = self._raw_client.custom_object_classes_association_types_retrieve( + _response = self._raw_client.custom_object_classes_association_types_retrieve( custom_object_class_id, id, expand=expand, @@ -254,7 +253,7 @@ def custom_object_classes_association_types_retrieve( include_shell_data=include_shell_data, request_options=request_options, ) - return response.data + return _response.data def custom_object_classes_association_types_meta_post_retrieve( self, custom_object_class_id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -286,10 +285,10 @@ def custom_object_classes_association_types_meta_post_retrieve( custom_object_class_id="custom_object_class_id", ) """ - response = self._raw_client.custom_object_classes_association_types_meta_post_retrieve( + _response = self._raw_client.custom_object_classes_association_types_meta_post_retrieve( custom_object_class_id, request_options=request_options ) - return response.data + return _response.data class AsyncAssociationTypesClient: @@ -392,7 +391,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.custom_object_classes_association_types_list( + _response = await self._raw_client.custom_object_classes_association_types_list( custom_object_class_id, created_after=created_after, created_before=created_before, @@ -407,7 +406,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def custom_object_classes_association_types_create( self, @@ -479,14 +478,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.custom_object_classes_association_types_create( + _response = await self._raw_client.custom_object_classes_association_types_create( custom_object_class_id, model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options, ) - return response.data + return _response.data async def custom_object_classes_association_types_retrieve( self, @@ -545,7 +544,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.custom_object_classes_association_types_retrieve( + _response = await self._raw_client.custom_object_classes_association_types_retrieve( custom_object_class_id, id, expand=expand, @@ -553,7 +552,7 @@ async def main() -> None: include_shell_data=include_shell_data, request_options=request_options, ) - return response.data + return _response.data async def custom_object_classes_association_types_meta_post_retrieve( self, custom_object_class_id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -593,7 +592,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.custom_object_classes_association_types_meta_post_retrieve( + _response = await self._raw_client.custom_object_classes_association_types_meta_post_retrieve( custom_object_class_id, request_options=request_options ) - return response.data + return _response.data 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 0facda7b..22a134e5 100644 --- a/src/merge/resources/crm/resources/association_types/raw_client.py +++ b/src/merge/resources/crm/resources/association_types/raw_client.py @@ -1,22 +1,21 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_association_type_list import PaginatedAssociationTypeList -from .....core.jsonable_encoder import jsonable_encoder -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +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.association_type import AssociationType from ...types.association_type_request_request import AssociationTypeRequestRequest from ...types.crm_association_type_response import CrmAssociationTypeResponse -from ...types.association_type import AssociationType from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from ...types.paginated_association_type_list import PaginatedAssociationTypeList # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -121,8 +120,8 @@ def custom_object_classes_association_types_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 custom_object_classes_association_types_create( self, @@ -184,8 +183,8 @@ def custom_object_classes_association_types_create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 custom_object_classes_association_types_retrieve( self, @@ -245,8 +244,8 @@ def custom_object_classes_association_types_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 custom_object_classes_association_types_meta_post_retrieve( self, custom_object_class_id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -283,8 +282,8 @@ def custom_object_classes_association_types_meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawAssociationTypesClient: @@ -386,8 +385,8 @@ async def custom_object_classes_association_types_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 custom_object_classes_association_types_create( self, @@ -449,8 +448,8 @@ async def custom_object_classes_association_types_create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 custom_object_classes_association_types_retrieve( self, @@ -510,8 +509,8 @@ async def custom_object_classes_association_types_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 custom_object_classes_association_types_meta_post_retrieve( self, custom_object_class_id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -548,5 +547,5 @@ async def custom_object_classes_association_types_meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/associations/__init__.py b/src/merge/resources/crm/resources/associations/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/crm/resources/associations/__init__.py +++ b/src/merge/resources/crm/resources/associations/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/crm/resources/associations/client.py b/src/merge/resources/crm/resources/associations/client.py index 6c92fefc..7591b917 100644 --- a/src/merge/resources/crm/resources/associations/client.py +++ b/src/merge/resources/crm/resources/associations/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAssociationsClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_association_list import PaginatedAssociationList from ...types.association import Association -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAssociationsClient +from ...types.paginated_association_list import PaginatedAssociationList +from .raw_client import AsyncRawAssociationsClient, RawAssociationsClient class AssociationsClient: @@ -111,7 +110,7 @@ def custom_object_classes_custom_objects_associations_list( object_id="object_id", ) """ - response = self._raw_client.custom_object_classes_custom_objects_associations_list( + _response = self._raw_client.custom_object_classes_custom_objects_associations_list( custom_object_class_id, object_id, association_type_id=association_type_id, @@ -128,7 +127,7 @@ def custom_object_classes_custom_objects_associations_list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def custom_object_classes_custom_objects_associations_update( self, @@ -187,7 +186,7 @@ def custom_object_classes_custom_objects_associations_update( target_object_id="target_object_id", ) """ - response = self._raw_client.custom_object_classes_custom_objects_associations_update( + _response = self._raw_client.custom_object_classes_custom_objects_associations_update( association_type_id, source_class_id, source_object_id, @@ -197,7 +196,7 @@ def custom_object_classes_custom_objects_associations_update( run_async=run_async, request_options=request_options, ) - return response.data + return _response.data class AsyncAssociationsClient: @@ -308,7 +307,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.custom_object_classes_custom_objects_associations_list( + _response = await self._raw_client.custom_object_classes_custom_objects_associations_list( custom_object_class_id, object_id, association_type_id=association_type_id, @@ -325,7 +324,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def custom_object_classes_custom_objects_associations_update( self, @@ -392,7 +391,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.custom_object_classes_custom_objects_associations_update( + _response = await self._raw_client.custom_object_classes_custom_objects_associations_update( association_type_id, source_class_id, source_object_id, @@ -402,4 +401,4 @@ async def main() -> None: run_async=run_async, request_options=request_options, ) - return response.data + return _response.data diff --git a/src/merge/resources/crm/resources/associations/raw_client.py b/src/merge/resources/crm/resources/associations/raw_client.py index f7a4bfa4..6d94f746 100644 --- a/src/merge/resources/crm/resources/associations/raw_client.py +++ b/src/merge/resources/crm/resources/associations/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_association_list import PaginatedAssociationList -from .....core.jsonable_encoder import jsonable_encoder -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +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.association import Association -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from ...types.paginated_association_list import PaginatedAssociationList class RawAssociationsClient: @@ -123,8 +122,8 @@ def custom_object_classes_custom_objects_associations_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 custom_object_classes_custom_objects_associations_update( self, @@ -188,8 +187,8 @@ def custom_object_classes_custom_objects_associations_update( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawAssociationsClient: @@ -299,8 +298,8 @@ async def custom_object_classes_custom_objects_associations_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 custom_object_classes_custom_objects_associations_update( self, @@ -364,5 +363,5 @@ async def custom_object_classes_custom_objects_associations_update( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/async_passthrough/__init__.py b/src/merge/resources/crm/resources/async_passthrough/__init__.py index cb869002..4767933f 100644 --- a/src/merge/resources/crm/resources/async_passthrough/__init__.py +++ b/src/merge/resources/crm/resources/async_passthrough/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import AsyncPassthroughRetrieveResponse __all__ = ["AsyncPassthroughRetrieveResponse"] diff --git a/src/merge/resources/crm/resources/async_passthrough/client.py b/src/merge/resources/crm/resources/async_passthrough/client.py index 7b92330a..7287c140 100644 --- a/src/merge/resources/crm/resources/async_passthrough/client.py +++ b/src/merge/resources/crm/resources/async_passthrough/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAsyncPassthroughClient -from ...types.data_passthrough_request import DataPassthroughRequest + +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 -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAsyncPassthroughClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -63,8 +62,8 @@ def create( ), ) """ - response = self._raw_client.create(request=request, request_options=request_options) - return response.data + _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 @@ -96,8 +95,8 @@ def 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 + _response = self._raw_client.retrieve(async_passthrough_receipt_id, request_options=request_options) + return _response.data class AsyncAsyncPassthroughClient: @@ -157,8 +156,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create(request=request, request_options=request_options) - return response.data + _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 @@ -198,5 +197,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(async_passthrough_receipt_id, request_options=request_options) - return response.data + _response = await self._raw_client.retrieve(async_passthrough_receipt_id, request_options=request_options) + return _response.data diff --git a/src/merge/resources/crm/resources/async_passthrough/raw_client.py b/src/merge/resources/crm/resources/async_passthrough/raw_client.py index 68c51339..cfcc8c38 100644 --- a/src/merge/resources/crm/resources/async_passthrough/raw_client.py +++ b/src/merge/resources/crm/resources/async_passthrough/raw_client.py @@ -1,18 +1,17 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from ...types.data_passthrough_request import DataPassthroughRequest -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.async_passthrough_reciept import AsyncPassthroughReciept -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .types.async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -44,6 +43,9 @@ def create( "crm/v1/async-passthrough", method="POST", json=request, + headers={ + "content-type": "application/json", + }, request_options=request_options, omit=OMIT, ) @@ -59,8 +61,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -97,8 +99,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -127,6 +129,9 @@ async def create( "crm/v1/async-passthrough", method="POST", json=request, + headers={ + "content-type": "application/json", + }, request_options=request_options, omit=OMIT, ) @@ -142,8 +147,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -180,5 +185,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/async_passthrough/types/__init__.py b/src/merge/resources/crm/resources/async_passthrough/types/__init__.py index caff085b..cb7e997d 100644 --- a/src/merge/resources/crm/resources/async_passthrough/types/__init__.py +++ b/src/merge/resources/crm/resources/async_passthrough/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse __all__ = ["AsyncPassthroughRetrieveResponse"] diff --git a/src/merge/resources/crm/resources/async_passthrough/types/async_passthrough_retrieve_response.py b/src/merge/resources/crm/resources/async_passthrough/types/async_passthrough_retrieve_response.py index 5a819dfd..f8f87c18 100644 --- a/src/merge/resources/crm/resources/async_passthrough/types/async_passthrough_retrieve_response.py +++ b/src/merge/resources/crm/resources/async_passthrough/types/async_passthrough_retrieve_response.py @@ -1,6 +1,7 @@ # 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/crm/resources/audit_trail/__init__.py b/src/merge/resources/crm/resources/audit_trail/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/crm/resources/audit_trail/__init__.py +++ b/src/merge/resources/crm/resources/audit_trail/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/crm/resources/audit_trail/client.py b/src/merge/resources/crm/resources/audit_trail/client.py index 15c217e4..ec2a114a 100644 --- a/src/merge/resources/crm/resources/audit_trail/client.py +++ b/src/merge/resources/crm/resources/audit_trail/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAuditTrailClient 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 .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAuditTrailClient +from .raw_client import AsyncRawAuditTrailClient, RawAuditTrailClient class AuditTrailClient: @@ -47,7 +46,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`, `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`, `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. @@ -76,7 +75,7 @@ def list( ) client.crm.audit_trail.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -85,7 +84,7 @@ def list( user_email=user_email, request_options=request_options, ) - return response.data + return _response.data class AsyncAuditTrailClient: @@ -126,7 +125,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`, `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`, `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. @@ -163,7 +162,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -172,4 +171,4 @@ async def main() -> None: user_email=user_email, request_options=request_options, ) - return response.data + 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 aa245aca..b75a9ad0 100644 --- a/src/merge/resources/crm/resources/audit_trail/raw_client.py +++ b/src/merge/resources/crm/resources/audit_trail/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -39,7 +38,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`, `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`, `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. @@ -83,8 +82,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -114,7 +113,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`, `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`, `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. @@ -158,5 +157,5 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/available_actions/__init__.py b/src/merge/resources/crm/resources/available_actions/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/crm/resources/available_actions/__init__.py +++ b/src/merge/resources/crm/resources/available_actions/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/crm/resources/available_actions/client.py b/src/merge/resources/crm/resources/available_actions/client.py index f0683830..90e49598 100644 --- a/src/merge/resources/crm/resources/available_actions/client.py +++ b/src/merge/resources/crm/resources/available_actions/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAvailableActionsClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.available_actions import AvailableActions -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAvailableActionsClient +from .raw_client import AsyncRawAvailableActionsClient, RawAvailableActionsClient class AvailableActionsClient: @@ -48,8 +47,8 @@ def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) - ) client.crm.available_actions.retrieve() """ - response = self._raw_client.retrieve(request_options=request_options) - return response.data + _response = self._raw_client.retrieve(request_options=request_options) + return _response.data class AsyncAvailableActionsClient: @@ -99,5 +98,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.retrieve(request_options=request_options) + return _response.data diff --git a/src/merge/resources/crm/resources/available_actions/raw_client.py b/src/merge/resources/crm/resources/available_actions/raw_client.py index 38f5cb58..43d6bb17 100644 --- a/src/merge/resources/crm/resources/available_actions/raw_client.py +++ b/src/merge/resources/crm/resources/available_actions/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.available_actions import AvailableActions -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -47,8 +46,8 @@ def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) - return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -88,5 +87,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/contacts/__init__.py b/src/merge/resources/crm/resources/contacts/__init__.py index 45b63413..df847d7b 100644 --- a/src/merge/resources/crm/resources/contacts/__init__.py +++ b/src/merge/resources/crm/resources/contacts/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import ContactsListRequestExpand, ContactsRetrieveRequestExpand __all__ = ["ContactsListRequestExpand", "ContactsRetrieveRequestExpand"] diff --git a/src/merge/resources/crm/resources/contacts/client.py b/src/merge/resources/crm/resources/contacts/client.py index bbe34ef7..6359a159 100644 --- a/src/merge/resources/crm/resources/contacts/client.py +++ b/src/merge/resources/crm/resources/contacts/client.py @@ -1,22 +1,21 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawContactsClient import datetime as dt -from .types.contacts_list_request_expand import ContactsListRequestExpand +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_contact_list import PaginatedContactList +from ...types.contact import Contact from ...types.contact_request import ContactRequest from ...types.crm_contact_response import CrmContactResponse -from .types.contacts_retrieve_request_expand import ContactsRetrieveRequestExpand -from ...types.contact import Contact -from ...types.patched_contact_request import PatchedContactRequest from ...types.ignore_common_model_request import IgnoreCommonModelRequest from ...types.meta_response import MetaResponse +from ...types.paginated_contact_list import PaginatedContactList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawContactsClient +from ...types.patched_contact_request import PatchedContactRequest +from .raw_client import AsyncRawContactsClient, RawContactsClient +from .types.contacts_list_request_expand import ContactsListRequestExpand +from .types.contacts_retrieve_request_expand import ContactsRetrieveRequestExpand # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -125,7 +124,7 @@ def list( ) client.crm.contacts.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( account_id=account_id, created_after=created_after, created_before=created_before, @@ -143,7 +142,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -187,10 +186,10 @@ def create( model=ContactRequest(), ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options ) - return response.data + return _response.data def retrieve( self, @@ -241,7 +240,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -249,7 +248,7 @@ def retrieve( include_shell_data=include_shell_data, request_options=request_options, ) - return response.data + return _response.data def partial_update( self, @@ -297,10 +296,10 @@ def partial_update( model=PatchedContactRequest(), ) """ - response = self._raw_client.partial_update( + _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 + return _response.data def ignore_create( self, @@ -341,8 +340,8 @@ def ignore_create( ), ) """ - response = self._raw_client.ignore_create(model_id, request=request, request_options=request_options) - return response.data + _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: """ @@ -372,8 +371,8 @@ def meta_patch_retrieve(self, id: str, *, request_options: typing.Optional[Reque id="id", ) """ - response = self._raw_client.meta_patch_retrieve(id, request_options=request_options) - return response.data + _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: """ @@ -399,8 +398,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.crm.contacts.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data def remote_field_classes_list( self, @@ -411,6 +410,7 @@ def remote_field_classes_list( include_remote_fields: 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: @@ -437,6 +437,9 @@ def 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. @@ -458,17 +461,18 @@ def remote_field_classes_list( ) client.crm.contacts.remote_field_classes_list() """ - response = self._raw_client.remote_field_classes_list( + _response = self._raw_client.remote_field_classes_list( cursor=cursor, 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 response.data + return _response.data class AsyncContactsClient: @@ -582,7 +586,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( account_id=account_id, created_after=created_after, created_before=created_before, @@ -600,7 +604,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -652,10 +656,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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 + return _response.data async def retrieve( self, @@ -714,7 +718,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -722,7 +726,7 @@ async def main() -> None: include_shell_data=include_shell_data, request_options=request_options, ) - return response.data + return _response.data async def partial_update( self, @@ -778,10 +782,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.partial_update( + _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 + return _response.data async def ignore_create( self, @@ -830,8 +834,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.ignore_create(model_id, request=request, request_options=request_options) - return response.data + _response = await self._raw_client.ignore_create(model_id, request=request, request_options=request_options) + return _response.data async def meta_patch_retrieve( self, id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -871,8 +875,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_patch_retrieve(id, request_options=request_options) - return response.data + _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: """ @@ -906,8 +910,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data async def remote_field_classes_list( self, @@ -918,6 +922,7 @@ async def remote_field_classes_list( include_remote_fields: 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: @@ -944,6 +949,9 @@ async def 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. @@ -973,14 +981,15 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.remote_field_classes_list( + _response = await self._raw_client.remote_field_classes_list( cursor=cursor, 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 response.data + 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 f220111f..11528b00 100644 --- a/src/merge/resources/crm/resources/contacts/raw_client.py +++ b/src/merge/resources/crm/resources/contacts/raw_client.py @@ -1,27 +1,26 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .types.contacts_list_request_expand import ContactsListRequestExpand -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_contact_list import PaginatedContactList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +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.contact import Contact from ...types.contact_request import ContactRequest from ...types.crm_contact_response import CrmContactResponse -from .types.contacts_retrieve_request_expand import ContactsRetrieveRequestExpand -from ...types.contact import Contact -from .....core.jsonable_encoder import jsonable_encoder -from ...types.patched_contact_request import PatchedContactRequest from ...types.ignore_common_model_request import IgnoreCommonModelRequest from ...types.meta_response import MetaResponse +from ...types.paginated_contact_list import PaginatedContactList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from ...types.patched_contact_request import PatchedContactRequest +from .types.contacts_list_request_expand import ContactsListRequestExpand +from .types.contacts_retrieve_request_expand import ContactsRetrieveRequestExpand # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -143,8 +142,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -203,8 +202,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -266,8 +265,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -329,8 +328,8 @@ def partial_update( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 ignore_create( self, @@ -359,6 +358,9 @@ def ignore_create( f"crm/v1/contacts/ignore/{jsonable_encoder(model_id)}", method="POST", json=request, + headers={ + "content-type": "application/json", + }, request_options=request_options, omit=OMIT, ) @@ -367,8 +369,8 @@ def ignore_create( return HttpResponse(response=_response, data=None) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -405,8 +407,8 @@ def meta_patch_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -441,8 +443,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -453,6 +455,7 @@ def remote_field_classes_list( include_remote_fields: 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]: @@ -479,6 +482,9 @@ def 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. @@ -500,6 +506,7 @@ def remote_field_classes_list( "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, @@ -516,8 +523,8 @@ def remote_field_classes_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawContactsClient: @@ -636,8 +643,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -696,8 +703,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -759,8 +766,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -822,8 +829,8 @@ async def partial_update( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 ignore_create( self, @@ -852,6 +859,9 @@ async def ignore_create( f"crm/v1/contacts/ignore/{jsonable_encoder(model_id)}", method="POST", json=request, + headers={ + "content-type": "application/json", + }, request_options=request_options, omit=OMIT, ) @@ -860,8 +870,8 @@ async def ignore_create( return AsyncHttpResponse(response=_response, data=None) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -898,8 +908,8 @@ async def meta_patch_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -934,8 +944,8 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -946,6 +956,7 @@ async def remote_field_classes_list( include_remote_fields: 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]: @@ -972,6 +983,9 @@ async def 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. @@ -993,6 +1007,7 @@ async def remote_field_classes_list( "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, @@ -1009,5 +1024,5 @@ async def remote_field_classes_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/contacts/types/__init__.py b/src/merge/resources/crm/resources/contacts/types/__init__.py index b6fd8acd..65499af3 100644 --- a/src/merge/resources/crm/resources/contacts/types/__init__.py +++ b/src/merge/resources/crm/resources/contacts/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .contacts_list_request_expand import ContactsListRequestExpand from .contacts_retrieve_request_expand import ContactsRetrieveRequestExpand 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 f3ea2659..5cde0202 100644 --- a/src/merge/resources/crm/resources/custom_object_classes/__init__.py +++ b/src/merge/resources/crm/resources/custom_object_classes/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + 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 726950a6..eedd7490 100644 --- a/src/merge/resources/crm/resources/custom_object_classes/client.py +++ b/src/merge/resources/crm/resources/custom_object_classes/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawCustomObjectClassesClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_custom_object_class_list import PaginatedCustomObjectClassList from ...types.custom_object_class import CustomObjectClass -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawCustomObjectClassesClient +from ...types.paginated_custom_object_class_list import PaginatedCustomObjectClassList +from .raw_client import AsyncRawCustomObjectClassesClient, RawCustomObjectClassesClient class CustomObjectClassesClient: @@ -98,7 +97,7 @@ def list( ) client.crm.custom_object_classes.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -112,7 +111,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -159,14 +158,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncCustomObjectClassesClient: @@ -264,7 +263,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -278,7 +277,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -333,11 +332,11 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data 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 50226d1d..924a26db 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 @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_custom_object_class_list import PaginatedCustomObjectClassList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.custom_object_class import CustomObjectClass +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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 class RawCustomObjectClassesClient: @@ -112,8 +111,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -170,8 +169,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawCustomObjectClassesClient: @@ -270,8 +269,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -328,5 +327,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/custom_objects/__init__.py b/src/merge/resources/crm/resources/custom_objects/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/crm/resources/custom_objects/__init__.py +++ b/src/merge/resources/crm/resources/custom_objects/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/crm/resources/custom_objects/client.py b/src/merge/resources/crm/resources/custom_objects/client.py index 3a515dc6..aeb76cc5 100644 --- a/src/merge/resources/crm/resources/custom_objects/client.py +++ b/src/merge/resources/crm/resources/custom_objects/client.py @@ -1,18 +1,17 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawCustomObjectsClient import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_custom_object_list import PaginatedCustomObjectList -from ...types.custom_object_request import CustomObjectRequest from ...types.crm_custom_object_response import CrmCustomObjectResponse from ...types.custom_object import CustomObject +from ...types.custom_object_request import CustomObjectRequest from ...types.meta_response import MetaResponse +from ...types.paginated_custom_object_list import PaginatedCustomObjectList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawCustomObjectsClient +from .raw_client import AsyncRawCustomObjectsClient, RawCustomObjectsClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -110,7 +109,7 @@ def custom_object_classes_custom_objects_list( custom_object_class_id="custom_object_class_id", ) """ - response = self._raw_client.custom_object_classes_custom_objects_list( + _response = self._raw_client.custom_object_classes_custom_objects_list( custom_object_class_id, created_after=created_after, created_before=created_before, @@ -125,7 +124,7 @@ def custom_object_classes_custom_objects_list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def custom_object_classes_custom_objects_create( self, @@ -175,14 +174,14 @@ def custom_object_classes_custom_objects_create( ), ) """ - response = self._raw_client.custom_object_classes_custom_objects_create( + _response = self._raw_client.custom_object_classes_custom_objects_create( custom_object_class_id, model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options, ) - return response.data + return _response.data def custom_object_classes_custom_objects_retrieve( self, @@ -233,7 +232,7 @@ def custom_object_classes_custom_objects_retrieve( id="id", ) """ - response = self._raw_client.custom_object_classes_custom_objects_retrieve( + _response = self._raw_client.custom_object_classes_custom_objects_retrieve( custom_object_class_id, id, include_remote_data=include_remote_data, @@ -241,7 +240,7 @@ def custom_object_classes_custom_objects_retrieve( include_shell_data=include_shell_data, request_options=request_options, ) - return response.data + return _response.data def custom_object_classes_custom_objects_meta_post_retrieve( self, custom_object_class_id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -273,10 +272,10 @@ def custom_object_classes_custom_objects_meta_post_retrieve( custom_object_class_id="custom_object_class_id", ) """ - response = self._raw_client.custom_object_classes_custom_objects_meta_post_retrieve( + _response = self._raw_client.custom_object_classes_custom_objects_meta_post_retrieve( custom_object_class_id, request_options=request_options ) - return response.data + return _response.data def custom_object_classes_custom_objects_remote_field_classes_list( self, @@ -287,6 +286,7 @@ def custom_object_classes_custom_objects_remote_field_classes_list( include_remote_fields: 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: @@ -313,6 +313,9 @@ def custom_object_classes_custom_objects_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. @@ -334,17 +337,18 @@ def custom_object_classes_custom_objects_remote_field_classes_list( ) client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_classes_list() """ - response = self._raw_client.custom_object_classes_custom_objects_remote_field_classes_list( + _response = 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, 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 response.data + return _response.data class AsyncCustomObjectsClient: @@ -447,7 +451,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.custom_object_classes_custom_objects_list( + _response = await self._raw_client.custom_object_classes_custom_objects_list( custom_object_class_id, created_after=created_after, created_before=created_before, @@ -462,7 +466,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def custom_object_classes_custom_objects_create( self, @@ -520,14 +524,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.custom_object_classes_custom_objects_create( + _response = await self._raw_client.custom_object_classes_custom_objects_create( custom_object_class_id, model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options, ) - return response.data + return _response.data async def custom_object_classes_custom_objects_retrieve( self, @@ -586,7 +590,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.custom_object_classes_custom_objects_retrieve( + _response = await self._raw_client.custom_object_classes_custom_objects_retrieve( custom_object_class_id, id, include_remote_data=include_remote_data, @@ -594,7 +598,7 @@ async def main() -> None: include_shell_data=include_shell_data, request_options=request_options, ) - return response.data + return _response.data async def custom_object_classes_custom_objects_meta_post_retrieve( self, custom_object_class_id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -634,10 +638,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.custom_object_classes_custom_objects_meta_post_retrieve( + _response = await self._raw_client.custom_object_classes_custom_objects_meta_post_retrieve( custom_object_class_id, request_options=request_options ) - return response.data + return _response.data async def custom_object_classes_custom_objects_remote_field_classes_list( self, @@ -648,6 +652,7 @@ async def custom_object_classes_custom_objects_remote_field_classes_list( include_remote_fields: 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: @@ -674,6 +679,9 @@ async def custom_object_classes_custom_objects_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. @@ -703,14 +711,15 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.custom_object_classes_custom_objects_remote_field_classes_list( + _response = 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, 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 response.data + 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 5ef00d4a..70f1855a 100644 --- a/src/merge/resources/crm/resources/custom_objects/raw_client.py +++ b/src/merge/resources/crm/resources/custom_objects/raw_client.py @@ -1,23 +1,22 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_custom_object_list import PaginatedCustomObjectList -from .....core.jsonable_encoder import jsonable_encoder -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.custom_object_request import CustomObjectRequest +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.crm_custom_object_response import CrmCustomObjectResponse from ...types.custom_object import CustomObject +from ...types.custom_object_request import CustomObjectRequest from ...types.meta_response import MetaResponse +from ...types.paginated_custom_object_list import PaginatedCustomObjectList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -122,8 +121,8 @@ def custom_object_classes_custom_objects_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 custom_object_classes_custom_objects_create( self, @@ -185,8 +184,8 @@ def custom_object_classes_custom_objects_create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 custom_object_classes_custom_objects_retrieve( self, @@ -246,8 +245,8 @@ def custom_object_classes_custom_objects_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 custom_object_classes_custom_objects_meta_post_retrieve( self, custom_object_class_id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -284,8 +283,8 @@ def custom_object_classes_custom_objects_meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 custom_object_classes_custom_objects_remote_field_classes_list( self, @@ -296,6 +295,7 @@ def custom_object_classes_custom_objects_remote_field_classes_list( include_remote_fields: 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]: @@ -322,6 +322,9 @@ def custom_object_classes_custom_objects_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. @@ -343,6 +346,7 @@ def custom_object_classes_custom_objects_remote_field_classes_list( "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, @@ -359,8 +363,8 @@ def custom_object_classes_custom_objects_remote_field_classes_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawCustomObjectsClient: @@ -462,8 +466,8 @@ async def custom_object_classes_custom_objects_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 custom_object_classes_custom_objects_create( self, @@ -525,8 +529,8 @@ async def custom_object_classes_custom_objects_create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 custom_object_classes_custom_objects_retrieve( self, @@ -586,8 +590,8 @@ async def custom_object_classes_custom_objects_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 custom_object_classes_custom_objects_meta_post_retrieve( self, custom_object_class_id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -624,8 +628,8 @@ async def custom_object_classes_custom_objects_meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 custom_object_classes_custom_objects_remote_field_classes_list( self, @@ -636,6 +640,7 @@ async def custom_object_classes_custom_objects_remote_field_classes_list( include_remote_fields: 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]: @@ -662,6 +667,9 @@ async def custom_object_classes_custom_objects_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. @@ -683,6 +691,7 @@ async def custom_object_classes_custom_objects_remote_field_classes_list( "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, @@ -699,5 +708,5 @@ async def custom_object_classes_custom_objects_remote_field_classes_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/delete_account/__init__.py b/src/merge/resources/crm/resources/delete_account/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/crm/resources/delete_account/__init__.py +++ b/src/merge/resources/crm/resources/delete_account/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/crm/resources/delete_account/client.py b/src/merge/resources/crm/resources/delete_account/client.py index 3e110866..eb7b2e24 100644 --- a/src/merge/resources/crm/resources/delete_account/client.py +++ b/src/merge/resources/crm/resources/delete_account/client.py @@ -1,11 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawDeleteAccountClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawDeleteAccountClient +from .raw_client import AsyncRawDeleteAccountClient, RawDeleteAccountClient class DeleteAccountClient: @@ -46,8 +45,8 @@ def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> ) client.crm.delete_account.delete() """ - response = self._raw_client.delete(request_options=request_options) - return response.data + _response = self._raw_client.delete(request_options=request_options) + return _response.data class AsyncDeleteAccountClient: @@ -96,5 +95,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.delete(request_options=request_options) - return response.data + _response = await self._raw_client.delete(request_options=request_options) + return _response.data diff --git a/src/merge/resources/crm/resources/delete_account/raw_client.py b/src/merge/resources/crm/resources/delete_account/raw_client.py index d90b2952..ea9a0ba6 100644 --- a/src/merge/resources/crm/resources/delete_account/raw_client.py +++ b/src/merge/resources/crm/resources/delete_account/raw_client.py @@ -1,13 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.request_options import RequestOptions class RawDeleteAccountClient: @@ -37,8 +36,8 @@ def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> return HttpResponse(response=_response, data=None) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -68,5 +67,5 @@ async def delete(self, *, request_options: typing.Optional[RequestOptions] = Non return AsyncHttpResponse(response=_response, data=None) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/engagement_types/__init__.py b/src/merge/resources/crm/resources/engagement_types/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/crm/resources/engagement_types/__init__.py +++ b/src/merge/resources/crm/resources/engagement_types/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/crm/resources/engagement_types/client.py b/src/merge/resources/crm/resources/engagement_types/client.py index 92c058a2..2535a49e 100644 --- a/src/merge/resources/crm/resources/engagement_types/client.py +++ b/src/merge/resources/crm/resources/engagement_types/client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawEngagementTypesClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_engagement_type_list import PaginatedEngagementTypeList from ...types.engagement_type import EngagementType +from ...types.paginated_engagement_type_list import PaginatedEngagementTypeList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawEngagementTypesClient +from .raw_client import AsyncRawEngagementTypesClient, RawEngagementTypesClient class EngagementTypesClient: @@ -99,7 +98,7 @@ def list( ) client.crm.engagement_types.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -113,7 +112,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -160,14 +159,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, 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 + return _response.data def remote_field_classes_list( self, @@ -178,6 +177,7 @@ def remote_field_classes_list( include_remote_fields: 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: @@ -204,6 +204,9 @@ def 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. @@ -225,17 +228,18 @@ def remote_field_classes_list( ) client.crm.engagement_types.remote_field_classes_list() """ - response = self._raw_client.remote_field_classes_list( + _response = self._raw_client.remote_field_classes_list( cursor=cursor, 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 response.data + return _response.data class AsyncEngagementTypesClient: @@ -333,7 +337,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -347,7 +351,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -402,14 +406,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, 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 + return _response.data async def remote_field_classes_list( self, @@ -420,6 +424,7 @@ async def remote_field_classes_list( include_remote_fields: 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: @@ -446,6 +451,9 @@ async def 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. @@ -475,14 +483,15 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.remote_field_classes_list( + _response = await self._raw_client.remote_field_classes_list( cursor=cursor, 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 response.data + 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 b38dfd9c..fcb2bbf4 100644 --- a/src/merge/resources/crm/resources/engagement_types/raw_client.py +++ b/src/merge/resources/crm/resources/engagement_types/raw_client.py @@ -1,20 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_engagement_type_list import PaginatedEngagementTypeList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.engagement_type import EngagementType +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.engagement_type import EngagementType +from ...types.paginated_engagement_type_list import PaginatedEngagementTypeList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse class RawEngagementTypesClient: @@ -113,8 +112,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -171,8 +170,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -183,6 +182,7 @@ def remote_field_classes_list( include_remote_fields: 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]: @@ -209,6 +209,9 @@ def 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. @@ -230,6 +233,7 @@ def remote_field_classes_list( "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, @@ -246,8 +250,8 @@ def remote_field_classes_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawEngagementTypesClient: @@ -346,8 +350,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -404,8 +408,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -416,6 +420,7 @@ async def remote_field_classes_list( include_remote_fields: 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]: @@ -442,6 +447,9 @@ async def 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. @@ -463,6 +471,7 @@ async def remote_field_classes_list( "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, @@ -479,5 +488,5 @@ async def remote_field_classes_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/engagements/__init__.py b/src/merge/resources/crm/resources/engagements/__init__.py index 21a93192..fb6330b3 100644 --- a/src/merge/resources/crm/resources/engagements/__init__.py +++ b/src/merge/resources/crm/resources/engagements/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import EngagementsListRequestExpand, EngagementsRetrieveRequestExpand __all__ = ["EngagementsListRequestExpand", "EngagementsRetrieveRequestExpand"] diff --git a/src/merge/resources/crm/resources/engagements/client.py b/src/merge/resources/crm/resources/engagements/client.py index 9d5556ec..0bc28fd7 100644 --- a/src/merge/resources/crm/resources/engagements/client.py +++ b/src/merge/resources/crm/resources/engagements/client.py @@ -1,21 +1,20 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawEngagementsClient import datetime as dt -from .types.engagements_list_request_expand import EngagementsListRequestExpand +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_engagement_list import PaginatedEngagementList +from ...types.engagement import Engagement from ...types.engagement_request import EngagementRequest from ...types.engagement_response import EngagementResponse -from .types.engagements_retrieve_request_expand import EngagementsRetrieveRequestExpand -from ...types.engagement import Engagement -from ...types.patched_engagement_request import PatchedEngagementRequest from ...types.meta_response import MetaResponse +from ...types.paginated_engagement_list import PaginatedEngagementList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawEngagementsClient +from ...types.patched_engagement_request import PatchedEngagementRequest +from .raw_client import AsyncRawEngagementsClient, RawEngagementsClient +from .types.engagements_list_request_expand import EngagementsListRequestExpand +from .types.engagements_retrieve_request_expand import EngagementsRetrieveRequestExpand # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -120,7 +119,7 @@ def list( ) client.crm.engagements.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -137,7 +136,7 @@ def list( started_before=started_before, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -181,10 +180,10 @@ def create( model=EngagementRequest(), ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options ) - return response.data + return _response.data def retrieve( self, @@ -235,7 +234,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -243,7 +242,7 @@ def retrieve( include_shell_data=include_shell_data, request_options=request_options, ) - return response.data + return _response.data def partial_update( self, @@ -291,10 +290,10 @@ def partial_update( model=PatchedEngagementRequest(), ) """ - response = self._raw_client.partial_update( + _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 + return _response.data def meta_patch_retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -324,8 +323,8 @@ def meta_patch_retrieve(self, id: str, *, request_options: typing.Optional[Reque id="id", ) """ - response = self._raw_client.meta_patch_retrieve(id, request_options=request_options) - return response.data + _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: """ @@ -351,8 +350,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.crm.engagements.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data def remote_field_classes_list( self, @@ -363,6 +362,7 @@ def remote_field_classes_list( include_remote_fields: 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: @@ -389,6 +389,9 @@ def 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. @@ -410,17 +413,18 @@ def remote_field_classes_list( ) client.crm.engagements.remote_field_classes_list() """ - response = self._raw_client.remote_field_classes_list( + _response = self._raw_client.remote_field_classes_list( cursor=cursor, 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 response.data + return _response.data class AsyncEngagementsClient: @@ -530,7 +534,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -547,7 +551,7 @@ async def main() -> None: started_before=started_before, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -599,10 +603,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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 + return _response.data async def retrieve( self, @@ -661,7 +665,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -669,7 +673,7 @@ async def main() -> None: include_shell_data=include_shell_data, request_options=request_options, ) - return response.data + return _response.data async def partial_update( self, @@ -725,10 +729,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.partial_update( + _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 + return _response.data async def meta_patch_retrieve( self, id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -768,8 +772,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_patch_retrieve(id, request_options=request_options) - return response.data + _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: """ @@ -803,8 +807,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data async def remote_field_classes_list( self, @@ -815,6 +819,7 @@ async def remote_field_classes_list( include_remote_fields: 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: @@ -841,6 +846,9 @@ async def 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. @@ -870,14 +878,15 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.remote_field_classes_list( + _response = await self._raw_client.remote_field_classes_list( cursor=cursor, 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 response.data + 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 7b32d91b..03107454 100644 --- a/src/merge/resources/crm/resources/engagements/raw_client.py +++ b/src/merge/resources/crm/resources/engagements/raw_client.py @@ -1,26 +1,25 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .types.engagements_list_request_expand import EngagementsListRequestExpand -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_engagement_list import PaginatedEngagementList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +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.engagement import Engagement from ...types.engagement_request import EngagementRequest from ...types.engagement_response import EngagementResponse -from .types.engagements_retrieve_request_expand import EngagementsRetrieveRequestExpand -from ...types.engagement import Engagement -from .....core.jsonable_encoder import jsonable_encoder -from ...types.patched_engagement_request import PatchedEngagementRequest from ...types.meta_response import MetaResponse +from ...types.paginated_engagement_list import PaginatedEngagementList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from ...types.patched_engagement_request import PatchedEngagementRequest +from .types.engagements_list_request_expand import EngagementsListRequestExpand +from .types.engagements_retrieve_request_expand import EngagementsRetrieveRequestExpand # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -137,8 +136,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -197,8 +196,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -260,8 +259,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -323,8 +322,8 @@ def partial_update( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -361,8 +360,8 @@ def meta_patch_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -397,8 +396,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -409,6 +408,7 @@ def remote_field_classes_list( include_remote_fields: 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]: @@ -435,6 +435,9 @@ def 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. @@ -456,6 +459,7 @@ def remote_field_classes_list( "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, @@ -472,8 +476,8 @@ def remote_field_classes_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawEngagementsClient: @@ -587,8 +591,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -647,8 +651,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -710,8 +714,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -773,8 +777,8 @@ async def partial_update( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -811,8 +815,8 @@ async def meta_patch_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -847,8 +851,8 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -859,6 +863,7 @@ async def remote_field_classes_list( include_remote_fields: 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]: @@ -885,6 +890,9 @@ async def 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. @@ -906,6 +914,7 @@ async def remote_field_classes_list( "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, @@ -922,5 +931,5 @@ async def remote_field_classes_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/engagements/types/__init__.py b/src/merge/resources/crm/resources/engagements/types/__init__.py index d566afa0..88afd03a 100644 --- a/src/merge/resources/crm/resources/engagements/types/__init__.py +++ b/src/merge/resources/crm/resources/engagements/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .engagements_list_request_expand import EngagementsListRequestExpand from .engagements_retrieve_request_expand import EngagementsRetrieveRequestExpand diff --git a/src/merge/resources/crm/resources/field_mapping/__init__.py b/src/merge/resources/crm/resources/field_mapping/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/crm/resources/field_mapping/__init__.py +++ b/src/merge/resources/crm/resources/field_mapping/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/crm/resources/field_mapping/client.py b/src/merge/resources/crm/resources/field_mapping/client.py index 89bf3be5..559f3fa3 100644 --- a/src/merge/resources/crm/resources/field_mapping/client.py +++ b/src/merge/resources/crm/resources/field_mapping/client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawFieldMappingClient + +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 ...types.external_target_field_api_response import ExternalTargetFieldApiResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawFieldMappingClient +from .raw_client import AsyncRawFieldMappingClient, RawFieldMappingClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -62,10 +61,10 @@ def field_mappings_retrieve( ) client.crm.field_mapping.field_mappings_retrieve() """ - response = self._raw_client.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 + return _response.data def field_mappings_create( self, @@ -130,7 +129,7 @@ def field_mappings_create( common_model_name="ExampleCommonModel", ) """ - response = self._raw_client.field_mappings_create( + _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, @@ -140,7 +139,7 @@ def field_mappings_create( exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options, ) - return response.data + return _response.data def field_mappings_destroy( self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -172,8 +171,8 @@ def 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 + _response = self._raw_client.field_mappings_destroy(field_mapping_id, request_options=request_options) + return _response.data def field_mappings_partial_update( self, @@ -220,14 +219,14 @@ def field_mappings_partial_update( field_mapping_id="field_mapping_id", ) """ - response = self._raw_client.field_mappings_partial_update( + _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 + return _response.data def remote_fields_retrieve( self, @@ -265,10 +264,10 @@ def remote_fields_retrieve( ) client.crm.field_mapping.remote_fields_retrieve() """ - response = self._raw_client.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 + return _response.data def target_fields_retrieve( self, *, request_options: typing.Optional[RequestOptions] = None @@ -296,8 +295,8 @@ def target_fields_retrieve( ) client.crm.field_mapping.target_fields_retrieve() """ - response = self._raw_client.target_fields_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.target_fields_retrieve(request_options=request_options) + return _response.data class AsyncFieldMappingClient: @@ -355,10 +354,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.field_mappings_retrieve( + _response = await self._raw_client.field_mappings_retrieve( exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options ) - return response.data + return _response.data async def field_mappings_create( self, @@ -431,7 +430,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.field_mappings_create( + _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, @@ -441,7 +440,7 @@ async def main() -> None: exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options, ) - return response.data + return _response.data async def field_mappings_destroy( self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -481,8 +480,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.field_mappings_destroy(field_mapping_id, request_options=request_options) - return response.data + _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, @@ -537,14 +536,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.field_mappings_partial_update( + _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 + return _response.data async def remote_fields_retrieve( self, @@ -590,10 +589,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.remote_fields_retrieve( + _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 + return _response.data async def target_fields_retrieve( self, *, request_options: typing.Optional[RequestOptions] = None @@ -629,5 +628,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.target_fields_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.target_fields_retrieve(request_options=request_options) + return _response.data 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 60f5ae0c..c540caec 100644 --- a/src/merge/resources/crm/resources/field_mapping/raw_client.py +++ b/src/merge/resources/crm/resources/field_mapping/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.field_mapping_api_instance_response import FieldMappingApiInstanceResponse -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.field_mapping_instance_response import FieldMappingInstanceResponse +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder -from ...types.remote_field_api_response import RemoteFieldApiResponse +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type from ...types.external_target_field_api_response import ExternalTargetFieldApiResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -65,8 +64,8 @@ def field_mappings_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -146,8 +145,8 @@ def field_mappings_create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -184,8 +183,8 @@ def field_mappings_destroy( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -246,8 +245,8 @@ def field_mappings_partial_update( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -296,8 +295,8 @@ def remote_fields_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -332,8 +331,8 @@ def target_fields_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -382,8 +381,8 @@ async def field_mappings_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -463,8 +462,8 @@ async def field_mappings_create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -501,8 +500,8 @@ async def field_mappings_destroy( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -563,8 +562,8 @@ async def field_mappings_partial_update( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -613,8 +612,8 @@ async def remote_fields_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -649,5 +648,5 @@ async def target_fields_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/force_resync/__init__.py b/src/merge/resources/crm/resources/force_resync/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/crm/resources/force_resync/__init__.py +++ b/src/merge/resources/crm/resources/force_resync/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/crm/resources/force_resync/client.py b/src/merge/resources/crm/resources/force_resync/client.py index 6234551d..22e6fedd 100644 --- a/src/merge/resources/crm/resources/force_resync/client.py +++ b/src/merge/resources/crm/resources/force_resync/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawForceResyncClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.sync_status import SyncStatus -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawForceResyncClient +from .raw_client import AsyncRawForceResyncClient, RawForceResyncClient class ForceResyncClient: @@ -50,8 +49,8 @@ def sync_status_resync_create( ) client.crm.force_resync.sync_status_resync_create() """ - response = self._raw_client.sync_status_resync_create(request_options=request_options) - return response.data + _response = self._raw_client.sync_status_resync_create(request_options=request_options) + return _response.data class AsyncForceResyncClient: @@ -103,5 +102,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.sync_status_resync_create(request_options=request_options) - return response.data + _response = await self._raw_client.sync_status_resync_create(request_options=request_options) + return _response.data diff --git a/src/merge/resources/crm/resources/force_resync/raw_client.py b/src/merge/resources/crm/resources/force_resync/raw_client.py index 8f4c9fef..7f58564f 100644 --- a/src/merge/resources/crm/resources/force_resync/raw_client.py +++ b/src/merge/resources/crm/resources/force_resync/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.sync_status import SyncStatus -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -49,8 +48,8 @@ def sync_status_resync_create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -90,5 +89,5 @@ async def sync_status_resync_create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/generate_key/__init__.py b/src/merge/resources/crm/resources/generate_key/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/crm/resources/generate_key/__init__.py +++ b/src/merge/resources/crm/resources/generate_key/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/crm/resources/generate_key/client.py b/src/merge/resources/crm/resources/generate_key/client.py index 318fb89a..e536ae14 100644 --- a/src/merge/resources/crm/resources/generate_key/client.py +++ b/src/merge/resources/crm/resources/generate_key/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawGenerateKeyClient + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.remote_key import RemoteKey -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawGenerateKeyClient +from .raw_client import AsyncRawGenerateKeyClient, RawGenerateKeyClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -56,8 +55,8 @@ def create(self, *, name: str, request_options: typing.Optional[RequestOptions] name="Remote Deployment Key 1", ) """ - response = self._raw_client.create(name=name, request_options=request_options) - return response.data + _response = self._raw_client.create(name=name, request_options=request_options) + return _response.data class AsyncGenerateKeyClient: @@ -112,5 +111,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create(name=name, request_options=request_options) - return response.data + _response = await self._raw_client.create(name=name, request_options=request_options) + return _response.data diff --git a/src/merge/resources/crm/resources/generate_key/raw_client.py b/src/merge/resources/crm/resources/generate_key/raw_client.py index a6e5f807..9e1ed9cd 100644 --- a/src/merge/resources/crm/resources/generate_key/raw_client.py +++ b/src/merge/resources/crm/resources/generate_key/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.remote_key import RemoteKey -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -60,8 +59,8 @@ def create(self, *, name: str, request_options: typing.Optional[RequestOptions] return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -111,5 +110,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/issues/__init__.py b/src/merge/resources/crm/resources/issues/__init__.py index ab74e304..bb7feb68 100644 --- a/src/merge/resources/crm/resources/issues/__init__.py +++ b/src/merge/resources/crm/resources/issues/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import IssuesListRequestStatus __all__ = ["IssuesListRequestStatus"] diff --git a/src/merge/resources/crm/resources/issues/client.py b/src/merge/resources/crm/resources/issues/client.py index 49ea130f..e967f73c 100644 --- a/src/merge/resources/crm/resources/issues/client.py +++ b/src/merge/resources/crm/resources/issues/client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawIssuesClient -import typing import datetime as dt -from .types.issues_list_request_status import IssuesListRequestStatus +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_issue_list import PaginatedIssueList from ...types.issue import Issue -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawIssuesClient +from ...types.paginated_issue_list import PaginatedIssueList +from .raw_client import AsyncRawIssuesClient, RawIssuesClient +from .types.issues_list_request_status import IssuesListRequestStatus class IssuesClient: @@ -111,7 +110,7 @@ def list( ) client.crm.issues.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -128,7 +127,7 @@ def list( status=status, request_options=request_options, ) - return response.data + return _response.data def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ @@ -158,8 +157,8 @@ def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] id="id", ) """ - response = self._raw_client.retrieve(id, request_options=request_options) - return response.data + _response = self._raw_client.retrieve(id, request_options=request_options) + return _response.data class AsyncIssuesClient: @@ -269,7 +268,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -286,7 +285,7 @@ async def main() -> None: status=status, request_options=request_options, ) - return response.data + return _response.data async def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ @@ -324,5 +323,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(id, request_options=request_options) - return response.data + _response = await self._raw_client.retrieve(id, request_options=request_options) + return _response.data diff --git a/src/merge/resources/crm/resources/issues/raw_client.py b/src/merge/resources/crm/resources/issues/raw_client.py index 58d36051..dd161a06 100644 --- a/src/merge/resources/crm/resources/issues/raw_client.py +++ b/src/merge/resources/crm/resources/issues/raw_client.py @@ -1,20 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .types.issues_list_request_status import IssuesListRequestStatus -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_issue_list import PaginatedIssueList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.issue import Issue +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -136,8 +135,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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]: """ @@ -172,8 +171,8 @@ def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -295,8 +294,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -333,5 +332,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/issues/types/__init__.py b/src/merge/resources/crm/resources/issues/types/__init__.py index 660c5d2a..06333662 100644 --- a/src/merge/resources/crm/resources/issues/types/__init__.py +++ b/src/merge/resources/crm/resources/issues/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .issues_list_request_status import IssuesListRequestStatus __all__ = ["IssuesListRequestStatus"] diff --git a/src/merge/resources/crm/resources/leads/__init__.py b/src/merge/resources/crm/resources/leads/__init__.py index ad0e563b..ea30921d 100644 --- a/src/merge/resources/crm/resources/leads/__init__.py +++ b/src/merge/resources/crm/resources/leads/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import LeadsListRequestExpand, LeadsRetrieveRequestExpand __all__ = ["LeadsListRequestExpand", "LeadsRetrieveRequestExpand"] diff --git a/src/merge/resources/crm/resources/leads/client.py b/src/merge/resources/crm/resources/leads/client.py index b008f102..ba711e50 100644 --- a/src/merge/resources/crm/resources/leads/client.py +++ b/src/merge/resources/crm/resources/leads/client.py @@ -1,20 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawLeadsClient import datetime as dt -from .types.leads_list_request_expand import LeadsListRequestExpand +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_lead_list import PaginatedLeadList +from ...types.lead import Lead from ...types.lead_request import LeadRequest from ...types.lead_response import LeadResponse -from .types.leads_retrieve_request_expand import LeadsRetrieveRequestExpand -from ...types.lead import Lead from ...types.meta_response import MetaResponse +from ...types.paginated_lead_list import PaginatedLeadList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawLeadsClient +from .raw_client import AsyncRawLeadsClient, RawLeadsClient +from .types.leads_list_request_expand import LeadsListRequestExpand +from .types.leads_retrieve_request_expand import LeadsRetrieveRequestExpand # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -131,7 +130,7 @@ def list( ) client.crm.leads.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( converted_account_id=converted_account_id, converted_contact_id=converted_contact_id, created_after=created_after, @@ -151,7 +150,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -195,10 +194,10 @@ def create( model=LeadRequest(), ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options ) - return response.data + return _response.data def retrieve( self, @@ -249,7 +248,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -257,7 +256,7 @@ def retrieve( include_shell_data=include_shell_data, request_options=request_options, ) - return response.data + return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -283,8 +282,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.crm.leads.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data def remote_field_classes_list( self, @@ -295,6 +294,7 @@ def remote_field_classes_list( include_remote_fields: 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: @@ -321,6 +321,9 @@ def 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. @@ -342,17 +345,18 @@ def remote_field_classes_list( ) client.crm.leads.remote_field_classes_list() """ - response = self._raw_client.remote_field_classes_list( + _response = self._raw_client.remote_field_classes_list( cursor=cursor, 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 response.data + return _response.data class AsyncLeadsClient: @@ -474,7 +478,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( converted_account_id=converted_account_id, converted_contact_id=converted_contact_id, created_after=created_after, @@ -494,7 +498,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -546,10 +550,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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 + return _response.data async def retrieve( self, @@ -608,7 +612,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -616,7 +620,7 @@ async def main() -> None: include_shell_data=include_shell_data, request_options=request_options, ) - return response.data + return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -650,8 +654,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data async def remote_field_classes_list( self, @@ -662,6 +666,7 @@ async def remote_field_classes_list( include_remote_fields: 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: @@ -688,6 +693,9 @@ async def 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. @@ -717,14 +725,15 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.remote_field_classes_list( + _response = await self._raw_client.remote_field_classes_list( cursor=cursor, 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 response.data + 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 48649305..8779c5d2 100644 --- a/src/merge/resources/crm/resources/leads/raw_client.py +++ b/src/merge/resources/crm/resources/leads/raw_client.py @@ -1,25 +1,24 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .types.leads_list_request_expand import LeadsListRequestExpand -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_lead_list import PaginatedLeadList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +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.lead import Lead from ...types.lead_request import LeadRequest from ...types.lead_response import LeadResponse -from .types.leads_retrieve_request_expand import LeadsRetrieveRequestExpand -from ...types.lead import Lead -from .....core.jsonable_encoder import jsonable_encoder from ...types.meta_response import MetaResponse +from ...types.paginated_lead_list import PaginatedLeadList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from .types.leads_list_request_expand import LeadsListRequestExpand +from .types.leads_retrieve_request_expand import LeadsRetrieveRequestExpand # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -151,8 +150,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -211,8 +210,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -274,8 +273,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -310,8 +309,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -322,6 +321,7 @@ def remote_field_classes_list( include_remote_fields: 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]: @@ -348,6 +348,9 @@ def 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. @@ -369,6 +372,7 @@ def remote_field_classes_list( "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, @@ -385,8 +389,8 @@ def remote_field_classes_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawLeadsClient: @@ -515,8 +519,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -575,8 +579,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -638,8 +642,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -674,8 +678,8 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -686,6 +690,7 @@ async def remote_field_classes_list( include_remote_fields: 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]: @@ -712,6 +717,9 @@ async def 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. @@ -733,6 +741,7 @@ async def remote_field_classes_list( "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, @@ -749,5 +758,5 @@ async def remote_field_classes_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/leads/types/__init__.py b/src/merge/resources/crm/resources/leads/types/__init__.py index 1836547c..1f18c5d3 100644 --- a/src/merge/resources/crm/resources/leads/types/__init__.py +++ b/src/merge/resources/crm/resources/leads/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .leads_list_request_expand import LeadsListRequestExpand from .leads_retrieve_request_expand import LeadsRetrieveRequestExpand diff --git a/src/merge/resources/crm/resources/link_token/__init__.py b/src/merge/resources/crm/resources/link_token/__init__.py index f3ea2659..a640c12b 100644 --- a/src/merge/resources/crm/resources/link_token/__init__.py +++ b/src/merge/resources/crm/resources/link_token/__init__.py @@ -1,2 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + +from .types import EndUserDetailsRequestLanguage + +__all__ = ["EndUserDetailsRequestLanguage"] diff --git a/src/merge/resources/crm/resources/link_token/client.py b/src/merge/resources/crm/resources/link_token/client.py index 16aeecf0..8a8e4a5c 100644 --- a/src/merge/resources/crm/resources/link_token/client.py +++ b/src/merge/resources/crm/resources/link_token/client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawLinkTokenClient + +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 .....core.request_options import RequestOptions from ...types.link_token import LinkToken -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawLinkTokenClient +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, ...) @@ -46,7 +45,7 @@ def create( category_common_model_scopes: typing.Optional[ typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] ] = OMIT, - language: typing.Optional[LanguageEnum] = 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, request_options: typing.Optional[RequestOptions] = None, @@ -86,7 +85,7 @@ def 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. - language : typing.Optional[LanguageEnum] + language : typing.Optional[EndUserDetailsRequestLanguage] The following subset of IETF language tags can be used to configure localization. * `en` - en @@ -122,7 +121,7 @@ def create( categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], ) """ - response = self._raw_client.create( + _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, @@ -138,7 +137,7 @@ def create( integration_specific_config=integration_specific_config, request_options=request_options, ) - return response.data + return _response.data class AsyncLinkTokenClient: @@ -171,7 +170,7 @@ async def create( category_common_model_scopes: typing.Optional[ typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] ] = OMIT, - language: typing.Optional[LanguageEnum] = 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, request_options: typing.Optional[RequestOptions] = None, @@ -211,7 +210,7 @@ async def 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. - language : typing.Optional[LanguageEnum] + language : typing.Optional[EndUserDetailsRequestLanguage] The following subset of IETF language tags can be used to configure localization. * `en` - en @@ -255,7 +254,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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, @@ -271,4 +270,4 @@ async def main() -> None: integration_specific_config=integration_specific_config, request_options=request_options, ) - return response.data + return _response.data 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 169c7299..ad9b7802 100644 --- a/src/merge/resources/crm/resources/link_token/raw_client.py +++ b/src/merge/resources/crm/resources/link_token/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper +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 .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse from ...types.link_token import LinkToken -from .....core.unchecked_base_model import construct_type -from json.decoder import JSONDecodeError -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from .types.end_user_details_request_language import EndUserDetailsRequestLanguage # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -38,7 +37,7 @@ def create( category_common_model_scopes: typing.Optional[ typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] ] = OMIT, - language: typing.Optional[LanguageEnum] = 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, request_options: typing.Optional[RequestOptions] = None, @@ -78,7 +77,7 @@ def 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. - language : typing.Optional[LanguageEnum] + language : typing.Optional[EndUserDetailsRequestLanguage] The following subset of IETF language tags can be used to configure localization. * `en` - en @@ -134,8 +133,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -157,7 +156,7 @@ async def create( category_common_model_scopes: typing.Optional[ typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] ] = OMIT, - language: typing.Optional[LanguageEnum] = 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, request_options: typing.Optional[RequestOptions] = None, @@ -197,7 +196,7 @@ async def 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. - language : typing.Optional[LanguageEnum] + language : typing.Optional[EndUserDetailsRequestLanguage] The following subset of IETF language tags can be used to configure localization. * `en` - en @@ -253,5 +252,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/link_token/types/__init__.py b/src/merge/resources/crm/resources/link_token/types/__init__.py new file mode 100644 index 00000000..fa266f8e --- /dev/null +++ b/src/merge/resources/crm/resources/link_token/types/__init__.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +from .end_user_details_request_language import EndUserDetailsRequestLanguage + +__all__ = ["EndUserDetailsRequestLanguage"] diff --git a/src/merge/resources/crm/resources/link_token/types/end_user_details_request_language.py b/src/merge/resources/crm/resources/link_token/types/end_user_details_request_language.py new file mode 100644 index 00000000..65c4b44a --- /dev/null +++ b/src/merge/resources/crm/resources/link_token/types/end_user_details_request_language.py @@ -0,0 +1,7 @@ +# 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/crm/resources/linked_accounts/__init__.py b/src/merge/resources/crm/resources/linked_accounts/__init__.py index 70377fa3..e7254ec5 100644 --- a/src/merge/resources/crm/resources/linked_accounts/__init__.py +++ b/src/merge/resources/crm/resources/linked_accounts/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import LinkedAccountsListRequestCategory __all__ = ["LinkedAccountsListRequestCategory"] diff --git a/src/merge/resources/crm/resources/linked_accounts/client.py b/src/merge/resources/crm/resources/linked_accounts/client.py index 892e6d3d..479471b9 100644 --- a/src/merge/resources/crm/resources/linked_accounts/client.py +++ b/src/merge/resources/crm/resources/linked_accounts/client.py @@ -1,13 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawLinkedAccountsClient import typing -from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawLinkedAccountsClient +from .raw_client import AsyncRawLinkedAccountsClient, RawLinkedAccountsClient +from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory class LinkedAccountsClient: @@ -112,7 +111,7 @@ def list( ) client.crm.linked_accounts.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -128,7 +127,7 @@ def list( status=status, request_options=request_options, ) - return response.data + return _response.data class AsyncLinkedAccountsClient: @@ -241,7 +240,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -257,4 +256,4 @@ async def main() -> None: status=status, request_options=request_options, ) - return response.data + 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 ceb77fab..173c2dcd 100644 --- a/src/merge/resources/crm/resources/linked_accounts/raw_client.py +++ b/src/merge/resources/crm/resources/linked_accounts/raw_client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -126,8 +125,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -243,5 +242,5 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/linked_accounts/types/__init__.py b/src/merge/resources/crm/resources/linked_accounts/types/__init__.py index 9ff5c0ae..88354602 100644 --- a/src/merge/resources/crm/resources/linked_accounts/types/__init__.py +++ b/src/merge/resources/crm/resources/linked_accounts/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .linked_accounts_list_request_category import LinkedAccountsListRequestCategory __all__ = ["LinkedAccountsListRequestCategory"] diff --git a/src/merge/resources/crm/resources/notes/__init__.py b/src/merge/resources/crm/resources/notes/__init__.py index 5b1a5376..fba9d038 100644 --- a/src/merge/resources/crm/resources/notes/__init__.py +++ b/src/merge/resources/crm/resources/notes/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import NotesListRequestExpand, NotesRetrieveRequestExpand __all__ = ["NotesListRequestExpand", "NotesRetrieveRequestExpand"] diff --git a/src/merge/resources/crm/resources/notes/client.py b/src/merge/resources/crm/resources/notes/client.py index cbac9398..5ed1e428 100644 --- a/src/merge/resources/crm/resources/notes/client.py +++ b/src/merge/resources/crm/resources/notes/client.py @@ -1,20 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawNotesClient import datetime as dt -from .types.notes_list_request_expand import NotesListRequestExpand +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_note_list import PaginatedNoteList +from ...types.meta_response import MetaResponse +from ...types.note import Note from ...types.note_request import NoteRequest from ...types.note_response import NoteResponse -from .types.notes_retrieve_request_expand import NotesRetrieveRequestExpand -from ...types.note import Note -from ...types.meta_response import MetaResponse +from ...types.paginated_note_list import PaginatedNoteList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawNotesClient +from .raw_client import AsyncRawNotesClient, RawNotesClient +from .types.notes_list_request_expand import NotesListRequestExpand +from .types.notes_retrieve_request_expand import NotesRetrieveRequestExpand # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -127,7 +126,7 @@ def list( ) client.crm.notes.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( account_id=account_id, contact_id=contact_id, created_after=created_after, @@ -146,7 +145,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -190,10 +189,10 @@ def create( model=NoteRequest(), ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options ) - return response.data + return _response.data def retrieve( self, @@ -244,7 +243,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -252,7 +251,7 @@ def retrieve( include_shell_data=include_shell_data, request_options=request_options, ) - return response.data + return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -278,8 +277,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.crm.notes.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data def remote_field_classes_list( self, @@ -290,6 +289,7 @@ def remote_field_classes_list( include_remote_fields: 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: @@ -316,6 +316,9 @@ def 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. @@ -337,17 +340,18 @@ def remote_field_classes_list( ) client.crm.notes.remote_field_classes_list() """ - response = self._raw_client.remote_field_classes_list( + _response = self._raw_client.remote_field_classes_list( cursor=cursor, 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 response.data + return _response.data class AsyncNotesClient: @@ -465,7 +469,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( account_id=account_id, contact_id=contact_id, created_after=created_after, @@ -484,7 +488,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -536,10 +540,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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 + return _response.data async def retrieve( self, @@ -598,7 +602,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -606,7 +610,7 @@ async def main() -> None: include_shell_data=include_shell_data, request_options=request_options, ) - return response.data + return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -640,8 +644,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data async def remote_field_classes_list( self, @@ -652,6 +656,7 @@ async def remote_field_classes_list( include_remote_fields: 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: @@ -678,6 +683,9 @@ async def 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. @@ -707,14 +715,15 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.remote_field_classes_list( + _response = await self._raw_client.remote_field_classes_list( cursor=cursor, 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 response.data + 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 ecf7b9c6..9b95ef38 100644 --- a/src/merge/resources/crm/resources/notes/raw_client.py +++ b/src/merge/resources/crm/resources/notes/raw_client.py @@ -1,25 +1,24 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .types.notes_list_request_expand import NotesListRequestExpand -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_note_list import PaginatedNoteList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.note_request import NoteRequest -from ...types.note_response import NoteResponse -from .types.notes_retrieve_request_expand import NotesRetrieveRequestExpand -from ...types.note import Note +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.meta_response import MetaResponse +from ...types.note import Note +from ...types.note_request import NoteRequest +from ...types.note_response import NoteResponse +from ...types.paginated_note_list import PaginatedNoteList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from .types.notes_list_request_expand import NotesListRequestExpand +from .types.notes_retrieve_request_expand import NotesRetrieveRequestExpand # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -146,8 +145,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -206,8 +205,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -269,8 +268,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -305,8 +304,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -317,6 +316,7 @@ def remote_field_classes_list( include_remote_fields: 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]: @@ -343,6 +343,9 @@ def 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. @@ -364,6 +367,7 @@ def remote_field_classes_list( "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, @@ -380,8 +384,8 @@ def remote_field_classes_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawNotesClient: @@ -505,8 +509,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -565,8 +569,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -628,8 +632,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -664,8 +668,8 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -676,6 +680,7 @@ async def remote_field_classes_list( include_remote_fields: 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]: @@ -702,6 +707,9 @@ async def 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. @@ -723,6 +731,7 @@ async def remote_field_classes_list( "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, @@ -739,5 +748,5 @@ async def remote_field_classes_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/notes/types/__init__.py b/src/merge/resources/crm/resources/notes/types/__init__.py index 821ec9f7..ed6f54bc 100644 --- a/src/merge/resources/crm/resources/notes/types/__init__.py +++ b/src/merge/resources/crm/resources/notes/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .notes_list_request_expand import NotesListRequestExpand from .notes_retrieve_request_expand import NotesRetrieveRequestExpand diff --git a/src/merge/resources/crm/resources/opportunities/__init__.py b/src/merge/resources/crm/resources/opportunities/__init__.py index 2a7f32f5..bf2518bc 100644 --- a/src/merge/resources/crm/resources/opportunities/__init__.py +++ b/src/merge/resources/crm/resources/opportunities/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import OpportunitiesListRequestExpand, OpportunitiesListRequestStatus, OpportunitiesRetrieveRequestExpand __all__ = ["OpportunitiesListRequestExpand", "OpportunitiesListRequestStatus", "OpportunitiesRetrieveRequestExpand"] diff --git a/src/merge/resources/crm/resources/opportunities/client.py b/src/merge/resources/crm/resources/opportunities/client.py index df049751..c11ecf96 100644 --- a/src/merge/resources/crm/resources/opportunities/client.py +++ b/src/merge/resources/crm/resources/opportunities/client.py @@ -1,22 +1,21 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawOpportunitiesClient import datetime as dt -from .types.opportunities_list_request_expand import OpportunitiesListRequestExpand -from .types.opportunities_list_request_status import OpportunitiesListRequestStatus +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_opportunity_list import PaginatedOpportunityList +from ...types.meta_response import MetaResponse +from ...types.opportunity import Opportunity from ...types.opportunity_request import OpportunityRequest from ...types.opportunity_response import OpportunityResponse -from .types.opportunities_retrieve_request_expand import OpportunitiesRetrieveRequestExpand -from ...types.opportunity import Opportunity -from ...types.patched_opportunity_request import PatchedOpportunityRequest -from ...types.meta_response import MetaResponse +from ...types.paginated_opportunity_list import PaginatedOpportunityList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawOpportunitiesClient +from ...types.patched_opportunity_request import PatchedOpportunityRequest +from .raw_client import AsyncRawOpportunitiesClient, RawOpportunitiesClient +from .types.opportunities_list_request_expand import OpportunitiesListRequestExpand +from .types.opportunities_list_request_status import OpportunitiesListRequestStatus +from .types.opportunities_retrieve_request_expand import OpportunitiesRetrieveRequestExpand # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -145,7 +144,7 @@ def list( ) client.crm.opportunities.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( account_id=account_id, created_after=created_after, created_before=created_before, @@ -167,7 +166,7 @@ def list( status=status, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -211,10 +210,10 @@ def create( model=OpportunityRequest(), ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options ) - return response.data + return _response.data def retrieve( self, @@ -273,7 +272,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -283,7 +282,7 @@ def retrieve( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data def partial_update( self, @@ -331,10 +330,10 @@ def partial_update( model=PatchedOpportunityRequest(), ) """ - response = self._raw_client.partial_update( + _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 + return _response.data def meta_patch_retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -364,8 +363,8 @@ def meta_patch_retrieve(self, id: str, *, request_options: typing.Optional[Reque id="id", ) """ - response = self._raw_client.meta_patch_retrieve(id, request_options=request_options) - return response.data + _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: """ @@ -391,8 +390,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.crm.opportunities.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data def remote_field_classes_list( self, @@ -403,6 +402,7 @@ def remote_field_classes_list( include_remote_fields: 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: @@ -429,6 +429,9 @@ def 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. @@ -450,17 +453,18 @@ def remote_field_classes_list( ) client.crm.opportunities.remote_field_classes_list() """ - response = self._raw_client.remote_field_classes_list( + _response = self._raw_client.remote_field_classes_list( cursor=cursor, 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 response.data + return _response.data class AsyncOpportunitiesClient: @@ -594,7 +598,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( account_id=account_id, created_after=created_after, created_before=created_before, @@ -616,7 +620,7 @@ async def main() -> None: status=status, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -668,10 +672,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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 + return _response.data async def retrieve( self, @@ -738,7 +742,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -748,7 +752,7 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data async def partial_update( self, @@ -804,10 +808,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.partial_update( + _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 + return _response.data async def meta_patch_retrieve( self, id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -847,8 +851,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_patch_retrieve(id, request_options=request_options) - return response.data + _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: """ @@ -882,8 +886,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data async def remote_field_classes_list( self, @@ -894,6 +898,7 @@ async def remote_field_classes_list( include_remote_fields: 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: @@ -920,6 +925,9 @@ async def 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. @@ -949,14 +957,15 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.remote_field_classes_list( + _response = await self._raw_client.remote_field_classes_list( cursor=cursor, 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 response.data + 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 ca0ef753..89416b47 100644 --- a/src/merge/resources/crm/resources/opportunities/raw_client.py +++ b/src/merge/resources/crm/resources/opportunities/raw_client.py @@ -1,27 +1,26 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .types.opportunities_list_request_expand import OpportunitiesListRequestExpand -from .types.opportunities_list_request_status import OpportunitiesListRequestStatus -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_opportunity_list import PaginatedOpportunityList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.opportunity_request import OpportunityRequest -from ...types.opportunity_response import OpportunityResponse -from .types.opportunities_retrieve_request_expand import OpportunitiesRetrieveRequestExpand -from ...types.opportunity import Opportunity +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 ...types.patched_opportunity_request import PatchedOpportunityRequest +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type from ...types.meta_response import MetaResponse +from ...types.opportunity import Opportunity +from ...types.opportunity_request import OpportunityRequest +from ...types.opportunity_response import OpportunityResponse +from ...types.paginated_opportunity_list import PaginatedOpportunityList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from ...types.patched_opportunity_request import PatchedOpportunityRequest +from .types.opportunities_list_request_expand import OpportunitiesListRequestExpand +from .types.opportunities_list_request_status import OpportunitiesListRequestStatus +from .types.opportunities_retrieve_request_expand import OpportunitiesRetrieveRequestExpand # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -169,8 +168,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -229,8 +228,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -302,8 +301,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -365,8 +364,8 @@ def partial_update( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -403,8 +402,8 @@ def meta_patch_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -439,8 +438,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -451,6 +450,7 @@ def remote_field_classes_list( include_remote_fields: 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]: @@ -477,6 +477,9 @@ def 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. @@ -498,6 +501,7 @@ def remote_field_classes_list( "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, @@ -514,8 +518,8 @@ def remote_field_classes_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawOpportunitiesClient: @@ -660,8 +664,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -720,8 +724,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -793,8 +797,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -856,8 +860,8 @@ async def partial_update( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -894,8 +898,8 @@ async def meta_patch_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -930,8 +934,8 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -942,6 +946,7 @@ async def remote_field_classes_list( include_remote_fields: 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]: @@ -968,6 +973,9 @@ async def 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. @@ -989,6 +997,7 @@ async def remote_field_classes_list( "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, @@ -1005,5 +1014,5 @@ async def remote_field_classes_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/opportunities/types/__init__.py b/src/merge/resources/crm/resources/opportunities/types/__init__.py index ebd8b2b2..84ba6f07 100644 --- a/src/merge/resources/crm/resources/opportunities/types/__init__.py +++ b/src/merge/resources/crm/resources/opportunities/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .opportunities_list_request_expand import OpportunitiesListRequestExpand from .opportunities_list_request_status import OpportunitiesListRequestStatus from .opportunities_retrieve_request_expand import OpportunitiesRetrieveRequestExpand diff --git a/src/merge/resources/crm/resources/passthrough/__init__.py b/src/merge/resources/crm/resources/passthrough/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/crm/resources/passthrough/__init__.py +++ b/src/merge/resources/crm/resources/passthrough/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/crm/resources/passthrough/client.py b/src/merge/resources/crm/resources/passthrough/client.py index 954ce3b9..8a01fd1c 100644 --- a/src/merge/resources/crm/resources/passthrough/client.py +++ b/src/merge/resources/crm/resources/passthrough/client.py @@ -1,13 +1,12 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawPassthroughClient -from ...types.data_passthrough_request import DataPassthroughRequest + +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 .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawPassthroughClient +from .raw_client import AsyncRawPassthroughClient, RawPassthroughClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -62,8 +61,8 @@ def create( ), ) """ - response = self._raw_client.create(request=request, request_options=request_options) - return response.data + _response = self._raw_client.create(request=request, request_options=request_options) + return _response.data class AsyncPassthroughClient: @@ -123,5 +122,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create(request=request, request_options=request_options) - return response.data + _response = await self._raw_client.create(request=request, request_options=request_options) + return _response.data diff --git a/src/merge/resources/crm/resources/passthrough/raw_client.py b/src/merge/resources/crm/resources/passthrough/raw_client.py index 1c25a058..82732697 100644 --- a/src/merge/resources/crm/resources/passthrough/raw_client.py +++ b/src/merge/resources/crm/resources/passthrough/raw_client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from ...types.data_passthrough_request import DataPassthroughRequest -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.remote_response import RemoteResponse -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -42,6 +41,9 @@ def create( "crm/v1/passthrough", method="POST", json=request, + headers={ + "content-type": "application/json", + }, request_options=request_options, omit=OMIT, ) @@ -57,8 +59,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -87,6 +89,9 @@ async def create( "crm/v1/passthrough", method="POST", json=request, + headers={ + "content-type": "application/json", + }, request_options=request_options, omit=OMIT, ) @@ -102,5 +107,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/regenerate_key/__init__.py b/src/merge/resources/crm/resources/regenerate_key/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/crm/resources/regenerate_key/__init__.py +++ b/src/merge/resources/crm/resources/regenerate_key/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/crm/resources/regenerate_key/client.py b/src/merge/resources/crm/resources/regenerate_key/client.py index 46e804ed..6fa164df 100644 --- a/src/merge/resources/crm/resources/regenerate_key/client.py +++ b/src/merge/resources/crm/resources/regenerate_key/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawRegenerateKeyClient + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.remote_key import RemoteKey -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawRegenerateKeyClient +from .raw_client import AsyncRawRegenerateKeyClient, RawRegenerateKeyClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -56,8 +55,8 @@ def create(self, *, name: str, request_options: typing.Optional[RequestOptions] name="Remote Deployment Key 1", ) """ - response = self._raw_client.create(name=name, request_options=request_options) - return response.data + _response = self._raw_client.create(name=name, request_options=request_options) + return _response.data class AsyncRegenerateKeyClient: @@ -112,5 +111,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create(name=name, request_options=request_options) - return response.data + _response = await self._raw_client.create(name=name, request_options=request_options) + return _response.data diff --git a/src/merge/resources/crm/resources/regenerate_key/raw_client.py b/src/merge/resources/crm/resources/regenerate_key/raw_client.py index f20c0769..2c036af9 100644 --- a/src/merge/resources/crm/resources/regenerate_key/raw_client.py +++ b/src/merge/resources/crm/resources/regenerate_key/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.remote_key import RemoteKey -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -60,8 +59,8 @@ def create(self, *, name: str, request_options: typing.Optional[RequestOptions] return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -111,5 +110,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/scopes/__init__.py b/src/merge/resources/crm/resources/scopes/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/crm/resources/scopes/__init__.py +++ b/src/merge/resources/crm/resources/scopes/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/crm/resources/scopes/client.py b/src/merge/resources/crm/resources/scopes/client.py index 7509ce58..7dc5ab19 100644 --- a/src/merge/resources/crm/resources/scopes/client.py +++ b/src/merge/resources/crm/resources/scopes/client.py @@ -1,13 +1,12 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawScopesClient + +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 .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawScopesClient +from .raw_client import AsyncRawScopesClient, RawScopesClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -54,8 +53,8 @@ def default_scopes_retrieve( ) client.crm.scopes.default_scopes_retrieve() """ - response = self._raw_client.default_scopes_retrieve(request_options=request_options) - return response.data + _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 @@ -83,8 +82,8 @@ def linked_account_scopes_retrieve( ) client.crm.scopes.linked_account_scopes_retrieve() """ - response = self._raw_client.linked_account_scopes_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.linked_account_scopes_retrieve(request_options=request_options) + return _response.data def linked_account_scopes_create( self, @@ -149,10 +148,10 @@ def linked_account_scopes_create( ], ) """ - response = self._raw_client.linked_account_scopes_create( + _response = self._raw_client.linked_account_scopes_create( common_models=common_models, request_options=request_options ) - return response.data + return _response.data class AsyncScopesClient: @@ -204,8 +203,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.default_scopes_retrieve(request_options=request_options) - return response.data + _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 @@ -241,8 +240,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.linked_account_scopes_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.linked_account_scopes_retrieve(request_options=request_options) + return _response.data async def linked_account_scopes_create( self, @@ -315,7 +314,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.linked_account_scopes_create( + _response = await self._raw_client.linked_account_scopes_create( common_models=common_models, request_options=request_options ) - return response.data + return _response.data diff --git a/src/merge/resources/crm/resources/scopes/raw_client.py b/src/merge/resources/crm/resources/scopes/raw_client.py index 32fee97b..39fc9689 100644 --- a/src/merge/resources/crm/resources/scopes/raw_client.py +++ b/src/merge/resources/crm/resources/scopes/raw_client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.common_model_scope_api import CommonModelScopeApi -from .....core.unchecked_base_model import construct_type 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 -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -53,8 +52,8 @@ def default_scopes_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -89,8 +88,8 @@ def linked_account_scopes_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -138,8 +137,8 @@ def linked_account_scopes_create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -179,8 +178,8 @@ async def default_scopes_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -215,8 +214,8 @@ async def linked_account_scopes_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -264,5 +263,5 @@ async def linked_account_scopes_create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/stages/__init__.py b/src/merge/resources/crm/resources/stages/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/crm/resources/stages/__init__.py +++ b/src/merge/resources/crm/resources/stages/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/crm/resources/stages/client.py b/src/merge/resources/crm/resources/stages/client.py index 3d81a327..fd69a8ba 100644 --- a/src/merge/resources/crm/resources/stages/client.py +++ b/src/merge/resources/crm/resources/stages/client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawStagesClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions +from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.paginated_stage_list import PaginatedStageList from ...types.stage import Stage -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawStagesClient +from .raw_client import AsyncRawStagesClient, RawStagesClient class StagesClient: @@ -99,7 +98,7 @@ def list( ) client.crm.stages.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -113,7 +112,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -160,14 +159,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, 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 + return _response.data def remote_field_classes_list( self, @@ -178,6 +177,7 @@ def remote_field_classes_list( include_remote_fields: 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: @@ -204,6 +204,9 @@ def 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. @@ -225,17 +228,18 @@ def remote_field_classes_list( ) client.crm.stages.remote_field_classes_list() """ - response = self._raw_client.remote_field_classes_list( + _response = self._raw_client.remote_field_classes_list( cursor=cursor, 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 response.data + return _response.data class AsyncStagesClient: @@ -333,7 +337,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -347,7 +351,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -402,14 +406,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, 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 + return _response.data async def remote_field_classes_list( self, @@ -420,6 +424,7 @@ async def remote_field_classes_list( include_remote_fields: 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: @@ -446,6 +451,9 @@ async def 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. @@ -475,14 +483,15 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.remote_field_classes_list( + _response = await self._raw_client.remote_field_classes_list( cursor=cursor, 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 response.data + 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 74afcbf4..9fddcfa5 100644 --- a/src/merge/resources/crm/resources/stages/raw_client.py +++ b/src/merge/resources/crm/resources/stages/raw_client.py @@ -1,20 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_stage_list import PaginatedStageList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.stage import Stage +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_remote_field_class_list import PaginatedRemoteFieldClassList -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from ...types.paginated_stage_list import PaginatedStageList +from ...types.stage import Stage class RawStagesClient: @@ -113,8 +112,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -171,8 +170,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -183,6 +182,7 @@ def remote_field_classes_list( include_remote_fields: 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]: @@ -209,6 +209,9 @@ def 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. @@ -230,6 +233,7 @@ def remote_field_classes_list( "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, @@ -246,8 +250,8 @@ def remote_field_classes_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawStagesClient: @@ -346,8 +350,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -404,8 +408,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -416,6 +420,7 @@ async def remote_field_classes_list( include_remote_fields: 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]: @@ -442,6 +447,9 @@ async def 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. @@ -463,6 +471,7 @@ async def remote_field_classes_list( "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, @@ -479,5 +488,5 @@ async def remote_field_classes_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/sync_status/__init__.py b/src/merge/resources/crm/resources/sync_status/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/crm/resources/sync_status/__init__.py +++ b/src/merge/resources/crm/resources/sync_status/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/crm/resources/sync_status/client.py b/src/merge/resources/crm/resources/sync_status/client.py index 6fd3468a..8f210d28 100644 --- a/src/merge/resources/crm/resources/sync_status/client.py +++ b/src/merge/resources/crm/resources/sync_status/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawSyncStatusClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.paginated_sync_status_list import PaginatedSyncStatusList -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawSyncStatusClient +from .raw_client import AsyncRawSyncStatusClient, RawSyncStatusClient class SyncStatusClient: @@ -32,7 +31,7 @@ def list( request_options: typing.Optional[RequestOptions] = None, ) -> PaginatedSyncStatusList: """ - Get syncing status. Possible values: `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 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 ---------- @@ -60,8 +59,8 @@ def list( ) client.crm.sync_status.list() """ - response = self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return response.data + _response = self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) + return _response.data class AsyncSyncStatusClient: @@ -87,7 +86,7 @@ async def list( request_options: typing.Optional[RequestOptions] = None, ) -> PaginatedSyncStatusList: """ - Get syncing status. Possible values: `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 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 ---------- @@ -123,5 +122,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return response.data + _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/crm/resources/sync_status/raw_client.py b/src/merge/resources/crm/resources/sync_status/raw_client.py index 000a8ede..00d932d2 100644 --- a/src/merge/resources/crm/resources/sync_status/raw_client.py +++ b/src/merge/resources/crm/resources/sync_status/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_sync_status_list import PaginatedSyncStatusList -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -24,7 +23,7 @@ def list( request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[PaginatedSyncStatusList]: """ - Get syncing status. Possible values: `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 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 ---------- @@ -63,8 +62,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -79,7 +78,7 @@ async def list( request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[PaginatedSyncStatusList]: """ - Get syncing status. Possible values: `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 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 ---------- @@ -118,5 +117,5 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/tasks/__init__.py b/src/merge/resources/crm/resources/tasks/__init__.py index a98bdfd7..7681737d 100644 --- a/src/merge/resources/crm/resources/tasks/__init__.py +++ b/src/merge/resources/crm/resources/tasks/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import TasksListRequestExpand, TasksRetrieveRequestExpand __all__ = ["TasksListRequestExpand", "TasksRetrieveRequestExpand"] diff --git a/src/merge/resources/crm/resources/tasks/client.py b/src/merge/resources/crm/resources/tasks/client.py index 23429a2b..4e61ae97 100644 --- a/src/merge/resources/crm/resources/tasks/client.py +++ b/src/merge/resources/crm/resources/tasks/client.py @@ -1,21 +1,20 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawTasksClient import datetime as dt -from .types.tasks_list_request_expand import TasksListRequestExpand +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper 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.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.task import Task -from ...types.patched_task_request import PatchedTaskRequest -from ...types.meta_response import MetaResponse -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawTasksClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -112,7 +111,7 @@ def list( ) client.crm.tasks.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -127,7 +126,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -171,10 +170,10 @@ def create( model=TaskRequest(), ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options ) - return response.data + return _response.data def retrieve( self, @@ -225,7 +224,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -233,7 +232,7 @@ def retrieve( include_shell_data=include_shell_data, request_options=request_options, ) - return response.data + return _response.data def partial_update( self, @@ -281,10 +280,10 @@ def partial_update( model=PatchedTaskRequest(), ) """ - response = self._raw_client.partial_update( + _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 + return _response.data def meta_patch_retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -314,8 +313,8 @@ def meta_patch_retrieve(self, id: str, *, request_options: typing.Optional[Reque id="id", ) """ - response = self._raw_client.meta_patch_retrieve(id, request_options=request_options) - return response.data + _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: """ @@ -341,8 +340,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.crm.tasks.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data def remote_field_classes_list( self, @@ -353,6 +352,7 @@ def remote_field_classes_list( include_remote_fields: 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: @@ -379,6 +379,9 @@ def 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. @@ -400,17 +403,18 @@ def remote_field_classes_list( ) client.crm.tasks.remote_field_classes_list() """ - response = self._raw_client.remote_field_classes_list( + _response = self._raw_client.remote_field_classes_list( cursor=cursor, 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 response.data + return _response.data class AsyncTasksClient: @@ -512,7 +516,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -527,7 +531,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -579,10 +583,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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 + return _response.data async def retrieve( self, @@ -641,7 +645,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -649,7 +653,7 @@ async def main() -> None: include_shell_data=include_shell_data, request_options=request_options, ) - return response.data + return _response.data async def partial_update( self, @@ -705,10 +709,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.partial_update( + _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 + return _response.data async def meta_patch_retrieve( self, id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -748,8 +752,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_patch_retrieve(id, request_options=request_options) - return response.data + _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: """ @@ -783,8 +787,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data async def remote_field_classes_list( self, @@ -795,6 +799,7 @@ async def remote_field_classes_list( include_remote_fields: 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: @@ -821,6 +826,9 @@ async def 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. @@ -850,14 +858,15 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.remote_field_classes_list( + _response = await self._raw_client.remote_field_classes_list( cursor=cursor, 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 response.data + 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 30897c9f..50499e60 100644 --- a/src/merge/resources/crm/resources/tasks/raw_client.py +++ b/src/merge/resources/crm/resources/tasks/raw_client.py @@ -1,26 +1,25 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .types.tasks_list_request_expand import TasksListRequestExpand -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_task_list import PaginatedTaskList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.task_request import TaskRequest -from ...types.task_response import TaskResponse -from .types.tasks_retrieve_request_expand import TasksRetrieveRequestExpand -from ...types.task import Task +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 ...types.patched_task_request import PatchedTaskRequest +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 .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from ...types.paginated_task_list import PaginatedTaskList +from ...types.patched_task_request import PatchedTaskRequest +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 # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -127,8 +126,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -187,8 +186,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -250,8 +249,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -313,8 +312,8 @@ def partial_update( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -351,8 +350,8 @@ def meta_patch_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -387,8 +386,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -399,6 +398,7 @@ def remote_field_classes_list( include_remote_fields: 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]: @@ -425,6 +425,9 @@ def 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. @@ -446,6 +449,7 @@ def remote_field_classes_list( "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, @@ -462,8 +466,8 @@ def remote_field_classes_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawTasksClient: @@ -567,8 +571,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -627,8 +631,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -690,8 +694,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -753,8 +757,8 @@ async def partial_update( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -791,8 +795,8 @@ async def meta_patch_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -827,8 +831,8 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -839,6 +843,7 @@ async def remote_field_classes_list( include_remote_fields: 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]: @@ -865,6 +870,9 @@ async def 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. @@ -886,6 +894,7 @@ async def remote_field_classes_list( "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, @@ -902,5 +911,5 @@ async def remote_field_classes_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/tasks/types/__init__.py b/src/merge/resources/crm/resources/tasks/types/__init__.py index efcf6472..48cfefd8 100644 --- a/src/merge/resources/crm/resources/tasks/types/__init__.py +++ b/src/merge/resources/crm/resources/tasks/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .tasks_list_request_expand import TasksListRequestExpand from .tasks_retrieve_request_expand import TasksRetrieveRequestExpand diff --git a/src/merge/resources/crm/resources/users/__init__.py b/src/merge/resources/crm/resources/users/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/crm/resources/users/__init__.py +++ b/src/merge/resources/crm/resources/users/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/crm/resources/users/client.py b/src/merge/resources/crm/resources/users/client.py index f67dbda9..1fd91cdb 100644 --- a/src/merge/resources/crm/resources/users/client.py +++ b/src/merge/resources/crm/resources/users/client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawUsersClient 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 ...types.ignore_common_model_request import IgnoreCommonModelRequest from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawUsersClient +from ...types.paginated_user_list import PaginatedUserList +from ...types.user import User +from .raw_client import AsyncRawUsersClient, RawUsersClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -107,7 +106,7 @@ def list( ) client.crm.users.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -122,7 +121,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -169,14 +168,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, 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 + return _response.data def ignore_create( self, @@ -217,8 +216,8 @@ def ignore_create( ), ) """ - response = self._raw_client.ignore_create(model_id, request=request, request_options=request_options) - return response.data + _response = self._raw_client.ignore_create(model_id, request=request, request_options=request_options) + return _response.data def remote_field_classes_list( self, @@ -229,6 +228,7 @@ def remote_field_classes_list( include_remote_fields: 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: @@ -255,6 +255,9 @@ def 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. @@ -276,17 +279,18 @@ def remote_field_classes_list( ) client.crm.users.remote_field_classes_list() """ - response = self._raw_client.remote_field_classes_list( + _response = self._raw_client.remote_field_classes_list( cursor=cursor, 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 response.data + return _response.data class AsyncUsersClient: @@ -388,7 +392,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -403,7 +407,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -458,14 +462,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, 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 + return _response.data async def ignore_create( self, @@ -514,8 +518,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.ignore_create(model_id, request=request, request_options=request_options) - return response.data + _response = await self._raw_client.ignore_create(model_id, request=request, request_options=request_options) + return _response.data async def remote_field_classes_list( self, @@ -526,6 +530,7 @@ async def remote_field_classes_list( include_remote_fields: 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: @@ -552,6 +557,9 @@ async def 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. @@ -581,14 +589,15 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.remote_field_classes_list( + _response = await self._raw_client.remote_field_classes_list( cursor=cursor, 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 response.data + 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 96af354f..4e33bb25 100644 --- a/src/merge/resources/crm/resources/users/raw_client.py +++ b/src/merge/resources/crm/resources/users/raw_client.py @@ -1,21 +1,20 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_user_list import PaginatedUserList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.user import User +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.ignore_common_model_request import IgnoreCommonModelRequest from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from ...types.paginated_user_list import PaginatedUserList +from ...types.user import User # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -122,8 +121,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -180,8 +179,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 ignore_create( self, @@ -210,6 +209,9 @@ def ignore_create( f"crm/v1/users/ignore/{jsonable_encoder(model_id)}", method="POST", json=request, + headers={ + "content-type": "application/json", + }, request_options=request_options, omit=OMIT, ) @@ -218,8 +220,8 @@ def ignore_create( return HttpResponse(response=_response, data=None) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -230,6 +232,7 @@ def remote_field_classes_list( include_remote_fields: 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]: @@ -256,6 +259,9 @@ def 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. @@ -277,6 +283,7 @@ def remote_field_classes_list( "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, @@ -293,8 +300,8 @@ def remote_field_classes_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -398,8 +405,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -456,8 +463,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 ignore_create( self, @@ -486,6 +493,9 @@ async def ignore_create( f"crm/v1/users/ignore/{jsonable_encoder(model_id)}", method="POST", json=request, + headers={ + "content-type": "application/json", + }, request_options=request_options, omit=OMIT, ) @@ -494,8 +504,8 @@ async def ignore_create( return AsyncHttpResponse(response=_response, data=None) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -506,6 +516,7 @@ async def remote_field_classes_list( include_remote_fields: 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]: @@ -532,6 +543,9 @@ async def 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. @@ -553,6 +567,7 @@ async def remote_field_classes_list( "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, @@ -569,5 +584,5 @@ async def remote_field_classes_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/resources/webhook_receivers/__init__.py b/src/merge/resources/crm/resources/webhook_receivers/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/crm/resources/webhook_receivers/__init__.py +++ b/src/merge/resources/crm/resources/webhook_receivers/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/crm/resources/webhook_receivers/client.py b/src/merge/resources/crm/resources/webhook_receivers/client.py index 98e2ef0a..a759f6f6 100644 --- a/src/merge/resources/crm/resources/webhook_receivers/client.py +++ b/src/merge/resources/crm/resources/webhook_receivers/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawWebhookReceiversClient + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.webhook_receiver import WebhookReceiver -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawWebhookReceiversClient +from .raw_client import AsyncRawWebhookReceiversClient, RawWebhookReceiversClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -51,8 +50,8 @@ def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> ty ) client.crm.webhook_receivers.list() """ - response = self._raw_client.list(request_options=request_options) - return response.data + _response = self._raw_client.list(request_options=request_options) + return _response.data def create( self, @@ -94,8 +93,8 @@ def create( is_active=True, ) """ - response = self._raw_client.create(event=event, is_active=is_active, key=key, request_options=request_options) - return response.data + _response = self._raw_client.create(event=event, is_active=is_active, key=key, request_options=request_options) + return _response.data class AsyncWebhookReceiversClient: @@ -145,8 +144,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list(request_options=request_options) - return response.data + _response = await self._raw_client.list(request_options=request_options) + return _response.data async def create( self, @@ -196,7 +195,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _response = await self._raw_client.create( event=event, is_active=is_active, key=key, request_options=request_options ) - return response.data + return _response.data diff --git a/src/merge/resources/crm/resources/webhook_receivers/raw_client.py b/src/merge/resources/crm/resources/webhook_receivers/raw_client.py index b0f1f8d6..fed0c538 100644 --- a/src/merge/resources/crm/resources/webhook_receivers/raw_client.py +++ b/src/merge/resources/crm/resources/webhook_receivers/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.webhook_receiver import WebhookReceiver -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -52,8 +51,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -108,8 +107,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -149,8 +148,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -205,5 +204,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/crm/types/__init__.py b/src/merge/resources/crm/types/__init__.py index 5e587c60..2579ae68 100644 --- a/src/merge/resources/crm/types/__init__.py +++ b/src/merge/resources/crm/types/__init__.py @@ -1,10 +1,15 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .account import Account 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_owner import AccountOwner from .account_request import AccountRequest @@ -89,6 +94,7 @@ from .field_permission_deserializer_request import FieldPermissionDeserializerRequest from .field_type_enum import FieldTypeEnum 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 @@ -203,6 +209,7 @@ 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 .task import Task from .task_account import TaskAccount from .task_opportunity import TaskOpportunity @@ -224,8 +231,11 @@ "Account", "AccountDetails", "AccountDetailsAndActions", + "AccountDetailsAndActionsCategory", "AccountDetailsAndActionsIntegration", + "AccountDetailsAndActionsStatus", "AccountDetailsAndActionsStatusEnum", + "AccountDetailsCategory", "AccountIntegration", "AccountOwner", "AccountRequest", @@ -308,6 +318,7 @@ "FieldPermissionDeserializerRequest", "FieldTypeEnum", "IgnoreCommonModelRequest", + "IgnoreCommonModelRequestReason", "IndividualCommonModelScopeDeserializer", "IndividualCommonModelScopeDeserializerRequest", "Issue", @@ -420,6 +431,7 @@ "StatusFd5Enum", "SyncStatus", "SyncStatusLastSyncResult", + "SyncStatusStatus", "Task", "TaskAccount", "TaskOpportunity", diff --git a/src/merge/resources/crm/types/account.py b/src/merge/resources/crm/types/account.py index e8e3d3c7..a76e2b6f 100644 --- a/src/merge/resources/crm/types/account.py +++ b/src/merge/resources/crm/types/account.py @@ -1,15 +1,16 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .account_owner import AccountOwner from .address import Address from .phone_number import PhoneNumber from .remote_data import RemoteData from .remote_field import RemoteField -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class Account(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/account_details.py b/src/merge/resources/crm/types/account_details.py index b5bae11d..98923cd8 100644 --- a/src/merge/resources/crm/types/account_details.py +++ b/src/merge/resources/crm/types/account_details.py @@ -1,18 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing -from .category_enum import CategoryEnum + import pydantic -import datetime as dt 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[CategoryEnum] = 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 diff --git a/src/merge/resources/crm/types/account_details_and_actions.py b/src/merge/resources/crm/types/account_details_and_actions.py index 22726b6a..a16114f6 100644 --- a/src/merge/resources/crm/types/account_details_and_actions.py +++ b/src/merge/resources/crm/types/account_details_and_actions.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing -from .category_enum import CategoryEnum -from .account_details_and_actions_status_enum import AccountDetailsAndActionsStatusEnum + import pydantic -from .account_details_and_actions_integration import AccountDetailsAndActionsIntegration -import datetime as dt 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): @@ -21,8 +22,8 @@ class AccountDetailsAndActions(UncheckedBaseModel): """ id: str - category: typing.Optional[CategoryEnum] = None - status: AccountDetailsAndActionsStatusEnum + 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 diff --git a/src/merge/resources/crm/types/account_details_and_actions_category.py b/src/merge/resources/crm/types/account_details_and_actions_category.py new file mode 100644 index 00000000..93b4188b --- /dev/null +++ b/src/merge/resources/crm/types/account_details_and_actions_category.py @@ -0,0 +1,7 @@ +# 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/crm/types/account_details_and_actions_integration.py b/src/merge/resources/crm/types/account_details_and_actions_integration.py index d3826f1b..73467bbb 100644 --- a/src/merge/resources/crm/types/account_details_and_actions_integration.py +++ b/src/merge/resources/crm/types/account_details_and_actions_integration.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel 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 -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class AccountDetailsAndActionsIntegration(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/account_details_and_actions_status.py b/src/merge/resources/crm/types/account_details_and_actions_status.py new file mode 100644 index 00000000..445922f8 --- /dev/null +++ b/src/merge/resources/crm/types/account_details_and_actions_status.py @@ -0,0 +1,7 @@ +# 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/crm/types/account_details_category.py b/src/merge/resources/crm/types/account_details_category.py new file mode 100644 index 00000000..8a0cc59c --- /dev/null +++ b/src/merge/resources/crm/types/account_details_category.py @@ -0,0 +1,7 @@ +# 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/crm/types/account_integration.py b/src/merge/resources/crm/types/account_integration.py index 9695197b..ef8b260d 100644 --- a/src/merge/resources/crm/types/account_integration.py +++ b/src/merge/resources/crm/types/account_integration.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import pydantic import typing -from .categories_enum import CategoriesEnum + +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): diff --git a/src/merge/resources/crm/types/account_owner.py b/src/merge/resources/crm/types/account_owner.py index 11456c5d..eb20c8fc 100644 --- a/src/merge/resources/crm/types/account_owner.py +++ b/src/merge/resources/crm/types/account_owner.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .user import User AccountOwner = typing.Union[str, User] diff --git a/src/merge/resources/crm/types/account_request.py b/src/merge/resources/crm/types/account_request.py index a9e7f678..0f7fc493 100644 --- a/src/merge/resources/crm/types/account_request.py +++ b/src/merge/resources/crm/types/account_request.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing -from .account_request_owner import AccountRequestOwner + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .account_request_owner import AccountRequestOwner from .address_request import AddressRequest -import datetime as dt from .remote_field_request import RemoteFieldRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class AccountRequest(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/account_request_owner.py b/src/merge/resources/crm/types/account_request_owner.py index 9ab51c35..790ba846 100644 --- a/src/merge/resources/crm/types/account_request_owner.py +++ b/src/merge/resources/crm/types/account_request_owner.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .user import User AccountRequestOwner = typing.Union[str, User] diff --git a/src/merge/resources/crm/types/account_token.py b/src/merge/resources/crm/types/account_token.py index 0fc6016b..6e82c8ac 100644 --- a/src/merge/resources/crm/types/account_token.py +++ b/src/merge/resources/crm/types/account_token.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .account_integration import AccountIntegration -from ....core.pydantic_utilities import IS_PYDANTIC_V2 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): diff --git a/src/merge/resources/crm/types/address.py b/src/merge/resources/crm/types/address.py index adee0e98..5a5b14d4 100644 --- a/src/merge/resources/crm/types/address.py +++ b/src/merge/resources/crm/types/address.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import typing import datetime as dt +import typing + import pydantic -from .address_country import AddressCountry -from .address_address_type import AddressAddressType from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .address_address_type import AddressAddressType +from .address_country import AddressCountry class Address(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/address_address_type.py b/src/merge/resources/crm/types/address_address_type.py index 28fa5845..54bc600b 100644 --- a/src/merge/resources/crm/types/address_address_type.py +++ b/src/merge/resources/crm/types/address_address_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .address_type_enum import AddressTypeEnum AddressAddressType = typing.Union[AddressTypeEnum, str] diff --git a/src/merge/resources/crm/types/address_country.py b/src/merge/resources/crm/types/address_country.py index f8ff10fc..b437f311 100644 --- a/src/merge/resources/crm/types/address_country.py +++ b/src/merge/resources/crm/types/address_country.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .country_enum import CountryEnum AddressCountry = typing.Union[CountryEnum, str] diff --git a/src/merge/resources/crm/types/address_request.py b/src/merge/resources/crm/types/address_request.py index 049ab19a..6ae6189e 100644 --- a/src/merge/resources/crm/types/address_request.py +++ b/src/merge/resources/crm/types/address_request.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing + import pydantic -from .address_request_country import AddressRequestCountry -from .address_request_address_type import AddressRequestAddressType from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .address_request_address_type import AddressRequestAddressType +from .address_request_country import AddressRequestCountry class AddressRequest(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/address_request_address_type.py b/src/merge/resources/crm/types/address_request_address_type.py index 3855f4bc..7052fc92 100644 --- a/src/merge/resources/crm/types/address_request_address_type.py +++ b/src/merge/resources/crm/types/address_request_address_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .address_type_enum import AddressTypeEnum AddressRequestAddressType = typing.Union[AddressTypeEnum, str] diff --git a/src/merge/resources/crm/types/address_request_country.py b/src/merge/resources/crm/types/address_request_country.py index 28dfd7d3..02559f8d 100644 --- a/src/merge/resources/crm/types/address_request_country.py +++ b/src/merge/resources/crm/types/address_request_country.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .country_enum import CountryEnum AddressRequestCountry = typing.Union[CountryEnum, str] diff --git a/src/merge/resources/crm/types/advanced_metadata.py b/src/merge/resources/crm/types/advanced_metadata.py index 7b4d6211..60b5d072 100644 --- a/src/merge/resources/crm/types/advanced_metadata.py +++ b/src/merge/resources/crm/types/advanced_metadata.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class AdvancedMetadata(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/association.py b/src/merge/resources/crm/types/association.py index ae78a16f..6f694ee2 100644 --- a/src/merge/resources/crm/types/association.py +++ b/src/merge/resources/crm/types/association.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import typing import datetime as dt +import typing + import pydantic -from .association_association_type import AssociationAssociationType from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .association_association_type import AssociationAssociationType class Association(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/association_association_type.py b/src/merge/resources/crm/types/association_association_type.py index 28b18784..0395ebcc 100644 --- a/src/merge/resources/crm/types/association_association_type.py +++ b/src/merge/resources/crm/types/association_association_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .association_type import AssociationType AssociationAssociationType = typing.Union[str, AssociationType] diff --git a/src/merge/resources/crm/types/association_sub_type.py b/src/merge/resources/crm/types/association_sub_type.py index 0fbf40db..e3c80f99 100644 --- a/src/merge/resources/crm/types/association_sub_type.py +++ b/src/merge/resources/crm/types/association_sub_type.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import typing import datetime as dt +import typing + import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class AssociationSubType(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/association_type.py b/src/merge/resources/crm/types/association_type.py index 5317a703..3826285e 100644 --- a/src/merge/resources/crm/types/association_type.py +++ b/src/merge/resources/crm/types/association_type.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .association_sub_type import AssociationSubType from .association_type_cardinality import AssociationTypeCardinality -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class AssociationType(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/association_type_cardinality.py b/src/merge/resources/crm/types/association_type_cardinality.py index 7cfba4fb..8d59451c 100644 --- a/src/merge/resources/crm/types/association_type_cardinality.py +++ b/src/merge/resources/crm/types/association_type_cardinality.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .cardinality_enum import CardinalityEnum AssociationTypeCardinality = typing.Union[CardinalityEnum, str] diff --git a/src/merge/resources/crm/types/association_type_request_request.py b/src/merge/resources/crm/types/association_type_request_request.py index c2e20071..f377cd0c 100644 --- a/src/merge/resources/crm/types/association_type_request_request.py +++ b/src/merge/resources/crm/types/association_type_request_request.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .object_class_description_request import ObjectClassDescriptionRequest import typing -from .cardinality_enum import CardinalityEnum -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .cardinality_enum import CardinalityEnum +from .object_class_description_request import ObjectClassDescriptionRequest class AssociationTypeRequestRequest(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/async_passthrough_reciept.py b/src/merge/resources/crm/types/async_passthrough_reciept.py index 4e217ee9..21c95080 100644 --- a/src/merge/resources/crm/types/async_passthrough_reciept.py +++ b/src/merge/resources/crm/types/async_passthrough_reciept.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class AsyncPassthroughReciept(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/audit_log_event.py b/src/merge/resources/crm/types/audit_log_event.py index 1cf6997a..ab69fd32 100644 --- a/src/merge/resources/crm/types/audit_log_event.py +++ b/src/merge/resources/crm/types/audit_log_event.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -from .audit_log_event_role import AuditLogEventRole -from .audit_log_event_event_type import AuditLogEventEventType -import datetime as dt 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): @@ -43,6 +44,7 @@ class AuditLogEvent(UncheckedBaseModel): * `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 diff --git a/src/merge/resources/crm/types/audit_log_event_event_type.py b/src/merge/resources/crm/types/audit_log_event_event_type.py index f9d43eed..f9c9d2b3 100644 --- a/src/merge/resources/crm/types/audit_log_event_event_type.py +++ b/src/merge/resources/crm/types/audit_log_event_event_type.py @@ -1,6 +1,7 @@ # 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/crm/types/audit_log_event_role.py b/src/merge/resources/crm/types/audit_log_event_role.py index 83ecd93a..fe91ed6f 100644 --- a/src/merge/resources/crm/types/audit_log_event_role.py +++ b/src/merge/resources/crm/types/audit_log_event_role.py @@ -1,6 +1,7 @@ # 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/crm/types/available_actions.py b/src/merge/resources/crm/types/available_actions.py index f4361dd0..8b5019d7 100644 --- a/src/merge/resources/crm/types/available_actions.py +++ b/src/merge/resources/crm/types/available_actions.py @@ -1,11 +1,12 @@ # 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 -import typing from .model_operation import ModelOperation -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class AvailableActions(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/common_model_scope_api.py b/src/merge/resources/crm/types/common_model_scope_api.py index e372d68b..5484808d 100644 --- a/src/merge/resources/crm/types/common_model_scope_api.py +++ b/src/merge/resources/crm/types/common_model_scope_api.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .individual_common_model_scope_deserializer import IndividualCommonModelScopeDeserializer + 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): diff --git a/src/merge/resources/crm/types/common_model_scopes_body_request.py b/src/merge/resources/crm/types/common_model_scopes_body_request.py index 4a2f10cb..a9fed25b 100644 --- a/src/merge/resources/crm/types/common_model_scopes_body_request.py +++ b/src/merge/resources/crm/types/common_model_scopes_body_request.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .enabled_actions_enum import EnabledActionsEnum -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/crm/types/contact.py b/src/merge/resources/crm/types/contact.py index 5e88bb28..d5b7019a 100644 --- a/src/merge/resources/crm/types/contact.py +++ b/src/merge/resources/crm/types/contact.py @@ -1,17 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .address import Address from .contact_account import ContactAccount from .contact_owner import ContactOwner -from .address import Address from .email_address import EmailAddress from .phone_number import PhoneNumber from .remote_data import RemoteData from .remote_field import RemoteField -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class Contact(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/contact_account.py b/src/merge/resources/crm/types/contact_account.py index b58782ef..f21ef820 100644 --- a/src/merge/resources/crm/types/contact_account.py +++ b/src/merge/resources/crm/types/contact_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account ContactAccount = typing.Union[str, Account] diff --git a/src/merge/resources/crm/types/contact_owner.py b/src/merge/resources/crm/types/contact_owner.py index 5e4bd7c5..24fc6dc1 100644 --- a/src/merge/resources/crm/types/contact_owner.py +++ b/src/merge/resources/crm/types/contact_owner.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .user import User ContactOwner = typing.Union[str, User] diff --git a/src/merge/resources/crm/types/contact_request.py b/src/merge/resources/crm/types/contact_request.py index 67138a65..12849554 100644 --- a/src/merge/resources/crm/types/contact_request.py +++ b/src/merge/resources/crm/types/contact_request.py @@ -1,16 +1,17 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .address_request import AddressRequest from .contact_request_account import ContactRequestAccount from .contact_request_owner import ContactRequestOwner -from .address_request import AddressRequest from .email_address_request import EmailAddressRequest from .phone_number_request import PhoneNumberRequest -import datetime as dt from .remote_field_request import RemoteFieldRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class ContactRequest(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/contact_request_account.py b/src/merge/resources/crm/types/contact_request_account.py index 89a6048f..449187af 100644 --- a/src/merge/resources/crm/types/contact_request_account.py +++ b/src/merge/resources/crm/types/contact_request_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account ContactRequestAccount = typing.Union[str, Account] diff --git a/src/merge/resources/crm/types/contact_request_owner.py b/src/merge/resources/crm/types/contact_request_owner.py index 594f76bc..c41de073 100644 --- a/src/merge/resources/crm/types/contact_request_owner.py +++ b/src/merge/resources/crm/types/contact_request_owner.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .user import User ContactRequestOwner = typing.Union[str, User] diff --git a/src/merge/resources/crm/types/crm_account_response.py b/src/merge/resources/crm/types/crm_account_response.py index 14bbf4b3..644bf350 100644 --- a/src/merge/resources/crm/types/crm_account_response.py +++ b/src/merge/resources/crm/types/crm_account_response.py @@ -1,13 +1,14 @@ # 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 import Account -import typing -from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic +from .error_validation_problem import ErrorValidationProblem +from .warning_validation_problem import WarningValidationProblem class CrmAccountResponse(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/crm_association_type_response.py b/src/merge/resources/crm/types/crm_association_type_response.py index 21db5568..93461f51 100644 --- a/src/merge/resources/crm/types/crm_association_type_response.py +++ b/src/merge/resources/crm/types/crm_association_type_response.py @@ -1,13 +1,14 @@ # 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 .association_type import AssociationType -import typing -from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic +from .error_validation_problem import ErrorValidationProblem +from .warning_validation_problem import WarningValidationProblem class CrmAssociationTypeResponse(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/crm_contact_response.py b/src/merge/resources/crm/types/crm_contact_response.py index 55b193a6..72e0962a 100644 --- a/src/merge/resources/crm/types/crm_contact_response.py +++ b/src/merge/resources/crm/types/crm_contact_response.py @@ -1,13 +1,14 @@ # 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 .contact import Contact -import typing -from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic +from .error_validation_problem import ErrorValidationProblem +from .warning_validation_problem import WarningValidationProblem class CrmContactResponse(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/crm_custom_object_response.py b/src/merge/resources/crm/types/crm_custom_object_response.py index 528a2d2b..7a826ede 100644 --- a/src/merge/resources/crm/types/crm_custom_object_response.py +++ b/src/merge/resources/crm/types/crm_custom_object_response.py @@ -1,13 +1,14 @@ # 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 .custom_object import CustomObject -import typing -from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic +from .error_validation_problem import ErrorValidationProblem +from .warning_validation_problem import WarningValidationProblem class CrmCustomObjectResponse(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/custom_object.py b/src/merge/resources/crm/types/custom_object.py index 602c41d2..8f61f187 100644 --- a/src/merge/resources/crm/types/custom_object.py +++ b/src/merge/resources/crm/types/custom_object.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .remote_field import RemoteField from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_field import RemoteField class CustomObject(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/custom_object_class.py b/src/merge/resources/crm/types/custom_object_class.py index 31a4f5ca..e182b3a5 100644 --- a/src/merge/resources/crm/types/custom_object_class.py +++ b/src/merge/resources/crm/types/custom_object_class.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .remote_field_class_for_custom_object_class import RemoteFieldClassForCustomObjectClass from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_field_class_for_custom_object_class import RemoteFieldClassForCustomObjectClass class CustomObjectClass(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/custom_object_request.py b/src/merge/resources/crm/types/custom_object_request.py index 12bc9c83..012650f9 100644 --- a/src/merge/resources/crm/types/custom_object_request.py +++ b/src/merge/resources/crm/types/custom_object_request.py @@ -1,13 +1,16 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel 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 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 37920aa3..c9f0a799 100644 --- a/src/merge/resources/crm/types/data_passthrough_request.py +++ b/src/merge/resources/crm/types/data_passthrough_request.py @@ -1,12 +1,13 @@ # 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 -import pydantic -import typing from .multipart_form_field_request import MultipartFormFieldRequest from .request_format_enum import RequestFormatEnum -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class DataPassthroughRequest(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/debug_mode_log.py b/src/merge/resources/crm/types/debug_mode_log.py index 7dcc7458..9c7d2a3f 100644 --- a/src/merge/resources/crm/types/debug_mode_log.py +++ b/src/merge/resources/crm/types/debug_mode_log.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .debug_model_log_summary import DebugModelLogSummary -from ....core.pydantic_utilities import IS_PYDANTIC_V2 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): diff --git a/src/merge/resources/crm/types/debug_model_log_summary.py b/src/merge/resources/crm/types/debug_model_log_summary.py index 105e3136..d7e1d3e6 100644 --- a/src/merge/resources/crm/types/debug_model_log_summary.py +++ b/src/merge/resources/crm/types/debug_model_log_summary.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class DebugModelLogSummary(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/email_address.py b/src/merge/resources/crm/types/email_address.py index f87f0974..f6d87c1f 100644 --- a/src/merge/resources/crm/types/email_address.py +++ b/src/merge/resources/crm/types/email_address.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import typing import datetime as dt +import typing + import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class EmailAddress(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/email_address_request.py b/src/merge/resources/crm/types/email_address_request.py index f28b8337..ae878e00 100644 --- a/src/merge/resources/crm/types/email_address_request.py +++ b/src/merge/resources/crm/types/email_address_request.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing + import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class EmailAddressRequest(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/engagement.py b/src/merge/resources/crm/types/engagement.py index aa814419..4a351907 100644 --- a/src/merge/resources/crm/types/engagement.py +++ b/src/merge/resources/crm/types/engagement.py @@ -1,17 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .engagement_owner import EngagementOwner -from .engagement_direction import EngagementDirection -from .engagement_engagement_type import EngagementEngagementType +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .engagement_account import EngagementAccount from .engagement_contacts_item import EngagementContactsItem +from .engagement_direction import EngagementDirection +from .engagement_engagement_type import EngagementEngagementType +from .engagement_owner import EngagementOwner from .remote_data import RemoteData from .remote_field import RemoteField -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class Engagement(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/engagement_account.py b/src/merge/resources/crm/types/engagement_account.py index 62cb6dc7..670fbbd5 100644 --- a/src/merge/resources/crm/types/engagement_account.py +++ b/src/merge/resources/crm/types/engagement_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account EngagementAccount = typing.Union[str, Account] diff --git a/src/merge/resources/crm/types/engagement_contacts_item.py b/src/merge/resources/crm/types/engagement_contacts_item.py index 3bcb997d..12faa1ae 100644 --- a/src/merge/resources/crm/types/engagement_contacts_item.py +++ b/src/merge/resources/crm/types/engagement_contacts_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .contact import Contact EngagementContactsItem = typing.Union[str, Contact] diff --git a/src/merge/resources/crm/types/engagement_direction.py b/src/merge/resources/crm/types/engagement_direction.py index 27ef3e9f..b37a6226 100644 --- a/src/merge/resources/crm/types/engagement_direction.py +++ b/src/merge/resources/crm/types/engagement_direction.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .direction_enum import DirectionEnum EngagementDirection = typing.Union[DirectionEnum, str] diff --git a/src/merge/resources/crm/types/engagement_engagement_type.py b/src/merge/resources/crm/types/engagement_engagement_type.py index cb03f2a0..9eee8736 100644 --- a/src/merge/resources/crm/types/engagement_engagement_type.py +++ b/src/merge/resources/crm/types/engagement_engagement_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .engagement_type import EngagementType EngagementEngagementType = typing.Union[str, EngagementType] diff --git a/src/merge/resources/crm/types/engagement_owner.py b/src/merge/resources/crm/types/engagement_owner.py index 9c099114..ec8d6da5 100644 --- a/src/merge/resources/crm/types/engagement_owner.py +++ b/src/merge/resources/crm/types/engagement_owner.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .user import User EngagementOwner = typing.Union[str, User] diff --git a/src/merge/resources/crm/types/engagement_request.py b/src/merge/resources/crm/types/engagement_request.py index 430203bd..682149c2 100644 --- a/src/merge/resources/crm/types/engagement_request.py +++ b/src/merge/resources/crm/types/engagement_request.py @@ -1,16 +1,17 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing -from .engagement_request_owner import EngagementRequestOwner + import pydantic -from .engagement_request_direction import EngagementRequestDirection -from .engagement_request_engagement_type import EngagementRequestEngagementType -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .engagement_request_account import EngagementRequestAccount from .engagement_request_contacts_item import EngagementRequestContactsItem +from .engagement_request_direction import EngagementRequestDirection +from .engagement_request_engagement_type import EngagementRequestEngagementType +from .engagement_request_owner import EngagementRequestOwner from .remote_field_request import RemoteFieldRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class EngagementRequest(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/engagement_request_account.py b/src/merge/resources/crm/types/engagement_request_account.py index 8093d6d1..4cb22f6d 100644 --- a/src/merge/resources/crm/types/engagement_request_account.py +++ b/src/merge/resources/crm/types/engagement_request_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account EngagementRequestAccount = typing.Union[str, Account] diff --git a/src/merge/resources/crm/types/engagement_request_contacts_item.py b/src/merge/resources/crm/types/engagement_request_contacts_item.py index 8dcdef7e..677c7247 100644 --- a/src/merge/resources/crm/types/engagement_request_contacts_item.py +++ b/src/merge/resources/crm/types/engagement_request_contacts_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .contact import Contact EngagementRequestContactsItem = typing.Union[str, Contact] diff --git a/src/merge/resources/crm/types/engagement_request_direction.py b/src/merge/resources/crm/types/engagement_request_direction.py index cd1d30f0..eeb8027e 100644 --- a/src/merge/resources/crm/types/engagement_request_direction.py +++ b/src/merge/resources/crm/types/engagement_request_direction.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .direction_enum import DirectionEnum EngagementRequestDirection = typing.Union[DirectionEnum, str] diff --git a/src/merge/resources/crm/types/engagement_request_engagement_type.py b/src/merge/resources/crm/types/engagement_request_engagement_type.py index 940b3948..37803788 100644 --- a/src/merge/resources/crm/types/engagement_request_engagement_type.py +++ b/src/merge/resources/crm/types/engagement_request_engagement_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .engagement_type import EngagementType EngagementRequestEngagementType = typing.Union[str, EngagementType] diff --git a/src/merge/resources/crm/types/engagement_request_owner.py b/src/merge/resources/crm/types/engagement_request_owner.py index aa6b6624..11fd7891 100644 --- a/src/merge/resources/crm/types/engagement_request_owner.py +++ b/src/merge/resources/crm/types/engagement_request_owner.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .user import User EngagementRequestOwner = typing.Union[str, User] diff --git a/src/merge/resources/crm/types/engagement_response.py b/src/merge/resources/crm/types/engagement_response.py index ffed4f5e..d3365c98 100644 --- a/src/merge/resources/crm/types/engagement_response.py +++ b/src/merge/resources/crm/types/engagement_response.py @@ -1,13 +1,14 @@ # 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 .engagement import Engagement -import typing -from .warning_validation_problem import WarningValidationProblem from .error_validation_problem import ErrorValidationProblem -from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic +from .warning_validation_problem import WarningValidationProblem class EngagementResponse(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/engagement_type.py b/src/merge/resources/crm/types/engagement_type.py index 74f5ad95..06a9d326 100644 --- a/src/merge/resources/crm/types/engagement_type.py +++ b/src/merge/resources/crm/types/engagement_type.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .engagement_type_activity_type import EngagementTypeActivityType from .remote_field import RemoteField -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class EngagementType(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/engagement_type_activity_type.py b/src/merge/resources/crm/types/engagement_type_activity_type.py index ae4eb719..c5845a91 100644 --- a/src/merge/resources/crm/types/engagement_type_activity_type.py +++ b/src/merge/resources/crm/types/engagement_type_activity_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .activity_type_enum import ActivityTypeEnum EngagementTypeActivityType = typing.Union[ActivityTypeEnum, str] diff --git a/src/merge/resources/crm/types/error_validation_problem.py b/src/merge/resources/crm/types/error_validation_problem.py index a3cef60c..04f82d05 100644 --- a/src/merge/resources/crm/types/error_validation_problem.py +++ b/src/merge/resources/crm/types/error_validation_problem.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .validation_problem_source import ValidationProblemSource -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/crm/types/event_type_enum.py b/src/merge/resources/crm/types/event_type_enum.py index 28f9cfec..537cea3f 100644 --- a/src/merge/resources/crm/types/event_type_enum.py +++ b/src/merge/resources/crm/types/event_type_enum.py @@ -13,6 +13,7 @@ class EventTypeEnum(str, enum.Enum): * `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 @@ -57,6 +58,7 @@ class EventTypeEnum(str, enum.Enum): 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" @@ -102,6 +104,7 @@ def visit( 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], @@ -150,6 +153,8 @@ def visit( 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: diff --git a/src/merge/resources/crm/types/external_target_field_api.py b/src/merge/resources/crm/types/external_target_field_api.py index 2f0677ba..c0fea1eb 100644 --- a/src/merge/resources/crm/types/external_target_field_api.py +++ b/src/merge/resources/crm/types/external_target_field_api.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ExternalTargetFieldApi(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/external_target_field_api_response.py b/src/merge/resources/crm/types/external_target_field_api_response.py index 8ac7fccc..8613e032 100644 --- a/src/merge/resources/crm/types/external_target_field_api_response.py +++ b/src/merge/resources/crm/types/external_target_field_api_response.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .external_target_field_api import ExternalTargetFieldApi + 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): diff --git a/src/merge/resources/crm/types/field_mapping_api_instance.py b/src/merge/resources/crm/types/field_mapping_api_instance.py index 566f157c..a5815313 100644 --- a/src/merge/resources/crm/types/field_mapping_api_instance.py +++ b/src/merge/resources/crm/types/field_mapping_api_instance.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .field_mapping_api_instance_target_field import FieldMappingApiInstanceTargetField -from .field_mapping_api_instance_remote_field import FieldMappingApiInstanceRemoteField -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): 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 d47c8008..578a2b10 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 @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel 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, ) -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class FieldMappingApiInstanceRemoteField(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py b/src/merge/resources/crm/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py index 706ba0b2..4171f08b 100644 --- a/src/merge/resources/crm/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py +++ b/src/merge/resources/crm/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/field_mapping_api_instance_response.py b/src/merge/resources/crm/types/field_mapping_api_instance_response.py index 7a130ae9..83c33ca6 100644 --- a/src/merge/resources/crm/types/field_mapping_api_instance_response.py +++ b/src/merge/resources/crm/types/field_mapping_api_instance_response.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .field_mapping_api_instance import FieldMappingApiInstance + 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): diff --git a/src/merge/resources/crm/types/field_mapping_api_instance_target_field.py b/src/merge/resources/crm/types/field_mapping_api_instance_target_field.py index 32fd6f63..e6474cba 100644 --- a/src/merge/resources/crm/types/field_mapping_api_instance_target_field.py +++ b/src/merge/resources/crm/types/field_mapping_api_instance_target_field.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class FieldMappingApiInstanceTargetField(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/field_mapping_instance_response.py b/src/merge/resources/crm/types/field_mapping_instance_response.py index fd9b7493..f921e641 100644 --- a/src/merge/resources/crm/types/field_mapping_instance_response.py +++ b/src/merge/resources/crm/types/field_mapping_instance_response.py @@ -1,13 +1,14 @@ # 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 -import typing from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem -from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class FieldMappingInstanceResponse(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/field_permission_deserializer.py b/src/merge/resources/crm/types/field_permission_deserializer.py index 84124686..1d71ae04 100644 --- a/src/merge/resources/crm/types/field_permission_deserializer.py +++ b/src/merge/resources/crm/types/field_permission_deserializer.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class FieldPermissionDeserializer(UncheckedBaseModel): 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 c701f1d0..a4113b46 100644 --- a/src/merge/resources/crm/types/field_permission_deserializer_request.py +++ b/src/merge/resources/crm/types/field_permission_deserializer_request.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class FieldPermissionDeserializerRequest(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/ignore_common_model_request.py b/src/merge/resources/crm/types/ignore_common_model_request.py index 0309d82d..5ecb9957 100644 --- a/src/merge/resources/crm/types/ignore_common_model_request.py +++ b/src/merge/resources/crm/types/ignore_common_model_request.py @@ -1,14 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .reason_enum import ReasonEnum import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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: ReasonEnum + reason: IgnoreCommonModelRequestReason message: typing.Optional[str] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/crm/types/ignore_common_model_request_reason.py b/src/merge/resources/crm/types/ignore_common_model_request_reason.py new file mode 100644 index 00000000..114822b2 --- /dev/null +++ b/src/merge/resources/crm/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/crm/types/individual_common_model_scope_deserializer.py b/src/merge/resources/crm/types/individual_common_model_scope_deserializer.py index 2883752e..4b1ef6a4 100644 --- a/src/merge/resources/crm/types/individual_common_model_scope_deserializer.py +++ b/src/merge/resources/crm/types/individual_common_model_scope_deserializer.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .model_permission_deserializer import ModelPermissionDeserializer -from .field_permission_deserializer import FieldPermissionDeserializer -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/crm/types/individual_common_model_scope_deserializer_request.py b/src/merge/resources/crm/types/individual_common_model_scope_deserializer_request.py index 785e3287..1dcda203 100644 --- a/src/merge/resources/crm/types/individual_common_model_scope_deserializer_request.py +++ b/src/merge/resources/crm/types/individual_common_model_scope_deserializer_request.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .model_permission_deserializer_request import ModelPermissionDeserializerRequest -from .field_permission_deserializer_request import FieldPermissionDeserializerRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/crm/types/issue.py b/src/merge/resources/crm/types/issue.py index ebaca8b1..df31be95 100644 --- a/src/merge/resources/crm/types/issue.py +++ b/src/merge/resources/crm/types/issue.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing -from .issue_status import IssueStatus + import pydantic -import datetime as dt from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .issue_status import IssueStatus class Issue(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/issue_status.py b/src/merge/resources/crm/types/issue_status.py index 59d004d8..8e4d6516 100644 --- a/src/merge/resources/crm/types/issue_status.py +++ b/src/merge/resources/crm/types/issue_status.py @@ -1,6 +1,7 @@ # 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/crm/types/item_schema.py b/src/merge/resources/crm/types/item_schema.py index 5a639259..fceec554 100644 --- a/src/merge/resources/crm/types/item_schema.py +++ b/src/merge/resources/crm/types/item_schema.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .item_type_enum import ItemTypeEnum -from .item_format_enum import ItemFormatEnum -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .item_format_enum import ItemFormatEnum +from .item_type_enum import ItemTypeEnum class ItemSchema(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/lead.py b/src/merge/resources/crm/types/lead.py index 671caaef..98d821e1 100644 --- a/src/merge/resources/crm/types/lead.py +++ b/src/merge/resources/crm/types/lead.py @@ -1,18 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .lead_owner import LeadOwner +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .address import Address from .email_address import EmailAddress -from .phone_number import PhoneNumber -from .lead_converted_contact import LeadConvertedContact from .lead_converted_account import LeadConvertedAccount +from .lead_converted_contact import LeadConvertedContact +from .lead_owner import LeadOwner +from .phone_number import PhoneNumber from .remote_data import RemoteData from .remote_field import RemoteField -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class Lead(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/lead_converted_account.py b/src/merge/resources/crm/types/lead_converted_account.py index d256923e..9fa3a0fb 100644 --- a/src/merge/resources/crm/types/lead_converted_account.py +++ b/src/merge/resources/crm/types/lead_converted_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account LeadConvertedAccount = typing.Union[str, Account] diff --git a/src/merge/resources/crm/types/lead_converted_contact.py b/src/merge/resources/crm/types/lead_converted_contact.py index 859e0926..dc7f376b 100644 --- a/src/merge/resources/crm/types/lead_converted_contact.py +++ b/src/merge/resources/crm/types/lead_converted_contact.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .contact import Contact LeadConvertedContact = typing.Union[str, Contact] diff --git a/src/merge/resources/crm/types/lead_owner.py b/src/merge/resources/crm/types/lead_owner.py index fa682823..15b1c97f 100644 --- a/src/merge/resources/crm/types/lead_owner.py +++ b/src/merge/resources/crm/types/lead_owner.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .user import User LeadOwner = typing.Union[str, User] diff --git a/src/merge/resources/crm/types/lead_request.py b/src/merge/resources/crm/types/lead_request.py index 93557d2f..f2cb290a 100644 --- a/src/merge/resources/crm/types/lead_request.py +++ b/src/merge/resources/crm/types/lead_request.py @@ -1,17 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing -from .lead_request_owner import LeadRequestOwner + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .address_request import AddressRequest from .email_address_request import EmailAddressRequest -from .phone_number_request import PhoneNumberRequest -import datetime as dt -from .lead_request_converted_contact import LeadRequestConvertedContact from .lead_request_converted_account import LeadRequestConvertedAccount +from .lead_request_converted_contact import LeadRequestConvertedContact +from .lead_request_owner import LeadRequestOwner +from .phone_number_request import PhoneNumberRequest from .remote_field_request import RemoteFieldRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class LeadRequest(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/lead_request_converted_account.py b/src/merge/resources/crm/types/lead_request_converted_account.py index 0ad4044e..6c66e7d6 100644 --- a/src/merge/resources/crm/types/lead_request_converted_account.py +++ b/src/merge/resources/crm/types/lead_request_converted_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account LeadRequestConvertedAccount = typing.Union[str, Account] diff --git a/src/merge/resources/crm/types/lead_request_converted_contact.py b/src/merge/resources/crm/types/lead_request_converted_contact.py index 3bad706d..8d7e5a8d 100644 --- a/src/merge/resources/crm/types/lead_request_converted_contact.py +++ b/src/merge/resources/crm/types/lead_request_converted_contact.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .contact import Contact LeadRequestConvertedContact = typing.Union[str, Contact] diff --git a/src/merge/resources/crm/types/lead_request_owner.py b/src/merge/resources/crm/types/lead_request_owner.py index c5a043a7..f0c6e51c 100644 --- a/src/merge/resources/crm/types/lead_request_owner.py +++ b/src/merge/resources/crm/types/lead_request_owner.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .user import User LeadRequestOwner = typing.Union[str, User] diff --git a/src/merge/resources/crm/types/lead_response.py b/src/merge/resources/crm/types/lead_response.py index cf822826..f859c98e 100644 --- a/src/merge/resources/crm/types/lead_response.py +++ b/src/merge/resources/crm/types/lead_response.py @@ -1,13 +1,14 @@ # 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 .lead import Lead -import typing from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem -from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class LeadResponse(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/link_token.py b/src/merge/resources/crm/types/link_token.py index 273b4add..f78dedeb 100644 --- a/src/merge/resources/crm/types/link_token.py +++ b/src/merge/resources/crm/types/link_token.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class LinkToken(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/linked_account_status.py b/src/merge/resources/crm/types/linked_account_status.py index fe00263e..ab2e0f09 100644 --- a/src/merge/resources/crm/types/linked_account_status.py +++ b/src/merge/resources/crm/types/linked_account_status.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class LinkedAccountStatus(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/meta_response.py b/src/merge/resources/crm/types/meta_response.py index cb2e08c1..caa2c831 100644 --- a/src/merge/resources/crm/types/meta_response.py +++ b/src/merge/resources/crm/types/meta_response.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .linked_account_status import LinkedAccountStatus -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .linked_account_status import LinkedAccountStatus class MetaResponse(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/model_operation.py b/src/merge/resources/crm/types/model_operation.py index bc09f2c1..c367572d 100644 --- a/src/merge/resources/crm/types/model_operation.py +++ b/src/merge/resources/crm/types/model_operation.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ModelOperation(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/model_permission_deserializer.py b/src/merge/resources/crm/types/model_permission_deserializer.py index 4a524c19..6381814c 100644 --- a/src/merge/resources/crm/types/model_permission_deserializer.py +++ b/src/merge/resources/crm/types/model_permission_deserializer.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ModelPermissionDeserializer(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/model_permission_deserializer_request.py b/src/merge/resources/crm/types/model_permission_deserializer_request.py index 5b693e6f..cdc2ff4c 100644 --- a/src/merge/resources/crm/types/model_permission_deserializer_request.py +++ b/src/merge/resources/crm/types/model_permission_deserializer_request.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ModelPermissionDeserializerRequest(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/multipart_form_field_request.py b/src/merge/resources/crm/types/multipart_form_field_request.py index 7bdbe021..abc37692 100644 --- a/src/merge/resources/crm/types/multipart_form_field_request.py +++ b/src/merge/resources/crm/types/multipart_form_field_request.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import pydantic import typing -from .multipart_form_field_request_encoding import MultipartFormFieldRequestEncoding + +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): diff --git a/src/merge/resources/crm/types/multipart_form_field_request_encoding.py b/src/merge/resources/crm/types/multipart_form_field_request_encoding.py index 2b1db5ad..c6513b6b 100644 --- a/src/merge/resources/crm/types/multipart_form_field_request_encoding.py +++ b/src/merge/resources/crm/types/multipart_form_field_request_encoding.py @@ -1,6 +1,7 @@ # 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/crm/types/note.py b/src/merge/resources/crm/types/note.py index 3889b651..06410996 100644 --- a/src/merge/resources/crm/types/note.py +++ b/src/merge/resources/crm/types/note.py @@ -1,16 +1,17 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .note_owner import NoteOwner -from .note_contact import NoteContact +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .note_account import NoteAccount +from .note_contact import NoteContact from .note_opportunity import NoteOpportunity +from .note_owner import NoteOwner from .remote_data import RemoteData from .remote_field import RemoteField -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class Note(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/note_account.py b/src/merge/resources/crm/types/note_account.py index 60b1fa69..5dcfbb0f 100644 --- a/src/merge/resources/crm/types/note_account.py +++ b/src/merge/resources/crm/types/note_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account NoteAccount = typing.Union[str, Account] diff --git a/src/merge/resources/crm/types/note_contact.py b/src/merge/resources/crm/types/note_contact.py index a993da36..c1e000f6 100644 --- a/src/merge/resources/crm/types/note_contact.py +++ b/src/merge/resources/crm/types/note_contact.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .contact import Contact NoteContact = typing.Union[str, Contact] diff --git a/src/merge/resources/crm/types/note_opportunity.py b/src/merge/resources/crm/types/note_opportunity.py index ae7a3b26..c2c035a6 100644 --- a/src/merge/resources/crm/types/note_opportunity.py +++ b/src/merge/resources/crm/types/note_opportunity.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .opportunity import Opportunity NoteOpportunity = typing.Union[str, Opportunity] diff --git a/src/merge/resources/crm/types/note_owner.py b/src/merge/resources/crm/types/note_owner.py index 8efc4ec7..27f125fd 100644 --- a/src/merge/resources/crm/types/note_owner.py +++ b/src/merge/resources/crm/types/note_owner.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .user import User NoteOwner = typing.Union[str, User] diff --git a/src/merge/resources/crm/types/note_request.py b/src/merge/resources/crm/types/note_request.py index 6fa6f41c..7e9b1186 100644 --- a/src/merge/resources/crm/types/note_request.py +++ b/src/merge/resources/crm/types/note_request.py @@ -1,14 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .note_request_owner import NoteRequestOwner + import pydantic -from .note_request_contact import NoteRequestContact +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .note_request_account import NoteRequestAccount +from .note_request_contact import NoteRequestContact from .note_request_opportunity import NoteRequestOpportunity +from .note_request_owner import NoteRequestOwner from .remote_field_request import RemoteFieldRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class NoteRequest(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/note_request_account.py b/src/merge/resources/crm/types/note_request_account.py index 58d0c6cf..fbb7f8dd 100644 --- a/src/merge/resources/crm/types/note_request_account.py +++ b/src/merge/resources/crm/types/note_request_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account NoteRequestAccount = typing.Union[str, Account] diff --git a/src/merge/resources/crm/types/note_request_contact.py b/src/merge/resources/crm/types/note_request_contact.py index 974f6add..3477ca0e 100644 --- a/src/merge/resources/crm/types/note_request_contact.py +++ b/src/merge/resources/crm/types/note_request_contact.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .contact import Contact NoteRequestContact = typing.Union[str, Contact] diff --git a/src/merge/resources/crm/types/note_request_opportunity.py b/src/merge/resources/crm/types/note_request_opportunity.py index ddacb856..c08bebf8 100644 --- a/src/merge/resources/crm/types/note_request_opportunity.py +++ b/src/merge/resources/crm/types/note_request_opportunity.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .opportunity import Opportunity NoteRequestOpportunity = typing.Union[str, Opportunity] diff --git a/src/merge/resources/crm/types/note_request_owner.py b/src/merge/resources/crm/types/note_request_owner.py index 281ef947..558efe8f 100644 --- a/src/merge/resources/crm/types/note_request_owner.py +++ b/src/merge/resources/crm/types/note_request_owner.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .user import User NoteRequestOwner = typing.Union[str, User] diff --git a/src/merge/resources/crm/types/note_response.py b/src/merge/resources/crm/types/note_response.py index 147c2f20..3a77fac6 100644 --- a/src/merge/resources/crm/types/note_response.py +++ b/src/merge/resources/crm/types/note_response.py @@ -1,13 +1,14 @@ # 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 .note import Note -import typing from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem -from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class NoteResponse(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/object_class_description_request.py b/src/merge/resources/crm/types/object_class_description_request.py index 552bd011..0ac258ad 100644 --- a/src/merge/resources/crm/types/object_class_description_request.py +++ b/src/merge/resources/crm/types/object_class_description_request.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .origin_type_enum import OriginTypeEnum -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .origin_type_enum import OriginTypeEnum class ObjectClassDescriptionRequest(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/opportunity.py b/src/merge/resources/crm/types/opportunity.py index b5268dcc..681c24e0 100644 --- a/src/merge/resources/crm/types/opportunity.py +++ b/src/merge/resources/crm/types/opportunity.py @@ -1,16 +1,17 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .opportunity_owner import OpportunityOwner +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .opportunity_account import OpportunityAccount +from .opportunity_owner import OpportunityOwner from .opportunity_stage import OpportunityStage from .opportunity_status import OpportunityStatus from .remote_data import RemoteData from .remote_field import RemoteField -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class Opportunity(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/opportunity_account.py b/src/merge/resources/crm/types/opportunity_account.py index baef25cb..db9ff512 100644 --- a/src/merge/resources/crm/types/opportunity_account.py +++ b/src/merge/resources/crm/types/opportunity_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account OpportunityAccount = typing.Union[str, Account] diff --git a/src/merge/resources/crm/types/opportunity_owner.py b/src/merge/resources/crm/types/opportunity_owner.py index 1e59daac..8ff3242c 100644 --- a/src/merge/resources/crm/types/opportunity_owner.py +++ b/src/merge/resources/crm/types/opportunity_owner.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .user import User OpportunityOwner = typing.Union[str, User] diff --git a/src/merge/resources/crm/types/opportunity_request.py b/src/merge/resources/crm/types/opportunity_request.py index 0c6af4ac..d39733e5 100644 --- a/src/merge/resources/crm/types/opportunity_request.py +++ b/src/merge/resources/crm/types/opportunity_request.py @@ -1,15 +1,16 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -from .opportunity_request_owner import OpportunityRequestOwner +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .opportunity_request_account import OpportunityRequestAccount +from .opportunity_request_owner import OpportunityRequestOwner from .opportunity_request_stage import OpportunityRequestStage from .opportunity_request_status import OpportunityRequestStatus -import datetime as dt from .remote_field_request import RemoteFieldRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class OpportunityRequest(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/opportunity_request_account.py b/src/merge/resources/crm/types/opportunity_request_account.py index 1c7de345..4d405b9c 100644 --- a/src/merge/resources/crm/types/opportunity_request_account.py +++ b/src/merge/resources/crm/types/opportunity_request_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account OpportunityRequestAccount = typing.Union[str, Account] diff --git a/src/merge/resources/crm/types/opportunity_request_owner.py b/src/merge/resources/crm/types/opportunity_request_owner.py index 1b524713..d97f6d73 100644 --- a/src/merge/resources/crm/types/opportunity_request_owner.py +++ b/src/merge/resources/crm/types/opportunity_request_owner.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .user import User OpportunityRequestOwner = typing.Union[str, User] diff --git a/src/merge/resources/crm/types/opportunity_request_stage.py b/src/merge/resources/crm/types/opportunity_request_stage.py index e9e34ed1..d781d136 100644 --- a/src/merge/resources/crm/types/opportunity_request_stage.py +++ b/src/merge/resources/crm/types/opportunity_request_stage.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .stage import Stage OpportunityRequestStage = typing.Union[str, Stage] diff --git a/src/merge/resources/crm/types/opportunity_request_status.py b/src/merge/resources/crm/types/opportunity_request_status.py index bded93fa..110790a6 100644 --- a/src/merge/resources/crm/types/opportunity_request_status.py +++ b/src/merge/resources/crm/types/opportunity_request_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .opportunity_status_enum import OpportunityStatusEnum OpportunityRequestStatus = typing.Union[OpportunityStatusEnum, str] diff --git a/src/merge/resources/crm/types/opportunity_response.py b/src/merge/resources/crm/types/opportunity_response.py index c5428fa3..e79f526c 100644 --- a/src/merge/resources/crm/types/opportunity_response.py +++ b/src/merge/resources/crm/types/opportunity_response.py @@ -1,13 +1,14 @@ # 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 .opportunity import Opportunity -import typing from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem -from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class OpportunityResponse(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/opportunity_stage.py b/src/merge/resources/crm/types/opportunity_stage.py index 9c3335d6..d882ebd9 100644 --- a/src/merge/resources/crm/types/opportunity_stage.py +++ b/src/merge/resources/crm/types/opportunity_stage.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .stage import Stage OpportunityStage = typing.Union[str, Stage] diff --git a/src/merge/resources/crm/types/opportunity_status.py b/src/merge/resources/crm/types/opportunity_status.py index e1622d7b..1f98d9ea 100644 --- a/src/merge/resources/crm/types/opportunity_status.py +++ b/src/merge/resources/crm/types/opportunity_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .opportunity_status_enum import OpportunityStatusEnum OpportunityStatus = typing.Union[OpportunityStatusEnum, str] diff --git a/src/merge/resources/crm/types/paginated_account_details_and_actions_list.py b/src/merge/resources/crm/types/paginated_account_details_and_actions_list.py index 8a2148be..d2d16116 100644 --- a/src/merge/resources/crm/types/paginated_account_details_and_actions_list.py +++ b/src/merge/resources/crm/types/paginated_account_details_and_actions_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .account_details_and_actions import AccountDetailsAndActions -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/crm/types/paginated_account_list.py b/src/merge/resources/crm/types/paginated_account_list.py index 45c6c13d..0d541b39 100644 --- a/src/merge/resources/crm/types/paginated_account_list.py +++ b/src/merge/resources/crm/types/paginated_account_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .account import Account -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .account import Account class PaginatedAccountList(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/paginated_association_list.py b/src/merge/resources/crm/types/paginated_association_list.py index 82a56c1f..9cedf4aa 100644 --- a/src/merge/resources/crm/types/paginated_association_list.py +++ b/src/merge/resources/crm/types/paginated_association_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .association import Association -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .association import Association class PaginatedAssociationList(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/paginated_association_type_list.py b/src/merge/resources/crm/types/paginated_association_type_list.py index bae03802..3b1fa6f8 100644 --- a/src/merge/resources/crm/types/paginated_association_type_list.py +++ b/src/merge/resources/crm/types/paginated_association_type_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .association_type import AssociationType -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .association_type import AssociationType class PaginatedAssociationTypeList(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/paginated_audit_log_event_list.py b/src/merge/resources/crm/types/paginated_audit_log_event_list.py index dc914668..24139397 100644 --- a/src/merge/resources/crm/types/paginated_audit_log_event_list.py +++ b/src/merge/resources/crm/types/paginated_audit_log_event_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .audit_log_event import AuditLogEvent -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/crm/types/paginated_contact_list.py b/src/merge/resources/crm/types/paginated_contact_list.py index 7f2b5478..7a9d28a3 100644 --- a/src/merge/resources/crm/types/paginated_contact_list.py +++ b/src/merge/resources/crm/types/paginated_contact_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .contact import Contact -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .contact import Contact class PaginatedContactList(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/paginated_custom_object_class_list.py b/src/merge/resources/crm/types/paginated_custom_object_class_list.py index 9bb7f3fd..df573844 100644 --- a/src/merge/resources/crm/types/paginated_custom_object_class_list.py +++ b/src/merge/resources/crm/types/paginated_custom_object_class_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .custom_object_class import CustomObjectClass -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .custom_object_class import CustomObjectClass class PaginatedCustomObjectClassList(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/paginated_custom_object_list.py b/src/merge/resources/crm/types/paginated_custom_object_list.py index e82b6804..104c5962 100644 --- a/src/merge/resources/crm/types/paginated_custom_object_list.py +++ b/src/merge/resources/crm/types/paginated_custom_object_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .custom_object import CustomObject -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .custom_object import CustomObject class PaginatedCustomObjectList(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/paginated_engagement_list.py b/src/merge/resources/crm/types/paginated_engagement_list.py index 64b7ae26..e8dce57b 100644 --- a/src/merge/resources/crm/types/paginated_engagement_list.py +++ b/src/merge/resources/crm/types/paginated_engagement_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .engagement import Engagement -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .engagement import Engagement class PaginatedEngagementList(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/paginated_engagement_type_list.py b/src/merge/resources/crm/types/paginated_engagement_type_list.py index 39c54154..de47a3d0 100644 --- a/src/merge/resources/crm/types/paginated_engagement_type_list.py +++ b/src/merge/resources/crm/types/paginated_engagement_type_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .engagement_type import EngagementType -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .engagement_type import EngagementType class PaginatedEngagementTypeList(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/paginated_issue_list.py b/src/merge/resources/crm/types/paginated_issue_list.py index 57a92876..686173e5 100644 --- a/src/merge/resources/crm/types/paginated_issue_list.py +++ b/src/merge/resources/crm/types/paginated_issue_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .issue import Issue -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .issue import Issue class PaginatedIssueList(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/paginated_lead_list.py b/src/merge/resources/crm/types/paginated_lead_list.py index a214a713..ca4f4343 100644 --- a/src/merge/resources/crm/types/paginated_lead_list.py +++ b/src/merge/resources/crm/types/paginated_lead_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .lead import Lead -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .lead import Lead class PaginatedLeadList(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/paginated_note_list.py b/src/merge/resources/crm/types/paginated_note_list.py index fcd6bb1c..e16af204 100644 --- a/src/merge/resources/crm/types/paginated_note_list.py +++ b/src/merge/resources/crm/types/paginated_note_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .note import Note -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .note import Note class PaginatedNoteList(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/paginated_opportunity_list.py b/src/merge/resources/crm/types/paginated_opportunity_list.py index a1a9d974..b850d9c0 100644 --- a/src/merge/resources/crm/types/paginated_opportunity_list.py +++ b/src/merge/resources/crm/types/paginated_opportunity_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .opportunity import Opportunity -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .opportunity import Opportunity class PaginatedOpportunityList(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/paginated_remote_field_class_list.py b/src/merge/resources/crm/types/paginated_remote_field_class_list.py index 96ecc090..9d68cf9b 100644 --- a/src/merge/resources/crm/types/paginated_remote_field_class_list.py +++ b/src/merge/resources/crm/types/paginated_remote_field_class_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .remote_field_class import RemoteFieldClass -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_field_class import RemoteFieldClass class PaginatedRemoteFieldClassList(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/paginated_stage_list.py b/src/merge/resources/crm/types/paginated_stage_list.py index a27fa29b..adaa1c05 100644 --- a/src/merge/resources/crm/types/paginated_stage_list.py +++ b/src/merge/resources/crm/types/paginated_stage_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .stage import Stage -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .stage import Stage class PaginatedStageList(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/paginated_sync_status_list.py b/src/merge/resources/crm/types/paginated_sync_status_list.py index d8984b33..cc4bd7a8 100644 --- a/src/merge/resources/crm/types/paginated_sync_status_list.py +++ b/src/merge/resources/crm/types/paginated_sync_status_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .sync_status import SyncStatus -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/crm/types/paginated_task_list.py b/src/merge/resources/crm/types/paginated_task_list.py index 3c9850ac..85cc1eef 100644 --- a/src/merge/resources/crm/types/paginated_task_list.py +++ b/src/merge/resources/crm/types/paginated_task_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .task import Task -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .task import Task class PaginatedTaskList(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/paginated_user_list.py b/src/merge/resources/crm/types/paginated_user_list.py index 8fd54b5c..809b285c 100644 --- a/src/merge/resources/crm/types/paginated_user_list.py +++ b/src/merge/resources/crm/types/paginated_user_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .user import User -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .user import User class PaginatedUserList(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/patched_account_request.py b/src/merge/resources/crm/types/patched_account_request.py index 0684d705..d24c8264 100644 --- a/src/merge/resources/crm/types/patched_account_request.py +++ b/src/merge/resources/crm/types/patched_account_request.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .address_request import AddressRequest -import datetime as dt from .remote_field_request import RemoteFieldRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class PatchedAccountRequest(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/patched_contact_request.py b/src/merge/resources/crm/types/patched_contact_request.py index 01abb865..cf2d59ff 100644 --- a/src/merge/resources/crm/types/patched_contact_request.py +++ b/src/merge/resources/crm/types/patched_contact_request.py @@ -1,15 +1,16 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -from .patched_contact_request_owner import PatchedContactRequestOwner +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .address_request import AddressRequest from .email_address_request import EmailAddressRequest +from .patched_contact_request_owner import PatchedContactRequestOwner from .phone_number_request import PhoneNumberRequest -import datetime as dt from .remote_field_request import RemoteFieldRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class PatchedContactRequest(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/patched_contact_request_owner.py b/src/merge/resources/crm/types/patched_contact_request_owner.py index 72e59932..00bd5551 100644 --- a/src/merge/resources/crm/types/patched_contact_request_owner.py +++ b/src/merge/resources/crm/types/patched_contact_request_owner.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .user import User PatchedContactRequestOwner = typing.Union[str, User] diff --git a/src/merge/resources/crm/types/patched_engagement_request.py b/src/merge/resources/crm/types/patched_engagement_request.py index d4e21f7d..eb35fca5 100644 --- a/src/merge/resources/crm/types/patched_engagement_request.py +++ b/src/merge/resources/crm/types/patched_engagement_request.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .patched_engagement_request_direction import PatchedEngagementRequestDirection -import datetime as dt from .remote_field_request import RemoteFieldRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class PatchedEngagementRequest(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/patched_engagement_request_direction.py b/src/merge/resources/crm/types/patched_engagement_request_direction.py index 3be68f5b..daa08d51 100644 --- a/src/merge/resources/crm/types/patched_engagement_request_direction.py +++ b/src/merge/resources/crm/types/patched_engagement_request_direction.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .direction_enum import DirectionEnum PatchedEngagementRequestDirection = typing.Union[DirectionEnum, str] diff --git a/src/merge/resources/crm/types/patched_opportunity_request.py b/src/merge/resources/crm/types/patched_opportunity_request.py index 30eeb5d0..624febe7 100644 --- a/src/merge/resources/crm/types/patched_opportunity_request.py +++ b/src/merge/resources/crm/types/patched_opportunity_request.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .patched_opportunity_request_status import PatchedOpportunityRequestStatus -import datetime as dt from .remote_field_request import RemoteFieldRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class PatchedOpportunityRequest(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/patched_opportunity_request_status.py b/src/merge/resources/crm/types/patched_opportunity_request_status.py index 32133d47..a15565f9 100644 --- a/src/merge/resources/crm/types/patched_opportunity_request_status.py +++ b/src/merge/resources/crm/types/patched_opportunity_request_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .opportunity_status_enum import OpportunityStatusEnum PatchedOpportunityRequestStatus = typing.Union[OpportunityStatusEnum, str] diff --git a/src/merge/resources/crm/types/patched_task_request.py b/src/merge/resources/crm/types/patched_task_request.py index 098b1c1e..098496ba 100644 --- a/src/merge/resources/crm/types/patched_task_request.py +++ b/src/merge/resources/crm/types/patched_task_request.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .patched_task_request_status import PatchedTaskRequestStatus from .remote_field_request import RemoteFieldRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class PatchedTaskRequest(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/patched_task_request_status.py b/src/merge/resources/crm/types/patched_task_request_status.py index d91cdfd9..0432b058 100644 --- a/src/merge/resources/crm/types/patched_task_request_status.py +++ b/src/merge/resources/crm/types/patched_task_request_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .task_status_enum import TaskStatusEnum PatchedTaskRequestStatus = typing.Union[TaskStatusEnum, str] diff --git a/src/merge/resources/crm/types/phone_number.py b/src/merge/resources/crm/types/phone_number.py index 92c11a84..c5b17acc 100644 --- a/src/merge/resources/crm/types/phone_number.py +++ b/src/merge/resources/crm/types/phone_number.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import typing import datetime as dt +import typing + import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class PhoneNumber(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/phone_number_request.py b/src/merge/resources/crm/types/phone_number_request.py index c2cf5b8e..c70332b1 100644 --- a/src/merge/resources/crm/types/phone_number_request.py +++ b/src/merge/resources/crm/types/phone_number_request.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing + import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class PhoneNumberRequest(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/remote_data.py b/src/merge/resources/crm/types/remote_data.py index 4e405fc1..b60f53bf 100644 --- a/src/merge/resources/crm/types/remote_data.py +++ b/src/merge/resources/crm/types/remote_data.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import pydantic import typing + +import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class RemoteData(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/remote_endpoint_info.py b/src/merge/resources/crm/types/remote_endpoint_info.py index a145dff6..07ceff6a 100644 --- a/src/merge/resources/crm/types/remote_endpoint_info.py +++ b/src/merge/resources/crm/types/remote_endpoint_info.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class RemoteEndpointInfo(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/remote_field.py b/src/merge/resources/crm/types/remote_field.py index 0bde5fa0..1a9272f0 100644 --- a/src/merge/resources/crm/types/remote_field.py +++ b/src/merge/resources/crm/types/remote_field.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_field_remote_field_class import RemoteFieldRemoteFieldClass import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_field_remote_field_class import RemoteFieldRemoteFieldClass class RemoteField(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/remote_field_api.py b/src/merge/resources/crm/types/remote_field_api.py index 4c862ec8..4c66a23b 100644 --- a/src/merge/resources/crm/types/remote_field_api.py +++ b/src/merge/resources/crm/types/remote_field_api.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing + import pydantic -from .remote_endpoint_info import RemoteEndpointInfo +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 -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class RemoteFieldApi(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/remote_field_api_response.py b/src/merge/resources/crm/types/remote_field_api_response.py index 70709594..070cb10e 100644 --- a/src/merge/resources/crm/types/remote_field_api_response.py +++ b/src/merge/resources/crm/types/remote_field_api_response.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .remote_field_api import RemoteFieldApi + 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): diff --git a/src/merge/resources/crm/types/remote_field_class.py b/src/merge/resources/crm/types/remote_field_class.py index d9e355b9..033ea3b6 100644 --- a/src/merge/resources/crm/types/remote_field_class.py +++ b/src/merge/resources/crm/types/remote_field_class.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .remote_field_class_field_type import RemoteFieldClassFieldType -from .remote_field_class_field_format import RemoteFieldClassFieldFormat -from .remote_field_class_field_choices_item import RemoteFieldClassFieldChoicesItem -from .item_schema import ItemSchema -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +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): 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 97c91935..9003f782 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 @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class RemoteFieldClassFieldChoicesItem(UncheckedBaseModel): 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 index c9c897d2..13634337 100644 --- a/src/merge/resources/crm/types/remote_field_class_field_format.py +++ b/src/merge/resources/crm/types/remote_field_class_field_format.py @@ -1,6 +1,7 @@ # 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 index 7f0f3620..48735d56 100644 --- a/src/merge/resources/crm/types/remote_field_class_field_type.py +++ b/src/merge/resources/crm/types/remote_field_class_field_type.py @@ -1,6 +1,7 @@ # 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.py b/src/merge/resources/crm/types/remote_field_class_for_custom_object_class.py index 15e475a1..54450b18 100644 --- a/src/merge/resources/crm/types/remote_field_class_for_custom_object_class.py +++ b/src/merge/resources/crm/types/remote_field_class_for_custom_object_class.py @@ -1,16 +1,17 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import typing import datetime as dt +import typing + import pydantic -from .remote_field_class_for_custom_object_class_field_type import RemoteFieldClassForCustomObjectClassFieldType -from .remote_field_class_for_custom_object_class_field_format import RemoteFieldClassForCustomObjectClassFieldFormat +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .remote_field_class_for_custom_object_class_field_choices_item import ( RemoteFieldClassForCustomObjectClassFieldChoicesItem, ) +from .remote_field_class_for_custom_object_class_field_format import RemoteFieldClassForCustomObjectClassFieldFormat +from .remote_field_class_for_custom_object_class_field_type import RemoteFieldClassForCustomObjectClassFieldType from .remote_field_class_for_custom_object_class_item_schema import RemoteFieldClassForCustomObjectClassItemSchema -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class RemoteFieldClassForCustomObjectClass(UncheckedBaseModel): 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 4aa69aeb..930a4866 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 @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class RemoteFieldClassForCustomObjectClassFieldChoicesItem(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/remote_field_class_for_custom_object_class_field_format.py b/src/merge/resources/crm/types/remote_field_class_for_custom_object_class_field_format.py index ee1fcab4..1393666d 100644 --- a/src/merge/resources/crm/types/remote_field_class_for_custom_object_class_field_format.py +++ b/src/merge/resources/crm/types/remote_field_class_for_custom_object_class_field_format.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .field_format_enum import FieldFormatEnum RemoteFieldClassForCustomObjectClassFieldFormat = typing.Union[FieldFormatEnum, str] diff --git a/src/merge/resources/crm/types/remote_field_class_for_custom_object_class_field_type.py b/src/merge/resources/crm/types/remote_field_class_for_custom_object_class_field_type.py index 5e860cd2..dde99f51 100644 --- a/src/merge/resources/crm/types/remote_field_class_for_custom_object_class_field_type.py +++ b/src/merge/resources/crm/types/remote_field_class_for_custom_object_class_field_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .field_type_enum import FieldTypeEnum RemoteFieldClassForCustomObjectClassFieldType = typing.Union[FieldTypeEnum, str] diff --git a/src/merge/resources/crm/types/remote_field_class_for_custom_object_class_item_schema.py b/src/merge/resources/crm/types/remote_field_class_for_custom_object_class_item_schema.py index a21c39b2..3b8a79fd 100644 --- a/src/merge/resources/crm/types/remote_field_class_for_custom_object_class_item_schema.py +++ b/src/merge/resources/crm/types/remote_field_class_for_custom_object_class_item_schema.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class RemoteFieldClassForCustomObjectClassItemSchema(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/remote_field_remote_field_class.py b/src/merge/resources/crm/types/remote_field_remote_field_class.py index c2c470c9..b7ab0ef6 100644 --- a/src/merge/resources/crm/types/remote_field_remote_field_class.py +++ b/src/merge/resources/crm/types/remote_field_remote_field_class.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .remote_field_class import RemoteFieldClass RemoteFieldRemoteFieldClass = typing.Union[str, RemoteFieldClass] diff --git a/src/merge/resources/crm/types/remote_field_request.py b/src/merge/resources/crm/types/remote_field_request.py index 9a88246b..69bc39da 100644 --- a/src/merge/resources/crm/types/remote_field_request.py +++ b/src/merge/resources/crm/types/remote_field_request.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_field_request_remote_field_class import RemoteFieldRequestRemoteFieldClass import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_field_request_remote_field_class import RemoteFieldRequestRemoteFieldClass class RemoteFieldRequest(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/remote_field_request_remote_field_class.py b/src/merge/resources/crm/types/remote_field_request_remote_field_class.py index ebf56780..08797e5e 100644 --- a/src/merge/resources/crm/types/remote_field_request_remote_field_class.py +++ b/src/merge/resources/crm/types/remote_field_request_remote_field_class.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .remote_field_class import RemoteFieldClass RemoteFieldRequestRemoteFieldClass = typing.Union[str, RemoteFieldClass] diff --git a/src/merge/resources/crm/types/remote_key.py b/src/merge/resources/crm/types/remote_key.py index 904480e9..e5d9758c 100644 --- a/src/merge/resources/crm/types/remote_key.py +++ b/src/merge/resources/crm/types/remote_key.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class RemoteKey(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/remote_response.py b/src/merge/resources/crm/types/remote_response.py index 9f1e4b18..af181fc0 100644 --- a/src/merge/resources/crm/types/remote_response.py +++ b/src/merge/resources/crm/types/remote_response.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .response_type_enum import ResponseTypeEnum -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/crm/types/stage.py b/src/merge/resources/crm/types/stage.py index a692e5d4..8e16e6df 100644 --- a/src/merge/resources/crm/types/stage.py +++ b/src/merge/resources/crm/types/stage.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .remote_data import RemoteData from .remote_field import RemoteField -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class Stage(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/sync_status.py b/src/merge/resources/crm/types/sync_status.py index 2479491e..07ab1dc2 100644 --- a/src/merge/resources/crm/types/sync_status.py +++ b/src/merge/resources/crm/types/sync_status.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import typing import datetime as dt -from .sync_status_last_sync_result import SyncStatusLastSyncResult -from .status_fd_5_enum import StatusFd5Enum -from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum -from ....core.pydantic_utilities import IS_PYDANTIC_V2 +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): @@ -26,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/crm/types/sync_status_last_sync_result.py b/src/merge/resources/crm/types/sync_status_last_sync_result.py index e483e7d3..980e7d94 100644 --- a/src/merge/resources/crm/types/sync_status_last_sync_result.py +++ b/src/merge/resources/crm/types/sync_status_last_sync_result.py @@ -1,6 +1,7 @@ # 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/crm/types/sync_status_status.py b/src/merge/resources/crm/types/sync_status_status.py new file mode 100644 index 00000000..78e4cc47 --- /dev/null +++ b/src/merge/resources/crm/types/sync_status_status.py @@ -0,0 +1,7 @@ +# 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/crm/types/task.py b/src/merge/resources/crm/types/task.py index 41a989b9..088d32bf 100644 --- a/src/merge/resources/crm/types/task.py +++ b/src/merge/resources/crm/types/task.py @@ -1,16 +1,17 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .task_owner import TaskOwner +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_data import RemoteData +from .remote_field import RemoteField from .task_account import TaskAccount from .task_opportunity import TaskOpportunity +from .task_owner import TaskOwner from .task_status import TaskStatus -from .remote_data import RemoteData -from .remote_field import RemoteField -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class Task(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/task_account.py b/src/merge/resources/crm/types/task_account.py index f92b516f..a3bf248f 100644 --- a/src/merge/resources/crm/types/task_account.py +++ b/src/merge/resources/crm/types/task_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account TaskAccount = typing.Union[str, Account] diff --git a/src/merge/resources/crm/types/task_opportunity.py b/src/merge/resources/crm/types/task_opportunity.py index fe73a8ca..b8cd81df 100644 --- a/src/merge/resources/crm/types/task_opportunity.py +++ b/src/merge/resources/crm/types/task_opportunity.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .opportunity import Opportunity TaskOpportunity = typing.Union[str, Opportunity] diff --git a/src/merge/resources/crm/types/task_owner.py b/src/merge/resources/crm/types/task_owner.py index 829fcd06..b7a0711f 100644 --- a/src/merge/resources/crm/types/task_owner.py +++ b/src/merge/resources/crm/types/task_owner.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .user import User TaskOwner = typing.Union[str, User] diff --git a/src/merge/resources/crm/types/task_request.py b/src/merge/resources/crm/types/task_request.py index 8f2f5d2a..15ec61fd 100644 --- a/src/merge/resources/crm/types/task_request.py +++ b/src/merge/resources/crm/types/task_request.py @@ -1,15 +1,16 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -from .task_request_owner import TaskRequestOwner +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_field_request import RemoteFieldRequest from .task_request_account import TaskRequestAccount from .task_request_opportunity import TaskRequestOpportunity -import datetime as dt +from .task_request_owner import TaskRequestOwner from .task_request_status import TaskRequestStatus -from .remote_field_request import RemoteFieldRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class TaskRequest(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/task_request_account.py b/src/merge/resources/crm/types/task_request_account.py index f604e9c2..cac39842 100644 --- a/src/merge/resources/crm/types/task_request_account.py +++ b/src/merge/resources/crm/types/task_request_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account TaskRequestAccount = typing.Union[str, Account] diff --git a/src/merge/resources/crm/types/task_request_opportunity.py b/src/merge/resources/crm/types/task_request_opportunity.py index 02b67b47..ee239cba 100644 --- a/src/merge/resources/crm/types/task_request_opportunity.py +++ b/src/merge/resources/crm/types/task_request_opportunity.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .opportunity import Opportunity TaskRequestOpportunity = typing.Union[str, Opportunity] diff --git a/src/merge/resources/crm/types/task_request_owner.py b/src/merge/resources/crm/types/task_request_owner.py index fdf9ae4d..e0344b13 100644 --- a/src/merge/resources/crm/types/task_request_owner.py +++ b/src/merge/resources/crm/types/task_request_owner.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .user import User TaskRequestOwner = typing.Union[str, User] diff --git a/src/merge/resources/crm/types/task_request_status.py b/src/merge/resources/crm/types/task_request_status.py index 97bcce38..f309c6a8 100644 --- a/src/merge/resources/crm/types/task_request_status.py +++ b/src/merge/resources/crm/types/task_request_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .task_status_enum import TaskStatusEnum TaskRequestStatus = typing.Union[TaskStatusEnum, str] diff --git a/src/merge/resources/crm/types/task_response.py b/src/merge/resources/crm/types/task_response.py index 3a704eaf..e979314e 100644 --- a/src/merge/resources/crm/types/task_response.py +++ b/src/merge/resources/crm/types/task_response.py @@ -1,13 +1,14 @@ # 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 .task import Task -import typing from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem -from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class TaskResponse(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/task_status.py b/src/merge/resources/crm/types/task_status.py index 3b766648..38029669 100644 --- a/src/merge/resources/crm/types/task_status.py +++ b/src/merge/resources/crm/types/task_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .task_status_enum import TaskStatusEnum TaskStatus = typing.Union[TaskStatusEnum, str] diff --git a/src/merge/resources/crm/types/user.py b/src/merge/resources/crm/types/user.py index e197d561..cc585c10 100644 --- a/src/merge/resources/crm/types/user.py +++ b/src/merge/resources/crm/types/user.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .remote_data import RemoteData from .remote_field import RemoteField -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class User(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/validation_problem_source.py b/src/merge/resources/crm/types/validation_problem_source.py index ceed8b91..fbebe626 100644 --- a/src/merge/resources/crm/types/validation_problem_source.py +++ b/src/merge/resources/crm/types/validation_problem_source.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ValidationProblemSource(UncheckedBaseModel): diff --git a/src/merge/resources/crm/types/warning_validation_problem.py b/src/merge/resources/crm/types/warning_validation_problem.py index b974ff37..4785e836 100644 --- a/src/merge/resources/crm/types/warning_validation_problem.py +++ b/src/merge/resources/crm/types/warning_validation_problem.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .validation_problem_source import ValidationProblemSource -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/crm/types/webhook_receiver.py b/src/merge/resources/crm/types/webhook_receiver.py index 8bb74f35..fb49c044 100644 --- a/src/merge/resources/crm/types/webhook_receiver.py +++ b/src/merge/resources/crm/types/webhook_receiver.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class WebhookReceiver(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/__init__.py b/src/merge/resources/filestorage/__init__.py index a59e2850..bd04cb02 100644 --- a/src/merge/resources/filestorage/__init__.py +++ b/src/merge/resources/filestorage/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import ( AccountDetails, AccountDetailsAndActions, @@ -119,7 +121,9 @@ ) from .resources import ( AsyncPassthroughRetrieveResponse, + FilesDownloadRequestMetaListRequestOrderBy, FilesListRequestExpand, + FilesListRequestOrderBy, FilesRetrieveRequestExpand, FoldersListRequestExpand, FoldersRetrieveRequestExpand, @@ -198,7 +202,9 @@ "FileRequestPermissionsItem", "FileStorageFileResponse", "FileStorageFolderResponse", + "FilesDownloadRequestMetaListRequestOrderBy", "FilesListRequestExpand", + "FilesListRequestOrderBy", "FilesRetrieveRequestExpand", "Folder", "FolderDrive", diff --git a/src/merge/resources/filestorage/client.py b/src/merge/resources/filestorage/client.py index 4ae36376..da7b7f52 100644 --- a/src/merge/resources/filestorage/client.py +++ b/src/merge/resources/filestorage/client.py @@ -1,57 +1,35 @@ # This file was auto-generated by Fern from our API Definition. -from ...core.client_wrapper import SyncClientWrapper -from .raw_client import RawFilestorageClient -from .resources.account_details.client import AccountDetailsClient -from .resources.account_token.client import AccountTokenClient +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .raw_client import AsyncRawFilestorageClient, RawFilestorageClient +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 AuditTrailClient -from .resources.available_actions.client import AvailableActionsClient -from .resources.scopes.client import ScopesClient -from .resources.delete_account.client import DeleteAccountClient -from .resources.drives.client import DrivesClient -from .resources.field_mapping.client import FieldMappingClient -from .resources.files.client import FilesClient -from .resources.folders.client import FoldersClient -from .resources.generate_key.client import GenerateKeyClient -from .resources.groups.client import GroupsClient -from .resources.issues.client import IssuesClient -from .resources.link_token.client import LinkTokenClient -from .resources.linked_accounts.client import LinkedAccountsClient -from .resources.passthrough.client import PassthroughClient -from .resources.regenerate_key.client import RegenerateKeyClient -from .resources.sync_status.client import SyncStatusClient -from .resources.force_resync.client import ForceResyncClient -from .resources.users.client import UsersClient -from .resources.webhook_receivers.client import WebhookReceiversClient -from ...core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawFilestorageClient -from .resources.account_details.client import AsyncAccountDetailsClient -from .resources.account_token.client import AsyncAccountTokenClient -from .resources.async_passthrough.client import AsyncAsyncPassthroughClient -from .resources.audit_trail.client import AsyncAuditTrailClient -from .resources.available_actions.client import AsyncAvailableActionsClient -from .resources.scopes.client import AsyncScopesClient -from .resources.delete_account.client import AsyncDeleteAccountClient -from .resources.drives.client import AsyncDrivesClient -from .resources.field_mapping.client import AsyncFieldMappingClient -from .resources.files.client import AsyncFilesClient -from .resources.folders.client import AsyncFoldersClient -from .resources.generate_key.client import AsyncGenerateKeyClient -from .resources.groups.client import AsyncGroupsClient -from .resources.issues.client import AsyncIssuesClient -from .resources.link_token.client import AsyncLinkTokenClient -from .resources.linked_accounts.client import AsyncLinkedAccountsClient +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.regenerate_key.client import AsyncRegenerateKeyClient -from .resources.sync_status.client import AsyncSyncStatusClient -from .resources.force_resync.client import AsyncForceResyncClient -from .resources.users.client import AsyncUsersClient -from .resources.webhook_receivers.client import AsyncWebhookReceiversClient +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: diff --git a/src/merge/resources/filestorage/raw_client.py b/src/merge/resources/filestorage/raw_client.py index 37450ccb..afa5f5ca 100644 --- a/src/merge/resources/filestorage/raw_client.py +++ b/src/merge/resources/filestorage/raw_client.py @@ -1,7 +1,6 @@ # This file was auto-generated by Fern from our API Definition. -from ...core.client_wrapper import SyncClientWrapper -from ...core.client_wrapper import AsyncClientWrapper +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper class RawFilestorageClient: diff --git a/src/merge/resources/filestorage/resources/__init__.py b/src/merge/resources/filestorage/resources/__init__.py index 8da83a68..37439505 100644 --- a/src/merge/resources/filestorage/resources/__init__.py +++ b/src/merge/resources/filestorage/resources/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from . import ( account_details, account_token, @@ -25,14 +27,21 @@ webhook_receivers, ) from .async_passthrough import AsyncPassthroughRetrieveResponse -from .files import FilesListRequestExpand, FilesRetrieveRequestExpand +from .files import ( + FilesDownloadRequestMetaListRequestOrderBy, + FilesListRequestExpand, + FilesListRequestOrderBy, + FilesRetrieveRequestExpand, +) from .folders import FoldersListRequestExpand, FoldersRetrieveRequestExpand from .issues import IssuesListRequestStatus from .linked_accounts import LinkedAccountsListRequestCategory __all__ = [ "AsyncPassthroughRetrieveResponse", + "FilesDownloadRequestMetaListRequestOrderBy", "FilesListRequestExpand", + "FilesListRequestOrderBy", "FilesRetrieveRequestExpand", "FoldersListRequestExpand", "FoldersRetrieveRequestExpand", diff --git a/src/merge/resources/filestorage/resources/account_details/__init__.py b/src/merge/resources/filestorage/resources/account_details/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/filestorage/resources/account_details/__init__.py +++ b/src/merge/resources/filestorage/resources/account_details/__init__.py @@ -1,2 +1,4 @@ # 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 index a5de6054..266a2220 100644 --- a/src/merge/resources/filestorage/resources/account_details/client.py +++ b/src/merge/resources/filestorage/resources/account_details/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAccountDetailsClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.account_details import AccountDetails -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAccountDetailsClient +from .raw_client import AsyncRawAccountDetailsClient, RawAccountDetailsClient class AccountDetailsClient: @@ -48,8 +47,8 @@ def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) - ) client.filestorage.account_details.retrieve() """ - response = self._raw_client.retrieve(request_options=request_options) - return response.data + _response = self._raw_client.retrieve(request_options=request_options) + return _response.data class AsyncAccountDetailsClient: @@ -99,5 +98,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(request_options=request_options) - return response.data + _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/filestorage/resources/account_details/raw_client.py index 13d2c197..cf375876 100644 --- a/src/merge/resources/filestorage/resources/account_details/raw_client.py +++ b/src/merge/resources/filestorage/resources/account_details/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.account_details import AccountDetails -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -47,8 +46,8 @@ def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) - return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -88,5 +87,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/account_token/__init__.py b/src/merge/resources/filestorage/resources/account_token/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/filestorage/resources/account_token/__init__.py +++ b/src/merge/resources/filestorage/resources/account_token/__init__.py @@ -1,2 +1,4 @@ # 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 index b9684419..7ca535bd 100644 --- a/src/merge/resources/filestorage/resources/account_token/client.py +++ b/src/merge/resources/filestorage/resources/account_token/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAccountTokenClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.account_token import AccountToken -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAccountTokenClient +from .raw_client import AsyncRawAccountTokenClient, RawAccountTokenClient class AccountTokenClient: @@ -52,8 +51,8 @@ def retrieve(self, public_token: str, *, request_options: typing.Optional[Reques public_token="public_token", ) """ - response = self._raw_client.retrieve(public_token, request_options=request_options) - return response.data + _response = self._raw_client.retrieve(public_token, request_options=request_options) + return _response.data class AsyncAccountTokenClient: @@ -109,5 +108,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(public_token, request_options=request_options) - return response.data + _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/filestorage/resources/account_token/raw_client.py index 3f39619c..5520a69a 100644 --- a/src/merge/resources/filestorage/resources/account_token/raw_client.py +++ b/src/merge/resources/filestorage/resources/account_token/raw_client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.account_token import AccountToken -from .....core.jsonable_encoder import jsonable_encoder -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -52,8 +51,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -95,5 +94,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/async_passthrough/__init__.py b/src/merge/resources/filestorage/resources/async_passthrough/__init__.py index cb869002..4767933f 100644 --- a/src/merge/resources/filestorage/resources/async_passthrough/__init__.py +++ b/src/merge/resources/filestorage/resources/async_passthrough/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import AsyncPassthroughRetrieveResponse __all__ = ["AsyncPassthroughRetrieveResponse"] diff --git a/src/merge/resources/filestorage/resources/async_passthrough/client.py b/src/merge/resources/filestorage/resources/async_passthrough/client.py index dba2c8b8..6cd6968b 100644 --- a/src/merge/resources/filestorage/resources/async_passthrough/client.py +++ b/src/merge/resources/filestorage/resources/async_passthrough/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAsyncPassthroughClient -from ...types.data_passthrough_request import DataPassthroughRequest + +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 -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAsyncPassthroughClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -63,8 +62,8 @@ def create( ), ) """ - response = self._raw_client.create(request=request, request_options=request_options) - return response.data + _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 @@ -96,8 +95,8 @@ def 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 + _response = self._raw_client.retrieve(async_passthrough_receipt_id, request_options=request_options) + return _response.data class AsyncAsyncPassthroughClient: @@ -157,8 +156,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create(request=request, request_options=request_options) - return response.data + _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 @@ -198,5 +197,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(async_passthrough_receipt_id, request_options=request_options) - return response.data + _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/filestorage/resources/async_passthrough/raw_client.py index 65f76593..993249cf 100644 --- a/src/merge/resources/filestorage/resources/async_passthrough/raw_client.py +++ b/src/merge/resources/filestorage/resources/async_passthrough/raw_client.py @@ -1,18 +1,17 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from ...types.data_passthrough_request import DataPassthroughRequest -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.async_passthrough_reciept import AsyncPassthroughReciept -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .types.async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -44,6 +43,9 @@ def create( "filestorage/v1/async-passthrough", method="POST", json=request, + headers={ + "content-type": "application/json", + }, request_options=request_options, omit=OMIT, ) @@ -59,8 +61,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -97,8 +99,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -127,6 +129,9 @@ async def create( "filestorage/v1/async-passthrough", method="POST", json=request, + headers={ + "content-type": "application/json", + }, request_options=request_options, omit=OMIT, ) @@ -142,8 +147,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -180,5 +185,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/async_passthrough/types/__init__.py b/src/merge/resources/filestorage/resources/async_passthrough/types/__init__.py index caff085b..cb7e997d 100644 --- a/src/merge/resources/filestorage/resources/async_passthrough/types/__init__.py +++ b/src/merge/resources/filestorage/resources/async_passthrough/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse __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 index 5a819dfd..f8f87c18 100644 --- 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 @@ -1,6 +1,7 @@ # 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 index f3ea2659..5cde0202 100644 --- a/src/merge/resources/filestorage/resources/audit_trail/__init__.py +++ b/src/merge/resources/filestorage/resources/audit_trail/__init__.py @@ -1,2 +1,4 @@ # 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 index 53f3ce84..aef09b3e 100644 --- a/src/merge/resources/filestorage/resources/audit_trail/client.py +++ b/src/merge/resources/filestorage/resources/audit_trail/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAuditTrailClient 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 .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAuditTrailClient +from .raw_client import AsyncRawAuditTrailClient, RawAuditTrailClient class AuditTrailClient: @@ -47,7 +46,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`, `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`, `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. @@ -76,7 +75,7 @@ def list( ) client.filestorage.audit_trail.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -85,7 +84,7 @@ def list( user_email=user_email, request_options=request_options, ) - return response.data + return _response.data class AsyncAuditTrailClient: @@ -126,7 +125,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`, `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`, `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. @@ -163,7 +162,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -172,4 +171,4 @@ async def main() -> None: user_email=user_email, request_options=request_options, ) - return response.data + 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 index 7766a983..7d7369a4 100644 --- a/src/merge/resources/filestorage/resources/audit_trail/raw_client.py +++ b/src/merge/resources/filestorage/resources/audit_trail/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -39,7 +38,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`, `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`, `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. @@ -83,8 +82,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -114,7 +113,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`, `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`, `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. @@ -158,5 +157,5 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 index f3ea2659..5cde0202 100644 --- a/src/merge/resources/filestorage/resources/available_actions/__init__.py +++ b/src/merge/resources/filestorage/resources/available_actions/__init__.py @@ -1,2 +1,4 @@ # 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 index 5202253f..22ad10c7 100644 --- a/src/merge/resources/filestorage/resources/available_actions/client.py +++ b/src/merge/resources/filestorage/resources/available_actions/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAvailableActionsClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.available_actions import AvailableActions -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAvailableActionsClient +from .raw_client import AsyncRawAvailableActionsClient, RawAvailableActionsClient class AvailableActionsClient: @@ -48,8 +47,8 @@ def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) - ) client.filestorage.available_actions.retrieve() """ - response = self._raw_client.retrieve(request_options=request_options) - return response.data + _response = self._raw_client.retrieve(request_options=request_options) + return _response.data class AsyncAvailableActionsClient: @@ -99,5 +98,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(request_options=request_options) - return response.data + _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/filestorage/resources/available_actions/raw_client.py index b522fc0f..77c00186 100644 --- a/src/merge/resources/filestorage/resources/available_actions/raw_client.py +++ b/src/merge/resources/filestorage/resources/available_actions/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.available_actions import AvailableActions -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -47,8 +46,8 @@ def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) - return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -88,5 +87,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/delete_account/__init__.py b/src/merge/resources/filestorage/resources/delete_account/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/filestorage/resources/delete_account/__init__.py +++ b/src/merge/resources/filestorage/resources/delete_account/__init__.py @@ -1,2 +1,4 @@ # 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 index b413e15d..e016a7a0 100644 --- a/src/merge/resources/filestorage/resources/delete_account/client.py +++ b/src/merge/resources/filestorage/resources/delete_account/client.py @@ -1,11 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawDeleteAccountClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawDeleteAccountClient +from .raw_client import AsyncRawDeleteAccountClient, RawDeleteAccountClient class DeleteAccountClient: @@ -46,8 +45,8 @@ def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> ) client.filestorage.delete_account.delete() """ - response = self._raw_client.delete(request_options=request_options) - return response.data + _response = self._raw_client.delete(request_options=request_options) + return _response.data class AsyncDeleteAccountClient: @@ -96,5 +95,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.delete(request_options=request_options) - return response.data + _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/filestorage/resources/delete_account/raw_client.py index 6ffe2cbb..c1b1eaf9 100644 --- a/src/merge/resources/filestorage/resources/delete_account/raw_client.py +++ b/src/merge/resources/filestorage/resources/delete_account/raw_client.py @@ -1,13 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.request_options import RequestOptions class RawDeleteAccountClient: @@ -37,8 +36,8 @@ def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> return HttpResponse(response=_response, data=None) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -68,5 +67,5 @@ async def delete(self, *, request_options: typing.Optional[RequestOptions] = Non return AsyncHttpResponse(response=_response, data=None) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/drives/__init__.py b/src/merge/resources/filestorage/resources/drives/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/filestorage/resources/drives/__init__.py +++ b/src/merge/resources/filestorage/resources/drives/__init__.py @@ -1,2 +1,4 @@ # 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 index 00156b7b..580b2c96 100644 --- a/src/merge/resources/filestorage/resources/drives/client.py +++ b/src/merge/resources/filestorage/resources/drives/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawDrivesClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_drive_list import PaginatedDriveList from ...types.drive import Drive -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawDrivesClient +from ...types.paginated_drive_list import PaginatedDriveList +from .raw_client import AsyncRawDrivesClient, RawDrivesClient class DrivesClient: @@ -98,7 +97,7 @@ def list( ) client.filestorage.drives.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -112,7 +111,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -155,13 +154,13 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncDrivesClient: @@ -259,7 +258,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -273,7 +272,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -324,10 +323,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + 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 index ff28fb80..666e5081 100644 --- a/src/merge/resources/filestorage/resources/drives/raw_client.py +++ b/src/merge/resources/filestorage/resources/drives/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_drive_list import PaginatedDriveList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.drive import Drive +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -112,8 +111,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -165,8 +164,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -265,8 +264,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -318,5 +317,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 index f3ea2659..5cde0202 100644 --- a/src/merge/resources/filestorage/resources/field_mapping/__init__.py +++ b/src/merge/resources/filestorage/resources/field_mapping/__init__.py @@ -1,2 +1,4 @@ # 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 index 92fc0468..bae68a02 100644 --- a/src/merge/resources/filestorage/resources/field_mapping/client.py +++ b/src/merge/resources/filestorage/resources/field_mapping/client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawFieldMappingClient + +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 ...types.external_target_field_api_response import ExternalTargetFieldApiResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawFieldMappingClient +from .raw_client import AsyncRawFieldMappingClient, RawFieldMappingClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -62,10 +61,10 @@ def field_mappings_retrieve( ) client.filestorage.field_mapping.field_mappings_retrieve() """ - response = self._raw_client.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 + return _response.data def field_mappings_create( self, @@ -130,7 +129,7 @@ def field_mappings_create( common_model_name="ExampleCommonModel", ) """ - response = self._raw_client.field_mappings_create( + _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, @@ -140,7 +139,7 @@ def field_mappings_create( exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options, ) - return response.data + return _response.data def field_mappings_destroy( self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -172,8 +171,8 @@ def 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 + _response = self._raw_client.field_mappings_destroy(field_mapping_id, request_options=request_options) + return _response.data def field_mappings_partial_update( self, @@ -220,14 +219,14 @@ def field_mappings_partial_update( field_mapping_id="field_mapping_id", ) """ - response = self._raw_client.field_mappings_partial_update( + _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 + return _response.data def remote_fields_retrieve( self, @@ -265,10 +264,10 @@ def remote_fields_retrieve( ) client.filestorage.field_mapping.remote_fields_retrieve() """ - response = self._raw_client.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 + return _response.data def target_fields_retrieve( self, *, request_options: typing.Optional[RequestOptions] = None @@ -296,8 +295,8 @@ def target_fields_retrieve( ) client.filestorage.field_mapping.target_fields_retrieve() """ - response = self._raw_client.target_fields_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.target_fields_retrieve(request_options=request_options) + return _response.data class AsyncFieldMappingClient: @@ -355,10 +354,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.field_mappings_retrieve( + _response = await self._raw_client.field_mappings_retrieve( exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options ) - return response.data + return _response.data async def field_mappings_create( self, @@ -431,7 +430,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.field_mappings_create( + _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, @@ -441,7 +440,7 @@ async def main() -> None: exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options, ) - return response.data + return _response.data async def field_mappings_destroy( self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -481,8 +480,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.field_mappings_destroy(field_mapping_id, request_options=request_options) - return response.data + _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, @@ -537,14 +536,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.field_mappings_partial_update( + _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 + return _response.data async def remote_fields_retrieve( self, @@ -590,10 +589,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.remote_fields_retrieve( + _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 + return _response.data async def target_fields_retrieve( self, *, request_options: typing.Optional[RequestOptions] = None @@ -629,5 +628,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.target_fields_retrieve(request_options=request_options) - return response.data + _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 index 60d31781..02fe3e18 100644 --- a/src/merge/resources/filestorage/resources/field_mapping/raw_client.py +++ b/src/merge/resources/filestorage/resources/field_mapping/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.field_mapping_api_instance_response import FieldMappingApiInstanceResponse -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.field_mapping_instance_response import FieldMappingInstanceResponse +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder -from ...types.remote_field_api_response import RemoteFieldApiResponse +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type from ...types.external_target_field_api_response import ExternalTargetFieldApiResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -65,8 +64,8 @@ def field_mappings_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -146,8 +145,8 @@ def field_mappings_create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -184,8 +183,8 @@ def field_mappings_destroy( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -246,8 +245,8 @@ def field_mappings_partial_update( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -296,8 +295,8 @@ def remote_fields_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -332,8 +331,8 @@ def target_fields_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -382,8 +381,8 @@ async def field_mappings_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -463,8 +462,8 @@ async def field_mappings_create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -501,8 +500,8 @@ async def field_mappings_destroy( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -563,8 +562,8 @@ async def field_mappings_partial_update( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -613,8 +612,8 @@ async def remote_fields_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -649,5 +648,5 @@ async def target_fields_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 index c18730db..1976b154 100644 --- a/src/merge/resources/filestorage/resources/files/__init__.py +++ b/src/merge/resources/filestorage/resources/files/__init__.py @@ -1,5 +1,17 @@ # This file was auto-generated by Fern from our API Definition. -from .types import FilesListRequestExpand, FilesRetrieveRequestExpand +# isort: skip_file -__all__ = ["FilesListRequestExpand", "FilesRetrieveRequestExpand"] +from .types import ( + FilesDownloadRequestMetaListRequestOrderBy, + FilesListRequestExpand, + FilesListRequestOrderBy, + FilesRetrieveRequestExpand, +) + +__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 index 87437560..b18ef7d9 100644 --- a/src/merge/resources/filestorage/resources/files/client.py +++ b/src/merge/resources/filestorage/resources/files/client.py @@ -1,21 +1,22 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawFilesClient import datetime as dt -from .types.files_list_request_expand import FilesListRequestExpand +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_file_list import PaginatedFileList +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.files_retrieve_request_expand import FilesRetrieveRequestExpand -from ...types.file import File -from ...types.download_request_meta import DownloadRequestMeta -from ...types.paginated_download_request_meta_list import PaginatedDownloadRequestMetaList from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawFilesClient +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, ...) @@ -52,6 +53,7 @@ def list( 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, @@ -100,6 +102,9 @@ def 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. @@ -124,7 +129,7 @@ def list( ) client.filestorage.files.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -138,11 +143,12 @@ def list( 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 response.data + return _response.data def create( self, @@ -186,10 +192,10 @@ def create( model=FileRequest(), ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options ) - return response.data + return _response.data def retrieve( self, @@ -236,14 +242,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data def download_retrieve( self, @@ -316,17 +322,22 @@ def download_request_meta_retrieve( id="id", ) """ - response = self._raw_client.download_request_meta_retrieve( + _response = self._raw_client.download_request_meta_retrieve( id, mime_type=mime_type, request_options=request_options ) - return response.data + 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_type: typing.Optional[str] = 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: @@ -335,14 +346,29 @@ def download_request_meta_list( 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_type : typing.Optional[str] - If provided, specifies the export format of the files to be downloaded. For information on supported export formats, please refer to our export format help center article. + 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. @@ -365,14 +391,19 @@ def download_request_meta_list( ) client.filestorage.files.download_request_meta_list() """ - response = self._raw_client.download_request_meta_list( + _response = self._raw_client.download_request_meta_list( + created_after=created_after, + created_before=created_before, cursor=cursor, include_deleted_data=include_deleted_data, - mime_type=mime_type, + 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 + return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -398,8 +429,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.filestorage.files.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data class AsyncFilesClient: @@ -433,6 +464,7 @@ async def list( 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, @@ -481,6 +513,9 @@ async def 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. @@ -513,7 +548,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -527,11 +562,12 @@ async def main() -> None: 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 response.data + return _response.data async def create( self, @@ -583,10 +619,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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 + return _response.data async def retrieve( self, @@ -641,14 +677,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data async def download_retrieve( self, @@ -682,8 +718,8 @@ async def download_retrieve( 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 data in r.data: - yield data + async for _chunk in r.data: + yield _chunk async def download_request_meta_retrieve( self, @@ -730,17 +766,22 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.download_request_meta_retrieve( + _response = await self._raw_client.download_request_meta_retrieve( id, mime_type=mime_type, request_options=request_options ) - return response.data + 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_type: typing.Optional[str] = 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: @@ -749,14 +790,29 @@ async def download_request_meta_list( 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_type : typing.Optional[str] - If provided, specifies the export format of the files to be downloaded. For information on supported export formats, please refer to our export format help center article. + 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. @@ -787,14 +843,19 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.download_request_meta_list( + _response = 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_type=mime_type, + 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 + return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -828,5 +889,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _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 index 89ae5392..34f79c14 100644 --- a/src/merge/resources/filestorage/resources/files/raw_client.py +++ b/src/merge/resources/filestorage/resources/files/raw_client.py @@ -1,27 +1,28 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper +import contextlib import datetime as dt -from .types.files_list_request_expand import FilesListRequestExpand -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_file_list import PaginatedFileList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.file_request import FileRequest -from ...types.file_storage_file_response import FileStorageFileResponse -from .types.files_retrieve_request_expand import FilesRetrieveRequestExpand -from ...types.file import File +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 -import contextlib +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type from ...types.download_request_meta import DownloadRequestMeta -from ...types.paginated_download_request_meta_list import PaginatedDownloadRequestMetaList +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 .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -47,6 +48,7 @@ def list( 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, @@ -95,6 +97,9 @@ def 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. @@ -126,6 +131,7 @@ def list( "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, }, @@ -143,8 +149,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -203,8 +209,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -261,8 +267,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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( @@ -304,7 +310,7 @@ def download_retrieve( request_options=request_options, ) as _response: - def stream() -> HttpResponse[typing.Iterator[bytes]]: + 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 @@ -314,10 +320,12 @@ def stream() -> HttpResponse[typing.Iterator[bytes]]: _response.read() _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError( + status_code=_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() + yield _stream() def download_request_meta_retrieve( self, @@ -364,15 +372,20 @@ def download_request_meta_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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_type: typing.Optional[str] = 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]: @@ -381,14 +394,29 @@ def download_request_meta_list( 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_type : typing.Optional[str] - If provided, specifies the export format of the files to be downloaded. For information on supported export formats, please refer to our export format help center article. + 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. @@ -405,9 +433,14 @@ def download_request_meta_list( "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_type": mime_type, + "mime_types": mime_types, + "modified_after": modified_after, + "modified_before": modified_before, + "order_by": order_by, "page_size": page_size, }, request_options=request_options, @@ -424,8 +457,8 @@ def download_request_meta_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -460,8 +493,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -484,6 +517,7 @@ async def list( 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, @@ -532,6 +566,9 @@ async def 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. @@ -563,6 +600,7 @@ async def list( "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, }, @@ -580,8 +618,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -640,8 +678,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -698,8 +736,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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( @@ -741,7 +779,7 @@ async def download_retrieve( request_options=request_options, ) as _response: - async def stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: + 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 @@ -752,10 +790,12 @@ async def stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: await _response.aread() _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError( + status_code=_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() + yield await _stream() async def download_request_meta_retrieve( self, @@ -802,15 +842,20 @@ async def download_request_meta_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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_type: typing.Optional[str] = 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]: @@ -819,14 +864,29 @@ async def download_request_meta_list( 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_type : typing.Optional[str] - If provided, specifies the export format of the files to be downloaded. For information on supported export formats, please refer to our export format help center article. + 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. @@ -843,9 +903,14 @@ async def download_request_meta_list( "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_type": mime_type, + "mime_types": mime_types, + "modified_after": modified_after, + "modified_before": modified_before, + "order_by": order_by, "page_size": page_size, }, request_options=request_options, @@ -862,8 +927,8 @@ async def download_request_meta_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -898,5 +963,5 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 index a3154c37..d50d72e7 100644 --- a/src/merge/resources/filestorage/resources/files/types/__init__.py +++ b/src/merge/resources/filestorage/resources/files/types/__init__.py @@ -1,6 +1,15 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + +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 -__all__ = ["FilesListRequestExpand", "FilesRetrieveRequestExpand"] +__all__ = [ + "FilesDownloadRequestMetaListRequestOrderBy", + "FilesListRequestExpand", + "FilesListRequestOrderBy", + "FilesRetrieveRequestExpand", +] diff --git a/src/merge/resources/filestorage/resources/files/types/files_download_request_meta_list_request_order_by.py b/src/merge/resources/filestorage/resources/files/types/files_download_request_meta_list_request_order_by.py new file mode 100644 index 00000000..68856c4d --- /dev/null +++ b/src/merge/resources/filestorage/resources/files/types/files_download_request_meta_list_request_order_by.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 FilesDownloadRequestMetaListRequestOrderBy(str, enum.Enum): + CREATED_AT_DESCENDING = "-created_at" + MODIFIED_AT_DESCENDING = "-modified_at" + CREATED_AT_ASCENDING = "created_at" + MODIFIED_AT_ASCENDING = "modified_at" + + def visit( + self, + created_at_descending: typing.Callable[[], T_Result], + modified_at_descending: typing.Callable[[], T_Result], + created_at_ascending: typing.Callable[[], T_Result], + modified_at_ascending: typing.Callable[[], T_Result], + ) -> T_Result: + if self is FilesDownloadRequestMetaListRequestOrderBy.CREATED_AT_DESCENDING: + return created_at_descending() + if self is FilesDownloadRequestMetaListRequestOrderBy.MODIFIED_AT_DESCENDING: + return modified_at_descending() + if self is FilesDownloadRequestMetaListRequestOrderBy.CREATED_AT_ASCENDING: + return created_at_ascending() + if self is FilesDownloadRequestMetaListRequestOrderBy.MODIFIED_AT_ASCENDING: + return modified_at_ascending() diff --git a/src/merge/resources/filestorage/resources/files/types/files_list_request_order_by.py b/src/merge/resources/filestorage/resources/files/types/files_list_request_order_by.py new file mode 100644 index 00000000..1e585467 --- /dev/null +++ b/src/merge/resources/filestorage/resources/files/types/files_list_request_order_by.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 FilesListRequestOrderBy(str, enum.Enum): + CREATED_AT_DESCENDING = "-created_at" + MODIFIED_AT_DESCENDING = "-modified_at" + CREATED_AT_ASCENDING = "created_at" + MODIFIED_AT_ASCENDING = "modified_at" + + def visit( + self, + created_at_descending: typing.Callable[[], T_Result], + modified_at_descending: typing.Callable[[], T_Result], + created_at_ascending: typing.Callable[[], T_Result], + modified_at_ascending: typing.Callable[[], T_Result], + ) -> T_Result: + if self is FilesListRequestOrderBy.CREATED_AT_DESCENDING: + return created_at_descending() + if self is FilesListRequestOrderBy.MODIFIED_AT_DESCENDING: + return modified_at_descending() + if self is FilesListRequestOrderBy.CREATED_AT_ASCENDING: + return created_at_ascending() + if self is FilesListRequestOrderBy.MODIFIED_AT_ASCENDING: + return modified_at_ascending() diff --git a/src/merge/resources/filestorage/resources/folders/__init__.py b/src/merge/resources/filestorage/resources/folders/__init__.py index e16d0069..98f7cabb 100644 --- a/src/merge/resources/filestorage/resources/folders/__init__.py +++ b/src/merge/resources/filestorage/resources/folders/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import FoldersListRequestExpand, FoldersRetrieveRequestExpand __all__ = ["FoldersListRequestExpand", "FoldersRetrieveRequestExpand"] diff --git a/src/merge/resources/filestorage/resources/folders/client.py b/src/merge/resources/filestorage/resources/folders/client.py index c7b6488c..c2a45b1f 100644 --- a/src/merge/resources/filestorage/resources/folders/client.py +++ b/src/merge/resources/filestorage/resources/folders/client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawFoldersClient import datetime as dt -from .types.folders_list_request_expand import FoldersListRequestExpand +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_folder_list import PaginatedFolderList -from ...types.folder_request import FolderRequest from ...types.file_storage_folder_response import FileStorageFolderResponse -from .types.folders_retrieve_request_expand import FoldersRetrieveRequestExpand from ...types.folder import Folder +from ...types.folder_request import FolderRequest from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawFoldersClient +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, ...) @@ -118,7 +117,7 @@ def list( ) client.filestorage.folders.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -135,7 +134,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -179,10 +178,10 @@ def create( model=FolderRequest(), ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options ) - return response.data + return _response.data def retrieve( self, @@ -229,14 +228,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -262,8 +261,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.filestorage.folders.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data class AsyncFoldersClient: @@ -373,7 +372,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -390,7 +389,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -442,10 +441,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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 + return _response.data async def retrieve( self, @@ -500,14 +499,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -541,5 +540,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _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 index d129755e..1094fc1c 100644 --- a/src/merge/resources/filestorage/resources/folders/raw_client.py +++ b/src/merge/resources/filestorage/resources/folders/raw_client.py @@ -1,24 +1,23 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .types.folders_list_request_expand import FoldersListRequestExpand -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_folder_list import PaginatedFolderList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.folder_request import FolderRequest +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.folders_retrieve_request_expand import FoldersRetrieveRequestExpand from ...types.folder import Folder -from .....core.jsonable_encoder import jsonable_encoder +from ...types.folder_request import FolderRequest from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -135,8 +134,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -195,8 +194,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -253,8 +252,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -289,8 +288,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -404,8 +403,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -464,8 +463,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -522,8 +521,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -558,5 +557,5 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 index 7f9587ac..ed993f37 100644 --- a/src/merge/resources/filestorage/resources/folders/types/__init__.py +++ b/src/merge/resources/filestorage/resources/folders/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .folders_list_request_expand import FoldersListRequestExpand from .folders_retrieve_request_expand import FoldersRetrieveRequestExpand diff --git a/src/merge/resources/filestorage/resources/force_resync/__init__.py b/src/merge/resources/filestorage/resources/force_resync/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/filestorage/resources/force_resync/__init__.py +++ b/src/merge/resources/filestorage/resources/force_resync/__init__.py @@ -1,2 +1,4 @@ # 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 index bffa69b9..da82ceb8 100644 --- a/src/merge/resources/filestorage/resources/force_resync/client.py +++ b/src/merge/resources/filestorage/resources/force_resync/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawForceResyncClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.sync_status import SyncStatus -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawForceResyncClient +from .raw_client import AsyncRawForceResyncClient, RawForceResyncClient class ForceResyncClient: @@ -50,8 +49,8 @@ def sync_status_resync_create( ) client.filestorage.force_resync.sync_status_resync_create() """ - response = self._raw_client.sync_status_resync_create(request_options=request_options) - return response.data + _response = self._raw_client.sync_status_resync_create(request_options=request_options) + return _response.data class AsyncForceResyncClient: @@ -103,5 +102,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.sync_status_resync_create(request_options=request_options) - return response.data + _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/filestorage/resources/force_resync/raw_client.py index 3e5c9603..31dc7d3a 100644 --- a/src/merge/resources/filestorage/resources/force_resync/raw_client.py +++ b/src/merge/resources/filestorage/resources/force_resync/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.sync_status import SyncStatus -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -49,8 +48,8 @@ def sync_status_resync_create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -90,5 +89,5 @@ async def sync_status_resync_create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/generate_key/__init__.py b/src/merge/resources/filestorage/resources/generate_key/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/filestorage/resources/generate_key/__init__.py +++ b/src/merge/resources/filestorage/resources/generate_key/__init__.py @@ -1,2 +1,4 @@ # 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 index e1fd6caf..759ad573 100644 --- a/src/merge/resources/filestorage/resources/generate_key/client.py +++ b/src/merge/resources/filestorage/resources/generate_key/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawGenerateKeyClient + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.remote_key import RemoteKey -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawGenerateKeyClient +from .raw_client import AsyncRawGenerateKeyClient, RawGenerateKeyClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -56,8 +55,8 @@ def create(self, *, name: str, request_options: typing.Optional[RequestOptions] name="Remote Deployment Key 1", ) """ - response = self._raw_client.create(name=name, request_options=request_options) - return response.data + _response = self._raw_client.create(name=name, request_options=request_options) + return _response.data class AsyncGenerateKeyClient: @@ -112,5 +111,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create(name=name, request_options=request_options) - return response.data + _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/filestorage/resources/generate_key/raw_client.py index b298445b..3c418ce6 100644 --- a/src/merge/resources/filestorage/resources/generate_key/raw_client.py +++ b/src/merge/resources/filestorage/resources/generate_key/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.remote_key import RemoteKey -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -60,8 +59,8 @@ def create(self, *, name: str, request_options: typing.Optional[RequestOptions] return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -111,5 +110,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/groups/__init__.py b/src/merge/resources/filestorage/resources/groups/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/filestorage/resources/groups/__init__.py +++ b/src/merge/resources/filestorage/resources/groups/__init__.py @@ -1,2 +1,4 @@ # 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 index f8484d47..5e112f27 100644 --- a/src/merge/resources/filestorage/resources/groups/client.py +++ b/src/merge/resources/filestorage/resources/groups/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawGroupsClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_group_list import PaginatedGroupList from ...types.group import Group -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawGroupsClient +from ...types.paginated_group_list import PaginatedGroupList +from .raw_client import AsyncRawGroupsClient, RawGroupsClient class GroupsClient: @@ -98,7 +97,7 @@ def list( ) client.filestorage.groups.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -112,7 +111,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -159,14 +158,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncGroupsClient: @@ -264,7 +263,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -278,7 +277,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -333,11 +332,11 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + 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 index d8bb1149..9ca38893 100644 --- a/src/merge/resources/filestorage/resources/groups/raw_client.py +++ b/src/merge/resources/filestorage/resources/groups/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_group_list import PaginatedGroupList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.group import Group +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -112,8 +111,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -170,8 +169,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -270,8 +269,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -328,5 +327,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 index ab74e304..bb7feb68 100644 --- a/src/merge/resources/filestorage/resources/issues/__init__.py +++ b/src/merge/resources/filestorage/resources/issues/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import IssuesListRequestStatus __all__ = ["IssuesListRequestStatus"] diff --git a/src/merge/resources/filestorage/resources/issues/client.py b/src/merge/resources/filestorage/resources/issues/client.py index 8b503f28..c99f2054 100644 --- a/src/merge/resources/filestorage/resources/issues/client.py +++ b/src/merge/resources/filestorage/resources/issues/client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawIssuesClient -import typing import datetime as dt -from .types.issues_list_request_status import IssuesListRequestStatus +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_issue_list import PaginatedIssueList from ...types.issue import Issue -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawIssuesClient +from ...types.paginated_issue_list import PaginatedIssueList +from .raw_client import AsyncRawIssuesClient, RawIssuesClient +from .types.issues_list_request_status import IssuesListRequestStatus class IssuesClient: @@ -111,7 +110,7 @@ def list( ) client.filestorage.issues.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -128,7 +127,7 @@ def list( status=status, request_options=request_options, ) - return response.data + return _response.data def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ @@ -158,8 +157,8 @@ def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] id="id", ) """ - response = self._raw_client.retrieve(id, request_options=request_options) - return response.data + _response = self._raw_client.retrieve(id, request_options=request_options) + return _response.data class AsyncIssuesClient: @@ -269,7 +268,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -286,7 +285,7 @@ async def main() -> None: status=status, request_options=request_options, ) - return response.data + return _response.data async def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ @@ -324,5 +323,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(id, request_options=request_options) - return response.data + _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 index b916cb7b..2c87dada 100644 --- a/src/merge/resources/filestorage/resources/issues/raw_client.py +++ b/src/merge/resources/filestorage/resources/issues/raw_client.py @@ -1,20 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .types.issues_list_request_status import IssuesListRequestStatus -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_issue_list import PaginatedIssueList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.issue import Issue +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -136,8 +135,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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]: """ @@ -172,8 +171,8 @@ def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -295,8 +294,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -333,5 +332,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 index 660c5d2a..06333662 100644 --- a/src/merge/resources/filestorage/resources/issues/types/__init__.py +++ b/src/merge/resources/filestorage/resources/issues/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .issues_list_request_status import IssuesListRequestStatus __all__ = ["IssuesListRequestStatus"] diff --git a/src/merge/resources/filestorage/resources/link_token/__init__.py b/src/merge/resources/filestorage/resources/link_token/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/filestorage/resources/link_token/__init__.py +++ b/src/merge/resources/filestorage/resources/link_token/__init__.py @@ -1,2 +1,4 @@ # 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 index 33dacb2a..9f8213f5 100644 --- a/src/merge/resources/filestorage/resources/link_token/client.py +++ b/src/merge/resources/filestorage/resources/link_token/client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawLinkTokenClient + +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 .....core.request_options import RequestOptions from ...types.link_token import LinkToken -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawLinkTokenClient +from .raw_client import AsyncRawLinkTokenClient, RawLinkTokenClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -122,7 +121,7 @@ def create( categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], ) """ - response = self._raw_client.create( + _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, @@ -138,7 +137,7 @@ def create( integration_specific_config=integration_specific_config, request_options=request_options, ) - return response.data + return _response.data class AsyncLinkTokenClient: @@ -255,7 +254,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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, @@ -271,4 +270,4 @@ async def main() -> None: integration_specific_config=integration_specific_config, request_options=request_options, ) - return response.data + 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 index 0e0cf732..391c7bb5 100644 --- a/src/merge/resources/filestorage/resources/link_token/raw_client.py +++ b/src/merge/resources/filestorage/resources/link_token/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper +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 .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse from ...types.link_token import LinkToken -from .....core.unchecked_base_model import construct_type -from json.decoder import JSONDecodeError -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -134,8 +133,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -253,5 +252,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 index 70377fa3..e7254ec5 100644 --- a/src/merge/resources/filestorage/resources/linked_accounts/__init__.py +++ b/src/merge/resources/filestorage/resources/linked_accounts/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import LinkedAccountsListRequestCategory __all__ = ["LinkedAccountsListRequestCategory"] diff --git a/src/merge/resources/filestorage/resources/linked_accounts/client.py b/src/merge/resources/filestorage/resources/linked_accounts/client.py index 1f9fa58b..fc7fe947 100644 --- a/src/merge/resources/filestorage/resources/linked_accounts/client.py +++ b/src/merge/resources/filestorage/resources/linked_accounts/client.py @@ -1,13 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawLinkedAccountsClient import typing -from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawLinkedAccountsClient +from .raw_client import AsyncRawLinkedAccountsClient, RawLinkedAccountsClient +from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory class LinkedAccountsClient: @@ -112,7 +111,7 @@ def list( ) client.filestorage.linked_accounts.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -128,7 +127,7 @@ def list( status=status, request_options=request_options, ) - return response.data + return _response.data class AsyncLinkedAccountsClient: @@ -241,7 +240,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -257,4 +256,4 @@ async def main() -> None: status=status, request_options=request_options, ) - return response.data + 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 index 756d1b1c..84226075 100644 --- a/src/merge/resources/filestorage/resources/linked_accounts/raw_client.py +++ b/src/merge/resources/filestorage/resources/linked_accounts/raw_client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -126,8 +125,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -243,5 +242,5 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 index 9ff5c0ae..88354602 100644 --- a/src/merge/resources/filestorage/resources/linked_accounts/types/__init__.py +++ b/src/merge/resources/filestorage/resources/linked_accounts/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .linked_accounts_list_request_category import LinkedAccountsListRequestCategory __all__ = ["LinkedAccountsListRequestCategory"] diff --git a/src/merge/resources/filestorage/resources/passthrough/__init__.py b/src/merge/resources/filestorage/resources/passthrough/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/filestorage/resources/passthrough/__init__.py +++ b/src/merge/resources/filestorage/resources/passthrough/__init__.py @@ -1,2 +1,4 @@ # 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 index 3d75f28c..21925454 100644 --- a/src/merge/resources/filestorage/resources/passthrough/client.py +++ b/src/merge/resources/filestorage/resources/passthrough/client.py @@ -1,13 +1,12 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawPassthroughClient -from ...types.data_passthrough_request import DataPassthroughRequest + +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 .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawPassthroughClient +from .raw_client import AsyncRawPassthroughClient, RawPassthroughClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -62,8 +61,8 @@ def create( ), ) """ - response = self._raw_client.create(request=request, request_options=request_options) - return response.data + _response = self._raw_client.create(request=request, request_options=request_options) + return _response.data class AsyncPassthroughClient: @@ -123,5 +122,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create(request=request, request_options=request_options) - return response.data + _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/filestorage/resources/passthrough/raw_client.py index 67db3571..adba71ba 100644 --- a/src/merge/resources/filestorage/resources/passthrough/raw_client.py +++ b/src/merge/resources/filestorage/resources/passthrough/raw_client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from ...types.data_passthrough_request import DataPassthroughRequest -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.remote_response import RemoteResponse -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -42,6 +41,9 @@ def create( "filestorage/v1/passthrough", method="POST", json=request, + headers={ + "content-type": "application/json", + }, request_options=request_options, omit=OMIT, ) @@ -57,8 +59,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -87,6 +89,9 @@ async def create( "filestorage/v1/passthrough", method="POST", json=request, + headers={ + "content-type": "application/json", + }, request_options=request_options, omit=OMIT, ) @@ -102,5 +107,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/regenerate_key/__init__.py b/src/merge/resources/filestorage/resources/regenerate_key/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/filestorage/resources/regenerate_key/__init__.py +++ b/src/merge/resources/filestorage/resources/regenerate_key/__init__.py @@ -1,2 +1,4 @@ # 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 index 0d3764ab..45c3c57b 100644 --- a/src/merge/resources/filestorage/resources/regenerate_key/client.py +++ b/src/merge/resources/filestorage/resources/regenerate_key/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawRegenerateKeyClient + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.remote_key import RemoteKey -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawRegenerateKeyClient +from .raw_client import AsyncRawRegenerateKeyClient, RawRegenerateKeyClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -56,8 +55,8 @@ def create(self, *, name: str, request_options: typing.Optional[RequestOptions] name="Remote Deployment Key 1", ) """ - response = self._raw_client.create(name=name, request_options=request_options) - return response.data + _response = self._raw_client.create(name=name, request_options=request_options) + return _response.data class AsyncRegenerateKeyClient: @@ -112,5 +111,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create(name=name, request_options=request_options) - return response.data + _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/filestorage/resources/regenerate_key/raw_client.py index 8ad57656..5334d0d8 100644 --- a/src/merge/resources/filestorage/resources/regenerate_key/raw_client.py +++ b/src/merge/resources/filestorage/resources/regenerate_key/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.remote_key import RemoteKey -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -60,8 +59,8 @@ def create(self, *, name: str, request_options: typing.Optional[RequestOptions] return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -111,5 +110,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/scopes/__init__.py b/src/merge/resources/filestorage/resources/scopes/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/filestorage/resources/scopes/__init__.py +++ b/src/merge/resources/filestorage/resources/scopes/__init__.py @@ -1,2 +1,4 @@ # 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 index 70500dc3..f279d7ac 100644 --- a/src/merge/resources/filestorage/resources/scopes/client.py +++ b/src/merge/resources/filestorage/resources/scopes/client.py @@ -1,13 +1,12 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawScopesClient + +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 .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawScopesClient +from .raw_client import AsyncRawScopesClient, RawScopesClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -54,8 +53,8 @@ def default_scopes_retrieve( ) client.filestorage.scopes.default_scopes_retrieve() """ - response = self._raw_client.default_scopes_retrieve(request_options=request_options) - return response.data + _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 @@ -83,8 +82,8 @@ def linked_account_scopes_retrieve( ) client.filestorage.scopes.linked_account_scopes_retrieve() """ - response = self._raw_client.linked_account_scopes_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.linked_account_scopes_retrieve(request_options=request_options) + return _response.data def linked_account_scopes_create( self, @@ -149,10 +148,10 @@ def linked_account_scopes_create( ], ) """ - response = self._raw_client.linked_account_scopes_create( + _response = self._raw_client.linked_account_scopes_create( common_models=common_models, request_options=request_options ) - return response.data + return _response.data class AsyncScopesClient: @@ -204,8 +203,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.default_scopes_retrieve(request_options=request_options) - return response.data + _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 @@ -241,8 +240,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.linked_account_scopes_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.linked_account_scopes_retrieve(request_options=request_options) + return _response.data async def linked_account_scopes_create( self, @@ -315,7 +314,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.linked_account_scopes_create( + _response = await self._raw_client.linked_account_scopes_create( common_models=common_models, request_options=request_options ) - return response.data + return _response.data diff --git a/src/merge/resources/filestorage/resources/scopes/raw_client.py b/src/merge/resources/filestorage/resources/scopes/raw_client.py index 1ded3214..1ee36dae 100644 --- a/src/merge/resources/filestorage/resources/scopes/raw_client.py +++ b/src/merge/resources/filestorage/resources/scopes/raw_client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.common_model_scope_api import CommonModelScopeApi -from .....core.unchecked_base_model import construct_type 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 -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -53,8 +52,8 @@ def default_scopes_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -89,8 +88,8 @@ def linked_account_scopes_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -138,8 +137,8 @@ def linked_account_scopes_create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -179,8 +178,8 @@ async def default_scopes_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -215,8 +214,8 @@ async def linked_account_scopes_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -264,5 +263,5 @@ async def linked_account_scopes_create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/sync_status/__init__.py b/src/merge/resources/filestorage/resources/sync_status/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/filestorage/resources/sync_status/__init__.py +++ b/src/merge/resources/filestorage/resources/sync_status/__init__.py @@ -1,2 +1,4 @@ # 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 index 7b86d239..34d83f4d 100644 --- a/src/merge/resources/filestorage/resources/sync_status/client.py +++ b/src/merge/resources/filestorage/resources/sync_status/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawSyncStatusClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.paginated_sync_status_list import PaginatedSyncStatusList -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawSyncStatusClient +from .raw_client import AsyncRawSyncStatusClient, RawSyncStatusClient class SyncStatusClient: @@ -32,7 +31,7 @@ def list( request_options: typing.Optional[RequestOptions] = None, ) -> PaginatedSyncStatusList: """ - Get syncing status. Possible values: `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 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 ---------- @@ -60,8 +59,8 @@ def list( ) client.filestorage.sync_status.list() """ - response = self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return response.data + _response = self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) + return _response.data class AsyncSyncStatusClient: @@ -87,7 +86,7 @@ async def list( request_options: typing.Optional[RequestOptions] = None, ) -> PaginatedSyncStatusList: """ - Get syncing status. Possible values: `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 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 ---------- @@ -123,5 +122,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return response.data + _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 index 3bd84715..a3fccfec 100644 --- a/src/merge/resources/filestorage/resources/sync_status/raw_client.py +++ b/src/merge/resources/filestorage/resources/sync_status/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_sync_status_list import PaginatedSyncStatusList -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -24,7 +23,7 @@ def list( request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[PaginatedSyncStatusList]: """ - Get syncing status. Possible values: `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 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 ---------- @@ -63,8 +62,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -79,7 +78,7 @@ async def list( request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[PaginatedSyncStatusList]: """ - Get syncing status. Possible values: `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 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 ---------- @@ -118,5 +117,5 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 index f3ea2659..5cde0202 100644 --- a/src/merge/resources/filestorage/resources/users/__init__.py +++ b/src/merge/resources/filestorage/resources/users/__init__.py @@ -1,2 +1,4 @@ # 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 index a7281d0f..4616da59 100644 --- a/src/merge/resources/filestorage/resources/users/client.py +++ b/src/merge/resources/filestorage/resources/users/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawUsersClient -import typing 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 .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawUsersClient +from .raw_client import AsyncRawUsersClient, RawUsersClient class UsersClient: @@ -98,7 +97,7 @@ def list( ) client.filestorage.users.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -112,7 +111,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -155,13 +154,13 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncUsersClient: @@ -259,7 +258,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -273,7 +272,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -324,10 +323,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + 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 index e7693992..71f11280 100644 --- a/src/merge/resources/filestorage/resources/users/raw_client.py +++ b/src/merge/resources/filestorage/resources/users/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_user_list import PaginatedUserList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.user import User +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -112,8 +111,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -165,8 +164,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -265,8 +264,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -318,5 +317,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 index f3ea2659..5cde0202 100644 --- a/src/merge/resources/filestorage/resources/webhook_receivers/__init__.py +++ b/src/merge/resources/filestorage/resources/webhook_receivers/__init__.py @@ -1,2 +1,4 @@ # 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 index 770ecf44..b04230bd 100644 --- a/src/merge/resources/filestorage/resources/webhook_receivers/client.py +++ b/src/merge/resources/filestorage/resources/webhook_receivers/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawWebhookReceiversClient + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.webhook_receiver import WebhookReceiver -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawWebhookReceiversClient +from .raw_client import AsyncRawWebhookReceiversClient, RawWebhookReceiversClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -51,8 +50,8 @@ def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> ty ) client.filestorage.webhook_receivers.list() """ - response = self._raw_client.list(request_options=request_options) - return response.data + _response = self._raw_client.list(request_options=request_options) + return _response.data def create( self, @@ -94,8 +93,8 @@ def create( is_active=True, ) """ - response = self._raw_client.create(event=event, is_active=is_active, key=key, request_options=request_options) - return response.data + _response = self._raw_client.create(event=event, is_active=is_active, key=key, request_options=request_options) + return _response.data class AsyncWebhookReceiversClient: @@ -145,8 +144,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list(request_options=request_options) - return response.data + _response = await self._raw_client.list(request_options=request_options) + return _response.data async def create( self, @@ -196,7 +195,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _response = await self._raw_client.create( event=event, is_active=is_active, key=key, request_options=request_options ) - return response.data + return _response.data diff --git a/src/merge/resources/filestorage/resources/webhook_receivers/raw_client.py b/src/merge/resources/filestorage/resources/webhook_receivers/raw_client.py index bd31d086..b05128f6 100644 --- a/src/merge/resources/filestorage/resources/webhook_receivers/raw_client.py +++ b/src/merge/resources/filestorage/resources/webhook_receivers/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.webhook_receiver import WebhookReceiver -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -52,8 +51,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -108,8 +107,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -149,8 +148,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -205,5 +204,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/types/__init__.py b/src/merge/resources/filestorage/types/__init__.py index b83b1ff8..5a8c33fd 100644 --- a/src/merge/resources/filestorage/types/__init__.py +++ b/src/merge/resources/filestorage/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .account_details import AccountDetails from .account_details_and_actions import AccountDetailsAndActions from .account_details_and_actions_integration import AccountDetailsAndActionsIntegration diff --git a/src/merge/resources/filestorage/types/account_details.py b/src/merge/resources/filestorage/types/account_details.py index b5bae11d..58b10279 100644 --- a/src/merge/resources/filestorage/types/account_details.py +++ b/src/merge/resources/filestorage/types/account_details.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing -from .category_enum import CategoryEnum + import pydantic -import datetime as dt from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .category_enum import CategoryEnum class AccountDetails(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/account_details_and_actions.py b/src/merge/resources/filestorage/types/account_details_and_actions.py index 22726b6a..897c08ba 100644 --- a/src/merge/resources/filestorage/types/account_details_and_actions.py +++ b/src/merge/resources/filestorage/types/account_details_and_actions.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing -from .category_enum import CategoryEnum -from .account_details_and_actions_status_enum import AccountDetailsAndActionsStatusEnum + import pydantic -from .account_details_and_actions_integration import AccountDetailsAndActionsIntegration -import datetime as dt 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): @@ -41,6 +42,7 @@ 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/filestorage/types/account_details_and_actions_integration.py b/src/merge/resources/filestorage/types/account_details_and_actions_integration.py index d3826f1b..73467bbb 100644 --- a/src/merge/resources/filestorage/types/account_details_and_actions_integration.py +++ b/src/merge/resources/filestorage/types/account_details_and_actions_integration.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel 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 -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class AccountDetailsAndActionsIntegration(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/account_integration.py b/src/merge/resources/filestorage/types/account_integration.py index 9695197b..ef8b260d 100644 --- a/src/merge/resources/filestorage/types/account_integration.py +++ b/src/merge/resources/filestorage/types/account_integration.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import pydantic import typing -from .categories_enum import CategoriesEnum + +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): diff --git a/src/merge/resources/filestorage/types/account_token.py b/src/merge/resources/filestorage/types/account_token.py index 0fc6016b..6e82c8ac 100644 --- a/src/merge/resources/filestorage/types/account_token.py +++ b/src/merge/resources/filestorage/types/account_token.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .account_integration import AccountIntegration -from ....core.pydantic_utilities import IS_PYDANTIC_V2 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): diff --git a/src/merge/resources/filestorage/types/advanced_metadata.py b/src/merge/resources/filestorage/types/advanced_metadata.py index 7b4d6211..60b5d072 100644 --- a/src/merge/resources/filestorage/types/advanced_metadata.py +++ b/src/merge/resources/filestorage/types/advanced_metadata.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class AdvancedMetadata(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/async_passthrough_reciept.py b/src/merge/resources/filestorage/types/async_passthrough_reciept.py index 4e217ee9..21c95080 100644 --- a/src/merge/resources/filestorage/types/async_passthrough_reciept.py +++ b/src/merge/resources/filestorage/types/async_passthrough_reciept.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class AsyncPassthroughReciept(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/audit_log_event.py b/src/merge/resources/filestorage/types/audit_log_event.py index 1cf6997a..ab69fd32 100644 --- a/src/merge/resources/filestorage/types/audit_log_event.py +++ b/src/merge/resources/filestorage/types/audit_log_event.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -from .audit_log_event_role import AuditLogEventRole -from .audit_log_event_event_type import AuditLogEventEventType -import datetime as dt 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): @@ -43,6 +44,7 @@ class AuditLogEvent(UncheckedBaseModel): * `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 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 index f9d43eed..f9c9d2b3 100644 --- a/src/merge/resources/filestorage/types/audit_log_event_event_type.py +++ b/src/merge/resources/filestorage/types/audit_log_event_event_type.py @@ -1,6 +1,7 @@ # 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 index 83ecd93a..fe91ed6f 100644 --- a/src/merge/resources/filestorage/types/audit_log_event_role.py +++ b/src/merge/resources/filestorage/types/audit_log_event_role.py @@ -1,6 +1,7 @@ # 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 index f4361dd0..8b5019d7 100644 --- a/src/merge/resources/filestorage/types/available_actions.py +++ b/src/merge/resources/filestorage/types/available_actions.py @@ -1,11 +1,12 @@ # 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 -import typing from .model_operation import ModelOperation -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class AvailableActions(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/common_model_scope_api.py b/src/merge/resources/filestorage/types/common_model_scope_api.py index e372d68b..5484808d 100644 --- a/src/merge/resources/filestorage/types/common_model_scope_api.py +++ b/src/merge/resources/filestorage/types/common_model_scope_api.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .individual_common_model_scope_deserializer import IndividualCommonModelScopeDeserializer + 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): 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 index 4a2f10cb..a9fed25b 100644 --- a/src/merge/resources/filestorage/types/common_model_scopes_body_request.py +++ b/src/merge/resources/filestorage/types/common_model_scopes_body_request.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .enabled_actions_enum import EnabledActionsEnum -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/filestorage/types/data_passthrough_request.py b/src/merge/resources/filestorage/types/data_passthrough_request.py index 37920aa3..c9f0a799 100644 --- a/src/merge/resources/filestorage/types/data_passthrough_request.py +++ b/src/merge/resources/filestorage/types/data_passthrough_request.py @@ -1,12 +1,13 @@ # 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 -import pydantic -import typing from .multipart_form_field_request import MultipartFormFieldRequest from .request_format_enum import RequestFormatEnum -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class DataPassthroughRequest(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/debug_mode_log.py b/src/merge/resources/filestorage/types/debug_mode_log.py index 7dcc7458..9c7d2a3f 100644 --- a/src/merge/resources/filestorage/types/debug_mode_log.py +++ b/src/merge/resources/filestorage/types/debug_mode_log.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .debug_model_log_summary import DebugModelLogSummary -from ....core.pydantic_utilities import IS_PYDANTIC_V2 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): diff --git a/src/merge/resources/filestorage/types/debug_model_log_summary.py b/src/merge/resources/filestorage/types/debug_model_log_summary.py index 105e3136..d7e1d3e6 100644 --- a/src/merge/resources/filestorage/types/debug_model_log_summary.py +++ b/src/merge/resources/filestorage/types/debug_model_log_summary.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class DebugModelLogSummary(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/download_request_meta.py b/src/merge/resources/filestorage/types/download_request_meta.py index 8d89b792..18180e9a 100644 --- a/src/merge/resources/filestorage/types/download_request_meta.py +++ b/src/merge/resources/filestorage/types/download_request_meta.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class DownloadRequestMeta(UncheckedBaseModel): @@ -11,7 +12,6 @@ class DownloadRequestMeta(UncheckedBaseModel): url: str method: str headers: typing.Dict[str, typing.Optional[typing.Any]] - body: typing.Dict[str, typing.Optional[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/filestorage/types/drive.py index b65d5811..50a5f2bf 100644 --- a/src/merge/resources/filestorage/types/drive.py +++ b/src/merge/resources/filestorage/types/drive.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .remote_data import RemoteData from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_data import RemoteData class Drive(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/error_validation_problem.py b/src/merge/resources/filestorage/types/error_validation_problem.py index a3cef60c..04f82d05 100644 --- a/src/merge/resources/filestorage/types/error_validation_problem.py +++ b/src/merge/resources/filestorage/types/error_validation_problem.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .validation_problem_source import ValidationProblemSource -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/filestorage/types/event_type_enum.py b/src/merge/resources/filestorage/types/event_type_enum.py index 28f9cfec..537cea3f 100644 --- a/src/merge/resources/filestorage/types/event_type_enum.py +++ b/src/merge/resources/filestorage/types/event_type_enum.py @@ -13,6 +13,7 @@ class EventTypeEnum(str, enum.Enum): * `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 @@ -57,6 +58,7 @@ class EventTypeEnum(str, enum.Enum): 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" @@ -102,6 +104,7 @@ def visit( 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], @@ -150,6 +153,8 @@ def visit( 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: diff --git a/src/merge/resources/filestorage/types/external_target_field_api.py b/src/merge/resources/filestorage/types/external_target_field_api.py index 2f0677ba..c0fea1eb 100644 --- a/src/merge/resources/filestorage/types/external_target_field_api.py +++ b/src/merge/resources/filestorage/types/external_target_field_api.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ExternalTargetFieldApi(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/external_target_field_api_response.py b/src/merge/resources/filestorage/types/external_target_field_api_response.py index c5b8bd5d..9a153105 100644 --- a/src/merge/resources/filestorage/types/external_target_field_api_response.py +++ b/src/merge/resources/filestorage/types/external_target_field_api_response.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .external_target_field_api import ExternalTargetFieldApi + 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): diff --git a/src/merge/resources/filestorage/types/field_mapping_api_instance.py b/src/merge/resources/filestorage/types/field_mapping_api_instance.py index 566f157c..a5815313 100644 --- a/src/merge/resources/filestorage/types/field_mapping_api_instance.py +++ b/src/merge/resources/filestorage/types/field_mapping_api_instance.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .field_mapping_api_instance_target_field import FieldMappingApiInstanceTargetField -from .field_mapping_api_instance_remote_field import FieldMappingApiInstanceRemoteField -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): 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 index d47c8008..578a2b10 100644 --- 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 @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel 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, ) -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class FieldMappingApiInstanceRemoteField(UncheckedBaseModel): 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 index 706ba0b2..4171f08b 100644 --- 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 @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/field_mapping_api_instance_response.py b/src/merge/resources/filestorage/types/field_mapping_api_instance_response.py index 6cdbbe77..d4df587b 100644 --- a/src/merge/resources/filestorage/types/field_mapping_api_instance_response.py +++ b/src/merge/resources/filestorage/types/field_mapping_api_instance_response.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .field_mapping_api_instance import FieldMappingApiInstance + 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): 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 index 32fd6f63..e6474cba 100644 --- 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 @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class FieldMappingApiInstanceTargetField(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/field_mapping_instance_response.py b/src/merge/resources/filestorage/types/field_mapping_instance_response.py index fd9b7493..f921e641 100644 --- a/src/merge/resources/filestorage/types/field_mapping_instance_response.py +++ b/src/merge/resources/filestorage/types/field_mapping_instance_response.py @@ -1,13 +1,14 @@ # 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 -import typing from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem -from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class FieldMappingInstanceResponse(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/field_permission_deserializer.py b/src/merge/resources/filestorage/types/field_permission_deserializer.py index 84124686..1d71ae04 100644 --- a/src/merge/resources/filestorage/types/field_permission_deserializer.py +++ b/src/merge/resources/filestorage/types/field_permission_deserializer.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class FieldPermissionDeserializer(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/field_permission_deserializer_request.py b/src/merge/resources/filestorage/types/field_permission_deserializer_request.py index c701f1d0..a4113b46 100644 --- a/src/merge/resources/filestorage/types/field_permission_deserializer_request.py +++ b/src/merge/resources/filestorage/types/field_permission_deserializer_request.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class FieldPermissionDeserializerRequest(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/file.py b/src/merge/resources/filestorage/types/file.py index b0df1e22..72c8e9e1 100644 --- a/src/merge/resources/filestorage/types/file.py +++ b/src/merge/resources/filestorage/types/file.py @@ -1,16 +1,17 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .folder import Folder -from .group import Group +from __future__ import annotations + +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .file_drive import FileDrive from .file_folder import FileFolder from .file_permissions import FilePermissions -from .file_drive import FileDrive from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class File(UncheckedBaseModel): @@ -73,6 +74,11 @@ class File(UncheckedBaseModel): The folder that the file belongs to. """ + checksum: typing.Optional[typing.Dict[str, typing.Optional[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. + """ + permissions: typing.Optional[FilePermissions] = pydantic.Field(default=None) """ 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`. @@ -109,3 +115,9 @@ class Config: frozen = True smart_union = True 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/filestorage/types/file_drive.py index 647567c6..1f12cea0 100644 --- a/src/merge/resources/filestorage/types/file_drive.py +++ b/src/merge/resources/filestorage/types/file_drive.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .drive import Drive FileDrive = typing.Union[str, Drive] diff --git a/src/merge/resources/filestorage/types/file_folder.py b/src/merge/resources/filestorage/types/file_folder.py index 83fb0e7b..2c06f030 100644 --- a/src/merge/resources/filestorage/types/file_folder.py +++ b/src/merge/resources/filestorage/types/file_folder.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .folder import Folder FileFolder = typing.Union[str, Folder] diff --git a/src/merge/resources/filestorage/types/file_permissions.py b/src/merge/resources/filestorage/types/file_permissions.py index c4f87dea..f32ebf07 100644 --- a/src/merge/resources/filestorage/types/file_permissions.py +++ b/src/merge/resources/filestorage/types/file_permissions.py @@ -1,7 +1,8 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .permission import Permission + 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 index cfb82cfe..a9159af6 100644 --- a/src/merge/resources/filestorage/types/file_permissions_item.py +++ b/src/merge/resources/filestorage/types/file_permissions_item.py @@ -1,6 +1,7 @@ # 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.py b/src/merge/resources/filestorage/types/file_request.py index 438c8cfd..6ede10ef 100644 --- a/src/merge/resources/filestorage/types/file_request.py +++ b/src/merge/resources/filestorage/types/file_request.py @@ -1,14 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .folder import Folder -from .group import Group +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 .file_request_drive import FileRequestDrive from .file_request_folder import FileRequestFolder from .file_request_permissions import FileRequestPermissions -from .file_request_drive import FileRequestDrive -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class FileRequest(UncheckedBaseModel): @@ -55,6 +56,11 @@ class FileRequest(UncheckedBaseModel): The folder that the file belongs to. """ + checksum: typing.Optional[typing.Dict[str, typing.Optional[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. + """ + permissions: typing.Optional[FileRequestPermissions] = pydantic.Field(default=None) """ 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`. @@ -76,3 +82,9 @@ class Config: frozen = True smart_union = True 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/filestorage/types/file_request_drive.py index 7cd0a4ba..8f261863 100644 --- a/src/merge/resources/filestorage/types/file_request_drive.py +++ b/src/merge/resources/filestorage/types/file_request_drive.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .drive import Drive FileRequestDrive = typing.Union[str, Drive] diff --git a/src/merge/resources/filestorage/types/file_request_folder.py b/src/merge/resources/filestorage/types/file_request_folder.py index 696a8cae..1a5fe16b 100644 --- a/src/merge/resources/filestorage/types/file_request_folder.py +++ b/src/merge/resources/filestorage/types/file_request_folder.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .folder import Folder FileRequestFolder = typing.Union[str, Folder] diff --git a/src/merge/resources/filestorage/types/file_request_permissions.py b/src/merge/resources/filestorage/types/file_request_permissions.py index a4175961..e79c10b2 100644 --- a/src/merge/resources/filestorage/types/file_request_permissions.py +++ b/src/merge/resources/filestorage/types/file_request_permissions.py @@ -1,7 +1,8 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .permission_request import PermissionRequest + 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 index 6125cb09..c6e44350 100644 --- a/src/merge/resources/filestorage/types/file_request_permissions_item.py +++ b/src/merge/resources/filestorage/types/file_request_permissions_item.py @@ -1,6 +1,7 @@ # 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/file_storage_file_response.py b/src/merge/resources/filestorage/types/file_storage_file_response.py index 8b1e8a2f..d3b3337b 100644 --- a/src/merge/resources/filestorage/types/file_storage_file_response.py +++ b/src/merge/resources/filestorage/types/file_storage_file_response.py @@ -1,15 +1,16 @@ # 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 .folder import Folder -from .group import Group +from .debug_mode_log import DebugModeLog +from .error_validation_problem import ErrorValidationProblem from .file import File -import typing from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem -from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class FileStorageFileResponse(UncheckedBaseModel): @@ -26,3 +27,9 @@ class Config: frozen = True smart_union = True 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/filestorage/types/file_storage_folder_response.py index 796d354b..d0a65d91 100644 --- a/src/merge/resources/filestorage/types/file_storage_folder_response.py +++ b/src/merge/resources/filestorage/types/file_storage_folder_response.py @@ -1,18 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .folder import Folder -from .group import Group +from __future__ import annotations + import typing -from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem -from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .debug_mode_log import DebugModeLog +from .error_validation_problem import ErrorValidationProblem +from .warning_validation_problem import WarningValidationProblem class FileStorageFolderResponse(UncheckedBaseModel): - model: Folder + model: "Folder" warnings: typing.List[WarningValidationProblem] errors: typing.List[ErrorValidationProblem] logs: typing.Optional[typing.List[DebugModeLog]] = None @@ -25,3 +26,9 @@ class Config: frozen = True smart_union = True extra = pydantic.Extra.allow + + +from .folder import Folder # noqa: E402, F401, I001 +from .group import Group # noqa: E402, F401, I001 + +update_forward_refs(FileStorageFolderResponse) diff --git a/src/merge/resources/filestorage/types/folder.py b/src/merge/resources/filestorage/types/folder.py index e2a97beb..572a0a9d 100644 --- a/src/merge/resources/filestorage/types/folder.py +++ b/src/merge/resources/filestorage/types/folder.py @@ -1,16 +1,16 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -from ....core.unchecked_base_model import UncheckedBaseModel -from .group import Group + +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel from .folder_drive import FolderDrive from .folder_permissions import FolderPermissions from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.pydantic_utilities import update_forward_refs class Folder(UncheckedBaseModel): @@ -101,6 +101,7 @@ class Config: extra = pydantic.Extra.allow -from .folder_parent_folder import FolderParentFolder # noqa: E402 +from .group import Group # noqa: E402, F401, I001 +from .folder_parent_folder import FolderParentFolder # noqa: E402, F401, I001 update_forward_refs(Folder) diff --git a/src/merge/resources/filestorage/types/folder_drive.py b/src/merge/resources/filestorage/types/folder_drive.py index 56f9dc6c..988ef70f 100644 --- a/src/merge/resources/filestorage/types/folder_drive.py +++ b/src/merge/resources/filestorage/types/folder_drive.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .drive import Drive FolderDrive = typing.Union[str, Drive] diff --git a/src/merge/resources/filestorage/types/folder_parent_folder.py b/src/merge/resources/filestorage/types/folder_parent_folder.py index e9ac76ad..ce7a3715 100644 --- a/src/merge/resources/filestorage/types/folder_parent_folder.py +++ b/src/merge/resources/filestorage/types/folder_parent_folder.py @@ -1,7 +1,7 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -import typing + import typing if typing.TYPE_CHECKING: diff --git a/src/merge/resources/filestorage/types/folder_permissions.py b/src/merge/resources/filestorage/types/folder_permissions.py index 90782345..2e669347 100644 --- a/src/merge/resources/filestorage/types/folder_permissions.py +++ b/src/merge/resources/filestorage/types/folder_permissions.py @@ -1,7 +1,8 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .permission import Permission + 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 index 9d379ce9..9279c37d 100644 --- a/src/merge/resources/filestorage/types/folder_permissions_item.py +++ b/src/merge/resources/filestorage/types/folder_permissions_item.py @@ -1,6 +1,7 @@ # 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.py b/src/merge/resources/filestorage/types/folder_request.py index dbf182bc..f703ed7f 100644 --- a/src/merge/resources/filestorage/types/folder_request.py +++ b/src/merge/resources/filestorage/types/folder_request.py @@ -1,14 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .folder import Folder -from .group import Group +from __future__ import annotations + import typing + import pydantic -from .folder_request_parent_folder import FolderRequestParentFolder +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel from .folder_request_drive import FolderRequestDrive +from .folder_request_parent_folder import FolderRequestParentFolder from .folder_request_permissions import FolderRequestPermissions -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class FolderRequest(UncheckedBaseModel): @@ -66,3 +67,9 @@ class Config: frozen = True smart_union = True 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/filestorage/types/folder_request_drive.py index 773ad7fb..dc519edb 100644 --- a/src/merge/resources/filestorage/types/folder_request_drive.py +++ b/src/merge/resources/filestorage/types/folder_request_drive.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .drive import Drive FolderRequestDrive = typing.Union[str, Drive] diff --git a/src/merge/resources/filestorage/types/folder_request_parent_folder.py b/src/merge/resources/filestorage/types/folder_request_parent_folder.py index 5a20d15f..52f6b3ad 100644 --- a/src/merge/resources/filestorage/types/folder_request_parent_folder.py +++ b/src/merge/resources/filestorage/types/folder_request_parent_folder.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .folder import Folder FolderRequestParentFolder = typing.Union[str, Folder] diff --git a/src/merge/resources/filestorage/types/folder_request_permissions.py b/src/merge/resources/filestorage/types/folder_request_permissions.py index 35ed69c0..4e14d7c4 100644 --- a/src/merge/resources/filestorage/types/folder_request_permissions.py +++ b/src/merge/resources/filestorage/types/folder_request_permissions.py @@ -1,7 +1,8 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .permission_request import PermissionRequest + 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 index 1361e171..7fc6ee86 100644 --- a/src/merge/resources/filestorage/types/folder_request_permissions_item.py +++ b/src/merge/resources/filestorage/types/folder_request_permissions_item.py @@ -1,6 +1,7 @@ # 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 index 5c5a329b..66dbbc85 100644 --- a/src/merge/resources/filestorage/types/group.py +++ b/src/merge/resources/filestorage/types/group.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -from ....core.unchecked_base_model import UncheckedBaseModel + +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.pydantic_utilities import update_forward_refs class Group(UncheckedBaseModel): @@ -68,6 +69,6 @@ class Config: extra = pydantic.Extra.allow -from .group_child_groups_item import GroupChildGroupsItem # noqa: E402 +from .group_child_groups_item import GroupChildGroupsItem # noqa: E402, F401, I001 update_forward_refs(Group) diff --git a/src/merge/resources/filestorage/types/group_child_groups_item.py b/src/merge/resources/filestorage/types/group_child_groups_item.py index cf2c4c9d..8aab6225 100644 --- a/src/merge/resources/filestorage/types/group_child_groups_item.py +++ b/src/merge/resources/filestorage/types/group_child_groups_item.py @@ -1,7 +1,7 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -import typing + import typing if typing.TYPE_CHECKING: 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 index 2883752e..4b1ef6a4 100644 --- a/src/merge/resources/filestorage/types/individual_common_model_scope_deserializer.py +++ b/src/merge/resources/filestorage/types/individual_common_model_scope_deserializer.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .model_permission_deserializer import ModelPermissionDeserializer -from .field_permission_deserializer import FieldPermissionDeserializer -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): 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 index 785e3287..1dcda203 100644 --- 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 @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .model_permission_deserializer_request import ModelPermissionDeserializerRequest -from .field_permission_deserializer_request import FieldPermissionDeserializerRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/filestorage/types/issue.py b/src/merge/resources/filestorage/types/issue.py index ebaca8b1..df31be95 100644 --- a/src/merge/resources/filestorage/types/issue.py +++ b/src/merge/resources/filestorage/types/issue.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing -from .issue_status import IssueStatus + import pydantic -import datetime as dt from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .issue_status import IssueStatus class Issue(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/issue_status.py b/src/merge/resources/filestorage/types/issue_status.py index 59d004d8..8e4d6516 100644 --- a/src/merge/resources/filestorage/types/issue_status.py +++ b/src/merge/resources/filestorage/types/issue_status.py @@ -1,6 +1,7 @@ # 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/link_token.py b/src/merge/resources/filestorage/types/link_token.py index 273b4add..f78dedeb 100644 --- a/src/merge/resources/filestorage/types/link_token.py +++ b/src/merge/resources/filestorage/types/link_token.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class LinkToken(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/linked_account_status.py b/src/merge/resources/filestorage/types/linked_account_status.py index fe00263e..ab2e0f09 100644 --- a/src/merge/resources/filestorage/types/linked_account_status.py +++ b/src/merge/resources/filestorage/types/linked_account_status.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class LinkedAccountStatus(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/meta_response.py b/src/merge/resources/filestorage/types/meta_response.py index cb2e08c1..caa2c831 100644 --- a/src/merge/resources/filestorage/types/meta_response.py +++ b/src/merge/resources/filestorage/types/meta_response.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .linked_account_status import LinkedAccountStatus -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .linked_account_status import LinkedAccountStatus class MetaResponse(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/model_operation.py b/src/merge/resources/filestorage/types/model_operation.py index bc09f2c1..c367572d 100644 --- a/src/merge/resources/filestorage/types/model_operation.py +++ b/src/merge/resources/filestorage/types/model_operation.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ModelOperation(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/model_permission_deserializer.py b/src/merge/resources/filestorage/types/model_permission_deserializer.py index 4a524c19..6381814c 100644 --- a/src/merge/resources/filestorage/types/model_permission_deserializer.py +++ b/src/merge/resources/filestorage/types/model_permission_deserializer.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ModelPermissionDeserializer(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/model_permission_deserializer_request.py b/src/merge/resources/filestorage/types/model_permission_deserializer_request.py index 5b693e6f..cdc2ff4c 100644 --- a/src/merge/resources/filestorage/types/model_permission_deserializer_request.py +++ b/src/merge/resources/filestorage/types/model_permission_deserializer_request.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ModelPermissionDeserializerRequest(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/multipart_form_field_request.py b/src/merge/resources/filestorage/types/multipart_form_field_request.py index 7bdbe021..abc37692 100644 --- a/src/merge/resources/filestorage/types/multipart_form_field_request.py +++ b/src/merge/resources/filestorage/types/multipart_form_field_request.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import pydantic import typing -from .multipart_form_field_request_encoding import MultipartFormFieldRequestEncoding + +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): 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 index 2b1db5ad..c6513b6b 100644 --- a/src/merge/resources/filestorage/types/multipart_form_field_request_encoding.py +++ b/src/merge/resources/filestorage/types/multipart_form_field_request_encoding.py @@ -1,6 +1,7 @@ # 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 index 8a2148be..d2d16116 100644 --- 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 @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .account_details_and_actions import AccountDetailsAndActions -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): 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 index dc914668..24139397 100644 --- a/src/merge/resources/filestorage/types/paginated_audit_log_event_list.py +++ b/src/merge/resources/filestorage/types/paginated_audit_log_event_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .audit_log_event import AuditLogEvent -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/filestorage/types/paginated_download_request_meta_list.py b/src/merge/resources/filestorage/types/paginated_download_request_meta_list.py index a643e28f..b2e59841 100644 --- a/src/merge/resources/filestorage/types/paginated_download_request_meta_list.py +++ b/src/merge/resources/filestorage/types/paginated_download_request_meta_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .download_request_meta import DownloadRequestMeta -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .download_request_meta import DownloadRequestMeta class PaginatedDownloadRequestMetaList(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/paginated_drive_list.py b/src/merge/resources/filestorage/types/paginated_drive_list.py index 79e6b59d..f210d2c6 100644 --- a/src/merge/resources/filestorage/types/paginated_drive_list.py +++ b/src/merge/resources/filestorage/types/paginated_drive_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .drive import Drive -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .drive import Drive class PaginatedDriveList(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/paginated_file_list.py b/src/merge/resources/filestorage/types/paginated_file_list.py index 1a3be802..e3daeb68 100644 --- a/src/merge/resources/filestorage/types/paginated_file_list.py +++ b/src/merge/resources/filestorage/types/paginated_file_list.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .folder import Folder -from .group import Group +from __future__ import annotations + import typing -from .file import File -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .file import File class PaginatedFileList(UncheckedBaseModel): @@ -22,3 +23,9 @@ class Config: frozen = True smart_union = True 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/filestorage/types/paginated_folder_list.py index 400c7763..87477c83 100644 --- a/src/merge/resources/filestorage/types/paginated_folder_list.py +++ b/src/merge/resources/filestorage/types/paginated_folder_list.py @@ -1,17 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .folder import Folder -from .group import Group +from __future__ import annotations + import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel class PaginatedFolderList(UncheckedBaseModel): next: typing.Optional[str] = None previous: typing.Optional[str] = None - results: typing.Optional[typing.List[Folder]] = None + results: typing.Optional[typing.List["Folder"]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -21,3 +22,9 @@ class Config: frozen = True smart_union = True extra = pydantic.Extra.allow + + +from .folder import Folder # noqa: E402, F401, I001 +from .group import Group # noqa: E402, F401, I001 + +update_forward_refs(PaginatedFolderList) diff --git a/src/merge/resources/filestorage/types/paginated_group_list.py b/src/merge/resources/filestorage/types/paginated_group_list.py index cb9d1ac2..ddbf97b2 100644 --- a/src/merge/resources/filestorage/types/paginated_group_list.py +++ b/src/merge/resources/filestorage/types/paginated_group_list.py @@ -1,16 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .group import Group +from __future__ import annotations + import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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 + 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 @@ -20,3 +22,8 @@ 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 index 57a92876..686173e5 100644 --- a/src/merge/resources/filestorage/types/paginated_issue_list.py +++ b/src/merge/resources/filestorage/types/paginated_issue_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .issue import Issue -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .issue import Issue class PaginatedIssueList(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/paginated_sync_status_list.py b/src/merge/resources/filestorage/types/paginated_sync_status_list.py index d8984b33..cc4bd7a8 100644 --- a/src/merge/resources/filestorage/types/paginated_sync_status_list.py +++ b/src/merge/resources/filestorage/types/paginated_sync_status_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .sync_status import SyncStatus -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/filestorage/types/paginated_user_list.py b/src/merge/resources/filestorage/types/paginated_user_list.py index 8fd54b5c..809b285c 100644 --- a/src/merge/resources/filestorage/types/paginated_user_list.py +++ b/src/merge/resources/filestorage/types/paginated_user_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .user import User -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .user import User class PaginatedUserList(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/permission.py b/src/merge/resources/filestorage/types/permission.py index 7f30ac11..19cb335f 100644 --- a/src/merge/resources/filestorage/types/permission.py +++ b/src/merge/resources/filestorage/types/permission.py @@ -1,15 +1,17 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .group import Group +from __future__ import annotations + +import datetime as dt import typing + import pydantic -import datetime as dt -from .permission_user import PermissionUser +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_roles_item import PermissionRolesItem -from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from .permission_type import PermissionType +from .permission_user import PermissionUser class Permission(UncheckedBaseModel): @@ -71,3 +73,8 @@ 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/permission_group.py b/src/merge/resources/filestorage/types/permission_group.py index 57d87eed..db417995 100644 --- a/src/merge/resources/filestorage/types/permission_group.py +++ b/src/merge/resources/filestorage/types/permission_group.py @@ -1,6 +1,7 @@ # 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/filestorage/types/permission_request.py b/src/merge/resources/filestorage/types/permission_request.py index 38790285..0187dd60 100644 --- a/src/merge/resources/filestorage/types/permission_request.py +++ b/src/merge/resources/filestorage/types/permission_request.py @@ -1,14 +1,16 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .group import Group +from __future__ import annotations + import typing + import pydantic -from .permission_request_user import PermissionRequestUser +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel from .permission_request_group import PermissionRequestGroup -from .permission_request_type import PermissionRequestType from .permission_request_roles_item import PermissionRequestRolesItem -from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from .permission_request_type import PermissionRequestType +from .permission_request_user import PermissionRequestUser class PermissionRequest(UncheckedBaseModel): @@ -62,3 +64,8 @@ class Config: frozen = True smart_union = True 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/filestorage/types/permission_request_group.py index abf16f38..a0329fb0 100644 --- a/src/merge/resources/filestorage/types/permission_request_group.py +++ b/src/merge/resources/filestorage/types/permission_request_group.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .group import Group PermissionRequestGroup = typing.Union[str, Group] diff --git a/src/merge/resources/filestorage/types/permission_request_roles_item.py b/src/merge/resources/filestorage/types/permission_request_roles_item.py index 219fb094..f0dc73f1 100644 --- a/src/merge/resources/filestorage/types/permission_request_roles_item.py +++ b/src/merge/resources/filestorage/types/permission_request_roles_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .roles_enum import RolesEnum PermissionRequestRolesItem = typing.Union[RolesEnum, str] diff --git a/src/merge/resources/filestorage/types/permission_request_type.py b/src/merge/resources/filestorage/types/permission_request_type.py index 9d4577fa..46771561 100644 --- a/src/merge/resources/filestorage/types/permission_request_type.py +++ b/src/merge/resources/filestorage/types/permission_request_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .type_enum import TypeEnum PermissionRequestType = typing.Union[TypeEnum, str] diff --git a/src/merge/resources/filestorage/types/permission_request_user.py b/src/merge/resources/filestorage/types/permission_request_user.py index b26c128a..a9c6630c 100644 --- a/src/merge/resources/filestorage/types/permission_request_user.py +++ b/src/merge/resources/filestorage/types/permission_request_user.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .user import User PermissionRequestUser = typing.Union[str, User] diff --git a/src/merge/resources/filestorage/types/permission_roles_item.py b/src/merge/resources/filestorage/types/permission_roles_item.py index 423445a0..dcbeb14c 100644 --- a/src/merge/resources/filestorage/types/permission_roles_item.py +++ b/src/merge/resources/filestorage/types/permission_roles_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .roles_enum import RolesEnum PermissionRolesItem = typing.Union[RolesEnum, str] diff --git a/src/merge/resources/filestorage/types/permission_type.py b/src/merge/resources/filestorage/types/permission_type.py index 4038b192..1e5b3613 100644 --- a/src/merge/resources/filestorage/types/permission_type.py +++ b/src/merge/resources/filestorage/types/permission_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .type_enum import TypeEnum PermissionType = typing.Union[TypeEnum, str] diff --git a/src/merge/resources/filestorage/types/permission_user.py b/src/merge/resources/filestorage/types/permission_user.py index 291ef8d8..85fec9a9 100644 --- a/src/merge/resources/filestorage/types/permission_user.py +++ b/src/merge/resources/filestorage/types/permission_user.py @@ -1,6 +1,7 @@ # 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/filestorage/types/remote_data.py b/src/merge/resources/filestorage/types/remote_data.py index 4e405fc1..b60f53bf 100644 --- a/src/merge/resources/filestorage/types/remote_data.py +++ b/src/merge/resources/filestorage/types/remote_data.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import pydantic import typing + +import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class RemoteData(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/remote_endpoint_info.py b/src/merge/resources/filestorage/types/remote_endpoint_info.py index a145dff6..07ceff6a 100644 --- a/src/merge/resources/filestorage/types/remote_endpoint_info.py +++ b/src/merge/resources/filestorage/types/remote_endpoint_info.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class RemoteEndpointInfo(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/remote_field_api.py b/src/merge/resources/filestorage/types/remote_field_api.py index 4c862ec8..4c66a23b 100644 --- a/src/merge/resources/filestorage/types/remote_field_api.py +++ b/src/merge/resources/filestorage/types/remote_field_api.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing + import pydantic -from .remote_endpoint_info import RemoteEndpointInfo +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 -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class RemoteFieldApi(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/remote_field_api_response.py b/src/merge/resources/filestorage/types/remote_field_api_response.py index 206e56f8..2200ec72 100644 --- a/src/merge/resources/filestorage/types/remote_field_api_response.py +++ b/src/merge/resources/filestorage/types/remote_field_api_response.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .remote_field_api import RemoteFieldApi + 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): diff --git a/src/merge/resources/filestorage/types/remote_key.py b/src/merge/resources/filestorage/types/remote_key.py index 904480e9..e5d9758c 100644 --- a/src/merge/resources/filestorage/types/remote_key.py +++ b/src/merge/resources/filestorage/types/remote_key.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class RemoteKey(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/remote_response.py b/src/merge/resources/filestorage/types/remote_response.py index 9f1e4b18..af181fc0 100644 --- a/src/merge/resources/filestorage/types/remote_response.py +++ b/src/merge/resources/filestorage/types/remote_response.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .response_type_enum import ResponseTypeEnum -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/filestorage/types/sync_status.py b/src/merge/resources/filestorage/types/sync_status.py index 2479491e..4a628c4f 100644 --- a/src/merge/resources/filestorage/types/sync_status.py +++ b/src/merge/resources/filestorage/types/sync_status.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import typing import datetime as dt -from .sync_status_last_sync_result import SyncStatusLastSyncResult -from .status_fd_5_enum import StatusFd5Enum -from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum -from ....core.pydantic_utilities import IS_PYDANTIC_V2 +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): diff --git a/src/merge/resources/filestorage/types/sync_status_last_sync_result.py b/src/merge/resources/filestorage/types/sync_status_last_sync_result.py index e483e7d3..980e7d94 100644 --- a/src/merge/resources/filestorage/types/sync_status_last_sync_result.py +++ b/src/merge/resources/filestorage/types/sync_status_last_sync_result.py @@ -1,6 +1,7 @@ # 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/filestorage/types/user.py b/src/merge/resources/filestorage/types/user.py index e0909d92..58b9ce24 100644 --- a/src/merge/resources/filestorage/types/user.py +++ b/src/merge/resources/filestorage/types/user.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .remote_data import RemoteData from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_data import RemoteData class User(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/validation_problem_source.py b/src/merge/resources/filestorage/types/validation_problem_source.py index ceed8b91..fbebe626 100644 --- a/src/merge/resources/filestorage/types/validation_problem_source.py +++ b/src/merge/resources/filestorage/types/validation_problem_source.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ValidationProblemSource(UncheckedBaseModel): diff --git a/src/merge/resources/filestorage/types/warning_validation_problem.py b/src/merge/resources/filestorage/types/warning_validation_problem.py index b974ff37..4785e836 100644 --- a/src/merge/resources/filestorage/types/warning_validation_problem.py +++ b/src/merge/resources/filestorage/types/warning_validation_problem.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .validation_problem_source import ValidationProblemSource -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/filestorage/types/webhook_receiver.py b/src/merge/resources/filestorage/types/webhook_receiver.py index 8bb74f35..fb49c044 100644 --- a/src/merge/resources/filestorage/types/webhook_receiver.py +++ b/src/merge/resources/filestorage/types/webhook_receiver.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class WebhookReceiver(UncheckedBaseModel): diff --git a/src/merge/resources/hris/__init__.py b/src/merge/resources/hris/__init__.py index 839de861..adaa795d 100644 --- a/src/merge/resources/hris/__init__.py +++ b/src/merge/resources/hris/__init__.py @@ -1,10 +1,14 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import ( AccountDetails, AccountDetailsAndActions, + AccountDetailsAndActionsCategory, AccountDetailsAndActionsIntegration, AccountDetailsAndActionsStatusEnum, + AccountDetailsCategory, AccountIntegration, AccountToken, AccountTypeEnum, @@ -217,6 +221,7 @@ EmploymentsRetrieveRequestExpand, EmploymentsRetrieveRequestRemoteFields, EmploymentsRetrieveRequestShowEnumOrigins, + EndUserDetailsRequestLanguage, IgnoreCommonModelRequestReason, IssuesListRequestStatus, LinkedAccountsListRequestCategory, @@ -278,8 +283,10 @@ __all__ = [ "AccountDetails", "AccountDetailsAndActions", + "AccountDetailsAndActionsCategory", "AccountDetailsAndActionsIntegration", "AccountDetailsAndActionsStatusEnum", + "AccountDetailsCategory", "AccountIntegration", "AccountToken", "AccountTypeEnum", @@ -374,6 +381,7 @@ "EmploymentsRetrieveRequestShowEnumOrigins", "EnabledActionsEnum", "EncodingEnum", + "EndUserDetailsRequestLanguage", "ErrorValidationProblem", "EthnicityEnum", "EventTypeEnum", diff --git a/src/merge/resources/hris/client.py b/src/merge/resources/hris/client.py index 29775555..12f1a46c 100644 --- a/src/merge/resources/hris/client.py +++ b/src/merge/resources/hris/client.py @@ -1,79 +1,46 @@ # This file was auto-generated by Fern from our API Definition. -from ...core.client_wrapper import SyncClientWrapper -from .raw_client import RawHrisClient -from .resources.account_details.client import AccountDetailsClient -from .resources.account_token.client import AccountTokenClient +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .raw_client import AsyncRawHrisClient, RawHrisClient +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_hris_resources_async_passthrough_client_AsyncPassthroughClient, ) -from .resources.audit_trail.client import AuditTrailClient -from .resources.available_actions.client import AvailableActionsClient -from .resources.bank_info.client import BankInfoClient -from .resources.benefits.client import BenefitsClient -from .resources.companies.client import CompaniesClient -from .resources.scopes.client import ScopesClient -from .resources.delete_account.client import DeleteAccountClient -from .resources.dependents.client import DependentsClient -from .resources.employee_payroll_runs.client import EmployeePayrollRunsClient -from .resources.employees.client import EmployeesClient -from .resources.employer_benefits.client import EmployerBenefitsClient -from .resources.employments.client import EmploymentsClient -from .resources.field_mapping.client import FieldMappingClient -from .resources.generate_key.client import GenerateKeyClient -from .resources.groups.client import GroupsClient -from .resources.issues.client import IssuesClient -from .resources.link_token.client import LinkTokenClient -from .resources.linked_accounts.client import LinkedAccountsClient -from .resources.locations.client import LocationsClient -from .resources.passthrough.client import PassthroughClient -from .resources.pay_groups.client import PayGroupsClient -from .resources.payroll_runs.client import PayrollRunsClient -from .resources.regenerate_key.client import RegenerateKeyClient -from .resources.sync_status.client import SyncStatusClient -from .resources.force_resync.client import ForceResyncClient -from .resources.teams.client import TeamsClient -from .resources.time_off.client import TimeOffClient -from .resources.time_off_balances.client import TimeOffBalancesClient -from .resources.timesheet_entries.client import TimesheetEntriesClient -from .resources.webhook_receivers.client import WebhookReceiversClient -from ...core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawHrisClient -from .resources.account_details.client import AsyncAccountDetailsClient -from .resources.account_token.client import AsyncAccountTokenClient -from .resources.async_passthrough.client import AsyncAsyncPassthroughClient -from .resources.audit_trail.client import AsyncAuditTrailClient -from .resources.available_actions.client import AsyncAvailableActionsClient -from .resources.bank_info.client import AsyncBankInfoClient -from .resources.benefits.client import AsyncBenefitsClient -from .resources.companies.client import AsyncCompaniesClient -from .resources.scopes.client import AsyncScopesClient -from .resources.delete_account.client import AsyncDeleteAccountClient -from .resources.dependents.client import AsyncDependentsClient -from .resources.employee_payroll_runs.client import AsyncEmployeePayrollRunsClient -from .resources.employees.client import AsyncEmployeesClient -from .resources.employer_benefits.client import AsyncEmployerBenefitsClient -from .resources.employments.client import AsyncEmploymentsClient -from .resources.field_mapping.client import AsyncFieldMappingClient -from .resources.generate_key.client import AsyncGenerateKeyClient -from .resources.groups.client import AsyncGroupsClient -from .resources.issues.client import AsyncIssuesClient -from .resources.link_token.client import AsyncLinkTokenClient -from .resources.linked_accounts.client import AsyncLinkedAccountsClient -from .resources.locations.client import AsyncLocationsClient +from .resources.audit_trail.client import AsyncAuditTrailClient, AuditTrailClient +from .resources.available_actions.client import AsyncAvailableActionsClient, AvailableActionsClient +from .resources.bank_info.client import AsyncBankInfoClient, BankInfoClient +from .resources.benefits.client import AsyncBenefitsClient, BenefitsClient +from .resources.companies.client import AsyncCompaniesClient, CompaniesClient +from .resources.delete_account.client import AsyncDeleteAccountClient, DeleteAccountClient +from .resources.dependents.client import AsyncDependentsClient, DependentsClient +from .resources.employee_payroll_runs.client import AsyncEmployeePayrollRunsClient, EmployeePayrollRunsClient +from .resources.employees.client import AsyncEmployeesClient, EmployeesClient +from .resources.employer_benefits.client import AsyncEmployerBenefitsClient, EmployerBenefitsClient +from .resources.employments.client import AsyncEmploymentsClient, EmploymentsClient +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.locations.client import AsyncLocationsClient, LocationsClient from .resources.passthrough.client import ( AsyncPassthroughClient as resources_hris_resources_passthrough_client_AsyncPassthroughClient, ) -from .resources.pay_groups.client import AsyncPayGroupsClient -from .resources.payroll_runs.client import AsyncPayrollRunsClient -from .resources.regenerate_key.client import AsyncRegenerateKeyClient -from .resources.sync_status.client import AsyncSyncStatusClient -from .resources.force_resync.client import AsyncForceResyncClient -from .resources.teams.client import AsyncTeamsClient -from .resources.time_off.client import AsyncTimeOffClient -from .resources.time_off_balances.client import AsyncTimeOffBalancesClient -from .resources.timesheet_entries.client import AsyncTimesheetEntriesClient -from .resources.webhook_receivers.client import AsyncWebhookReceiversClient +from .resources.passthrough.client import PassthroughClient +from .resources.pay_groups.client import AsyncPayGroupsClient, PayGroupsClient +from .resources.payroll_runs.client import AsyncPayrollRunsClient, PayrollRunsClient +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.teams.client import AsyncTeamsClient, TeamsClient +from .resources.time_off.client import AsyncTimeOffClient, TimeOffClient +from .resources.time_off_balances.client import AsyncTimeOffBalancesClient, TimeOffBalancesClient +from .resources.timesheet_entries.client import AsyncTimesheetEntriesClient, TimesheetEntriesClient +from .resources.webhook_receivers.client import AsyncWebhookReceiversClient, WebhookReceiversClient class HrisClient: diff --git a/src/merge/resources/hris/raw_client.py b/src/merge/resources/hris/raw_client.py index a6cbb1e7..314307c0 100644 --- a/src/merge/resources/hris/raw_client.py +++ b/src/merge/resources/hris/raw_client.py @@ -1,7 +1,6 @@ # This file was auto-generated by Fern from our API Definition. -from ...core.client_wrapper import SyncClientWrapper -from ...core.client_wrapper import AsyncClientWrapper +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper class RawHrisClient: diff --git a/src/merge/resources/hris/resources/__init__.py b/src/merge/resources/hris/resources/__init__.py index aa3c9f1a..4c56ead6 100644 --- a/src/merge/resources/hris/resources/__init__.py +++ b/src/merge/resources/hris/resources/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from . import ( account_details, account_token, @@ -58,6 +60,7 @@ EmploymentsRetrieveRequestShowEnumOrigins, ) from .issues import IssuesListRequestStatus +from .link_token import EndUserDetailsRequestLanguage from .linked_accounts import LinkedAccountsListRequestCategory from .locations import ( LocationsListRequestLocationType, @@ -106,6 +109,7 @@ "EmploymentsRetrieveRequestExpand", "EmploymentsRetrieveRequestRemoteFields", "EmploymentsRetrieveRequestShowEnumOrigins", + "EndUserDetailsRequestLanguage", "IgnoreCommonModelRequestReason", "IssuesListRequestStatus", "LinkedAccountsListRequestCategory", diff --git a/src/merge/resources/hris/resources/account_details/__init__.py b/src/merge/resources/hris/resources/account_details/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/hris/resources/account_details/__init__.py +++ b/src/merge/resources/hris/resources/account_details/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/hris/resources/account_details/client.py b/src/merge/resources/hris/resources/account_details/client.py index 043c79cc..b7ce61b9 100644 --- a/src/merge/resources/hris/resources/account_details/client.py +++ b/src/merge/resources/hris/resources/account_details/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAccountDetailsClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.account_details import AccountDetails -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAccountDetailsClient +from .raw_client import AsyncRawAccountDetailsClient, RawAccountDetailsClient class AccountDetailsClient: @@ -48,8 +47,8 @@ def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) - ) client.hris.account_details.retrieve() """ - response = self._raw_client.retrieve(request_options=request_options) - return response.data + _response = self._raw_client.retrieve(request_options=request_options) + return _response.data class AsyncAccountDetailsClient: @@ -99,5 +98,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.retrieve(request_options=request_options) + return _response.data diff --git a/src/merge/resources/hris/resources/account_details/raw_client.py b/src/merge/resources/hris/resources/account_details/raw_client.py index 572b24ce..9c729853 100644 --- a/src/merge/resources/hris/resources/account_details/raw_client.py +++ b/src/merge/resources/hris/resources/account_details/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.account_details import AccountDetails -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -47,8 +46,8 @@ def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) - return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -88,5 +87,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/account_token/__init__.py b/src/merge/resources/hris/resources/account_token/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/hris/resources/account_token/__init__.py +++ b/src/merge/resources/hris/resources/account_token/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/hris/resources/account_token/client.py b/src/merge/resources/hris/resources/account_token/client.py index b894f9ce..0c87b2ea 100644 --- a/src/merge/resources/hris/resources/account_token/client.py +++ b/src/merge/resources/hris/resources/account_token/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAccountTokenClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.account_token import AccountToken -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAccountTokenClient +from .raw_client import AsyncRawAccountTokenClient, RawAccountTokenClient class AccountTokenClient: @@ -52,8 +51,8 @@ def retrieve(self, public_token: str, *, request_options: typing.Optional[Reques public_token="public_token", ) """ - response = self._raw_client.retrieve(public_token, request_options=request_options) - return response.data + _response = self._raw_client.retrieve(public_token, request_options=request_options) + return _response.data class AsyncAccountTokenClient: @@ -109,5 +108,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(public_token, request_options=request_options) - return response.data + _response = await self._raw_client.retrieve(public_token, request_options=request_options) + return _response.data diff --git a/src/merge/resources/hris/resources/account_token/raw_client.py b/src/merge/resources/hris/resources/account_token/raw_client.py index 06920785..5ae02722 100644 --- a/src/merge/resources/hris/resources/account_token/raw_client.py +++ b/src/merge/resources/hris/resources/account_token/raw_client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.account_token import AccountToken -from .....core.jsonable_encoder import jsonable_encoder -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -52,8 +51,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -95,5 +94,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/async_passthrough/__init__.py b/src/merge/resources/hris/resources/async_passthrough/__init__.py index cb869002..4767933f 100644 --- a/src/merge/resources/hris/resources/async_passthrough/__init__.py +++ b/src/merge/resources/hris/resources/async_passthrough/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import AsyncPassthroughRetrieveResponse __all__ = ["AsyncPassthroughRetrieveResponse"] diff --git a/src/merge/resources/hris/resources/async_passthrough/client.py b/src/merge/resources/hris/resources/async_passthrough/client.py index 69b2e1fb..e1db5514 100644 --- a/src/merge/resources/hris/resources/async_passthrough/client.py +++ b/src/merge/resources/hris/resources/async_passthrough/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAsyncPassthroughClient -from ...types.data_passthrough_request import DataPassthroughRequest + +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 -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAsyncPassthroughClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -63,8 +62,8 @@ def create( ), ) """ - response = self._raw_client.create(request=request, request_options=request_options) - return response.data + _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 @@ -96,8 +95,8 @@ def 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 + _response = self._raw_client.retrieve(async_passthrough_receipt_id, request_options=request_options) + return _response.data class AsyncAsyncPassthroughClient: @@ -157,8 +156,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create(request=request, request_options=request_options) - return response.data + _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 @@ -198,5 +197,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(async_passthrough_receipt_id, request_options=request_options) - return response.data + _response = await self._raw_client.retrieve(async_passthrough_receipt_id, request_options=request_options) + return _response.data diff --git a/src/merge/resources/hris/resources/async_passthrough/raw_client.py b/src/merge/resources/hris/resources/async_passthrough/raw_client.py index 81fd05e3..e4d6da0c 100644 --- a/src/merge/resources/hris/resources/async_passthrough/raw_client.py +++ b/src/merge/resources/hris/resources/async_passthrough/raw_client.py @@ -1,18 +1,17 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from ...types.data_passthrough_request import DataPassthroughRequest -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.async_passthrough_reciept import AsyncPassthroughReciept -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .types.async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -44,6 +43,9 @@ def create( "hris/v1/async-passthrough", method="POST", json=request, + headers={ + "content-type": "application/json", + }, request_options=request_options, omit=OMIT, ) @@ -59,8 +61,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -97,8 +99,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -127,6 +129,9 @@ async def create( "hris/v1/async-passthrough", method="POST", json=request, + headers={ + "content-type": "application/json", + }, request_options=request_options, omit=OMIT, ) @@ -142,8 +147,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -180,5 +185,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/async_passthrough/types/__init__.py b/src/merge/resources/hris/resources/async_passthrough/types/__init__.py index caff085b..cb7e997d 100644 --- a/src/merge/resources/hris/resources/async_passthrough/types/__init__.py +++ b/src/merge/resources/hris/resources/async_passthrough/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse __all__ = ["AsyncPassthroughRetrieveResponse"] diff --git a/src/merge/resources/hris/resources/async_passthrough/types/async_passthrough_retrieve_response.py b/src/merge/resources/hris/resources/async_passthrough/types/async_passthrough_retrieve_response.py index 5a819dfd..f8f87c18 100644 --- a/src/merge/resources/hris/resources/async_passthrough/types/async_passthrough_retrieve_response.py +++ b/src/merge/resources/hris/resources/async_passthrough/types/async_passthrough_retrieve_response.py @@ -1,6 +1,7 @@ # 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/hris/resources/audit_trail/__init__.py b/src/merge/resources/hris/resources/audit_trail/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/hris/resources/audit_trail/__init__.py +++ b/src/merge/resources/hris/resources/audit_trail/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/hris/resources/audit_trail/client.py b/src/merge/resources/hris/resources/audit_trail/client.py index 0462d060..7f5d6791 100644 --- a/src/merge/resources/hris/resources/audit_trail/client.py +++ b/src/merge/resources/hris/resources/audit_trail/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAuditTrailClient 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 .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAuditTrailClient +from .raw_client import AsyncRawAuditTrailClient, RawAuditTrailClient class AuditTrailClient: @@ -47,7 +46,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`, `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`, `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. @@ -76,7 +75,7 @@ def list( ) client.hris.audit_trail.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -85,7 +84,7 @@ def list( user_email=user_email, request_options=request_options, ) - return response.data + return _response.data class AsyncAuditTrailClient: @@ -126,7 +125,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`, `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`, `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. @@ -163,7 +162,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -172,4 +171,4 @@ async def main() -> None: user_email=user_email, request_options=request_options, ) - return response.data + 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 5323fd4d..c9ff7ce6 100644 --- a/src/merge/resources/hris/resources/audit_trail/raw_client.py +++ b/src/merge/resources/hris/resources/audit_trail/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -39,7 +38,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`, `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`, `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. @@ -83,8 +82,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -114,7 +113,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`, `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`, `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. @@ -158,5 +157,5 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/available_actions/__init__.py b/src/merge/resources/hris/resources/available_actions/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/hris/resources/available_actions/__init__.py +++ b/src/merge/resources/hris/resources/available_actions/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/hris/resources/available_actions/client.py b/src/merge/resources/hris/resources/available_actions/client.py index d6922498..a6a1aa33 100644 --- a/src/merge/resources/hris/resources/available_actions/client.py +++ b/src/merge/resources/hris/resources/available_actions/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAvailableActionsClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.available_actions import AvailableActions -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAvailableActionsClient +from .raw_client import AsyncRawAvailableActionsClient, RawAvailableActionsClient class AvailableActionsClient: @@ -48,8 +47,8 @@ def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) - ) client.hris.available_actions.retrieve() """ - response = self._raw_client.retrieve(request_options=request_options) - return response.data + _response = self._raw_client.retrieve(request_options=request_options) + return _response.data class AsyncAvailableActionsClient: @@ -99,5 +98,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.retrieve(request_options=request_options) + return _response.data diff --git a/src/merge/resources/hris/resources/available_actions/raw_client.py b/src/merge/resources/hris/resources/available_actions/raw_client.py index b12910ec..694d02ed 100644 --- a/src/merge/resources/hris/resources/available_actions/raw_client.py +++ b/src/merge/resources/hris/resources/available_actions/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.available_actions import AvailableActions -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -47,8 +46,8 @@ def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) - return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -88,5 +87,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/bank_info/__init__.py b/src/merge/resources/hris/resources/bank_info/__init__.py index 16ee5742..436c3292 100644 --- a/src/merge/resources/hris/resources/bank_info/__init__.py +++ b/src/merge/resources/hris/resources/bank_info/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import BankInfoListRequestAccountType, BankInfoListRequestOrderBy __all__ = ["BankInfoListRequestAccountType", "BankInfoListRequestOrderBy"] diff --git a/src/merge/resources/hris/resources/bank_info/client.py b/src/merge/resources/hris/resources/bank_info/client.py index e108d73c..baa4ff18 100644 --- a/src/merge/resources/hris/resources/bank_info/client.py +++ b/src/merge/resources/hris/resources/bank_info/client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawBankInfoClient -import typing -from .types.bank_info_list_request_account_type import BankInfoListRequestAccountType import datetime as dt -from .types.bank_info_list_request_order_by import BankInfoListRequestOrderBy +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_bank_info_list import PaginatedBankInfoList from ...types.bank_info import BankInfo -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawBankInfoClient +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_order_by import BankInfoListRequestOrderBy class BankInfoClient: @@ -127,7 +126,7 @@ def list( ) client.hris.bank_info.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( account_type=account_type, bank_name=bank_name, created_after=created_after, @@ -147,7 +146,7 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -202,7 +201,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -211,7 +210,7 @@ def retrieve( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data class AsyncBankInfoClient: @@ -336,7 +335,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( account_type=account_type, bank_name=bank_name, created_after=created_after, @@ -356,7 +355,7 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -419,7 +418,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -428,4 +427,4 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data 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 c3774d45..c0455b75 100644 --- a/src/merge/resources/hris/resources/bank_info/raw_client.py +++ b/src/merge/resources/hris/resources/bank_info/raw_client.py @@ -1,21 +1,20 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing -from .types.bank_info_list_request_account_type import BankInfoListRequestAccountType import datetime as dt -from .types.bank_info_list_request_order_by import BankInfoListRequestOrderBy -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_bank_info_list import PaginatedBankInfoList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.bank_info import BankInfo +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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_order_by import BankInfoListRequestOrderBy class RawBankInfoClient: @@ -147,8 +146,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -215,8 +214,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawBankInfoClient: @@ -348,8 +347,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -416,5 +415,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/bank_info/types/__init__.py b/src/merge/resources/hris/resources/bank_info/types/__init__.py index 10b3db86..ed40f69c 100644 --- a/src/merge/resources/hris/resources/bank_info/types/__init__.py +++ b/src/merge/resources/hris/resources/bank_info/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .bank_info_list_request_account_type import BankInfoListRequestAccountType from .bank_info_list_request_order_by import BankInfoListRequestOrderBy diff --git a/src/merge/resources/hris/resources/benefits/__init__.py b/src/merge/resources/hris/resources/benefits/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/hris/resources/benefits/__init__.py +++ b/src/merge/resources/hris/resources/benefits/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/hris/resources/benefits/client.py b/src/merge/resources/hris/resources/benefits/client.py index 10e21583..76ed436e 100644 --- a/src/merge/resources/hris/resources/benefits/client.py +++ b/src/merge/resources/hris/resources/benefits/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawBenefitsClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_benefit_list import PaginatedBenefitList from ...types.benefit import Benefit -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawBenefitsClient +from ...types.paginated_benefit_list import PaginatedBenefitList +from .raw_client import AsyncRawBenefitsClient, RawBenefitsClient class BenefitsClient: @@ -102,7 +101,7 @@ def list( ) client.hris.benefits.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -117,7 +116,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -164,14 +163,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncBenefitsClient: @@ -273,7 +272,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -288,7 +287,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -343,11 +342,11 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data diff --git a/src/merge/resources/hris/resources/benefits/raw_client.py b/src/merge/resources/hris/resources/benefits/raw_client.py index bd181ef2..b3a5eb75 100644 --- a/src/merge/resources/hris/resources/benefits/raw_client.py +++ b/src/merge/resources/hris/resources/benefits/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_benefit_list import PaginatedBenefitList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.benefit import Benefit +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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 class RawBenefitsClient: @@ -117,8 +116,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -175,8 +174,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawBenefitsClient: @@ -280,8 +279,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -338,5 +337,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/companies/__init__.py b/src/merge/resources/hris/resources/companies/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/hris/resources/companies/__init__.py +++ b/src/merge/resources/hris/resources/companies/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/hris/resources/companies/client.py b/src/merge/resources/hris/resources/companies/client.py index f94ea259..3c5355ea 100644 --- a/src/merge/resources/hris/resources/companies/client.py +++ b/src/merge/resources/hris/resources/companies/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawCompaniesClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_company_list import PaginatedCompanyList from ...types.company import Company -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawCompaniesClient +from ...types.paginated_company_list import PaginatedCompanyList +from .raw_client import AsyncRawCompaniesClient, RawCompaniesClient class CompaniesClient: @@ -94,7 +93,7 @@ def list( ) client.hris.companies.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -107,7 +106,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -150,13 +149,13 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncCompaniesClient: @@ -250,7 +249,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -263,7 +262,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -314,10 +313,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data diff --git a/src/merge/resources/hris/resources/companies/raw_client.py b/src/merge/resources/hris/resources/companies/raw_client.py index 16880747..e6bfd64f 100644 --- a/src/merge/resources/hris/resources/companies/raw_client.py +++ b/src/merge/resources/hris/resources/companies/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_company_list import PaginatedCompanyList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.company import Company +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type +from ...types.company import Company +from ...types.paginated_company_list import PaginatedCompanyList class RawCompaniesClient: @@ -107,8 +106,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -160,8 +159,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawCompaniesClient: @@ -255,8 +254,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -308,5 +307,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/delete_account/__init__.py b/src/merge/resources/hris/resources/delete_account/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/hris/resources/delete_account/__init__.py +++ b/src/merge/resources/hris/resources/delete_account/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/hris/resources/delete_account/client.py b/src/merge/resources/hris/resources/delete_account/client.py index ce3997a8..b35192ee 100644 --- a/src/merge/resources/hris/resources/delete_account/client.py +++ b/src/merge/resources/hris/resources/delete_account/client.py @@ -1,11 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawDeleteAccountClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawDeleteAccountClient +from .raw_client import AsyncRawDeleteAccountClient, RawDeleteAccountClient class DeleteAccountClient: @@ -46,8 +45,8 @@ def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> ) client.hris.delete_account.delete() """ - response = self._raw_client.delete(request_options=request_options) - return response.data + _response = self._raw_client.delete(request_options=request_options) + return _response.data class AsyncDeleteAccountClient: @@ -96,5 +95,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.delete(request_options=request_options) - return response.data + _response = await self._raw_client.delete(request_options=request_options) + return _response.data diff --git a/src/merge/resources/hris/resources/delete_account/raw_client.py b/src/merge/resources/hris/resources/delete_account/raw_client.py index 80cba762..f71ea39d 100644 --- a/src/merge/resources/hris/resources/delete_account/raw_client.py +++ b/src/merge/resources/hris/resources/delete_account/raw_client.py @@ -1,13 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.request_options import RequestOptions class RawDeleteAccountClient: @@ -37,8 +36,8 @@ def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> return HttpResponse(response=_response, data=None) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -68,5 +67,5 @@ async def delete(self, *, request_options: typing.Optional[RequestOptions] = Non return AsyncHttpResponse(response=_response, data=None) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/dependents/__init__.py b/src/merge/resources/hris/resources/dependents/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/hris/resources/dependents/__init__.py +++ b/src/merge/resources/hris/resources/dependents/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/hris/resources/dependents/client.py b/src/merge/resources/hris/resources/dependents/client.py index 26577abf..7f2f7710 100644 --- a/src/merge/resources/hris/resources/dependents/client.py +++ b/src/merge/resources/hris/resources/dependents/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawDependentsClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_dependent_list import PaginatedDependentList from ...types.dependent import Dependent -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawDependentsClient +from ...types.paginated_dependent_list import PaginatedDependentList +from .raw_client import AsyncRawDependentsClient, RawDependentsClient class DependentsClient: @@ -98,7 +97,7 @@ def list( ) client.hris.dependents.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -112,7 +111,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -159,14 +158,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, include_remote_data=include_remote_data, include_sensitive_fields=include_sensitive_fields, include_shell_data=include_shell_data, request_options=request_options, ) - return response.data + return _response.data class AsyncDependentsClient: @@ -264,7 +263,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -278,7 +277,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -333,11 +332,11 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, include_remote_data=include_remote_data, include_sensitive_fields=include_sensitive_fields, include_shell_data=include_shell_data, request_options=request_options, ) - return response.data + return _response.data diff --git a/src/merge/resources/hris/resources/dependents/raw_client.py b/src/merge/resources/hris/resources/dependents/raw_client.py index 7a927d71..428f463a 100644 --- a/src/merge/resources/hris/resources/dependents/raw_client.py +++ b/src/merge/resources/hris/resources/dependents/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_dependent_list import PaginatedDependentList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.dependent import Dependent +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type +from ...types.dependent import Dependent +from ...types.paginated_dependent_list import PaginatedDependentList class RawDependentsClient: @@ -112,8 +111,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -170,8 +169,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawDependentsClient: @@ -270,8 +269,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -328,5 +327,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/employee_payroll_runs/__init__.py b/src/merge/resources/hris/resources/employee_payroll_runs/__init__.py index 7970943e..d3d89f35 100644 --- a/src/merge/resources/hris/resources/employee_payroll_runs/__init__.py +++ b/src/merge/resources/hris/resources/employee_payroll_runs/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import EmployeePayrollRunsListRequestExpand, EmployeePayrollRunsRetrieveRequestExpand __all__ = ["EmployeePayrollRunsListRequestExpand", "EmployeePayrollRunsRetrieveRequestExpand"] 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 91afd299..93dd56df 100644 --- a/src/merge/resources/hris/resources/employee_payroll_runs/client.py +++ b/src/merge/resources/hris/resources/employee_payroll_runs/client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawEmployeePayrollRunsClient -import typing import datetime as dt -from .types.employee_payroll_runs_list_request_expand import EmployeePayrollRunsListRequestExpand +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper 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_run import EmployeePayrollRun -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawEmployeePayrollRunsClient class EmployeePayrollRunsClient: @@ -124,7 +123,7 @@ def list( ) client.hris.employee_payroll_runs.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -144,7 +143,7 @@ def list( started_before=started_before, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -191,14 +190,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncEmployeePayrollRunsClient: @@ -320,7 +319,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -340,7 +339,7 @@ async def main() -> None: started_before=started_before, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -395,11 +394,11 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data 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 bddf6e1a..21ab6938 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 @@ -1,21 +1,20 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .types.employee_payroll_runs_list_request_expand import EmployeePayrollRunsListRequestExpand -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_employee_payroll_run_list import PaginatedEmployeePayrollRunList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .types.employee_payroll_runs_retrieve_request_expand import EmployeePayrollRunsRetrieveRequestExpand -from ...types.employee_payroll_run import EmployeePayrollRun +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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 class RawEmployeePayrollRunsClient: @@ -144,8 +143,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -202,8 +201,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawEmployeePayrollRunsClient: @@ -332,8 +331,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -390,5 +389,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/employee_payroll_runs/types/__init__.py b/src/merge/resources/hris/resources/employee_payroll_runs/types/__init__.py index 94e3777e..65727af1 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 @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .employee_payroll_runs_list_request_expand import EmployeePayrollRunsListRequestExpand from .employee_payroll_runs_retrieve_request_expand import EmployeePayrollRunsRetrieveRequestExpand diff --git a/src/merge/resources/hris/resources/employees/__init__.py b/src/merge/resources/hris/resources/employees/__init__.py index 683cfc47..3cd7d0c4 100644 --- a/src/merge/resources/hris/resources/employees/__init__.py +++ b/src/merge/resources/hris/resources/employees/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import ( EmployeesListRequestEmploymentStatus, EmployeesListRequestExpand, diff --git a/src/merge/resources/hris/resources/employees/client.py b/src/merge/resources/hris/resources/employees/client.py index 2b3dcf0a..7c0498de 100644 --- a/src/merge/resources/hris/resources/employees/client.py +++ b/src/merge/resources/hris/resources/employees/client.py @@ -1,25 +1,24 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawEmployeesClient import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +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.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_remote_fields import EmployeesListRequestRemoteFields from .types.employees_list_request_show_enum_origins import EmployeesListRequestShowEnumOrigins -from .....core.request_options import RequestOptions -from ...types.paginated_employee_list import PaginatedEmployeeList -from ...types.employee_request import EmployeeRequest -from ...types.employee_response import EmployeeResponse from .types.employees_retrieve_request_expand import EmployeesRetrieveRequestExpand from .types.employees_retrieve_request_remote_fields import EmployeesRetrieveRequestRemoteFields from .types.employees_retrieve_request_show_enum_origins import EmployeesRetrieveRequestShowEnumOrigins -from ...types.employee import Employee from .types.ignore_common_model_request_reason import IgnoreCommonModelRequestReason -from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawEmployeesClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -204,7 +203,7 @@ def list( ) client.hris.employees.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -240,7 +239,7 @@ def list( work_location_id=work_location_id, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -284,10 +283,10 @@ def create( model=EmployeeRequest(), ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options ) - return response.data + return _response.data def retrieve( self, @@ -346,7 +345,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -356,7 +355,7 @@ def retrieve( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data def ignore_create( self, @@ -398,10 +397,10 @@ def ignore_create( reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, ) """ - response = self._raw_client.ignore_create( + _response = self._raw_client.ignore_create( model_id, reason=reason, message=message, request_options=request_options ) - return response.data + return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -427,8 +426,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.hris.employees.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data class AsyncEmployeesClient: @@ -618,7 +617,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -654,7 +653,7 @@ async def main() -> None: work_location_id=work_location_id, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -706,10 +705,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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 + return _response.data async def retrieve( self, @@ -776,7 +775,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -786,7 +785,7 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data async def ignore_create( self, @@ -836,10 +835,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.ignore_create( + _response = await self._raw_client.ignore_create( model_id, reason=reason, message=message, request_options=request_options ) - return response.data + return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -873,5 +872,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data diff --git a/src/merge/resources/hris/resources/employees/raw_client.py b/src/merge/resources/hris/resources/employees/raw_client.py index cc9a4678..a85ffeac 100644 --- a/src/merge/resources/hris/resources/employees/raw_client.py +++ b/src/merge/resources/hris/resources/employees/raw_client.py @@ -1,30 +1,29 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .types.employees_list_request_employment_status import EmployeesListRequestEmploymentStatus -from .types.employees_list_request_expand import EmployeesListRequestExpand -from .types.employees_list_request_remote_fields import EmployeesListRequestRemoteFields -from .types.employees_list_request_show_enum_origins import EmployeesListRequestShowEnumOrigins -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_employee_list import PaginatedEmployeeList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +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.employee import Employee from ...types.employee_request import EmployeeRequest from ...types.employee_response import EmployeeResponse +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_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_remote_fields import EmployeesRetrieveRequestRemoteFields from .types.employees_retrieve_request_show_enum_origins import EmployeesRetrieveRequestShowEnumOrigins -from ...types.employee import Employee -from .....core.jsonable_encoder import jsonable_encoder from .types.ignore_common_model_request_reason import IgnoreCommonModelRequestReason -from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -240,8 +239,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -300,8 +299,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -373,8 +372,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 ignore_create( self, @@ -420,8 +419,8 @@ def ignore_create( return HttpResponse(response=_response, data=None) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -456,8 +455,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawEmployeesClient: @@ -670,8 +669,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -730,8 +729,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -803,8 +802,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 ignore_create( self, @@ -850,8 +849,8 @@ async def ignore_create( return AsyncHttpResponse(response=_response, data=None) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -886,5 +885,5 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/employees/types/__init__.py b/src/merge/resources/hris/resources/employees/types/__init__.py index e3be258c..cbdcec7d 100644 --- a/src/merge/resources/hris/resources/employees/types/__init__.py +++ b/src/merge/resources/hris/resources/employees/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .employees_list_request_employment_status import EmployeesListRequestEmploymentStatus from .employees_list_request_expand import EmployeesListRequestExpand from .employees_list_request_remote_fields import EmployeesListRequestRemoteFields 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 index 0cc08995..4baf20f1 100644 --- 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 @@ -1,6 +1,7 @@ # 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/__init__.py b/src/merge/resources/hris/resources/employer_benefits/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/hris/resources/employer_benefits/__init__.py +++ b/src/merge/resources/hris/resources/employer_benefits/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/hris/resources/employer_benefits/client.py b/src/merge/resources/hris/resources/employer_benefits/client.py index 83f46b5a..3201e062 100644 --- a/src/merge/resources/hris/resources/employer_benefits/client.py +++ b/src/merge/resources/hris/resources/employer_benefits/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawEmployerBenefitsClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_employer_benefit_list import PaginatedEmployerBenefitList from ...types.employer_benefit import EmployerBenefit -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawEmployerBenefitsClient +from ...types.paginated_employer_benefit_list import PaginatedEmployerBenefitList +from .raw_client import AsyncRawEmployerBenefitsClient, RawEmployerBenefitsClient class EmployerBenefitsClient: @@ -94,7 +93,7 @@ def list( ) client.hris.employer_benefits.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -107,7 +106,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -150,13 +149,13 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncEmployerBenefitsClient: @@ -250,7 +249,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -263,7 +262,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -314,10 +313,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data 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 5aa69035..53596759 100644 --- a/src/merge/resources/hris/resources/employer_benefits/raw_client.py +++ b/src/merge/resources/hris/resources/employer_benefits/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_employer_benefit_list import PaginatedEmployerBenefitList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.employer_benefit import EmployerBenefit +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type +from ...types.employer_benefit import EmployerBenefit +from ...types.paginated_employer_benefit_list import PaginatedEmployerBenefitList class RawEmployerBenefitsClient: @@ -107,8 +106,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -160,8 +159,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawEmployerBenefitsClient: @@ -255,8 +254,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -308,5 +307,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/employments/__init__.py b/src/merge/resources/hris/resources/employments/__init__.py index a7bea824..16c6b474 100644 --- a/src/merge/resources/hris/resources/employments/__init__.py +++ b/src/merge/resources/hris/resources/employments/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import ( EmploymentsListRequestExpand, EmploymentsListRequestOrderBy, diff --git a/src/merge/resources/hris/resources/employments/client.py b/src/merge/resources/hris/resources/employments/client.py index bf462788..22371621 100644 --- a/src/merge/resources/hris/resources/employments/client.py +++ b/src/merge/resources/hris/resources/employments/client.py @@ -1,21 +1,20 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawEmploymentsClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +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_order_by import EmploymentsListRequestOrderBy from .types.employments_list_request_remote_fields import EmploymentsListRequestRemoteFields from .types.employments_list_request_show_enum_origins import EmploymentsListRequestShowEnumOrigins -from .....core.request_options import RequestOptions -from ...types.paginated_employment_list import PaginatedEmploymentList from .types.employments_retrieve_request_expand import EmploymentsRetrieveRequestExpand from .types.employments_retrieve_request_remote_fields import EmploymentsRetrieveRequestRemoteFields from .types.employments_retrieve_request_show_enum_origins import EmploymentsRetrieveRequestShowEnumOrigins -from ...types.employment import Employment -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawEmploymentsClient class EmploymentsClient: @@ -121,7 +120,7 @@ def list( ) client.hris.employments.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -139,7 +138,7 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -194,7 +193,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -203,7 +202,7 @@ def retrieve( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data class AsyncEmploymentsClient: @@ -317,7 +316,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -335,7 +334,7 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -398,7 +397,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -407,4 +406,4 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data diff --git a/src/merge/resources/hris/resources/employments/raw_client.py b/src/merge/resources/hris/resources/employments/raw_client.py index 2e124313..42f39f73 100644 --- a/src/merge/resources/hris/resources/employments/raw_client.py +++ b/src/merge/resources/hris/resources/employments/raw_client.py @@ -1,26 +1,25 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing 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.employment import Employment +from ...types.paginated_employment_list import PaginatedEmploymentList from .types.employments_list_request_expand import EmploymentsListRequestExpand 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 .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_employment_list import PaginatedEmploymentList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type -from json.decoder import JSONDecodeError -from .....core.api_error import ApiError from .types.employments_retrieve_request_expand import EmploymentsRetrieveRequestExpand from .types.employments_retrieve_request_remote_fields import EmploymentsRetrieveRequestRemoteFields from .types.employments_retrieve_request_show_enum_origins import EmploymentsRetrieveRequestShowEnumOrigins -from ...types.employment import Employment -from .....core.jsonable_encoder import jsonable_encoder -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse class RawEmploymentsClient: @@ -139,8 +138,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -207,8 +206,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawEmploymentsClient: @@ -327,8 +326,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -395,5 +394,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/employments/types/__init__.py b/src/merge/resources/hris/resources/employments/types/__init__.py index 283ebffe..c82455ad 100644 --- a/src/merge/resources/hris/resources/employments/types/__init__.py +++ b/src/merge/resources/hris/resources/employments/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .employments_list_request_expand import EmploymentsListRequestExpand from .employments_list_request_order_by import EmploymentsListRequestOrderBy from .employments_list_request_remote_fields import EmploymentsListRequestRemoteFields diff --git a/src/merge/resources/hris/resources/field_mapping/__init__.py b/src/merge/resources/hris/resources/field_mapping/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/hris/resources/field_mapping/__init__.py +++ b/src/merge/resources/hris/resources/field_mapping/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/hris/resources/field_mapping/client.py b/src/merge/resources/hris/resources/field_mapping/client.py index 5165fc16..deab70e3 100644 --- a/src/merge/resources/hris/resources/field_mapping/client.py +++ b/src/merge/resources/hris/resources/field_mapping/client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawFieldMappingClient + +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 ...types.external_target_field_api_response import ExternalTargetFieldApiResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawFieldMappingClient +from .raw_client import AsyncRawFieldMappingClient, RawFieldMappingClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -62,10 +61,10 @@ def field_mappings_retrieve( ) client.hris.field_mapping.field_mappings_retrieve() """ - response = self._raw_client.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 + return _response.data def field_mappings_create( self, @@ -130,7 +129,7 @@ def field_mappings_create( common_model_name="ExampleCommonModel", ) """ - response = self._raw_client.field_mappings_create( + _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, @@ -140,7 +139,7 @@ def field_mappings_create( exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options, ) - return response.data + return _response.data def field_mappings_destroy( self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -172,8 +171,8 @@ def 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 + _response = self._raw_client.field_mappings_destroy(field_mapping_id, request_options=request_options) + return _response.data def field_mappings_partial_update( self, @@ -220,14 +219,14 @@ def field_mappings_partial_update( field_mapping_id="field_mapping_id", ) """ - response = self._raw_client.field_mappings_partial_update( + _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 + return _response.data def remote_fields_retrieve( self, @@ -265,10 +264,10 @@ def remote_fields_retrieve( ) client.hris.field_mapping.remote_fields_retrieve() """ - response = self._raw_client.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 + return _response.data def target_fields_retrieve( self, *, request_options: typing.Optional[RequestOptions] = None @@ -296,8 +295,8 @@ def target_fields_retrieve( ) client.hris.field_mapping.target_fields_retrieve() """ - response = self._raw_client.target_fields_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.target_fields_retrieve(request_options=request_options) + return _response.data class AsyncFieldMappingClient: @@ -355,10 +354,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.field_mappings_retrieve( + _response = await self._raw_client.field_mappings_retrieve( exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options ) - return response.data + return _response.data async def field_mappings_create( self, @@ -431,7 +430,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.field_mappings_create( + _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, @@ -441,7 +440,7 @@ async def main() -> None: exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options, ) - return response.data + return _response.data async def field_mappings_destroy( self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -481,8 +480,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.field_mappings_destroy(field_mapping_id, request_options=request_options) - return response.data + _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, @@ -537,14 +536,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.field_mappings_partial_update( + _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 + return _response.data async def remote_fields_retrieve( self, @@ -590,10 +589,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.remote_fields_retrieve( + _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 + return _response.data async def target_fields_retrieve( self, *, request_options: typing.Optional[RequestOptions] = None @@ -629,5 +628,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.target_fields_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.target_fields_retrieve(request_options=request_options) + return _response.data 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 c2ad16e2..6480b0b2 100644 --- a/src/merge/resources/hris/resources/field_mapping/raw_client.py +++ b/src/merge/resources/hris/resources/field_mapping/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.field_mapping_api_instance_response import FieldMappingApiInstanceResponse -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.field_mapping_instance_response import FieldMappingInstanceResponse +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder -from ...types.remote_field_api_response import RemoteFieldApiResponse +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type from ...types.external_target_field_api_response import ExternalTargetFieldApiResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -65,8 +64,8 @@ def field_mappings_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -146,8 +145,8 @@ def field_mappings_create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -184,8 +183,8 @@ def field_mappings_destroy( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -246,8 +245,8 @@ def field_mappings_partial_update( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -296,8 +295,8 @@ def remote_fields_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -332,8 +331,8 @@ def target_fields_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -382,8 +381,8 @@ async def field_mappings_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -463,8 +462,8 @@ async def field_mappings_create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -501,8 +500,8 @@ async def field_mappings_destroy( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -563,8 +562,8 @@ async def field_mappings_partial_update( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -613,8 +612,8 @@ async def remote_fields_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -649,5 +648,5 @@ async def target_fields_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/force_resync/__init__.py b/src/merge/resources/hris/resources/force_resync/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/hris/resources/force_resync/__init__.py +++ b/src/merge/resources/hris/resources/force_resync/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/hris/resources/force_resync/client.py b/src/merge/resources/hris/resources/force_resync/client.py index 36fb0301..d1686b94 100644 --- a/src/merge/resources/hris/resources/force_resync/client.py +++ b/src/merge/resources/hris/resources/force_resync/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawForceResyncClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.sync_status import SyncStatus -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawForceResyncClient +from .raw_client import AsyncRawForceResyncClient, RawForceResyncClient class ForceResyncClient: @@ -50,8 +49,8 @@ def sync_status_resync_create( ) client.hris.force_resync.sync_status_resync_create() """ - response = self._raw_client.sync_status_resync_create(request_options=request_options) - return response.data + _response = self._raw_client.sync_status_resync_create(request_options=request_options) + return _response.data class AsyncForceResyncClient: @@ -103,5 +102,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.sync_status_resync_create(request_options=request_options) - return response.data + _response = await self._raw_client.sync_status_resync_create(request_options=request_options) + return _response.data diff --git a/src/merge/resources/hris/resources/force_resync/raw_client.py b/src/merge/resources/hris/resources/force_resync/raw_client.py index 8f9008e9..53b5a1bd 100644 --- a/src/merge/resources/hris/resources/force_resync/raw_client.py +++ b/src/merge/resources/hris/resources/force_resync/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.sync_status import SyncStatus -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -49,8 +48,8 @@ def sync_status_resync_create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -90,5 +89,5 @@ async def sync_status_resync_create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/generate_key/__init__.py b/src/merge/resources/hris/resources/generate_key/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/hris/resources/generate_key/__init__.py +++ b/src/merge/resources/hris/resources/generate_key/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/hris/resources/generate_key/client.py b/src/merge/resources/hris/resources/generate_key/client.py index 4d44a9c9..f1c74600 100644 --- a/src/merge/resources/hris/resources/generate_key/client.py +++ b/src/merge/resources/hris/resources/generate_key/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawGenerateKeyClient + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.remote_key import RemoteKey -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawGenerateKeyClient +from .raw_client import AsyncRawGenerateKeyClient, RawGenerateKeyClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -56,8 +55,8 @@ def create(self, *, name: str, request_options: typing.Optional[RequestOptions] name="Remote Deployment Key 1", ) """ - response = self._raw_client.create(name=name, request_options=request_options) - return response.data + _response = self._raw_client.create(name=name, request_options=request_options) + return _response.data class AsyncGenerateKeyClient: @@ -112,5 +111,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create(name=name, request_options=request_options) - return response.data + _response = await self._raw_client.create(name=name, request_options=request_options) + return _response.data diff --git a/src/merge/resources/hris/resources/generate_key/raw_client.py b/src/merge/resources/hris/resources/generate_key/raw_client.py index dca70ea1..2e28e450 100644 --- a/src/merge/resources/hris/resources/generate_key/raw_client.py +++ b/src/merge/resources/hris/resources/generate_key/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.remote_key import RemoteKey -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -60,8 +59,8 @@ def create(self, *, name: str, request_options: typing.Optional[RequestOptions] return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -111,5 +110,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/groups/__init__.py b/src/merge/resources/hris/resources/groups/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/hris/resources/groups/__init__.py +++ b/src/merge/resources/hris/resources/groups/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/hris/resources/groups/client.py b/src/merge/resources/hris/resources/groups/client.py index e7b0a0dd..454392ad 100644 --- a/src/merge/resources/hris/resources/groups/client.py +++ b/src/merge/resources/hris/resources/groups/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawGroupsClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_group_list import PaginatedGroupList from ...types.group import Group -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawGroupsClient +from ...types.paginated_group_list import PaginatedGroupList +from .raw_client import AsyncRawGroupsClient, RawGroupsClient class GroupsClient: @@ -114,7 +113,7 @@ def list( ) client.hris.groups.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -132,7 +131,7 @@ def list( types=types, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -183,7 +182,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, include_remote_data=include_remote_data, include_shell_data=include_shell_data, @@ -191,7 +190,7 @@ def retrieve( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data class AsyncGroupsClient: @@ -305,7 +304,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -323,7 +322,7 @@ async def main() -> None: types=types, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -382,7 +381,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, include_remote_data=include_remote_data, include_shell_data=include_shell_data, @@ -390,4 +389,4 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data diff --git a/src/merge/resources/hris/resources/groups/raw_client.py b/src/merge/resources/hris/resources/groups/raw_client.py index 56f84cda..f8256948 100644 --- a/src/merge/resources/hris/resources/groups/raw_client.py +++ b/src/merge/resources/hris/resources/groups/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_group_list import PaginatedGroupList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.group import Group +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -132,8 +131,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -195,8 +194,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -315,8 +314,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -378,5 +377,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/issues/__init__.py b/src/merge/resources/hris/resources/issues/__init__.py index ab74e304..bb7feb68 100644 --- a/src/merge/resources/hris/resources/issues/__init__.py +++ b/src/merge/resources/hris/resources/issues/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import IssuesListRequestStatus __all__ = ["IssuesListRequestStatus"] diff --git a/src/merge/resources/hris/resources/issues/client.py b/src/merge/resources/hris/resources/issues/client.py index 0c200e0f..3839055e 100644 --- a/src/merge/resources/hris/resources/issues/client.py +++ b/src/merge/resources/hris/resources/issues/client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawIssuesClient -import typing import datetime as dt -from .types.issues_list_request_status import IssuesListRequestStatus +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_issue_list import PaginatedIssueList from ...types.issue import Issue -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawIssuesClient +from ...types.paginated_issue_list import PaginatedIssueList +from .raw_client import AsyncRawIssuesClient, RawIssuesClient +from .types.issues_list_request_status import IssuesListRequestStatus class IssuesClient: @@ -111,7 +110,7 @@ def list( ) client.hris.issues.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -128,7 +127,7 @@ def list( status=status, request_options=request_options, ) - return response.data + return _response.data def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ @@ -158,8 +157,8 @@ def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] id="id", ) """ - response = self._raw_client.retrieve(id, request_options=request_options) - return response.data + _response = self._raw_client.retrieve(id, request_options=request_options) + return _response.data class AsyncIssuesClient: @@ -269,7 +268,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -286,7 +285,7 @@ async def main() -> None: status=status, request_options=request_options, ) - return response.data + return _response.data async def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ @@ -324,5 +323,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(id, request_options=request_options) - return response.data + _response = await self._raw_client.retrieve(id, request_options=request_options) + return _response.data diff --git a/src/merge/resources/hris/resources/issues/raw_client.py b/src/merge/resources/hris/resources/issues/raw_client.py index 231a12cf..02305941 100644 --- a/src/merge/resources/hris/resources/issues/raw_client.py +++ b/src/merge/resources/hris/resources/issues/raw_client.py @@ -1,20 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .types.issues_list_request_status import IssuesListRequestStatus -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_issue_list import PaginatedIssueList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.issue import Issue +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -136,8 +135,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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]: """ @@ -172,8 +171,8 @@ def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -295,8 +294,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -333,5 +332,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/issues/types/__init__.py b/src/merge/resources/hris/resources/issues/types/__init__.py index 660c5d2a..06333662 100644 --- a/src/merge/resources/hris/resources/issues/types/__init__.py +++ b/src/merge/resources/hris/resources/issues/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .issues_list_request_status import IssuesListRequestStatus __all__ = ["IssuesListRequestStatus"] diff --git a/src/merge/resources/hris/resources/link_token/__init__.py b/src/merge/resources/hris/resources/link_token/__init__.py index f3ea2659..a640c12b 100644 --- a/src/merge/resources/hris/resources/link_token/__init__.py +++ b/src/merge/resources/hris/resources/link_token/__init__.py @@ -1,2 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + +from .types import 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 5e4b0af3..31db9dd8 100644 --- a/src/merge/resources/hris/resources/link_token/client.py +++ b/src/merge/resources/hris/resources/link_token/client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawLinkTokenClient + +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 .....core.request_options import RequestOptions from ...types.link_token import LinkToken -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawLinkTokenClient +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, ...) @@ -46,7 +45,7 @@ def create( category_common_model_scopes: typing.Optional[ typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] ] = OMIT, - language: typing.Optional[LanguageEnum] = 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, request_options: typing.Optional[RequestOptions] = None, @@ -86,7 +85,7 @@ def 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. - language : typing.Optional[LanguageEnum] + language : typing.Optional[EndUserDetailsRequestLanguage] The following subset of IETF language tags can be used to configure localization. * `en` - en @@ -122,7 +121,7 @@ def create( categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], ) """ - response = self._raw_client.create( + _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, @@ -138,7 +137,7 @@ def create( integration_specific_config=integration_specific_config, request_options=request_options, ) - return response.data + return _response.data class AsyncLinkTokenClient: @@ -171,7 +170,7 @@ async def create( category_common_model_scopes: typing.Optional[ typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] ] = OMIT, - language: typing.Optional[LanguageEnum] = 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, request_options: typing.Optional[RequestOptions] = None, @@ -211,7 +210,7 @@ async def 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. - language : typing.Optional[LanguageEnum] + language : typing.Optional[EndUserDetailsRequestLanguage] The following subset of IETF language tags can be used to configure localization. * `en` - en @@ -255,7 +254,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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, @@ -271,4 +270,4 @@ async def main() -> None: integration_specific_config=integration_specific_config, request_options=request_options, ) - return response.data + 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 025e5318..53e50f72 100644 --- a/src/merge/resources/hris/resources/link_token/raw_client.py +++ b/src/merge/resources/hris/resources/link_token/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper +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 .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse from ...types.link_token import LinkToken -from .....core.unchecked_base_model import construct_type -from json.decoder import JSONDecodeError -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from .types.end_user_details_request_language import EndUserDetailsRequestLanguage # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -38,7 +37,7 @@ def create( category_common_model_scopes: typing.Optional[ typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] ] = OMIT, - language: typing.Optional[LanguageEnum] = 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, request_options: typing.Optional[RequestOptions] = None, @@ -78,7 +77,7 @@ def 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. - language : typing.Optional[LanguageEnum] + language : typing.Optional[EndUserDetailsRequestLanguage] The following subset of IETF language tags can be used to configure localization. * `en` - en @@ -134,8 +133,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -157,7 +156,7 @@ async def create( category_common_model_scopes: typing.Optional[ typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] ] = OMIT, - language: typing.Optional[LanguageEnum] = 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, request_options: typing.Optional[RequestOptions] = None, @@ -197,7 +196,7 @@ async def 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. - language : typing.Optional[LanguageEnum] + language : typing.Optional[EndUserDetailsRequestLanguage] The following subset of IETF language tags can be used to configure localization. * `en` - en @@ -253,5 +252,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/link_token/types/__init__.py b/src/merge/resources/hris/resources/link_token/types/__init__.py new file mode 100644 index 00000000..fa266f8e --- /dev/null +++ b/src/merge/resources/hris/resources/link_token/types/__init__.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +from .end_user_details_request_language import EndUserDetailsRequestLanguage + +__all__ = ["EndUserDetailsRequestLanguage"] diff --git a/src/merge/resources/hris/resources/link_token/types/end_user_details_request_language.py b/src/merge/resources/hris/resources/link_token/types/end_user_details_request_language.py new file mode 100644 index 00000000..65c4b44a --- /dev/null +++ b/src/merge/resources/hris/resources/link_token/types/end_user_details_request_language.py @@ -0,0 +1,7 @@ +# 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/hris/resources/linked_accounts/__init__.py b/src/merge/resources/hris/resources/linked_accounts/__init__.py index 70377fa3..e7254ec5 100644 --- a/src/merge/resources/hris/resources/linked_accounts/__init__.py +++ b/src/merge/resources/hris/resources/linked_accounts/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import LinkedAccountsListRequestCategory __all__ = ["LinkedAccountsListRequestCategory"] diff --git a/src/merge/resources/hris/resources/linked_accounts/client.py b/src/merge/resources/hris/resources/linked_accounts/client.py index 8825fc75..fb325a41 100644 --- a/src/merge/resources/hris/resources/linked_accounts/client.py +++ b/src/merge/resources/hris/resources/linked_accounts/client.py @@ -1,13 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawLinkedAccountsClient import typing -from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawLinkedAccountsClient +from .raw_client import AsyncRawLinkedAccountsClient, RawLinkedAccountsClient +from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory class LinkedAccountsClient: @@ -112,7 +111,7 @@ def list( ) client.hris.linked_accounts.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -128,7 +127,7 @@ def list( status=status, request_options=request_options, ) - return response.data + return _response.data class AsyncLinkedAccountsClient: @@ -241,7 +240,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -257,4 +256,4 @@ async def main() -> None: status=status, request_options=request_options, ) - return response.data + 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 1fccae16..07984ecd 100644 --- a/src/merge/resources/hris/resources/linked_accounts/raw_client.py +++ b/src/merge/resources/hris/resources/linked_accounts/raw_client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -126,8 +125,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -243,5 +242,5 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/linked_accounts/types/__init__.py b/src/merge/resources/hris/resources/linked_accounts/types/__init__.py index 9ff5c0ae..88354602 100644 --- a/src/merge/resources/hris/resources/linked_accounts/types/__init__.py +++ b/src/merge/resources/hris/resources/linked_accounts/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .linked_accounts_list_request_category import LinkedAccountsListRequestCategory __all__ = ["LinkedAccountsListRequestCategory"] diff --git a/src/merge/resources/hris/resources/locations/__init__.py b/src/merge/resources/hris/resources/locations/__init__.py index 9e54865f..eb7660de 100644 --- a/src/merge/resources/hris/resources/locations/__init__.py +++ b/src/merge/resources/hris/resources/locations/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import ( LocationsListRequestLocationType, LocationsListRequestRemoteFields, diff --git a/src/merge/resources/hris/resources/locations/client.py b/src/merge/resources/hris/resources/locations/client.py index 7bd855b2..b8b18833 100644 --- a/src/merge/resources/hris/resources/locations/client.py +++ b/src/merge/resources/hris/resources/locations/client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawLocationsClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.request_options import RequestOptions +from ...types.location import Location +from ...types.paginated_location_list import PaginatedLocationList +from .raw_client import AsyncRawLocationsClient, RawLocationsClient from .types.locations_list_request_location_type import LocationsListRequestLocationType from .types.locations_list_request_remote_fields import LocationsListRequestRemoteFields from .types.locations_list_request_show_enum_origins import LocationsListRequestShowEnumOrigins -from .....core.request_options import RequestOptions -from ...types.paginated_location_list import PaginatedLocationList from .types.locations_retrieve_request_remote_fields import LocationsRetrieveRequestRemoteFields from .types.locations_retrieve_request_show_enum_origins import LocationsRetrieveRequestShowEnumOrigins -from ...types.location import Location -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawLocationsClient class LocationsClient: @@ -114,7 +113,7 @@ def list( ) client.hris.locations.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -130,7 +129,7 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -181,7 +180,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, include_remote_data=include_remote_data, include_shell_data=include_shell_data, @@ -189,7 +188,7 @@ def retrieve( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data class AsyncLocationsClient: @@ -298,7 +297,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -314,7 +313,7 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -373,7 +372,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, include_remote_data=include_remote_data, include_shell_data=include_shell_data, @@ -381,4 +380,4 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data diff --git a/src/merge/resources/hris/resources/locations/raw_client.py b/src/merge/resources/hris/resources/locations/raw_client.py index dbf7800e..1b57f08f 100644 --- a/src/merge/resources/hris/resources/locations/raw_client.py +++ b/src/merge/resources/hris/resources/locations/raw_client.py @@ -1,24 +1,23 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing 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.location import Location +from ...types.paginated_location_list import PaginatedLocationList from .types.locations_list_request_location_type import LocationsListRequestLocationType from .types.locations_list_request_remote_fields import LocationsListRequestRemoteFields from .types.locations_list_request_show_enum_origins import LocationsListRequestShowEnumOrigins -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_location_list import PaginatedLocationList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type -from json.decoder import JSONDecodeError -from .....core.api_error import ApiError from .types.locations_retrieve_request_remote_fields import LocationsRetrieveRequestRemoteFields from .types.locations_retrieve_request_show_enum_origins import LocationsRetrieveRequestShowEnumOrigins -from ...types.location import Location -from .....core.jsonable_encoder import jsonable_encoder -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse class RawLocationsClient: @@ -130,8 +129,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -193,8 +192,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawLocationsClient: @@ -306,8 +305,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -369,5 +368,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/locations/types/__init__.py b/src/merge/resources/hris/resources/locations/types/__init__.py index 01eac7eb..3e16fb8c 100644 --- a/src/merge/resources/hris/resources/locations/types/__init__.py +++ b/src/merge/resources/hris/resources/locations/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .locations_list_request_location_type import LocationsListRequestLocationType from .locations_list_request_remote_fields import LocationsListRequestRemoteFields from .locations_list_request_show_enum_origins import LocationsListRequestShowEnumOrigins diff --git a/src/merge/resources/hris/resources/passthrough/__init__.py b/src/merge/resources/hris/resources/passthrough/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/hris/resources/passthrough/__init__.py +++ b/src/merge/resources/hris/resources/passthrough/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/hris/resources/passthrough/client.py b/src/merge/resources/hris/resources/passthrough/client.py index 252d9f4f..e0e92717 100644 --- a/src/merge/resources/hris/resources/passthrough/client.py +++ b/src/merge/resources/hris/resources/passthrough/client.py @@ -1,13 +1,12 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawPassthroughClient -from ...types.data_passthrough_request import DataPassthroughRequest + +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 .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawPassthroughClient +from .raw_client import AsyncRawPassthroughClient, RawPassthroughClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -62,8 +61,8 @@ def create( ), ) """ - response = self._raw_client.create(request=request, request_options=request_options) - return response.data + _response = self._raw_client.create(request=request, request_options=request_options) + return _response.data class AsyncPassthroughClient: @@ -123,5 +122,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create(request=request, request_options=request_options) - return response.data + _response = await self._raw_client.create(request=request, request_options=request_options) + return _response.data diff --git a/src/merge/resources/hris/resources/passthrough/raw_client.py b/src/merge/resources/hris/resources/passthrough/raw_client.py index 6cc8cd1a..72abab9a 100644 --- a/src/merge/resources/hris/resources/passthrough/raw_client.py +++ b/src/merge/resources/hris/resources/passthrough/raw_client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from ...types.data_passthrough_request import DataPassthroughRequest -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.remote_response import RemoteResponse -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -42,6 +41,9 @@ def create( "hris/v1/passthrough", method="POST", json=request, + headers={ + "content-type": "application/json", + }, request_options=request_options, omit=OMIT, ) @@ -57,8 +59,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -87,6 +89,9 @@ async def create( "hris/v1/passthrough", method="POST", json=request, + headers={ + "content-type": "application/json", + }, request_options=request_options, omit=OMIT, ) @@ -102,5 +107,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/pay_groups/__init__.py b/src/merge/resources/hris/resources/pay_groups/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/hris/resources/pay_groups/__init__.py +++ b/src/merge/resources/hris/resources/pay_groups/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/hris/resources/pay_groups/client.py b/src/merge/resources/hris/resources/pay_groups/client.py index 145bf31f..be59663a 100644 --- a/src/merge/resources/hris/resources/pay_groups/client.py +++ b/src/merge/resources/hris/resources/pay_groups/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawPayGroupsClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.paginated_pay_group_list import PaginatedPayGroupList from ...types.pay_group import PayGroup -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawPayGroupsClient +from .raw_client import AsyncRawPayGroupsClient, RawPayGroupsClient class PayGroupsClient: @@ -94,7 +93,7 @@ def list( ) client.hris.pay_groups.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -107,7 +106,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -150,13 +149,13 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncPayGroupsClient: @@ -250,7 +249,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -263,7 +262,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -314,10 +313,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data 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 df18b9c9..551ed951 100644 --- a/src/merge/resources/hris/resources/pay_groups/raw_client.py +++ b/src/merge/resources/hris/resources/pay_groups/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_pay_group_list import PaginatedPayGroupList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.pay_group import PayGroup +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type +from ...types.paginated_pay_group_list import PaginatedPayGroupList +from ...types.pay_group import PayGroup class RawPayGroupsClient: @@ -107,8 +106,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -160,8 +159,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawPayGroupsClient: @@ -255,8 +254,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -308,5 +307,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/payroll_runs/__init__.py b/src/merge/resources/hris/resources/payroll_runs/__init__.py index 50778834..3e7954fe 100644 --- a/src/merge/resources/hris/resources/payroll_runs/__init__.py +++ b/src/merge/resources/hris/resources/payroll_runs/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import ( PayrollRunsListRequestRemoteFields, PayrollRunsListRequestRunType, diff --git a/src/merge/resources/hris/resources/payroll_runs/client.py b/src/merge/resources/hris/resources/payroll_runs/client.py index 32ec94d5..9de9d3c2 100644 --- a/src/merge/resources/hris/resources/payroll_runs/client.py +++ b/src/merge/resources/hris/resources/payroll_runs/client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawPayrollRunsClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.request_options import RequestOptions +from ...types.paginated_payroll_run_list import PaginatedPayrollRunList +from ...types.payroll_run import PayrollRun +from .raw_client import AsyncRawPayrollRunsClient, RawPayrollRunsClient from .types.payroll_runs_list_request_remote_fields import PayrollRunsListRequestRemoteFields from .types.payroll_runs_list_request_run_type import PayrollRunsListRequestRunType from .types.payroll_runs_list_request_show_enum_origins import PayrollRunsListRequestShowEnumOrigins -from .....core.request_options import RequestOptions -from ...types.paginated_payroll_run_list import PaginatedPayrollRunList from .types.payroll_runs_retrieve_request_remote_fields import PayrollRunsRetrieveRequestRemoteFields from .types.payroll_runs_retrieve_request_show_enum_origins import PayrollRunsRetrieveRequestShowEnumOrigins -from ...types.payroll_run import PayrollRun -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawPayrollRunsClient class PayrollRunsClient: @@ -133,7 +132,7 @@ def list( ) client.hris.payroll_runs.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -153,7 +152,7 @@ def list( started_before=started_before, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -204,7 +203,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, include_remote_data=include_remote_data, include_shell_data=include_shell_data, @@ -212,7 +211,7 @@ def retrieve( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data class AsyncPayrollRunsClient: @@ -340,7 +339,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -360,7 +359,7 @@ async def main() -> None: started_before=started_before, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -419,7 +418,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, include_remote_data=include_remote_data, include_shell_data=include_shell_data, @@ -427,4 +426,4 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data 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 7c0a17b2..7510c611 100644 --- a/src/merge/resources/hris/resources/payroll_runs/raw_client.py +++ b/src/merge/resources/hris/resources/payroll_runs/raw_client.py @@ -1,24 +1,23 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing 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_payroll_run_list import PaginatedPayrollRunList +from ...types.payroll_run import PayrollRun from .types.payroll_runs_list_request_remote_fields import PayrollRunsListRequestRemoteFields from .types.payroll_runs_list_request_run_type import PayrollRunsListRequestRunType from .types.payroll_runs_list_request_show_enum_origins import PayrollRunsListRequestShowEnumOrigins -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_payroll_run_list import PaginatedPayrollRunList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type -from json.decoder import JSONDecodeError -from .....core.api_error import ApiError from .types.payroll_runs_retrieve_request_remote_fields import PayrollRunsRetrieveRequestRemoteFields from .types.payroll_runs_retrieve_request_show_enum_origins import PayrollRunsRetrieveRequestShowEnumOrigins -from ...types.payroll_run import PayrollRun -from .....core.jsonable_encoder import jsonable_encoder -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse class RawPayrollRunsClient: @@ -153,8 +152,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -216,8 +215,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawPayrollRunsClient: @@ -352,8 +351,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -415,5 +414,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/payroll_runs/types/__init__.py b/src/merge/resources/hris/resources/payroll_runs/types/__init__.py index cd29ee77..b315091a 100644 --- a/src/merge/resources/hris/resources/payroll_runs/types/__init__.py +++ b/src/merge/resources/hris/resources/payroll_runs/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .payroll_runs_list_request_remote_fields import PayrollRunsListRequestRemoteFields from .payroll_runs_list_request_run_type import PayrollRunsListRequestRunType from .payroll_runs_list_request_show_enum_origins import PayrollRunsListRequestShowEnumOrigins diff --git a/src/merge/resources/hris/resources/regenerate_key/__init__.py b/src/merge/resources/hris/resources/regenerate_key/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/hris/resources/regenerate_key/__init__.py +++ b/src/merge/resources/hris/resources/regenerate_key/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/hris/resources/regenerate_key/client.py b/src/merge/resources/hris/resources/regenerate_key/client.py index cb5f9789..1a6f1bc3 100644 --- a/src/merge/resources/hris/resources/regenerate_key/client.py +++ b/src/merge/resources/hris/resources/regenerate_key/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawRegenerateKeyClient + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.remote_key import RemoteKey -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawRegenerateKeyClient +from .raw_client import AsyncRawRegenerateKeyClient, RawRegenerateKeyClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -56,8 +55,8 @@ def create(self, *, name: str, request_options: typing.Optional[RequestOptions] name="Remote Deployment Key 1", ) """ - response = self._raw_client.create(name=name, request_options=request_options) - return response.data + _response = self._raw_client.create(name=name, request_options=request_options) + return _response.data class AsyncRegenerateKeyClient: @@ -112,5 +111,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create(name=name, request_options=request_options) - return response.data + _response = await self._raw_client.create(name=name, request_options=request_options) + return _response.data diff --git a/src/merge/resources/hris/resources/regenerate_key/raw_client.py b/src/merge/resources/hris/resources/regenerate_key/raw_client.py index f71ac2c1..4808ec48 100644 --- a/src/merge/resources/hris/resources/regenerate_key/raw_client.py +++ b/src/merge/resources/hris/resources/regenerate_key/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.remote_key import RemoteKey -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -60,8 +59,8 @@ def create(self, *, name: str, request_options: typing.Optional[RequestOptions] return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -111,5 +110,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/scopes/__init__.py b/src/merge/resources/hris/resources/scopes/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/hris/resources/scopes/__init__.py +++ b/src/merge/resources/hris/resources/scopes/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/hris/resources/scopes/client.py b/src/merge/resources/hris/resources/scopes/client.py index 15fcc17e..002d5401 100644 --- a/src/merge/resources/hris/resources/scopes/client.py +++ b/src/merge/resources/hris/resources/scopes/client.py @@ -1,13 +1,12 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawScopesClient + +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 .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawScopesClient +from .raw_client import AsyncRawScopesClient, RawScopesClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -54,8 +53,8 @@ def default_scopes_retrieve( ) client.hris.scopes.default_scopes_retrieve() """ - response = self._raw_client.default_scopes_retrieve(request_options=request_options) - return response.data + _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 @@ -83,8 +82,8 @@ def linked_account_scopes_retrieve( ) client.hris.scopes.linked_account_scopes_retrieve() """ - response = self._raw_client.linked_account_scopes_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.linked_account_scopes_retrieve(request_options=request_options) + return _response.data def linked_account_scopes_create( self, @@ -149,10 +148,10 @@ def linked_account_scopes_create( ], ) """ - response = self._raw_client.linked_account_scopes_create( + _response = self._raw_client.linked_account_scopes_create( common_models=common_models, request_options=request_options ) - return response.data + return _response.data class AsyncScopesClient: @@ -204,8 +203,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.default_scopes_retrieve(request_options=request_options) - return response.data + _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 @@ -241,8 +240,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.linked_account_scopes_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.linked_account_scopes_retrieve(request_options=request_options) + return _response.data async def linked_account_scopes_create( self, @@ -315,7 +314,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.linked_account_scopes_create( + _response = await self._raw_client.linked_account_scopes_create( common_models=common_models, request_options=request_options ) - return response.data + return _response.data diff --git a/src/merge/resources/hris/resources/scopes/raw_client.py b/src/merge/resources/hris/resources/scopes/raw_client.py index 8faed780..51db897d 100644 --- a/src/merge/resources/hris/resources/scopes/raw_client.py +++ b/src/merge/resources/hris/resources/scopes/raw_client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.common_model_scope_api import CommonModelScopeApi -from .....core.unchecked_base_model import construct_type 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 -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -53,8 +52,8 @@ def default_scopes_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -89,8 +88,8 @@ def linked_account_scopes_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -138,8 +137,8 @@ def linked_account_scopes_create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -179,8 +178,8 @@ async def default_scopes_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -215,8 +214,8 @@ async def linked_account_scopes_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -264,5 +263,5 @@ async def linked_account_scopes_create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/sync_status/__init__.py b/src/merge/resources/hris/resources/sync_status/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/hris/resources/sync_status/__init__.py +++ b/src/merge/resources/hris/resources/sync_status/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/hris/resources/sync_status/client.py b/src/merge/resources/hris/resources/sync_status/client.py index d53918b6..fb1b6a50 100644 --- a/src/merge/resources/hris/resources/sync_status/client.py +++ b/src/merge/resources/hris/resources/sync_status/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawSyncStatusClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.paginated_sync_status_list import PaginatedSyncStatusList -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawSyncStatusClient +from .raw_client import AsyncRawSyncStatusClient, RawSyncStatusClient class SyncStatusClient: @@ -60,8 +59,8 @@ def list( ) client.hris.sync_status.list() """ - response = self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return response.data + _response = self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) + return _response.data class AsyncSyncStatusClient: @@ -123,5 +122,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return response.data + _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/hris/resources/sync_status/raw_client.py b/src/merge/resources/hris/resources/sync_status/raw_client.py index 45d1088e..d331289d 100644 --- a/src/merge/resources/hris/resources/sync_status/raw_client.py +++ b/src/merge/resources/hris/resources/sync_status/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_sync_status_list import PaginatedSyncStatusList -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -63,8 +62,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -118,5 +117,5 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/teams/__init__.py b/src/merge/resources/hris/resources/teams/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/hris/resources/teams/__init__.py +++ b/src/merge/resources/hris/resources/teams/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/hris/resources/teams/client.py b/src/merge/resources/hris/resources/teams/client.py index 265a0bc4..f0ba24da 100644 --- a/src/merge/resources/hris/resources/teams/client.py +++ b/src/merge/resources/hris/resources/teams/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawTeamsClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.paginated_team_list import PaginatedTeamList from ...types.team import Team -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawTeamsClient +from .raw_client import AsyncRawTeamsClient, RawTeamsClient class TeamsClient: @@ -102,7 +101,7 @@ def list( ) client.hris.teams.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -117,7 +116,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -164,14 +163,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncTeamsClient: @@ -273,7 +272,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -288,7 +287,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -343,11 +342,11 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data diff --git a/src/merge/resources/hris/resources/teams/raw_client.py b/src/merge/resources/hris/resources/teams/raw_client.py index ab7f865c..dd176649 100644 --- a/src/merge/resources/hris/resources/teams/raw_client.py +++ b/src/merge/resources/hris/resources/teams/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_team_list import PaginatedTeamList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.team import Team +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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 class RawTeamsClient: @@ -117,8 +116,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -175,8 +174,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawTeamsClient: @@ -280,8 +279,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -338,5 +337,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/time_off/__init__.py b/src/merge/resources/hris/resources/time_off/__init__.py index db6b5432..6290733f 100644 --- a/src/merge/resources/hris/resources/time_off/__init__.py +++ b/src/merge/resources/hris/resources/time_off/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import ( TimeOffListRequestExpand, TimeOffListRequestRemoteFields, diff --git a/src/merge/resources/hris/resources/time_off/client.py b/src/merge/resources/hris/resources/time_off/client.py index 48412a6b..ff2cbfb7 100644 --- a/src/merge/resources/hris/resources/time_off/client.py +++ b/src/merge/resources/hris/resources/time_off/client.py @@ -1,25 +1,24 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawTimeOffClient import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.request_options import RequestOptions +from ...types.meta_response import MetaResponse +from ...types.paginated_time_off_list import PaginatedTimeOffList +from ...types.time_off import TimeOff +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_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 .....core.request_options import RequestOptions -from ...types.paginated_time_off_list import PaginatedTimeOffList -from ...types.time_off_request import TimeOffRequest -from ...types.time_off_response import TimeOffResponse from .types.time_off_retrieve_request_expand import TimeOffRetrieveRequestExpand from .types.time_off_retrieve_request_remote_fields import TimeOffRetrieveRequestRemoteFields from .types.time_off_retrieve_request_show_enum_origins import TimeOffRetrieveRequestShowEnumOrigins -from ...types.time_off import TimeOff -from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawTimeOffClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -165,7 +164,7 @@ def list( ) client.hris.time_off.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( approver_id=approver_id, created_after=created_after, created_before=created_before, @@ -189,7 +188,7 @@ def list( status=status, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -233,10 +232,10 @@ def create( model=TimeOffRequest(), ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options ) - return response.data + return _response.data def retrieve( self, @@ -291,7 +290,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -300,7 +299,7 @@ def retrieve( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -326,8 +325,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.hris.time_off.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data class AsyncTimeOffClient: @@ -478,7 +477,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( approver_id=approver_id, created_after=created_after, created_before=created_before, @@ -502,7 +501,7 @@ async def main() -> None: status=status, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -554,10 +553,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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 + return _response.data async def retrieve( self, @@ -620,7 +619,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -629,7 +628,7 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -663,5 +662,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data 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 8ce40cf7..01a3af78 100644 --- a/src/merge/resources/hris/resources/time_off/raw_client.py +++ b/src/merge/resources/hris/resources/time_off/raw_client.py @@ -1,30 +1,29 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper 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.meta_response import MetaResponse +from ...types.paginated_time_off_list import PaginatedTimeOffList +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_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 .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_time_off_list import PaginatedTimeOffList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type -from json.decoder import JSONDecodeError -from .....core.api_error import ApiError -from ...types.time_off_request import TimeOffRequest -from ...types.time_off_response import TimeOffResponse from .types.time_off_retrieve_request_expand import TimeOffRetrieveRequestExpand from .types.time_off_retrieve_request_remote_fields import TimeOffRetrieveRequestRemoteFields from .types.time_off_retrieve_request_show_enum_origins import TimeOffRetrieveRequestShowEnumOrigins -from ...types.time_off import TimeOff -from .....core.jsonable_encoder import jsonable_encoder -from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -189,8 +188,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -249,8 +248,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -317,8 +316,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -353,8 +352,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawTimeOffClient: @@ -516,8 +515,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -576,8 +575,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -644,8 +643,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -680,5 +679,5 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/time_off/types/__init__.py b/src/merge/resources/hris/resources/time_off/types/__init__.py index 552a4ebb..25f4383d 100644 --- a/src/merge/resources/hris/resources/time_off/types/__init__.py +++ b/src/merge/resources/hris/resources/time_off/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .time_off_list_request_expand import TimeOffListRequestExpand from .time_off_list_request_remote_fields import TimeOffListRequestRemoteFields from .time_off_list_request_request_type import TimeOffListRequestRequestType 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 28411dd2..6f9ed2a3 100644 --- a/src/merge/resources/hris/resources/time_off_balances/__init__.py +++ b/src/merge/resources/hris/resources/time_off_balances/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import TimeOffBalancesListRequestPolicyType __all__ = ["TimeOffBalancesListRequestPolicyType"] 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 3e6bc6af..9b32ead7 100644 --- a/src/merge/resources/hris/resources/time_off_balances/client.py +++ b/src/merge/resources/hris/resources/time_off_balances/client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawTimeOffBalancesClient -import typing import datetime as dt -from .types.time_off_balances_list_request_policy_type import TimeOffBalancesListRequestPolicyType +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.paginated_time_off_balance_list import PaginatedTimeOffBalanceList from ...types.time_off_balance import TimeOffBalance -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawTimeOffBalancesClient +from .raw_client import AsyncRawTimeOffBalancesClient, RawTimeOffBalancesClient +from .types.time_off_balances_list_request_policy_type import TimeOffBalancesListRequestPolicyType class TimeOffBalancesClient: @@ -122,7 +121,7 @@ def list( ) client.hris.time_off_balances.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -140,7 +139,7 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -195,7 +194,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -204,7 +203,7 @@ def retrieve( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data class AsyncTimeOffBalancesClient: @@ -325,7 +324,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -343,7 +342,7 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -406,7 +405,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -415,4 +414,4 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data 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 a8e67540..42ba06ef 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 @@ -1,20 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .types.time_off_balances_list_request_policy_type import TimeOffBalancesListRequestPolicyType -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_time_off_balance_list import PaginatedTimeOffBalanceList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.time_off_balance import TimeOffBalance +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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_policy_type import TimeOffBalancesListRequestPolicyType class RawTimeOffBalancesClient: @@ -140,8 +139,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -208,8 +207,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawTimeOffBalancesClient: @@ -335,8 +334,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -403,5 +402,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/time_off_balances/types/__init__.py b/src/merge/resources/hris/resources/time_off_balances/types/__init__.py index 0cc91fc0..aa550133 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 @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .time_off_balances_list_request_policy_type import TimeOffBalancesListRequestPolicyType __all__ = ["TimeOffBalancesListRequestPolicyType"] diff --git a/src/merge/resources/hris/resources/timesheet_entries/__init__.py b/src/merge/resources/hris/resources/timesheet_entries/__init__.py index f9278b7c..7c7887d2 100644 --- a/src/merge/resources/hris/resources/timesheet_entries/__init__.py +++ b/src/merge/resources/hris/resources/timesheet_entries/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import TimesheetEntriesListRequestOrderBy __all__ = ["TimesheetEntriesListRequestOrderBy"] diff --git a/src/merge/resources/hris/resources/timesheet_entries/client.py b/src/merge/resources/hris/resources/timesheet_entries/client.py index 5945bdcc..5162fa48 100644 --- a/src/merge/resources/hris/resources/timesheet_entries/client.py +++ b/src/merge/resources/hris/resources/timesheet_entries/client.py @@ -1,18 +1,17 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawTimesheetEntriesClient import datetime as dt -from .types.timesheet_entries_list_request_order_by import TimesheetEntriesListRequestOrderBy +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions +from ...types.meta_response import MetaResponse from ...types.paginated_timesheet_entry_list import PaginatedTimesheetEntryList +from ...types.timesheet_entry import TimesheetEntry from ...types.timesheet_entry_request import TimesheetEntryRequest from ...types.timesheet_entry_response import TimesheetEntryResponse -from ...types.timesheet_entry import TimesheetEntry -from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawTimesheetEntriesClient +from .raw_client import AsyncRawTimesheetEntriesClient, RawTimesheetEntriesClient +from .types.timesheet_entries_list_request_order_by import TimesheetEntriesListRequestOrderBy # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -129,7 +128,7 @@ def list( ) client.hris.timesheet_entries.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -149,7 +148,7 @@ def list( started_before=started_before, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -193,10 +192,10 @@ def create( model=TimesheetEntryRequest(), ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options ) - return response.data + return _response.data def retrieve( self, @@ -243,14 +242,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -276,8 +275,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.hris.timesheet_entries.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data class AsyncTimesheetEntriesClient: @@ -399,7 +398,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -419,7 +418,7 @@ async def main() -> None: started_before=started_before, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -471,10 +470,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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 + return _response.data async def retrieve( self, @@ -529,14 +528,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -570,5 +569,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data 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 23fc8d43..6cf4cbb1 100644 --- a/src/merge/resources/hris/resources/timesheet_entries/raw_client.py +++ b/src/merge/resources/hris/resources/timesheet_entries/raw_client.py @@ -1,23 +1,22 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .types.timesheet_entries_list_request_order_by import TimesheetEntriesListRequestOrderBy -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_timesheet_entry_list import PaginatedTimesheetEntryList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.timesheet_entry_request import TimesheetEntryRequest -from ...types.timesheet_entry_response import TimesheetEntryResponse -from ...types.timesheet_entry import TimesheetEntry +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.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from ...types.paginated_timesheet_entry_list import PaginatedTimesheetEntryList +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_order_by import TimesheetEntriesListRequestOrderBy # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -149,8 +148,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -209,8 +208,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -267,8 +266,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -303,8 +302,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawTimesheetEntriesClient: @@ -433,8 +432,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -493,8 +492,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -551,8 +550,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -587,5 +586,5 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/resources/timesheet_entries/types/__init__.py b/src/merge/resources/hris/resources/timesheet_entries/types/__init__.py index c84dcce0..0695033f 100644 --- a/src/merge/resources/hris/resources/timesheet_entries/types/__init__.py +++ b/src/merge/resources/hris/resources/timesheet_entries/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .timesheet_entries_list_request_order_by import TimesheetEntriesListRequestOrderBy __all__ = ["TimesheetEntriesListRequestOrderBy"] diff --git a/src/merge/resources/hris/resources/webhook_receivers/__init__.py b/src/merge/resources/hris/resources/webhook_receivers/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/hris/resources/webhook_receivers/__init__.py +++ b/src/merge/resources/hris/resources/webhook_receivers/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/hris/resources/webhook_receivers/client.py b/src/merge/resources/hris/resources/webhook_receivers/client.py index c19ca2d0..94fbbe1d 100644 --- a/src/merge/resources/hris/resources/webhook_receivers/client.py +++ b/src/merge/resources/hris/resources/webhook_receivers/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawWebhookReceiversClient + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.webhook_receiver import WebhookReceiver -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawWebhookReceiversClient +from .raw_client import AsyncRawWebhookReceiversClient, RawWebhookReceiversClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -51,8 +50,8 @@ def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> ty ) client.hris.webhook_receivers.list() """ - response = self._raw_client.list(request_options=request_options) - return response.data + _response = self._raw_client.list(request_options=request_options) + return _response.data def create( self, @@ -94,8 +93,8 @@ def create( is_active=True, ) """ - response = self._raw_client.create(event=event, is_active=is_active, key=key, request_options=request_options) - return response.data + _response = self._raw_client.create(event=event, is_active=is_active, key=key, request_options=request_options) + return _response.data class AsyncWebhookReceiversClient: @@ -145,8 +144,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list(request_options=request_options) - return response.data + _response = await self._raw_client.list(request_options=request_options) + return _response.data async def create( self, @@ -196,7 +195,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _response = await self._raw_client.create( event=event, is_active=is_active, key=key, request_options=request_options ) - return response.data + return _response.data diff --git a/src/merge/resources/hris/resources/webhook_receivers/raw_client.py b/src/merge/resources/hris/resources/webhook_receivers/raw_client.py index 4d45c90b..436fce7b 100644 --- a/src/merge/resources/hris/resources/webhook_receivers/raw_client.py +++ b/src/merge/resources/hris/resources/webhook_receivers/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.webhook_receiver import WebhookReceiver -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -52,8 +51,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -108,8 +107,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -149,8 +148,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -205,5 +204,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/hris/types/__init__.py b/src/merge/resources/hris/types/__init__.py index 7fd25d1e..43825e60 100644 --- a/src/merge/resources/hris/types/__init__.py +++ b/src/merge/resources/hris/types/__init__.py @@ -1,9 +1,13 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + 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_enum import AccountDetailsAndActionsStatusEnum +from .account_details_category import AccountDetailsCategory from .account_integration import AccountIntegration from .account_token import AccountToken from .account_type_enum import AccountTypeEnum @@ -201,8 +205,10 @@ __all__ = [ "AccountDetails", "AccountDetailsAndActions", + "AccountDetailsAndActionsCategory", "AccountDetailsAndActionsIntegration", "AccountDetailsAndActionsStatusEnum", + "AccountDetailsCategory", "AccountIntegration", "AccountToken", "AccountTypeEnum", diff --git a/src/merge/resources/hris/types/account_details.py b/src/merge/resources/hris/types/account_details.py index b5bae11d..98923cd8 100644 --- a/src/merge/resources/hris/types/account_details.py +++ b/src/merge/resources/hris/types/account_details.py @@ -1,18 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing -from .category_enum import CategoryEnum + import pydantic -import datetime as dt 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[CategoryEnum] = 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 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 22726b6a..551a4fa5 100644 --- a/src/merge/resources/hris/types/account_details_and_actions.py +++ b/src/merge/resources/hris/types/account_details_and_actions.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing -from .category_enum import CategoryEnum -from .account_details_and_actions_status_enum import AccountDetailsAndActionsStatusEnum + import pydantic -from .account_details_and_actions_integration import AccountDetailsAndActionsIntegration -import datetime as dt 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_enum import AccountDetailsAndActionsStatusEnum class AccountDetailsAndActions(UncheckedBaseModel): @@ -21,7 +22,7 @@ class AccountDetailsAndActions(UncheckedBaseModel): """ id: str - category: typing.Optional[CategoryEnum] = None + category: typing.Optional[AccountDetailsAndActionsCategory] = None status: AccountDetailsAndActionsStatusEnum status_detail: typing.Optional[str] = None end_user_origin_id: typing.Optional[str] = None @@ -41,6 +42,7 @@ 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_details_and_actions_category.py b/src/merge/resources/hris/types/account_details_and_actions_category.py new file mode 100644 index 00000000..93b4188b --- /dev/null +++ b/src/merge/resources/hris/types/account_details_and_actions_category.py @@ -0,0 +1,7 @@ +# 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/hris/types/account_details_and_actions_integration.py b/src/merge/resources/hris/types/account_details_and_actions_integration.py index d3826f1b..73467bbb 100644 --- a/src/merge/resources/hris/types/account_details_and_actions_integration.py +++ b/src/merge/resources/hris/types/account_details_and_actions_integration.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel 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 -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class AccountDetailsAndActionsIntegration(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/account_details_category.py b/src/merge/resources/hris/types/account_details_category.py new file mode 100644 index 00000000..8a0cc59c --- /dev/null +++ b/src/merge/resources/hris/types/account_details_category.py @@ -0,0 +1,7 @@ +# 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/hris/types/account_integration.py b/src/merge/resources/hris/types/account_integration.py index 9695197b..ef8b260d 100644 --- a/src/merge/resources/hris/types/account_integration.py +++ b/src/merge/resources/hris/types/account_integration.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import pydantic import typing -from .categories_enum import CategoriesEnum + +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): diff --git a/src/merge/resources/hris/types/account_token.py b/src/merge/resources/hris/types/account_token.py index 0fc6016b..6e82c8ac 100644 --- a/src/merge/resources/hris/types/account_token.py +++ b/src/merge/resources/hris/types/account_token.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .account_integration import AccountIntegration -from ....core.pydantic_utilities import IS_PYDANTIC_V2 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): diff --git a/src/merge/resources/hris/types/advanced_metadata.py b/src/merge/resources/hris/types/advanced_metadata.py index 7b4d6211..60b5d072 100644 --- a/src/merge/resources/hris/types/advanced_metadata.py +++ b/src/merge/resources/hris/types/advanced_metadata.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class AdvancedMetadata(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/async_passthrough_reciept.py b/src/merge/resources/hris/types/async_passthrough_reciept.py index 4e217ee9..21c95080 100644 --- a/src/merge/resources/hris/types/async_passthrough_reciept.py +++ b/src/merge/resources/hris/types/async_passthrough_reciept.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class AsyncPassthroughReciept(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/audit_log_event.py b/src/merge/resources/hris/types/audit_log_event.py index 1cf6997a..ab69fd32 100644 --- a/src/merge/resources/hris/types/audit_log_event.py +++ b/src/merge/resources/hris/types/audit_log_event.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -from .audit_log_event_role import AuditLogEventRole -from .audit_log_event_event_type import AuditLogEventEventType -import datetime as dt 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): @@ -43,6 +44,7 @@ class AuditLogEvent(UncheckedBaseModel): * `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 diff --git a/src/merge/resources/hris/types/audit_log_event_event_type.py b/src/merge/resources/hris/types/audit_log_event_event_type.py index f9d43eed..f9c9d2b3 100644 --- a/src/merge/resources/hris/types/audit_log_event_event_type.py +++ b/src/merge/resources/hris/types/audit_log_event_event_type.py @@ -1,6 +1,7 @@ # 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/hris/types/audit_log_event_role.py b/src/merge/resources/hris/types/audit_log_event_role.py index 83ecd93a..fe91ed6f 100644 --- a/src/merge/resources/hris/types/audit_log_event_role.py +++ b/src/merge/resources/hris/types/audit_log_event_role.py @@ -1,6 +1,7 @@ # 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/hris/types/available_actions.py b/src/merge/resources/hris/types/available_actions.py index f4361dd0..8b5019d7 100644 --- a/src/merge/resources/hris/types/available_actions.py +++ b/src/merge/resources/hris/types/available_actions.py @@ -1,11 +1,12 @@ # 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 -import typing from .model_operation import ModelOperation -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class AvailableActions(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/bank_info.py b/src/merge/resources/hris/types/bank_info.py index ec75362e..5cf08ec9 100644 --- a/src/merge/resources/hris/types/bank_info.py +++ b/src/merge/resources/hris/types/bank_info.py @@ -1,16 +1,16 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .employee import Employee -from .employment import Employment -from .team import Team +from __future__ import annotations + +import datetime as dt import typing + import pydantic -import datetime as dt -from .bank_info_employee import BankInfoEmployee +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel from .bank_info_account_type import BankInfoAccountType +from .bank_info_employee import BankInfoEmployee from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class BankInfo(UncheckedBaseModel): @@ -88,3 +88,10 @@ class Config: frozen = True smart_union = True 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/bank_info_account_type.py b/src/merge/resources/hris/types/bank_info_account_type.py index 31056616..9fe05384 100644 --- a/src/merge/resources/hris/types/bank_info_account_type.py +++ b/src/merge/resources/hris/types/bank_info_account_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account_type_enum import AccountTypeEnum BankInfoAccountType = typing.Union[AccountTypeEnum, str] diff --git a/src/merge/resources/hris/types/bank_info_employee.py b/src/merge/resources/hris/types/bank_info_employee.py index 17874e5a..b81c6648 100644 --- a/src/merge/resources/hris/types/bank_info_employee.py +++ b/src/merge/resources/hris/types/bank_info_employee.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .employee import Employee BankInfoEmployee = typing.Union[str, Employee] diff --git a/src/merge/resources/hris/types/benefit.py b/src/merge/resources/hris/types/benefit.py index 58c5f44f..fb4a9388 100644 --- a/src/merge/resources/hris/types/benefit.py +++ b/src/merge/resources/hris/types/benefit.py @@ -1,15 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .employee import Employee -from .employment import Employment -from .team import Team +from __future__ import annotations + +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel from .benefit_employee import BenefitEmployee from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class Benefit(UncheckedBaseModel): @@ -94,3 +94,10 @@ class Config: frozen = True smart_union = True 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/benefit_employee.py b/src/merge/resources/hris/types/benefit_employee.py index aba7102a..4ded9a94 100644 --- a/src/merge/resources/hris/types/benefit_employee.py +++ b/src/merge/resources/hris/types/benefit_employee.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .employee import Employee BenefitEmployee = typing.Union[str, Employee] diff --git a/src/merge/resources/hris/types/common_model_scope_api.py b/src/merge/resources/hris/types/common_model_scope_api.py index e372d68b..5484808d 100644 --- a/src/merge/resources/hris/types/common_model_scope_api.py +++ b/src/merge/resources/hris/types/common_model_scope_api.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .individual_common_model_scope_deserializer import IndividualCommonModelScopeDeserializer + 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): diff --git a/src/merge/resources/hris/types/common_model_scopes_body_request.py b/src/merge/resources/hris/types/common_model_scopes_body_request.py index 4a2f10cb..a9fed25b 100644 --- a/src/merge/resources/hris/types/common_model_scopes_body_request.py +++ b/src/merge/resources/hris/types/common_model_scopes_body_request.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .enabled_actions_enum import EnabledActionsEnum -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/hris/types/company.py b/src/merge/resources/hris/types/company.py index 882babea..226660f0 100644 --- a/src/merge/resources/hris/types/company.py +++ b/src/merge/resources/hris/types/company.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .remote_data import RemoteData from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_data import RemoteData class Company(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/data_passthrough_request.py b/src/merge/resources/hris/types/data_passthrough_request.py index 37920aa3..c9f0a799 100644 --- a/src/merge/resources/hris/types/data_passthrough_request.py +++ b/src/merge/resources/hris/types/data_passthrough_request.py @@ -1,12 +1,13 @@ # 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 -import pydantic -import typing from .multipart_form_field_request import MultipartFormFieldRequest from .request_format_enum import RequestFormatEnum -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class DataPassthroughRequest(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/debug_mode_log.py b/src/merge/resources/hris/types/debug_mode_log.py index 7dcc7458..9c7d2a3f 100644 --- a/src/merge/resources/hris/types/debug_mode_log.py +++ b/src/merge/resources/hris/types/debug_mode_log.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .debug_model_log_summary import DebugModelLogSummary -from ....core.pydantic_utilities import IS_PYDANTIC_V2 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): diff --git a/src/merge/resources/hris/types/debug_model_log_summary.py b/src/merge/resources/hris/types/debug_model_log_summary.py index 105e3136..d7e1d3e6 100644 --- a/src/merge/resources/hris/types/debug_model_log_summary.py +++ b/src/merge/resources/hris/types/debug_model_log_summary.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class DebugModelLogSummary(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/deduction.py b/src/merge/resources/hris/types/deduction.py index b33c0068..22130e29 100644 --- a/src/merge/resources/hris/types/deduction.py +++ b/src/merge/resources/hris/types/deduction.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .remote_data import RemoteData from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_data import RemoteData class Deduction(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/dependent.py b/src/merge/resources/hris/types/dependent.py index c5ee9057..63957fcb 100644 --- a/src/merge/resources/hris/types/dependent.py +++ b/src/merge/resources/hris/types/dependent.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .dependent_relationship import DependentRelationship +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .dependent_gender import DependentGender +from .dependent_relationship import DependentRelationship from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class Dependent(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/dependent_gender.py b/src/merge/resources/hris/types/dependent_gender.py index 33599e78..66eddd90 100644 --- a/src/merge/resources/hris/types/dependent_gender.py +++ b/src/merge/resources/hris/types/dependent_gender.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .gender_enum import GenderEnum DependentGender = typing.Union[GenderEnum, str] diff --git a/src/merge/resources/hris/types/dependent_relationship.py b/src/merge/resources/hris/types/dependent_relationship.py index f8c69152..7fcbcf3b 100644 --- a/src/merge/resources/hris/types/dependent_relationship.py +++ b/src/merge/resources/hris/types/dependent_relationship.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .relationship_enum import RelationshipEnum DependentRelationship = typing.Union[RelationshipEnum, str] diff --git a/src/merge/resources/hris/types/earning.py b/src/merge/resources/hris/types/earning.py index 43d0a573..6868fd57 100644 --- a/src/merge/resources/hris/types/earning.py +++ b/src/merge/resources/hris/types/earning.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .earning_type import EarningType from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class Earning(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/earning_type.py b/src/merge/resources/hris/types/earning_type.py index 45b7e816..e6bdef05 100644 --- a/src/merge/resources/hris/types/earning_type.py +++ b/src/merge/resources/hris/types/earning_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .earning_type_enum import EarningTypeEnum EarningType = typing.Union[EarningTypeEnum, str] diff --git a/src/merge/resources/hris/types/employee.py b/src/merge/resources/hris/types/employee.py index b915d825..2c7d8d1c 100644 --- a/src/merge/resources/hris/types/employee.py +++ b/src/merge/resources/hris/types/employee.py @@ -1,24 +1,24 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -from ....core.unchecked_base_model import UncheckedBaseModel -from .team import Team + +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel from .employee_company import EmployeeCompany +from .employee_employment_status import EmployeeEmploymentStatus +from .employee_ethnicity import EmployeeEthnicity +from .employee_gender import EmployeeGender from .employee_groups_item import EmployeeGroupsItem from .employee_home_location import EmployeeHomeLocation -from .employee_work_location import EmployeeWorkLocation -from .employee_team import EmployeeTeam -from .employee_pay_group import EmployeePayGroup -from .employee_gender import EmployeeGender -from .employee_ethnicity import EmployeeEthnicity from .employee_marital_status import EmployeeMaritalStatus -from .employee_employment_status import EmployeeEmploymentStatus +from .employee_pay_group import EmployeePayGroup +from .employee_team import EmployeeTeam +from .employee_work_location import EmployeeWorkLocation from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.pydantic_utilities import update_forward_refs class Employee(UncheckedBaseModel): @@ -231,8 +231,9 @@ class Config: extra = pydantic.Extra.allow -from .employment import Employment # noqa: E402 -from .employee_employments_item import EmployeeEmploymentsItem # noqa: E402 -from .employee_manager import EmployeeManager # noqa: E402 +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 update_forward_refs(Employee) diff --git a/src/merge/resources/hris/types/employee_company.py b/src/merge/resources/hris/types/employee_company.py index 4143b131..ff02a5e3 100644 --- a/src/merge/resources/hris/types/employee_company.py +++ b/src/merge/resources/hris/types/employee_company.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .company import Company EmployeeCompany = typing.Union[str, Company] diff --git a/src/merge/resources/hris/types/employee_employment_status.py b/src/merge/resources/hris/types/employee_employment_status.py index cabf35ed..a501c497 100644 --- a/src/merge/resources/hris/types/employee_employment_status.py +++ b/src/merge/resources/hris/types/employee_employment_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .employment_status_enum import EmploymentStatusEnum EmployeeEmploymentStatus = typing.Union[EmploymentStatusEnum, str] diff --git a/src/merge/resources/hris/types/employee_employments_item.py b/src/merge/resources/hris/types/employee_employments_item.py index a383abf1..eecfd7fa 100644 --- a/src/merge/resources/hris/types/employee_employments_item.py +++ b/src/merge/resources/hris/types/employee_employments_item.py @@ -1,7 +1,7 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -import typing + import typing if typing.TYPE_CHECKING: diff --git a/src/merge/resources/hris/types/employee_ethnicity.py b/src/merge/resources/hris/types/employee_ethnicity.py index d88ccd5d..1542c26b 100644 --- a/src/merge/resources/hris/types/employee_ethnicity.py +++ b/src/merge/resources/hris/types/employee_ethnicity.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .ethnicity_enum import EthnicityEnum EmployeeEthnicity = typing.Union[EthnicityEnum, str] diff --git a/src/merge/resources/hris/types/employee_gender.py b/src/merge/resources/hris/types/employee_gender.py index b30306c5..e952a266 100644 --- a/src/merge/resources/hris/types/employee_gender.py +++ b/src/merge/resources/hris/types/employee_gender.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .gender_enum import GenderEnum EmployeeGender = typing.Union[GenderEnum, str] diff --git a/src/merge/resources/hris/types/employee_groups_item.py b/src/merge/resources/hris/types/employee_groups_item.py index 0e535588..c593a390 100644 --- a/src/merge/resources/hris/types/employee_groups_item.py +++ b/src/merge/resources/hris/types/employee_groups_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .group import Group EmployeeGroupsItem = typing.Union[str, Group] diff --git a/src/merge/resources/hris/types/employee_home_location.py b/src/merge/resources/hris/types/employee_home_location.py index 7093f9ad..47c456b9 100644 --- a/src/merge/resources/hris/types/employee_home_location.py +++ b/src/merge/resources/hris/types/employee_home_location.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .location import Location EmployeeHomeLocation = typing.Union[str, Location] diff --git a/src/merge/resources/hris/types/employee_manager.py b/src/merge/resources/hris/types/employee_manager.py index 581173b6..d150513c 100644 --- a/src/merge/resources/hris/types/employee_manager.py +++ b/src/merge/resources/hris/types/employee_manager.py @@ -1,7 +1,7 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -import typing + import typing if typing.TYPE_CHECKING: diff --git a/src/merge/resources/hris/types/employee_marital_status.py b/src/merge/resources/hris/types/employee_marital_status.py index 9c59eecb..4224f2f8 100644 --- a/src/merge/resources/hris/types/employee_marital_status.py +++ b/src/merge/resources/hris/types/employee_marital_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .marital_status_enum import MaritalStatusEnum EmployeeMaritalStatus = typing.Union[MaritalStatusEnum, str] diff --git a/src/merge/resources/hris/types/employee_pay_group.py b/src/merge/resources/hris/types/employee_pay_group.py index 3ebdac7a..bbd48716 100644 --- a/src/merge/resources/hris/types/employee_pay_group.py +++ b/src/merge/resources/hris/types/employee_pay_group.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .pay_group import PayGroup EmployeePayGroup = typing.Union[str, PayGroup] diff --git a/src/merge/resources/hris/types/employee_payroll_run.py b/src/merge/resources/hris/types/employee_payroll_run.py index 804f15f6..b93496a5 100644 --- a/src/merge/resources/hris/types/employee_payroll_run.py +++ b/src/merge/resources/hris/types/employee_payroll_run.py @@ -1,19 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .employee import Employee -from .employment import Employment -from .team import Team +from __future__ import annotations + +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .deduction import Deduction +from .earning import Earning from .employee_payroll_run_employee import EmployeePayrollRunEmployee from .employee_payroll_run_payroll_run import EmployeePayrollRunPayrollRun -from .earning import Earning -from .deduction import Deduction -from .tax import Tax from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from .tax import Tax class EmployeePayrollRun(UncheckedBaseModel): @@ -96,3 +96,10 @@ class Config: frozen = True smart_union = True 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_payroll_run_employee.py b/src/merge/resources/hris/types/employee_payroll_run_employee.py index c0d50ebb..81b936f7 100644 --- a/src/merge/resources/hris/types/employee_payroll_run_employee.py +++ b/src/merge/resources/hris/types/employee_payroll_run_employee.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .employee import Employee EmployeePayrollRunEmployee = typing.Union[str, Employee] diff --git a/src/merge/resources/hris/types/employee_payroll_run_payroll_run.py b/src/merge/resources/hris/types/employee_payroll_run_payroll_run.py index 5fcdf8ce..df420988 100644 --- a/src/merge/resources/hris/types/employee_payroll_run_payroll_run.py +++ b/src/merge/resources/hris/types/employee_payroll_run_payroll_run.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .payroll_run import PayrollRun EmployeePayrollRunPayrollRun = typing.Union[str, PayrollRun] diff --git a/src/merge/resources/hris/types/employee_request.py b/src/merge/resources/hris/types/employee_request.py index 75e4b33f..47c055f1 100644 --- a/src/merge/resources/hris/types/employee_request.py +++ b/src/merge/resources/hris/types/employee_request.py @@ -1,25 +1,25 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .employee import Employee -from .employment import Employment -from .team import Team +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 .employee_request_company import EmployeeRequestCompany -from .employee_request_groups_item import EmployeeRequestGroupsItem +from .employee_request_employment_status import EmployeeRequestEmploymentStatus from .employee_request_employments_item import EmployeeRequestEmploymentsItem +from .employee_request_ethnicity import EmployeeRequestEthnicity +from .employee_request_gender import EmployeeRequestGender +from .employee_request_groups_item import EmployeeRequestGroupsItem from .employee_request_home_location import EmployeeRequestHomeLocation -from .employee_request_work_location import EmployeeRequestWorkLocation from .employee_request_manager import EmployeeRequestManager -from .employee_request_team import EmployeeRequestTeam -from .employee_request_pay_group import EmployeeRequestPayGroup -from .employee_request_gender import EmployeeRequestGender -from .employee_request_ethnicity import EmployeeRequestEthnicity from .employee_request_marital_status import EmployeeRequestMaritalStatus -import datetime as dt -from .employee_request_employment_status import EmployeeRequestEmploymentStatus -from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from .employee_request_pay_group import EmployeeRequestPayGroup +from .employee_request_team import EmployeeRequestTeam +from .employee_request_work_location import EmployeeRequestWorkLocation class EmployeeRequest(UncheckedBaseModel): @@ -201,3 +201,10 @@ class Config: frozen = True smart_union = True 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_request_company.py b/src/merge/resources/hris/types/employee_request_company.py index 1239be14..e17c35a2 100644 --- a/src/merge/resources/hris/types/employee_request_company.py +++ b/src/merge/resources/hris/types/employee_request_company.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .company import Company EmployeeRequestCompany = typing.Union[str, Company] diff --git a/src/merge/resources/hris/types/employee_request_employment_status.py b/src/merge/resources/hris/types/employee_request_employment_status.py index a4b01832..f4c180c5 100644 --- a/src/merge/resources/hris/types/employee_request_employment_status.py +++ b/src/merge/resources/hris/types/employee_request_employment_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .employment_status_enum import EmploymentStatusEnum EmployeeRequestEmploymentStatus = typing.Union[EmploymentStatusEnum, str] diff --git a/src/merge/resources/hris/types/employee_request_employments_item.py b/src/merge/resources/hris/types/employee_request_employments_item.py index 40921da3..cc4eee8a 100644 --- a/src/merge/resources/hris/types/employee_request_employments_item.py +++ b/src/merge/resources/hris/types/employee_request_employments_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .employment import Employment EmployeeRequestEmploymentsItem = typing.Union[str, Employment] diff --git a/src/merge/resources/hris/types/employee_request_ethnicity.py b/src/merge/resources/hris/types/employee_request_ethnicity.py index 8b32c44e..8816900a 100644 --- a/src/merge/resources/hris/types/employee_request_ethnicity.py +++ b/src/merge/resources/hris/types/employee_request_ethnicity.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .ethnicity_enum import EthnicityEnum EmployeeRequestEthnicity = typing.Union[EthnicityEnum, str] diff --git a/src/merge/resources/hris/types/employee_request_gender.py b/src/merge/resources/hris/types/employee_request_gender.py index e083b406..b6199f45 100644 --- a/src/merge/resources/hris/types/employee_request_gender.py +++ b/src/merge/resources/hris/types/employee_request_gender.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .gender_enum import GenderEnum EmployeeRequestGender = typing.Union[GenderEnum, str] diff --git a/src/merge/resources/hris/types/employee_request_groups_item.py b/src/merge/resources/hris/types/employee_request_groups_item.py index fb12b2e7..6507e912 100644 --- a/src/merge/resources/hris/types/employee_request_groups_item.py +++ b/src/merge/resources/hris/types/employee_request_groups_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .group import Group EmployeeRequestGroupsItem = typing.Union[str, Group] diff --git a/src/merge/resources/hris/types/employee_request_home_location.py b/src/merge/resources/hris/types/employee_request_home_location.py index 584855d4..ac679a4e 100644 --- a/src/merge/resources/hris/types/employee_request_home_location.py +++ b/src/merge/resources/hris/types/employee_request_home_location.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .location import Location EmployeeRequestHomeLocation = typing.Union[str, Location] diff --git a/src/merge/resources/hris/types/employee_request_manager.py b/src/merge/resources/hris/types/employee_request_manager.py index 1280ad33..7951bebb 100644 --- a/src/merge/resources/hris/types/employee_request_manager.py +++ b/src/merge/resources/hris/types/employee_request_manager.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .employee import Employee EmployeeRequestManager = typing.Union[str, Employee] diff --git a/src/merge/resources/hris/types/employee_request_marital_status.py b/src/merge/resources/hris/types/employee_request_marital_status.py index 60dffaeb..726b8287 100644 --- a/src/merge/resources/hris/types/employee_request_marital_status.py +++ b/src/merge/resources/hris/types/employee_request_marital_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .marital_status_enum import MaritalStatusEnum EmployeeRequestMaritalStatus = typing.Union[MaritalStatusEnum, str] diff --git a/src/merge/resources/hris/types/employee_request_pay_group.py b/src/merge/resources/hris/types/employee_request_pay_group.py index cb9a2a25..383335c7 100644 --- a/src/merge/resources/hris/types/employee_request_pay_group.py +++ b/src/merge/resources/hris/types/employee_request_pay_group.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .pay_group import PayGroup EmployeeRequestPayGroup = typing.Union[str, PayGroup] diff --git a/src/merge/resources/hris/types/employee_request_team.py b/src/merge/resources/hris/types/employee_request_team.py index d3bfd5a3..a08d6d41 100644 --- a/src/merge/resources/hris/types/employee_request_team.py +++ b/src/merge/resources/hris/types/employee_request_team.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .team import Team EmployeeRequestTeam = typing.Union[str, Team] diff --git a/src/merge/resources/hris/types/employee_request_work_location.py b/src/merge/resources/hris/types/employee_request_work_location.py index 8580ad11..118c99b5 100644 --- a/src/merge/resources/hris/types/employee_request_work_location.py +++ b/src/merge/resources/hris/types/employee_request_work_location.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .location import Location EmployeeRequestWorkLocation = typing.Union[str, Location] diff --git a/src/merge/resources/hris/types/employee_response.py b/src/merge/resources/hris/types/employee_response.py index e24876d4..d703cc1c 100644 --- a/src/merge/resources/hris/types/employee_response.py +++ b/src/merge/resources/hris/types/employee_response.py @@ -1,19 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .employee import Employee -from .employment import Employment -from .team import Team +from __future__ import annotations + import typing -from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem -from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .debug_mode_log import DebugModeLog +from .error_validation_problem import ErrorValidationProblem +from .warning_validation_problem import WarningValidationProblem class EmployeeResponse(UncheckedBaseModel): - model: Employee + model: "Employee" warnings: typing.List[WarningValidationProblem] errors: typing.List[ErrorValidationProblem] logs: typing.Optional[typing.List[DebugModeLog]] = None @@ -26,3 +26,10 @@ class Config: frozen = True smart_union = True 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(EmployeeResponse) diff --git a/src/merge/resources/hris/types/employee_team.py b/src/merge/resources/hris/types/employee_team.py index 49f5e252..5e623a95 100644 --- a/src/merge/resources/hris/types/employee_team.py +++ b/src/merge/resources/hris/types/employee_team.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .team import Team EmployeeTeam = typing.Union[str, Team] diff --git a/src/merge/resources/hris/types/employee_work_location.py b/src/merge/resources/hris/types/employee_work_location.py index 46a89c37..9a38a1d8 100644 --- a/src/merge/resources/hris/types/employee_work_location.py +++ b/src/merge/resources/hris/types/employee_work_location.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .location import Location EmployeeWorkLocation = typing.Union[str, Location] diff --git a/src/merge/resources/hris/types/employer_benefit.py b/src/merge/resources/hris/types/employer_benefit.py index 13601d8f..f0a56f45 100644 --- a/src/merge/resources/hris/types/employer_benefit.py +++ b/src/merge/resources/hris/types/employer_benefit.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .employer_benefit_benefit_plan_type import EmployerBenefitBenefitPlanType from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class EmployerBenefit(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/employer_benefit_benefit_plan_type.py b/src/merge/resources/hris/types/employer_benefit_benefit_plan_type.py index bc0bd245..c2eae35a 100644 --- a/src/merge/resources/hris/types/employer_benefit_benefit_plan_type.py +++ b/src/merge/resources/hris/types/employer_benefit_benefit_plan_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .benefit_plan_type_enum import BenefitPlanTypeEnum EmployerBenefitBenefitPlanType = typing.Union[BenefitPlanTypeEnum, str] diff --git a/src/merge/resources/hris/types/employment.py b/src/merge/resources/hris/types/employment.py index b5611be4..cb2158ff 100644 --- a/src/merge/resources/hris/types/employment.py +++ b/src/merge/resources/hris/types/employment.py @@ -1,20 +1,20 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -from ....core.unchecked_base_model import UncheckedBaseModel -from .team import Team + +import datetime as dt import typing + import pydantic -import datetime as dt -from .employment_pay_period import EmploymentPayPeriod -from .employment_pay_frequency import EmploymentPayFrequency +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .employment_employment_type import EmploymentEmploymentType +from .employment_flsa_status import EmploymentFlsaStatus from .employment_pay_currency import EmploymentPayCurrency +from .employment_pay_frequency import EmploymentPayFrequency from .employment_pay_group import EmploymentPayGroup -from .employment_flsa_status import EmploymentFlsaStatus -from .employment_employment_type import EmploymentEmploymentType +from .employment_pay_period import EmploymentPayPeriod from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.pydantic_utilities import update_forward_refs class Employment(UncheckedBaseModel): @@ -451,7 +451,8 @@ class Config: extra = pydantic.Extra.allow -from .employee import Employee # noqa: E402 -from .employment_employee import EmploymentEmployee # noqa: E402 +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 update_forward_refs(Employment) diff --git a/src/merge/resources/hris/types/employment_employee.py b/src/merge/resources/hris/types/employment_employee.py index 3ad5d50f..94306341 100644 --- a/src/merge/resources/hris/types/employment_employee.py +++ b/src/merge/resources/hris/types/employment_employee.py @@ -1,7 +1,7 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -import typing + import typing if typing.TYPE_CHECKING: diff --git a/src/merge/resources/hris/types/employment_employment_type.py b/src/merge/resources/hris/types/employment_employment_type.py index 758c5e93..da342b88 100644 --- a/src/merge/resources/hris/types/employment_employment_type.py +++ b/src/merge/resources/hris/types/employment_employment_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .employment_type_enum import EmploymentTypeEnum EmploymentEmploymentType = typing.Union[EmploymentTypeEnum, str] diff --git a/src/merge/resources/hris/types/employment_flsa_status.py b/src/merge/resources/hris/types/employment_flsa_status.py index ede105f0..8a06740b 100644 --- a/src/merge/resources/hris/types/employment_flsa_status.py +++ b/src/merge/resources/hris/types/employment_flsa_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .flsa_status_enum import FlsaStatusEnum EmploymentFlsaStatus = typing.Union[FlsaStatusEnum, str] diff --git a/src/merge/resources/hris/types/employment_pay_currency.py b/src/merge/resources/hris/types/employment_pay_currency.py index d941d0d3..83fa04b0 100644 --- a/src/merge/resources/hris/types/employment_pay_currency.py +++ b/src/merge/resources/hris/types/employment_pay_currency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .pay_currency_enum import PayCurrencyEnum EmploymentPayCurrency = typing.Union[PayCurrencyEnum, str] diff --git a/src/merge/resources/hris/types/employment_pay_frequency.py b/src/merge/resources/hris/types/employment_pay_frequency.py index bde6467d..93d7d2a5 100644 --- a/src/merge/resources/hris/types/employment_pay_frequency.py +++ b/src/merge/resources/hris/types/employment_pay_frequency.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .pay_frequency_enum import PayFrequencyEnum EmploymentPayFrequency = typing.Union[PayFrequencyEnum, str] diff --git a/src/merge/resources/hris/types/employment_pay_group.py b/src/merge/resources/hris/types/employment_pay_group.py index 34d4aee3..d2259900 100644 --- a/src/merge/resources/hris/types/employment_pay_group.py +++ b/src/merge/resources/hris/types/employment_pay_group.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .pay_group import PayGroup EmploymentPayGroup = typing.Union[str, PayGroup] diff --git a/src/merge/resources/hris/types/employment_pay_period.py b/src/merge/resources/hris/types/employment_pay_period.py index 642590fd..96945814 100644 --- a/src/merge/resources/hris/types/employment_pay_period.py +++ b/src/merge/resources/hris/types/employment_pay_period.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .pay_period_enum import PayPeriodEnum EmploymentPayPeriod = typing.Union[PayPeriodEnum, str] diff --git a/src/merge/resources/hris/types/error_validation_problem.py b/src/merge/resources/hris/types/error_validation_problem.py index a3cef60c..04f82d05 100644 --- a/src/merge/resources/hris/types/error_validation_problem.py +++ b/src/merge/resources/hris/types/error_validation_problem.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .validation_problem_source import ValidationProblemSource -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/hris/types/event_type_enum.py b/src/merge/resources/hris/types/event_type_enum.py index 28f9cfec..537cea3f 100644 --- a/src/merge/resources/hris/types/event_type_enum.py +++ b/src/merge/resources/hris/types/event_type_enum.py @@ -13,6 +13,7 @@ class EventTypeEnum(str, enum.Enum): * `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 @@ -57,6 +58,7 @@ class EventTypeEnum(str, enum.Enum): 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" @@ -102,6 +104,7 @@ def visit( 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], @@ -150,6 +153,8 @@ def visit( 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: diff --git a/src/merge/resources/hris/types/external_target_field_api.py b/src/merge/resources/hris/types/external_target_field_api.py index 2f0677ba..c0fea1eb 100644 --- a/src/merge/resources/hris/types/external_target_field_api.py +++ b/src/merge/resources/hris/types/external_target_field_api.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ExternalTargetFieldApi(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/external_target_field_api_response.py b/src/merge/resources/hris/types/external_target_field_api_response.py index 5b5db293..33c62878 100644 --- a/src/merge/resources/hris/types/external_target_field_api_response.py +++ b/src/merge/resources/hris/types/external_target_field_api_response.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .external_target_field_api import ExternalTargetFieldApi + 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): 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 566f157c..a5815313 100644 --- a/src/merge/resources/hris/types/field_mapping_api_instance.py +++ b/src/merge/resources/hris/types/field_mapping_api_instance.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .field_mapping_api_instance_target_field import FieldMappingApiInstanceTargetField -from .field_mapping_api_instance_remote_field import FieldMappingApiInstanceRemoteField -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): 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 d47c8008..578a2b10 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 @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel 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, ) -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class FieldMappingApiInstanceRemoteField(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py b/src/merge/resources/hris/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py index 706ba0b2..4171f08b 100644 --- a/src/merge/resources/hris/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py +++ b/src/merge/resources/hris/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/field_mapping_api_instance_response.py b/src/merge/resources/hris/types/field_mapping_api_instance_response.py index 0580f954..3b6fc77f 100644 --- a/src/merge/resources/hris/types/field_mapping_api_instance_response.py +++ b/src/merge/resources/hris/types/field_mapping_api_instance_response.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .field_mapping_api_instance import FieldMappingApiInstance + 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): diff --git a/src/merge/resources/hris/types/field_mapping_api_instance_target_field.py b/src/merge/resources/hris/types/field_mapping_api_instance_target_field.py index 32fd6f63..e6474cba 100644 --- a/src/merge/resources/hris/types/field_mapping_api_instance_target_field.py +++ b/src/merge/resources/hris/types/field_mapping_api_instance_target_field.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class FieldMappingApiInstanceTargetField(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/field_mapping_instance_response.py b/src/merge/resources/hris/types/field_mapping_instance_response.py index fd9b7493..f921e641 100644 --- a/src/merge/resources/hris/types/field_mapping_instance_response.py +++ b/src/merge/resources/hris/types/field_mapping_instance_response.py @@ -1,13 +1,14 @@ # 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 -import typing from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem -from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class FieldMappingInstanceResponse(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/field_permission_deserializer.py b/src/merge/resources/hris/types/field_permission_deserializer.py index 84124686..1d71ae04 100644 --- a/src/merge/resources/hris/types/field_permission_deserializer.py +++ b/src/merge/resources/hris/types/field_permission_deserializer.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class FieldPermissionDeserializer(UncheckedBaseModel): 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 c701f1d0..a4113b46 100644 --- a/src/merge/resources/hris/types/field_permission_deserializer_request.py +++ b/src/merge/resources/hris/types/field_permission_deserializer_request.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class FieldPermissionDeserializerRequest(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/group.py b/src/merge/resources/hris/types/group.py index 881d801e..d52c68d4 100644 --- a/src/merge/resources/hris/types/group.py +++ b/src/merge/resources/hris/types/group.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .group_type import GroupType from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class Group(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/group_type.py b/src/merge/resources/hris/types/group_type.py index 16e531d3..e0172fc6 100644 --- a/src/merge/resources/hris/types/group_type.py +++ b/src/merge/resources/hris/types/group_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .group_type_enum import GroupTypeEnum GroupType = typing.Union[GroupTypeEnum, str] diff --git a/src/merge/resources/hris/types/individual_common_model_scope_deserializer.py b/src/merge/resources/hris/types/individual_common_model_scope_deserializer.py index 2883752e..4b1ef6a4 100644 --- a/src/merge/resources/hris/types/individual_common_model_scope_deserializer.py +++ b/src/merge/resources/hris/types/individual_common_model_scope_deserializer.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .model_permission_deserializer import ModelPermissionDeserializer -from .field_permission_deserializer import FieldPermissionDeserializer -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/hris/types/individual_common_model_scope_deserializer_request.py b/src/merge/resources/hris/types/individual_common_model_scope_deserializer_request.py index 785e3287..1dcda203 100644 --- a/src/merge/resources/hris/types/individual_common_model_scope_deserializer_request.py +++ b/src/merge/resources/hris/types/individual_common_model_scope_deserializer_request.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .model_permission_deserializer_request import ModelPermissionDeserializerRequest -from .field_permission_deserializer_request import FieldPermissionDeserializerRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/hris/types/issue.py b/src/merge/resources/hris/types/issue.py index ebaca8b1..df31be95 100644 --- a/src/merge/resources/hris/types/issue.py +++ b/src/merge/resources/hris/types/issue.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing -from .issue_status import IssueStatus + import pydantic -import datetime as dt from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .issue_status import IssueStatus class Issue(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/issue_status.py b/src/merge/resources/hris/types/issue_status.py index 59d004d8..8e4d6516 100644 --- a/src/merge/resources/hris/types/issue_status.py +++ b/src/merge/resources/hris/types/issue_status.py @@ -1,6 +1,7 @@ # 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/hris/types/link_token.py b/src/merge/resources/hris/types/link_token.py index 273b4add..f78dedeb 100644 --- a/src/merge/resources/hris/types/link_token.py +++ b/src/merge/resources/hris/types/link_token.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class LinkToken(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/linked_account_status.py b/src/merge/resources/hris/types/linked_account_status.py index fe00263e..ab2e0f09 100644 --- a/src/merge/resources/hris/types/linked_account_status.py +++ b/src/merge/resources/hris/types/linked_account_status.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class LinkedAccountStatus(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/location.py b/src/merge/resources/hris/types/location.py index 7794d2c8..db6d7b66 100644 --- a/src/merge/resources/hris/types/location.py +++ b/src/merge/resources/hris/types/location.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .location_country import LocationCountry from .location_location_type import LocationLocationType from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class Location(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/location_country.py b/src/merge/resources/hris/types/location_country.py index 66d7be3d..5fd5a9c1 100644 --- a/src/merge/resources/hris/types/location_country.py +++ b/src/merge/resources/hris/types/location_country.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .country_enum import CountryEnum LocationCountry = typing.Union[CountryEnum, str] diff --git a/src/merge/resources/hris/types/location_location_type.py b/src/merge/resources/hris/types/location_location_type.py index b84cea27..5b3e7213 100644 --- a/src/merge/resources/hris/types/location_location_type.py +++ b/src/merge/resources/hris/types/location_location_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .location_type_enum import LocationTypeEnum LocationLocationType = typing.Union[LocationTypeEnum, str] diff --git a/src/merge/resources/hris/types/meta_response.py b/src/merge/resources/hris/types/meta_response.py index cb2e08c1..caa2c831 100644 --- a/src/merge/resources/hris/types/meta_response.py +++ b/src/merge/resources/hris/types/meta_response.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .linked_account_status import LinkedAccountStatus -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .linked_account_status import LinkedAccountStatus class MetaResponse(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/model_operation.py b/src/merge/resources/hris/types/model_operation.py index bc09f2c1..c367572d 100644 --- a/src/merge/resources/hris/types/model_operation.py +++ b/src/merge/resources/hris/types/model_operation.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ModelOperation(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/model_permission_deserializer.py b/src/merge/resources/hris/types/model_permission_deserializer.py index 4a524c19..6381814c 100644 --- a/src/merge/resources/hris/types/model_permission_deserializer.py +++ b/src/merge/resources/hris/types/model_permission_deserializer.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ModelPermissionDeserializer(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/model_permission_deserializer_request.py b/src/merge/resources/hris/types/model_permission_deserializer_request.py index 5b693e6f..cdc2ff4c 100644 --- a/src/merge/resources/hris/types/model_permission_deserializer_request.py +++ b/src/merge/resources/hris/types/model_permission_deserializer_request.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ModelPermissionDeserializerRequest(UncheckedBaseModel): 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 7bdbe021..abc37692 100644 --- a/src/merge/resources/hris/types/multipart_form_field_request.py +++ b/src/merge/resources/hris/types/multipart_form_field_request.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import pydantic import typing -from .multipart_form_field_request_encoding import MultipartFormFieldRequestEncoding + +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): 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 index 2b1db5ad..c6513b6b 100644 --- a/src/merge/resources/hris/types/multipart_form_field_request_encoding.py +++ b/src/merge/resources/hris/types/multipart_form_field_request_encoding.py @@ -1,6 +1,7 @@ # 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_account_details_and_actions_list.py b/src/merge/resources/hris/types/paginated_account_details_and_actions_list.py index 8a2148be..d2d16116 100644 --- a/src/merge/resources/hris/types/paginated_account_details_and_actions_list.py +++ b/src/merge/resources/hris/types/paginated_account_details_and_actions_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .account_details_and_actions import AccountDetailsAndActions -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/hris/types/paginated_audit_log_event_list.py b/src/merge/resources/hris/types/paginated_audit_log_event_list.py index dc914668..24139397 100644 --- a/src/merge/resources/hris/types/paginated_audit_log_event_list.py +++ b/src/merge/resources/hris/types/paginated_audit_log_event_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .audit_log_event import AuditLogEvent -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): 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 1ec60899..688ba4f5 100644 --- a/src/merge/resources/hris/types/paginated_bank_info_list.py +++ b/src/merge/resources/hris/types/paginated_bank_info_list.py @@ -1,13 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .employee import Employee -from .employment import Employment -from .team import Team +from __future__ import annotations + import typing -from .bank_info import BankInfo -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .bank_info import BankInfo class PaginatedBankInfoList(UncheckedBaseModel): @@ -23,3 +23,10 @@ class Config: frozen = True smart_union = True 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 adba5b74..d290d5fd 100644 --- a/src/merge/resources/hris/types/paginated_benefit_list.py +++ b/src/merge/resources/hris/types/paginated_benefit_list.py @@ -1,13 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .employee import Employee -from .employment import Employment -from .team import Team +from __future__ import annotations + import typing -from .benefit import Benefit -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .benefit import Benefit class PaginatedBenefitList(UncheckedBaseModel): @@ -23,3 +23,10 @@ class Config: frozen = True smart_union = True 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_company_list.py b/src/merge/resources/hris/types/paginated_company_list.py index 0fbfa5ad..8f87ea41 100644 --- a/src/merge/resources/hris/types/paginated_company_list.py +++ b/src/merge/resources/hris/types/paginated_company_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .company import Company -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .company import Company class PaginatedCompanyList(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/paginated_dependent_list.py b/src/merge/resources/hris/types/paginated_dependent_list.py index 4a6ff439..d5411dc3 100644 --- a/src/merge/resources/hris/types/paginated_dependent_list.py +++ b/src/merge/resources/hris/types/paginated_dependent_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .dependent import Dependent -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .dependent import Dependent class PaginatedDependentList(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/paginated_employee_list.py b/src/merge/resources/hris/types/paginated_employee_list.py index a917d480..8b7b1dc8 100644 --- a/src/merge/resources/hris/types/paginated_employee_list.py +++ b/src/merge/resources/hris/types/paginated_employee_list.py @@ -1,18 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .employee import Employee -from .employment import Employment -from .team import Team +from __future__ import annotations + import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel class PaginatedEmployeeList(UncheckedBaseModel): next: typing.Optional[str] = None previous: typing.Optional[str] = None - results: typing.Optional[typing.List[Employee]] = None + results: typing.Optional[typing.List["Employee"]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -22,3 +22,10 @@ class Config: frozen = True smart_union = True 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(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 7acf95bb..4f66790b 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 @@ -1,13 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .employee import Employee -from .employment import Employment -from .team import Team +from __future__ import annotations + import typing -from .employee_payroll_run import EmployeePayrollRun -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .employee_payroll_run import EmployeePayrollRun class PaginatedEmployeePayrollRunList(UncheckedBaseModel): @@ -23,3 +23,10 @@ class Config: frozen = True smart_union = True 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_employer_benefit_list.py b/src/merge/resources/hris/types/paginated_employer_benefit_list.py index 0a4272dd..ced345b0 100644 --- a/src/merge/resources/hris/types/paginated_employer_benefit_list.py +++ b/src/merge/resources/hris/types/paginated_employer_benefit_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .employer_benefit import EmployerBenefit -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .employer_benefit import EmployerBenefit class PaginatedEmployerBenefitList(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/paginated_employment_list.py b/src/merge/resources/hris/types/paginated_employment_list.py index 2cf5168c..9670bf4c 100644 --- a/src/merge/resources/hris/types/paginated_employment_list.py +++ b/src/merge/resources/hris/types/paginated_employment_list.py @@ -1,18 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .employee import Employee -from .employment import Employment -from .team import Team +from __future__ import annotations + import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel class PaginatedEmploymentList(UncheckedBaseModel): next: typing.Optional[str] = None previous: typing.Optional[str] = None - results: typing.Optional[typing.List[Employment]] = None + results: typing.Optional[typing.List["Employment"]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -22,3 +22,10 @@ class Config: frozen = True smart_union = True 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(PaginatedEmploymentList) diff --git a/src/merge/resources/hris/types/paginated_group_list.py b/src/merge/resources/hris/types/paginated_group_list.py index 7efff2d3..90702e1f 100644 --- a/src/merge/resources/hris/types/paginated_group_list.py +++ b/src/merge/resources/hris/types/paginated_group_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .group import Group -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .group import Group class PaginatedGroupList(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/paginated_issue_list.py b/src/merge/resources/hris/types/paginated_issue_list.py index 57a92876..686173e5 100644 --- a/src/merge/resources/hris/types/paginated_issue_list.py +++ b/src/merge/resources/hris/types/paginated_issue_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .issue import Issue -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .issue import Issue class PaginatedIssueList(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/paginated_location_list.py b/src/merge/resources/hris/types/paginated_location_list.py index 7ea066be..924a5042 100644 --- a/src/merge/resources/hris/types/paginated_location_list.py +++ b/src/merge/resources/hris/types/paginated_location_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .location import Location -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .location import Location class PaginatedLocationList(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/paginated_pay_group_list.py b/src/merge/resources/hris/types/paginated_pay_group_list.py index 937c35ec..395ff51c 100644 --- a/src/merge/resources/hris/types/paginated_pay_group_list.py +++ b/src/merge/resources/hris/types/paginated_pay_group_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .pay_group import PayGroup -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .pay_group import PayGroup class PaginatedPayGroupList(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/paginated_payroll_run_list.py b/src/merge/resources/hris/types/paginated_payroll_run_list.py index 5c823203..e20c064b 100644 --- a/src/merge/resources/hris/types/paginated_payroll_run_list.py +++ b/src/merge/resources/hris/types/paginated_payroll_run_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .payroll_run import PayrollRun -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .payroll_run import PayrollRun class PaginatedPayrollRunList(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/paginated_sync_status_list.py b/src/merge/resources/hris/types/paginated_sync_status_list.py index d8984b33..cc4bd7a8 100644 --- a/src/merge/resources/hris/types/paginated_sync_status_list.py +++ b/src/merge/resources/hris/types/paginated_sync_status_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .sync_status import SyncStatus -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/hris/types/paginated_team_list.py b/src/merge/resources/hris/types/paginated_team_list.py index f541e795..29a7bdb7 100644 --- a/src/merge/resources/hris/types/paginated_team_list.py +++ b/src/merge/resources/hris/types/paginated_team_list.py @@ -1,16 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .team import Team +from __future__ import annotations + import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel class PaginatedTeamList(UncheckedBaseModel): next: typing.Optional[str] = None previous: typing.Optional[str] = None - results: typing.Optional[typing.List[Team]] = None + results: typing.Optional[typing.List["Team"]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -20,3 +22,8 @@ class Config: frozen = True smart_union = True extra = pydantic.Extra.allow + + +from .team import Team # noqa: E402, F401, 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 12feb0e0..3ba1324e 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 @@ -1,13 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .employee import Employee -from .employment import Employment -from .team import Team +from __future__ import annotations + import typing -from .time_off_balance import TimeOffBalance -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .time_off_balance import TimeOffBalance class PaginatedTimeOffBalanceList(UncheckedBaseModel): @@ -23,3 +23,10 @@ class Config: frozen = True smart_union = True 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 6ef005a7..f5b941b7 100644 --- a/src/merge/resources/hris/types/paginated_time_off_list.py +++ b/src/merge/resources/hris/types/paginated_time_off_list.py @@ -1,13 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .employee import Employee -from .employment import Employment -from .team import Team +from __future__ import annotations + import typing -from .time_off import TimeOff -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .time_off import TimeOff class PaginatedTimeOffList(UncheckedBaseModel): @@ -23,3 +23,10 @@ class Config: frozen = True smart_union = True 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 ff7eee1c..612a1b25 100644 --- a/src/merge/resources/hris/types/paginated_timesheet_entry_list.py +++ b/src/merge/resources/hris/types/paginated_timesheet_entry_list.py @@ -1,13 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .employee import Employee -from .employment import Employment -from .team import Team +from __future__ import annotations + import typing -from .timesheet_entry import TimesheetEntry -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .timesheet_entry import TimesheetEntry class PaginatedTimesheetEntryList(UncheckedBaseModel): @@ -23,3 +23,10 @@ class Config: frozen = True smart_union = True 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 1fb15fbd..5ade80dd 100644 --- a/src/merge/resources/hris/types/pay_group.py +++ b/src/merge/resources/hris/types/pay_group.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .remote_data import RemoteData from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_data import RemoteData class PayGroup(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/payroll_run.py b/src/merge/resources/hris/types/payroll_run.py index aa33f42f..21f8380c 100644 --- a/src/merge/resources/hris/types/payroll_run.py +++ b/src/merge/resources/hris/types/payroll_run.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .payroll_run_run_state import PayrollRunRunState from .payroll_run_run_type import PayrollRunRunType from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class PayrollRun(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/payroll_run_run_state.py b/src/merge/resources/hris/types/payroll_run_run_state.py index f614aa26..a58c8f04 100644 --- a/src/merge/resources/hris/types/payroll_run_run_state.py +++ b/src/merge/resources/hris/types/payroll_run_run_state.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .run_state_enum import RunStateEnum PayrollRunRunState = typing.Union[RunStateEnum, str] diff --git a/src/merge/resources/hris/types/payroll_run_run_type.py b/src/merge/resources/hris/types/payroll_run_run_type.py index af5994d4..ca957e8e 100644 --- a/src/merge/resources/hris/types/payroll_run_run_type.py +++ b/src/merge/resources/hris/types/payroll_run_run_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .run_type_enum import RunTypeEnum PayrollRunRunType = typing.Union[RunTypeEnum, str] diff --git a/src/merge/resources/hris/types/remote_data.py b/src/merge/resources/hris/types/remote_data.py index 4e405fc1..b60f53bf 100644 --- a/src/merge/resources/hris/types/remote_data.py +++ b/src/merge/resources/hris/types/remote_data.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import pydantic import typing + +import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class RemoteData(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/remote_endpoint_info.py b/src/merge/resources/hris/types/remote_endpoint_info.py index a145dff6..07ceff6a 100644 --- a/src/merge/resources/hris/types/remote_endpoint_info.py +++ b/src/merge/resources/hris/types/remote_endpoint_info.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class RemoteEndpointInfo(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/remote_field_api.py b/src/merge/resources/hris/types/remote_field_api.py index 4c862ec8..4c66a23b 100644 --- a/src/merge/resources/hris/types/remote_field_api.py +++ b/src/merge/resources/hris/types/remote_field_api.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing + import pydantic -from .remote_endpoint_info import RemoteEndpointInfo +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 -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class RemoteFieldApi(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/remote_field_api_response.py b/src/merge/resources/hris/types/remote_field_api_response.py index e887e94b..1aeaaa57 100644 --- a/src/merge/resources/hris/types/remote_field_api_response.py +++ b/src/merge/resources/hris/types/remote_field_api_response.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .remote_field_api import RemoteFieldApi + 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): diff --git a/src/merge/resources/hris/types/remote_key.py b/src/merge/resources/hris/types/remote_key.py index 904480e9..e5d9758c 100644 --- a/src/merge/resources/hris/types/remote_key.py +++ b/src/merge/resources/hris/types/remote_key.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class RemoteKey(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/remote_response.py b/src/merge/resources/hris/types/remote_response.py index 25fcd745..db01131f 100644 --- a/src/merge/resources/hris/types/remote_response.py +++ b/src/merge/resources/hris/types/remote_response.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .remote_response_response_type import RemoteResponseResponseType -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/hris/types/remote_response_response_type.py b/src/merge/resources/hris/types/remote_response_response_type.py index 02c2e69b..2556417a 100644 --- a/src/merge/resources/hris/types/remote_response_response_type.py +++ b/src/merge/resources/hris/types/remote_response_response_type.py @@ -1,6 +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/hris/types/sync_status.py b/src/merge/resources/hris/types/sync_status.py index 2479491e..4a628c4f 100644 --- a/src/merge/resources/hris/types/sync_status.py +++ b/src/merge/resources/hris/types/sync_status.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import typing import datetime as dt -from .sync_status_last_sync_result import SyncStatusLastSyncResult -from .status_fd_5_enum import StatusFd5Enum -from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum -from ....core.pydantic_utilities import IS_PYDANTIC_V2 +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): diff --git a/src/merge/resources/hris/types/sync_status_last_sync_result.py b/src/merge/resources/hris/types/sync_status_last_sync_result.py index e483e7d3..980e7d94 100644 --- a/src/merge/resources/hris/types/sync_status_last_sync_result.py +++ b/src/merge/resources/hris/types/sync_status_last_sync_result.py @@ -1,6 +1,7 @@ # 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/hris/types/tax.py b/src/merge/resources/hris/types/tax.py index 8709c04a..97441cbf 100644 --- a/src/merge/resources/hris/types/tax.py +++ b/src/merge/resources/hris/types/tax.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .remote_data import RemoteData from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_data import RemoteData class Tax(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/team.py b/src/merge/resources/hris/types/team.py index 905e63dd..264b75eb 100644 --- a/src/merge/resources/hris/types/team.py +++ b/src/merge/resources/hris/types/team.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -from ....core.unchecked_base_model import UncheckedBaseModel + +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.pydantic_utilities import update_forward_refs class Team(UncheckedBaseModel): @@ -64,6 +65,6 @@ class Config: extra = pydantic.Extra.allow -from .team_parent_team import TeamParentTeam # noqa: E402 +from .team_parent_team import TeamParentTeam # noqa: E402, F401, I001 update_forward_refs(Team) diff --git a/src/merge/resources/hris/types/team_parent_team.py b/src/merge/resources/hris/types/team_parent_team.py index 5dac01de..34b5ec89 100644 --- a/src/merge/resources/hris/types/team_parent_team.py +++ b/src/merge/resources/hris/types/team_parent_team.py @@ -1,7 +1,7 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -import typing + import typing if typing.TYPE_CHECKING: diff --git a/src/merge/resources/hris/types/time_off.py b/src/merge/resources/hris/types/time_off.py index 68d836a3..10860921 100644 --- a/src/merge/resources/hris/types/time_off.py +++ b/src/merge/resources/hris/types/time_off.py @@ -1,19 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .employee import Employee -from .employment import Employment -from .team import Team +from __future__ import annotations + +import datetime as dt import typing + import pydantic -import datetime as dt -from .time_off_employee import TimeOffEmployee +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_data import RemoteData from .time_off_approver import TimeOffApprover +from .time_off_employee import TimeOffEmployee +from .time_off_request_type import TimeOffRequestType from .time_off_status import TimeOffStatus from .time_off_units import TimeOffUnits -from .time_off_request_type import TimeOffRequestType -from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class TimeOff(UncheckedBaseModel): @@ -119,3 +119,10 @@ class Config: frozen = True smart_union = True 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_approver.py b/src/merge/resources/hris/types/time_off_approver.py index 9bc84291..93a01925 100644 --- a/src/merge/resources/hris/types/time_off_approver.py +++ b/src/merge/resources/hris/types/time_off_approver.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .employee import Employee TimeOffApprover = typing.Union[str, Employee] diff --git a/src/merge/resources/hris/types/time_off_balance.py b/src/merge/resources/hris/types/time_off_balance.py index 407c8745..aacbc0bd 100644 --- a/src/merge/resources/hris/types/time_off_balance.py +++ b/src/merge/resources/hris/types/time_off_balance.py @@ -1,16 +1,16 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .employee import Employee -from .employment import Employment -from .team import Team +from __future__ import annotations + +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_data import RemoteData from .time_off_balance_employee import TimeOffBalanceEmployee from .time_off_balance_policy_type import TimeOffBalancePolicyType -from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class TimeOffBalance(UncheckedBaseModel): @@ -82,3 +82,10 @@ class Config: frozen = True smart_union = True 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_balance_employee.py b/src/merge/resources/hris/types/time_off_balance_employee.py index e09472b8..b13c18f9 100644 --- a/src/merge/resources/hris/types/time_off_balance_employee.py +++ b/src/merge/resources/hris/types/time_off_balance_employee.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .employee import Employee TimeOffBalanceEmployee = typing.Union[str, Employee] diff --git a/src/merge/resources/hris/types/time_off_balance_policy_type.py b/src/merge/resources/hris/types/time_off_balance_policy_type.py index 1ed2ac33..cd18ebf0 100644 --- a/src/merge/resources/hris/types/time_off_balance_policy_type.py +++ b/src/merge/resources/hris/types/time_off_balance_policy_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .policy_type_enum import PolicyTypeEnum TimeOffBalancePolicyType = typing.Union[PolicyTypeEnum, str] diff --git a/src/merge/resources/hris/types/time_off_employee.py b/src/merge/resources/hris/types/time_off_employee.py index 3988efec..4ca2205f 100644 --- a/src/merge/resources/hris/types/time_off_employee.py +++ b/src/merge/resources/hris/types/time_off_employee.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .employee import Employee TimeOffEmployee = typing.Union[str, Employee] diff --git a/src/merge/resources/hris/types/time_off_request.py b/src/merge/resources/hris/types/time_off_request.py index dec0f87c..c9b49089 100644 --- a/src/merge/resources/hris/types/time_off_request.py +++ b/src/merge/resources/hris/types/time_off_request.py @@ -1,18 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .employee import Employee -from .employment import Employment -from .team import Team +from __future__ import annotations + +import datetime as dt import typing -from .time_off_request_employee import TimeOffRequestEmployee + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel from .time_off_request_approver import TimeOffRequestApprover +from .time_off_request_employee import TimeOffRequestEmployee +from .time_off_request_request_type import TimeOffRequestRequestType from .time_off_request_status import TimeOffRequestStatus from .time_off_request_units import TimeOffRequestUnits -from .time_off_request_request_type import TimeOffRequestRequestType -import datetime as dt -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class TimeOffRequest(UncheckedBaseModel): @@ -97,3 +97,10 @@ class Config: frozen = True smart_union = True 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_request_approver.py b/src/merge/resources/hris/types/time_off_request_approver.py index c679338b..726968a9 100644 --- a/src/merge/resources/hris/types/time_off_request_approver.py +++ b/src/merge/resources/hris/types/time_off_request_approver.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .employee import Employee TimeOffRequestApprover = typing.Union[str, Employee] diff --git a/src/merge/resources/hris/types/time_off_request_employee.py b/src/merge/resources/hris/types/time_off_request_employee.py index 68c15e9f..5f74d51e 100644 --- a/src/merge/resources/hris/types/time_off_request_employee.py +++ b/src/merge/resources/hris/types/time_off_request_employee.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .employee import Employee TimeOffRequestEmployee = typing.Union[str, Employee] diff --git a/src/merge/resources/hris/types/time_off_request_request_type.py b/src/merge/resources/hris/types/time_off_request_request_type.py index ec50bc36..bc81a1fe 100644 --- a/src/merge/resources/hris/types/time_off_request_request_type.py +++ b/src/merge/resources/hris/types/time_off_request_request_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .request_type_enum import RequestTypeEnum TimeOffRequestRequestType = typing.Union[RequestTypeEnum, str] diff --git a/src/merge/resources/hris/types/time_off_request_status.py b/src/merge/resources/hris/types/time_off_request_status.py index 910107ad..e1170b22 100644 --- a/src/merge/resources/hris/types/time_off_request_status.py +++ b/src/merge/resources/hris/types/time_off_request_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .time_off_status_enum import TimeOffStatusEnum TimeOffRequestStatus = typing.Union[TimeOffStatusEnum, str] diff --git a/src/merge/resources/hris/types/time_off_request_type.py b/src/merge/resources/hris/types/time_off_request_type.py index 529d925f..28310e73 100644 --- a/src/merge/resources/hris/types/time_off_request_type.py +++ b/src/merge/resources/hris/types/time_off_request_type.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .request_type_enum import RequestTypeEnum TimeOffRequestType = typing.Union[RequestTypeEnum, str] diff --git a/src/merge/resources/hris/types/time_off_request_units.py b/src/merge/resources/hris/types/time_off_request_units.py index c3320c66..447ac34c 100644 --- a/src/merge/resources/hris/types/time_off_request_units.py +++ b/src/merge/resources/hris/types/time_off_request_units.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .units_enum import UnitsEnum TimeOffRequestUnits = typing.Union[UnitsEnum, str] diff --git a/src/merge/resources/hris/types/time_off_response.py b/src/merge/resources/hris/types/time_off_response.py index 5bcdb5f1..416a5def 100644 --- a/src/merge/resources/hris/types/time_off_response.py +++ b/src/merge/resources/hris/types/time_off_response.py @@ -1,16 +1,16 @@ # 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 .employee import Employee -from .employment import Employment -from .team import Team +from .debug_mode_log import DebugModeLog +from .error_validation_problem import ErrorValidationProblem from .time_off import TimeOff -import typing from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem -from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class TimeOffResponse(UncheckedBaseModel): @@ -27,3 +27,10 @@ class Config: frozen = True smart_union = True 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/time_off_status.py b/src/merge/resources/hris/types/time_off_status.py index c6ae054b..83ff0ebf 100644 --- a/src/merge/resources/hris/types/time_off_status.py +++ b/src/merge/resources/hris/types/time_off_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .time_off_status_enum import TimeOffStatusEnum TimeOffStatus = typing.Union[TimeOffStatusEnum, str] diff --git a/src/merge/resources/hris/types/time_off_units.py b/src/merge/resources/hris/types/time_off_units.py index 822823b4..913db7ba 100644 --- a/src/merge/resources/hris/types/time_off_units.py +++ b/src/merge/resources/hris/types/time_off_units.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .units_enum import UnitsEnum TimeOffUnits = typing.Union[UnitsEnum, str] diff --git a/src/merge/resources/hris/types/timesheet_entry.py b/src/merge/resources/hris/types/timesheet_entry.py index c0fbf3e4..a5966977 100644 --- a/src/merge/resources/hris/types/timesheet_entry.py +++ b/src/merge/resources/hris/types/timesheet_entry.py @@ -1,15 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .employee import Employee -from .employment import Employment -from .team import Team +from __future__ import annotations + +import datetime as dt import typing + import pydantic -import datetime as dt -from .timesheet_entry_employee import TimesheetEntryEmployee +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from .timesheet_entry_employee import TimesheetEntryEmployee class TimesheetEntry(UncheckedBaseModel): @@ -75,3 +75,10 @@ class Config: frozen = True smart_union = True 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_employee.py b/src/merge/resources/hris/types/timesheet_entry_employee.py index d405eb28..7339c3b9 100644 --- a/src/merge/resources/hris/types/timesheet_entry_employee.py +++ b/src/merge/resources/hris/types/timesheet_entry_employee.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .employee import Employee TimesheetEntryEmployee = typing.Union[str, Employee] diff --git a/src/merge/resources/hris/types/timesheet_entry_request.py b/src/merge/resources/hris/types/timesheet_entry_request.py index 4f1cddfb..df004147 100644 --- a/src/merge/resources/hris/types/timesheet_entry_request.py +++ b/src/merge/resources/hris/types/timesheet_entry_request.py @@ -1,14 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .employee import Employee -from .employment import Employment -from .team import Team +from __future__ import annotations + +import datetime as dt import typing -from .timesheet_entry_request_employee import TimesheetEntryRequestEmployee + import pydantic -import datetime as dt -from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .timesheet_entry_request_employee import TimesheetEntryRequestEmployee class TimesheetEntryRequest(UncheckedBaseModel): @@ -53,3 +53,10 @@ class Config: frozen = True smart_union = True 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_request_employee.py b/src/merge/resources/hris/types/timesheet_entry_request_employee.py index 6d273fff..5e61dd30 100644 --- a/src/merge/resources/hris/types/timesheet_entry_request_employee.py +++ b/src/merge/resources/hris/types/timesheet_entry_request_employee.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .employee import Employee TimesheetEntryRequestEmployee = typing.Union[str, Employee] diff --git a/src/merge/resources/hris/types/timesheet_entry_response.py b/src/merge/resources/hris/types/timesheet_entry_response.py index c2552778..1c6bb197 100644 --- a/src/merge/resources/hris/types/timesheet_entry_response.py +++ b/src/merge/resources/hris/types/timesheet_entry_response.py @@ -1,16 +1,16 @@ # 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 .employee import Employee -from .employment import Employment -from .team import Team +from .debug_mode_log import DebugModeLog +from .error_validation_problem import ErrorValidationProblem from .timesheet_entry import TimesheetEntry -import typing from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem -from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class TimesheetEntryResponse(UncheckedBaseModel): @@ -27,3 +27,10 @@ class Config: frozen = True smart_union = True 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/hris/types/validation_problem_source.py b/src/merge/resources/hris/types/validation_problem_source.py index ceed8b91..fbebe626 100644 --- a/src/merge/resources/hris/types/validation_problem_source.py +++ b/src/merge/resources/hris/types/validation_problem_source.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ValidationProblemSource(UncheckedBaseModel): diff --git a/src/merge/resources/hris/types/warning_validation_problem.py b/src/merge/resources/hris/types/warning_validation_problem.py index b974ff37..4785e836 100644 --- a/src/merge/resources/hris/types/warning_validation_problem.py +++ b/src/merge/resources/hris/types/warning_validation_problem.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .validation_problem_source import ValidationProblemSource -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/hris/types/webhook_receiver.py b/src/merge/resources/hris/types/webhook_receiver.py index 8bb74f35..fb49c044 100644 --- a/src/merge/resources/hris/types/webhook_receiver.py +++ b/src/merge/resources/hris/types/webhook_receiver.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class WebhookReceiver(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/__init__.py b/src/merge/resources/ticketing/__init__.py index bb6c8a8a..7264e48f 100644 --- a/src/merge/resources/ticketing/__init__.py +++ b/src/merge/resources/ticketing/__init__.py @@ -1,12 +1,16 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import ( - AccessLevelEnum, Account, AccountDetails, AccountDetailsAndActions, + AccountDetailsAndActionsCategory, AccountDetailsAndActionsIntegration, + AccountDetailsAndActionsStatus, AccountDetailsAndActionsStatusEnum, + AccountDetailsCategory, AccountIntegration, AccountToken, AdvancedMetadata, @@ -23,6 +27,7 @@ CategoryEnum, Collection, CollectionAccessLevel, + CollectionAccessLevelEnum, CollectionCollectionType, CollectionParentCollection, CollectionTypeEnum, @@ -97,6 +102,7 @@ PaginatedUserList, PaginatedViewerList, PatchedTicketRequest, + PatchedTicketRequestAccessLevel, PatchedTicketRequestPriority, PatchedTicketRequestStatus, PriorityEnum, @@ -125,10 +131,13 @@ SelectiveSyncConfigurationsUsageEnum, StatusFd5Enum, SyncStatus, + SyncStatusLastSyncResult, Tag, Team, Ticket, TicketAccessEnum, + TicketAccessLevel, + TicketAccessLevelEnum, TicketAccount, TicketActionsEnum, TicketAssignedTeamsItem, @@ -140,6 +149,7 @@ TicketParentTicket, TicketPriority, TicketRequest, + TicketRequestAccessLevel, TicketRequestAccount, TicketRequestAssignedTeamsItem, TicketRequestAssigneesItem, @@ -170,6 +180,7 @@ CollectionsViewersListRequestExpand, CommentsListRequestExpand, CommentsRetrieveRequestExpand, + EndUserDetailsRequestLanguage, IssuesListRequestStatus, LinkedAccountsListRequestCategory, ProjectsUsersListRequestExpand, @@ -214,12 +225,14 @@ ) __all__ = [ - "AccessLevelEnum", "Account", "AccountDetails", "AccountDetailsAndActions", + "AccountDetailsAndActionsCategory", "AccountDetailsAndActionsIntegration", + "AccountDetailsAndActionsStatus", "AccountDetailsAndActionsStatusEnum", + "AccountDetailsCategory", "AccountIntegration", "AccountToken", "AdvancedMetadata", @@ -237,6 +250,7 @@ "CategoryEnum", "Collection", "CollectionAccessLevel", + "CollectionAccessLevelEnum", "CollectionCollectionType", "CollectionParentCollection", "CollectionTypeEnum", @@ -263,6 +277,7 @@ "DebugModelLogSummary", "EnabledActionsEnum", "EncodingEnum", + "EndUserDetailsRequestLanguage", "ErrorValidationProblem", "EventTypeEnum", "ExternalTargetFieldApi", @@ -316,6 +331,7 @@ "PaginatedUserList", "PaginatedViewerList", "PatchedTicketRequest", + "PatchedTicketRequestAccessLevel", "PatchedTicketRequestPriority", "PatchedTicketRequestStatus", "PriorityEnum", @@ -345,10 +361,13 @@ "SelectiveSyncConfigurationsUsageEnum", "StatusFd5Enum", "SyncStatus", + "SyncStatusLastSyncResult", "Tag", "Team", "Ticket", "TicketAccessEnum", + "TicketAccessLevel", + "TicketAccessLevelEnum", "TicketAccount", "TicketActionsEnum", "TicketAssignedTeamsItem", @@ -360,6 +379,7 @@ "TicketParentTicket", "TicketPriority", "TicketRequest", + "TicketRequestAccessLevel", "TicketRequestAccount", "TicketRequestAssignedTeamsItem", "TicketRequestAssigneesItem", diff --git a/src/merge/resources/ticketing/client.py b/src/merge/resources/ticketing/client.py index fbf26ec4..0dc7b902 100644 --- a/src/merge/resources/ticketing/client.py +++ b/src/merge/resources/ticketing/client.py @@ -1,69 +1,41 @@ # This file was auto-generated by Fern from our API Definition. -from ...core.client_wrapper import SyncClientWrapper -from .raw_client import RawTicketingClient -from .resources.account_details.client import AccountDetailsClient -from .resources.account_token.client import AccountTokenClient -from .resources.accounts.client import AccountsClient +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .raw_client import AsyncRawTicketingClient, RawTicketingClient +from .resources.account_details.client import AccountDetailsClient, AsyncAccountDetailsClient +from .resources.account_token.client import AccountTokenClient, AsyncAccountTokenClient +from .resources.accounts.client import AccountsClient, AsyncAccountsClient +from .resources.async_passthrough.client import AsyncAsyncPassthroughClient from .resources.async_passthrough.client import ( AsyncPassthroughClient as resources_ticketing_resources_async_passthrough_client_AsyncPassthroughClient, ) -from .resources.attachments.client import AttachmentsClient -from .resources.audit_trail.client import AuditTrailClient -from .resources.available_actions.client import AvailableActionsClient -from .resources.collections.client import CollectionsClient -from .resources.comments.client import CommentsClient -from .resources.contacts.client import ContactsClient -from .resources.scopes.client import ScopesClient -from .resources.delete_account.client import DeleteAccountClient -from .resources.field_mapping.client import FieldMappingClient -from .resources.generate_key.client import GenerateKeyClient -from .resources.issues.client import IssuesClient -from .resources.link_token.client import LinkTokenClient -from .resources.linked_accounts.client import LinkedAccountsClient -from .resources.passthrough.client import PassthroughClient -from .resources.projects.client import ProjectsClient -from .resources.regenerate_key.client import RegenerateKeyClient -from .resources.roles.client import RolesClient -from .resources.sync_status.client import SyncStatusClient -from .resources.force_resync.client import ForceResyncClient -from .resources.tags.client import TagsClient -from .resources.teams.client import TeamsClient -from .resources.tickets.client import TicketsClient -from .resources.users.client import UsersClient -from .resources.webhook_receivers.client import WebhookReceiversClient -from ...core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawTicketingClient -from .resources.account_details.client import AsyncAccountDetailsClient -from .resources.account_token.client import AsyncAccountTokenClient -from .resources.accounts.client import AsyncAccountsClient -from .resources.async_passthrough.client import AsyncAsyncPassthroughClient -from .resources.attachments.client import AsyncAttachmentsClient -from .resources.audit_trail.client import AsyncAuditTrailClient -from .resources.available_actions.client import AsyncAvailableActionsClient -from .resources.collections.client import AsyncCollectionsClient -from .resources.comments.client import AsyncCommentsClient -from .resources.contacts.client import AsyncContactsClient -from .resources.scopes.client import AsyncScopesClient -from .resources.delete_account.client import AsyncDeleteAccountClient -from .resources.field_mapping.client import AsyncFieldMappingClient -from .resources.generate_key.client import AsyncGenerateKeyClient -from .resources.issues.client import AsyncIssuesClient -from .resources.link_token.client import AsyncLinkTokenClient -from .resources.linked_accounts.client import AsyncLinkedAccountsClient +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.collections.client import AsyncCollectionsClient, CollectionsClient +from .resources.comments.client import AsyncCommentsClient, CommentsClient +from .resources.contacts.client import AsyncContactsClient, ContactsClient +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.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_ticketing_resources_passthrough_client_AsyncPassthroughClient, ) -from .resources.projects.client import AsyncProjectsClient -from .resources.regenerate_key.client import AsyncRegenerateKeyClient -from .resources.roles.client import AsyncRolesClient -from .resources.sync_status.client import AsyncSyncStatusClient -from .resources.force_resync.client import AsyncForceResyncClient -from .resources.tags.client import AsyncTagsClient -from .resources.teams.client import AsyncTeamsClient -from .resources.tickets.client import AsyncTicketsClient -from .resources.users.client import AsyncUsersClient -from .resources.webhook_receivers.client import AsyncWebhookReceiversClient +from .resources.passthrough.client import PassthroughClient +from .resources.projects.client import AsyncProjectsClient, ProjectsClient +from .resources.regenerate_key.client import AsyncRegenerateKeyClient, RegenerateKeyClient +from .resources.roles.client import AsyncRolesClient, RolesClient +from .resources.scopes.client import AsyncScopesClient, ScopesClient +from .resources.sync_status.client import AsyncSyncStatusClient, SyncStatusClient +from .resources.tags.client import AsyncTagsClient, TagsClient +from .resources.teams.client import AsyncTeamsClient, TeamsClient +from .resources.tickets.client import AsyncTicketsClient, TicketsClient +from .resources.users.client import AsyncUsersClient, UsersClient +from .resources.webhook_receivers.client import AsyncWebhookReceiversClient, WebhookReceiversClient class TicketingClient: diff --git a/src/merge/resources/ticketing/raw_client.py b/src/merge/resources/ticketing/raw_client.py index 5453fdbe..b929d799 100644 --- a/src/merge/resources/ticketing/raw_client.py +++ b/src/merge/resources/ticketing/raw_client.py @@ -1,7 +1,6 @@ # This file was auto-generated by Fern from our API Definition. -from ...core.client_wrapper import SyncClientWrapper -from ...core.client_wrapper import AsyncClientWrapper +from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper class RawTicketingClient: diff --git a/src/merge/resources/ticketing/resources/__init__.py b/src/merge/resources/ticketing/resources/__init__.py index 2f53f758..de61114d 100644 --- a/src/merge/resources/ticketing/resources/__init__.py +++ b/src/merge/resources/ticketing/resources/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from . import ( account_details, account_token, @@ -34,6 +36,7 @@ from .collections import CollectionsViewersListRequestExpand from .comments import CommentsListRequestExpand, CommentsRetrieveRequestExpand from .issues import IssuesListRequestStatus +from .link_token import EndUserDetailsRequestLanguage from .linked_accounts import LinkedAccountsListRequestCategory from .projects import ProjectsUsersListRequestExpand from .tickets import ( @@ -53,6 +56,7 @@ "CollectionsViewersListRequestExpand", "CommentsListRequestExpand", "CommentsRetrieveRequestExpand", + "EndUserDetailsRequestLanguage", "IssuesListRequestStatus", "LinkedAccountsListRequestCategory", "ProjectsUsersListRequestExpand", diff --git a/src/merge/resources/ticketing/resources/account_details/__init__.py b/src/merge/resources/ticketing/resources/account_details/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ticketing/resources/account_details/__init__.py +++ b/src/merge/resources/ticketing/resources/account_details/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ticketing/resources/account_details/client.py b/src/merge/resources/ticketing/resources/account_details/client.py index 211c560a..2a4f2856 100644 --- a/src/merge/resources/ticketing/resources/account_details/client.py +++ b/src/merge/resources/ticketing/resources/account_details/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAccountDetailsClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.account_details import AccountDetails -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAccountDetailsClient +from .raw_client import AsyncRawAccountDetailsClient, RawAccountDetailsClient class AccountDetailsClient: @@ -48,8 +47,8 @@ def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) - ) client.ticketing.account_details.retrieve() """ - response = self._raw_client.retrieve(request_options=request_options) - return response.data + _response = self._raw_client.retrieve(request_options=request_options) + return _response.data class AsyncAccountDetailsClient: @@ -99,5 +98,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.retrieve(request_options=request_options) + return _response.data diff --git a/src/merge/resources/ticketing/resources/account_details/raw_client.py b/src/merge/resources/ticketing/resources/account_details/raw_client.py index f6d9be9d..88f5a9ec 100644 --- a/src/merge/resources/ticketing/resources/account_details/raw_client.py +++ b/src/merge/resources/ticketing/resources/account_details/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.account_details import AccountDetails -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -47,8 +46,8 @@ def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) - return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -88,5 +87,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ticketing/resources/account_token/__init__.py b/src/merge/resources/ticketing/resources/account_token/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ticketing/resources/account_token/__init__.py +++ b/src/merge/resources/ticketing/resources/account_token/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ticketing/resources/account_token/client.py b/src/merge/resources/ticketing/resources/account_token/client.py index 523cc982..45ac5bc2 100644 --- a/src/merge/resources/ticketing/resources/account_token/client.py +++ b/src/merge/resources/ticketing/resources/account_token/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAccountTokenClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.account_token import AccountToken -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAccountTokenClient +from .raw_client import AsyncRawAccountTokenClient, RawAccountTokenClient class AccountTokenClient: @@ -52,8 +51,8 @@ def retrieve(self, public_token: str, *, request_options: typing.Optional[Reques public_token="public_token", ) """ - response = self._raw_client.retrieve(public_token, request_options=request_options) - return response.data + _response = self._raw_client.retrieve(public_token, request_options=request_options) + return _response.data class AsyncAccountTokenClient: @@ -109,5 +108,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(public_token, request_options=request_options) - return response.data + _response = await self._raw_client.retrieve(public_token, request_options=request_options) + return _response.data diff --git a/src/merge/resources/ticketing/resources/account_token/raw_client.py b/src/merge/resources/ticketing/resources/account_token/raw_client.py index ff6d11dd..fecf4148 100644 --- a/src/merge/resources/ticketing/resources/account_token/raw_client.py +++ b/src/merge/resources/ticketing/resources/account_token/raw_client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.account_token import AccountToken -from .....core.jsonable_encoder import jsonable_encoder -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -52,8 +51,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -95,5 +94,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ticketing/resources/accounts/__init__.py b/src/merge/resources/ticketing/resources/accounts/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ticketing/resources/accounts/__init__.py +++ b/src/merge/resources/ticketing/resources/accounts/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ticketing/resources/accounts/client.py b/src/merge/resources/ticketing/resources/accounts/client.py index 215c32ce..1ecd7ee2 100644 --- a/src/merge/resources/ticketing/resources/accounts/client.py +++ b/src/merge/resources/ticketing/resources/accounts/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAccountsClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_account_list import PaginatedAccountList from ...types.account import Account -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAccountsClient +from ...types.paginated_account_list import PaginatedAccountList +from .raw_client import AsyncRawAccountsClient, RawAccountsClient class AccountsClient: @@ -94,7 +93,7 @@ def list( ) client.ticketing.accounts.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -107,7 +106,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -150,13 +149,13 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncAccountsClient: @@ -250,7 +249,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -263,7 +262,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -314,10 +313,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data diff --git a/src/merge/resources/ticketing/resources/accounts/raw_client.py b/src/merge/resources/ticketing/resources/accounts/raw_client.py index d0ea6552..f0e4aa23 100644 --- a/src/merge/resources/ticketing/resources/accounts/raw_client.py +++ b/src/merge/resources/ticketing/resources/accounts/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_account_list import PaginatedAccountList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.account import Account +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type +from ...types.account import Account +from ...types.paginated_account_list import PaginatedAccountList class RawAccountsClient: @@ -107,8 +106,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -160,8 +159,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawAccountsClient: @@ -255,8 +254,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -308,5 +307,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ticketing/resources/async_passthrough/__init__.py b/src/merge/resources/ticketing/resources/async_passthrough/__init__.py index cb869002..4767933f 100644 --- a/src/merge/resources/ticketing/resources/async_passthrough/__init__.py +++ b/src/merge/resources/ticketing/resources/async_passthrough/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import AsyncPassthroughRetrieveResponse __all__ = ["AsyncPassthroughRetrieveResponse"] diff --git a/src/merge/resources/ticketing/resources/async_passthrough/client.py b/src/merge/resources/ticketing/resources/async_passthrough/client.py index 72ecb5a3..2b553f32 100644 --- a/src/merge/resources/ticketing/resources/async_passthrough/client.py +++ b/src/merge/resources/ticketing/resources/async_passthrough/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAsyncPassthroughClient -from ...types.data_passthrough_request import DataPassthroughRequest + +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 -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAsyncPassthroughClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -63,8 +62,8 @@ def create( ), ) """ - response = self._raw_client.create(request=request, request_options=request_options) - return response.data + _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 @@ -96,8 +95,8 @@ def 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 + _response = self._raw_client.retrieve(async_passthrough_receipt_id, request_options=request_options) + return _response.data class AsyncAsyncPassthroughClient: @@ -157,8 +156,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create(request=request, request_options=request_options) - return response.data + _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 @@ -198,5 +197,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(async_passthrough_receipt_id, request_options=request_options) - return response.data + _response = await self._raw_client.retrieve(async_passthrough_receipt_id, request_options=request_options) + return _response.data diff --git a/src/merge/resources/ticketing/resources/async_passthrough/raw_client.py b/src/merge/resources/ticketing/resources/async_passthrough/raw_client.py index 3ff79b58..3e071ad4 100644 --- a/src/merge/resources/ticketing/resources/async_passthrough/raw_client.py +++ b/src/merge/resources/ticketing/resources/async_passthrough/raw_client.py @@ -1,18 +1,17 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from ...types.data_passthrough_request import DataPassthroughRequest -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.async_passthrough_reciept import AsyncPassthroughReciept -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .types.async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -44,6 +43,9 @@ def create( "ticketing/v1/async-passthrough", method="POST", json=request, + headers={ + "content-type": "application/json", + }, request_options=request_options, omit=OMIT, ) @@ -59,8 +61,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -97,8 +99,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -127,6 +129,9 @@ async def create( "ticketing/v1/async-passthrough", method="POST", json=request, + headers={ + "content-type": "application/json", + }, request_options=request_options, omit=OMIT, ) @@ -142,8 +147,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -180,5 +185,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ticketing/resources/async_passthrough/types/__init__.py b/src/merge/resources/ticketing/resources/async_passthrough/types/__init__.py index caff085b..cb7e997d 100644 --- a/src/merge/resources/ticketing/resources/async_passthrough/types/__init__.py +++ b/src/merge/resources/ticketing/resources/async_passthrough/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse __all__ = ["AsyncPassthroughRetrieveResponse"] diff --git a/src/merge/resources/ticketing/resources/async_passthrough/types/async_passthrough_retrieve_response.py b/src/merge/resources/ticketing/resources/async_passthrough/types/async_passthrough_retrieve_response.py index 5a819dfd..f8f87c18 100644 --- a/src/merge/resources/ticketing/resources/async_passthrough/types/async_passthrough_retrieve_response.py +++ b/src/merge/resources/ticketing/resources/async_passthrough/types/async_passthrough_retrieve_response.py @@ -1,6 +1,7 @@ # 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/ticketing/resources/attachments/__init__.py b/src/merge/resources/ticketing/resources/attachments/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ticketing/resources/attachments/__init__.py +++ b/src/merge/resources/ticketing/resources/attachments/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ticketing/resources/attachments/client.py b/src/merge/resources/ticketing/resources/attachments/client.py index 9777f038..8d8155a7 100644 --- a/src/merge/resources/ticketing/resources/attachments/client.py +++ b/src/merge/resources/ticketing/resources/attachments/client.py @@ -1,17 +1,16 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAttachmentsClient import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_attachment_list import PaginatedAttachmentList -from ...types.attachment_request import AttachmentRequest -from ...types.ticketing_attachment_response import TicketingAttachmentResponse from ...types.attachment import Attachment +from ...types.attachment_request import AttachmentRequest from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAttachmentsClient +from ...types.paginated_attachment_list import PaginatedAttachmentList +from ...types.ticketing_attachment_response import TicketingAttachmentResponse +from .raw_client import AsyncRawAttachmentsClient, RawAttachmentsClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -112,7 +111,7 @@ def list( ) client.ticketing.attachments.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -128,7 +127,7 @@ def list( ticket_id=ticket_id, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -172,10 +171,10 @@ def create( model=AttachmentRequest(), ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options ) - return response.data + return _response.data def retrieve( self, @@ -222,14 +221,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data def download_retrieve( self, @@ -289,8 +288,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.ticketing.attachments.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data class AsyncAttachmentsClient: @@ -396,7 +395,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -412,7 +411,7 @@ async def main() -> None: ticket_id=ticket_id, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -464,10 +463,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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 + return _response.data async def retrieve( self, @@ -522,14 +521,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data async def download_retrieve( self, @@ -563,8 +562,8 @@ async def download_retrieve( 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 data in r.data: - yield data + async for _chunk in r.data: + yield _chunk async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -598,5 +597,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data diff --git a/src/merge/resources/ticketing/resources/attachments/raw_client.py b/src/merge/resources/ticketing/resources/attachments/raw_client.py index 8dff0269..afdeba4a 100644 --- a/src/merge/resources/ticketing/resources/attachments/raw_client.py +++ b/src/merge/resources/ticketing/resources/attachments/raw_client.py @@ -1,23 +1,22 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper +import contextlib import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_attachment_list import PaginatedAttachmentList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.attachment_request import AttachmentRequest -from ...types.ticketing_attachment_response import TicketingAttachmentResponse -from ...types.attachment import Attachment +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 -import contextlib +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type +from ...types.attachment import Attachment +from ...types.attachment_request import AttachmentRequest from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from ...types.paginated_attachment_list import PaginatedAttachmentList +from ...types.ticketing_attachment_response import TicketingAttachmentResponse # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -131,8 +130,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -191,8 +190,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -249,8 +248,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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( @@ -292,7 +291,7 @@ def download_retrieve( request_options=request_options, ) as _response: - def stream() -> HttpResponse[typing.Iterator[bytes]]: + 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 @@ -302,10 +301,12 @@ def stream() -> HttpResponse[typing.Iterator[bytes]]: _response.read() _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError( + status_code=_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() + yield _stream() def meta_post_retrieve( self, *, request_options: typing.Optional[RequestOptions] = None @@ -340,8 +341,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -452,8 +453,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -512,8 +513,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -570,8 +571,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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( @@ -613,7 +614,7 @@ async def download_retrieve( request_options=request_options, ) as _response: - async def stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: + 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 @@ -624,10 +625,12 @@ async def stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: await _response.aread() _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError( + status_code=_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() + yield await _stream() async def meta_post_retrieve( self, *, request_options: typing.Optional[RequestOptions] = None @@ -662,5 +665,5 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ticketing/resources/audit_trail/__init__.py b/src/merge/resources/ticketing/resources/audit_trail/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ticketing/resources/audit_trail/__init__.py +++ b/src/merge/resources/ticketing/resources/audit_trail/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ticketing/resources/audit_trail/client.py b/src/merge/resources/ticketing/resources/audit_trail/client.py index d138590d..59fe3392 100644 --- a/src/merge/resources/ticketing/resources/audit_trail/client.py +++ b/src/merge/resources/ticketing/resources/audit_trail/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAuditTrailClient 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 .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAuditTrailClient +from .raw_client import AsyncRawAuditTrailClient, RawAuditTrailClient class AuditTrailClient: @@ -47,7 +46,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`, `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`, `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. @@ -76,7 +75,7 @@ def list( ) client.ticketing.audit_trail.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -85,7 +84,7 @@ def list( user_email=user_email, request_options=request_options, ) - return response.data + return _response.data class AsyncAuditTrailClient: @@ -126,7 +125,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`, `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`, `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. @@ -163,7 +162,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -172,4 +171,4 @@ async def main() -> None: user_email=user_email, request_options=request_options, ) - return response.data + 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 5ea895fa..57b0895b 100644 --- a/src/merge/resources/ticketing/resources/audit_trail/raw_client.py +++ b/src/merge/resources/ticketing/resources/audit_trail/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -39,7 +38,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`, `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`, `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. @@ -83,8 +82,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -114,7 +113,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`, `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`, `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. @@ -158,5 +157,5 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ticketing/resources/available_actions/__init__.py b/src/merge/resources/ticketing/resources/available_actions/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ticketing/resources/available_actions/__init__.py +++ b/src/merge/resources/ticketing/resources/available_actions/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ticketing/resources/available_actions/client.py b/src/merge/resources/ticketing/resources/available_actions/client.py index 563b2584..6f22b83e 100644 --- a/src/merge/resources/ticketing/resources/available_actions/client.py +++ b/src/merge/resources/ticketing/resources/available_actions/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawAvailableActionsClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.available_actions import AvailableActions -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawAvailableActionsClient +from .raw_client import AsyncRawAvailableActionsClient, RawAvailableActionsClient class AvailableActionsClient: @@ -48,8 +47,8 @@ def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) - ) client.ticketing.available_actions.retrieve() """ - response = self._raw_client.retrieve(request_options=request_options) - return response.data + _response = self._raw_client.retrieve(request_options=request_options) + return _response.data class AsyncAvailableActionsClient: @@ -99,5 +98,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.retrieve(request_options=request_options) + return _response.data diff --git a/src/merge/resources/ticketing/resources/available_actions/raw_client.py b/src/merge/resources/ticketing/resources/available_actions/raw_client.py index c30de8e5..49490cf5 100644 --- a/src/merge/resources/ticketing/resources/available_actions/raw_client.py +++ b/src/merge/resources/ticketing/resources/available_actions/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.available_actions import AvailableActions -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -47,8 +46,8 @@ def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) - return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -88,5 +87,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ticketing/resources/collections/__init__.py b/src/merge/resources/ticketing/resources/collections/__init__.py index ada94483..1b17bee9 100644 --- a/src/merge/resources/ticketing/resources/collections/__init__.py +++ b/src/merge/resources/ticketing/resources/collections/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import CollectionsViewersListRequestExpand __all__ = ["CollectionsViewersListRequestExpand"] diff --git a/src/merge/resources/ticketing/resources/collections/client.py b/src/merge/resources/ticketing/resources/collections/client.py index 2f14a553..16675970 100644 --- a/src/merge/resources/ticketing/resources/collections/client.py +++ b/src/merge/resources/ticketing/resources/collections/client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawCollectionsClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions +from ...types.collection import Collection from ...types.paginated_collection_list import PaginatedCollectionList -from .types.collections_viewers_list_request_expand import CollectionsViewersListRequestExpand from ...types.paginated_viewer_list import PaginatedViewerList -from ...types.collection import Collection -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawCollectionsClient +from .raw_client import AsyncRawCollectionsClient, RawCollectionsClient +from .types.collections_viewers_list_request_expand import CollectionsViewersListRequestExpand class CollectionsClient: @@ -116,7 +115,7 @@ def list( ) client.ticketing.collections.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( collection_type=collection_type, created_after=created_after, created_before=created_before, @@ -134,7 +133,7 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data def viewers_list( self, @@ -193,7 +192,7 @@ def viewers_list( collection_id="collection_id", ) """ - response = self._raw_client.viewers_list( + _response = self._raw_client.viewers_list( collection_id, cursor=cursor, expand=expand, @@ -203,7 +202,7 @@ def viewers_list( page_size=page_size, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -258,7 +257,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -267,7 +266,7 @@ def retrieve( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data class AsyncCollectionsClient: @@ -381,7 +380,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( collection_type=collection_type, created_after=created_after, created_before=created_before, @@ -399,7 +398,7 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data async def viewers_list( self, @@ -466,7 +465,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.viewers_list( + _response = await self._raw_client.viewers_list( collection_id, cursor=cursor, expand=expand, @@ -476,7 +475,7 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -539,7 +538,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -548,4 +547,4 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data diff --git a/src/merge/resources/ticketing/resources/collections/raw_client.py b/src/merge/resources/ticketing/resources/collections/raw_client.py index 49bf1694..b1aa44fc 100644 --- a/src/merge/resources/ticketing/resources/collections/raw_client.py +++ b/src/merge/resources/ticketing/resources/collections/raw_client.py @@ -1,21 +1,20 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_collection_list import PaginatedCollectionList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .types.collections_viewers_list_request_expand import CollectionsViewersListRequestExpand -from ...types.paginated_viewer_list import PaginatedViewerList +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.collection import Collection -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from ...types.paginated_collection_list import PaginatedCollectionList +from ...types.paginated_viewer_list import PaginatedViewerList +from .types.collections_viewers_list_request_expand import CollectionsViewersListRequestExpand class RawCollectionsClient: @@ -134,8 +133,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 viewers_list( self, @@ -207,8 +206,8 @@ def viewers_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -275,8 +274,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawCollectionsClient: @@ -395,8 +394,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 viewers_list( self, @@ -468,8 +467,8 @@ async def viewers_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -536,5 +535,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ticketing/resources/collections/types/__init__.py b/src/merge/resources/ticketing/resources/collections/types/__init__.py index cf80f6bd..0855643c 100644 --- a/src/merge/resources/ticketing/resources/collections/types/__init__.py +++ b/src/merge/resources/ticketing/resources/collections/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .collections_viewers_list_request_expand import CollectionsViewersListRequestExpand __all__ = ["CollectionsViewersListRequestExpand"] diff --git a/src/merge/resources/ticketing/resources/comments/__init__.py b/src/merge/resources/ticketing/resources/comments/__init__.py index 6bf2a074..19e2dea4 100644 --- a/src/merge/resources/ticketing/resources/comments/__init__.py +++ b/src/merge/resources/ticketing/resources/comments/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import CommentsListRequestExpand, CommentsRetrieveRequestExpand __all__ = ["CommentsListRequestExpand", "CommentsRetrieveRequestExpand"] diff --git a/src/merge/resources/ticketing/resources/comments/client.py b/src/merge/resources/ticketing/resources/comments/client.py index 58dc7b60..06b7d2d6 100644 --- a/src/merge/resources/ticketing/resources/comments/client.py +++ b/src/merge/resources/ticketing/resources/comments/client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawCommentsClient import datetime as dt -from .types.comments_list_request_expand import CommentsListRequestExpand +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_comment_list import PaginatedCommentList +from ...types.comment import Comment from ...types.comment_request import CommentRequest from ...types.comment_response import CommentResponse -from .types.comments_retrieve_request_expand import CommentsRetrieveRequestExpand -from ...types.comment import Comment from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawCommentsClient +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 # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -114,7 +113,7 @@ def list( ) client.ticketing.comments.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -130,7 +129,7 @@ def list( ticket_id=ticket_id, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -174,10 +173,10 @@ def create( model=CommentRequest(), ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options ) - return response.data + return _response.data def retrieve( self, @@ -224,14 +223,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -257,8 +256,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.ticketing.comments.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data class AsyncCommentsClient: @@ -364,7 +363,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -380,7 +379,7 @@ async def main() -> None: ticket_id=ticket_id, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -432,10 +431,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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 + return _response.data async def retrieve( self, @@ -490,14 +489,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -531,5 +530,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data diff --git a/src/merge/resources/ticketing/resources/comments/raw_client.py b/src/merge/resources/ticketing/resources/comments/raw_client.py index 145e258a..0cbef575 100644 --- a/src/merge/resources/ticketing/resources/comments/raw_client.py +++ b/src/merge/resources/ticketing/resources/comments/raw_client.py @@ -1,24 +1,23 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .types.comments_list_request_expand import CommentsListRequestExpand -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_comment_list import PaginatedCommentList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +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.comment import Comment from ...types.comment_request import CommentRequest from ...types.comment_response import CommentResponse -from .types.comments_retrieve_request_expand import CommentsRetrieveRequestExpand -from ...types.comment import Comment -from .....core.jsonable_encoder import jsonable_encoder from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from ...types.paginated_comment_list import PaginatedCommentList +from .types.comments_list_request_expand import CommentsListRequestExpand +from .types.comments_retrieve_request_expand import CommentsRetrieveRequestExpand # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -132,8 +131,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -192,8 +191,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -250,8 +249,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -286,8 +285,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawCommentsClient: @@ -398,8 +397,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -458,8 +457,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -516,8 +515,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -552,5 +551,5 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ticketing/resources/comments/types/__init__.py b/src/merge/resources/ticketing/resources/comments/types/__init__.py index 7dfcd95d..ec1ce60e 100644 --- a/src/merge/resources/ticketing/resources/comments/types/__init__.py +++ b/src/merge/resources/ticketing/resources/comments/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .comments_list_request_expand import CommentsListRequestExpand from .comments_retrieve_request_expand import CommentsRetrieveRequestExpand diff --git a/src/merge/resources/ticketing/resources/contacts/__init__.py b/src/merge/resources/ticketing/resources/contacts/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ticketing/resources/contacts/__init__.py +++ b/src/merge/resources/ticketing/resources/contacts/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ticketing/resources/contacts/client.py b/src/merge/resources/ticketing/resources/contacts/client.py index e8963b1e..aa5fe595 100644 --- a/src/merge/resources/ticketing/resources/contacts/client.py +++ b/src/merge/resources/ticketing/resources/contacts/client.py @@ -1,17 +1,16 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawContactsClient import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_contact_list import PaginatedContactList -from ...types.contact_request import ContactRequest -from ...types.ticketing_contact_response import TicketingContactResponse from ...types.contact import Contact +from ...types.contact_request import ContactRequest from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawContactsClient +from ...types.paginated_contact_list import PaginatedContactList +from ...types.ticketing_contact_response import TicketingContactResponse +from .raw_client import AsyncRawContactsClient, RawContactsClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -104,7 +103,7 @@ def list( ) client.ticketing.contacts.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -118,7 +117,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -162,10 +161,10 @@ def create( model=ContactRequest(), ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options ) - return response.data + return _response.data def retrieve( self, @@ -212,14 +211,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -245,8 +244,8 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.ticketing.contacts.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data class AsyncContactsClient: @@ -344,7 +343,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -358,7 +357,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -410,10 +409,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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 + return _response.data async def retrieve( self, @@ -468,14 +467,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -509,5 +508,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data diff --git a/src/merge/resources/ticketing/resources/contacts/raw_client.py b/src/merge/resources/ticketing/resources/contacts/raw_client.py index 52e1a471..f1a96051 100644 --- a/src/merge/resources/ticketing/resources/contacts/raw_client.py +++ b/src/merge/resources/ticketing/resources/contacts/raw_client.py @@ -1,22 +1,21 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_contact_list import PaginatedContactList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.contact_request import ContactRequest -from ...types.ticketing_contact_response import TicketingContactResponse -from ...types.contact import Contact +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.contact import Contact +from ...types.contact_request import ContactRequest from ...types.meta_response import MetaResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from ...types.paginated_contact_list import PaginatedContactList +from ...types.ticketing_contact_response import TicketingContactResponse # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -118,8 +117,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -178,8 +177,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -236,8 +235,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -272,8 +271,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawContactsClient: @@ -372,8 +371,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -432,8 +431,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -490,8 +489,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -526,5 +525,5 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ticketing/resources/delete_account/__init__.py b/src/merge/resources/ticketing/resources/delete_account/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ticketing/resources/delete_account/__init__.py +++ b/src/merge/resources/ticketing/resources/delete_account/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ticketing/resources/delete_account/client.py b/src/merge/resources/ticketing/resources/delete_account/client.py index 96fe3c8d..a18a8e1d 100644 --- a/src/merge/resources/ticketing/resources/delete_account/client.py +++ b/src/merge/resources/ticketing/resources/delete_account/client.py @@ -1,11 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawDeleteAccountClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawDeleteAccountClient +from .raw_client import AsyncRawDeleteAccountClient, RawDeleteAccountClient class DeleteAccountClient: @@ -46,8 +45,8 @@ def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> ) client.ticketing.delete_account.delete() """ - response = self._raw_client.delete(request_options=request_options) - return response.data + _response = self._raw_client.delete(request_options=request_options) + return _response.data class AsyncDeleteAccountClient: @@ -96,5 +95,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.delete(request_options=request_options) - return response.data + _response = await self._raw_client.delete(request_options=request_options) + return _response.data diff --git a/src/merge/resources/ticketing/resources/delete_account/raw_client.py b/src/merge/resources/ticketing/resources/delete_account/raw_client.py index d0a81964..773ab786 100644 --- a/src/merge/resources/ticketing/resources/delete_account/raw_client.py +++ b/src/merge/resources/ticketing/resources/delete_account/raw_client.py @@ -1,13 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.request_options import RequestOptions class RawDeleteAccountClient: @@ -37,8 +36,8 @@ def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> return HttpResponse(response=_response, data=None) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -68,5 +67,5 @@ async def delete(self, *, request_options: typing.Optional[RequestOptions] = Non return AsyncHttpResponse(response=_response, data=None) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ticketing/resources/field_mapping/__init__.py b/src/merge/resources/ticketing/resources/field_mapping/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ticketing/resources/field_mapping/__init__.py +++ b/src/merge/resources/ticketing/resources/field_mapping/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ticketing/resources/field_mapping/client.py b/src/merge/resources/ticketing/resources/field_mapping/client.py index 9090545d..ef095879 100644 --- a/src/merge/resources/ticketing/resources/field_mapping/client.py +++ b/src/merge/resources/ticketing/resources/field_mapping/client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawFieldMappingClient + +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 ...types.external_target_field_api_response import ExternalTargetFieldApiResponse -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawFieldMappingClient +from .raw_client import AsyncRawFieldMappingClient, RawFieldMappingClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -62,10 +61,10 @@ def field_mappings_retrieve( ) client.ticketing.field_mapping.field_mappings_retrieve() """ - response = self._raw_client.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 + return _response.data def field_mappings_create( self, @@ -130,7 +129,7 @@ def field_mappings_create( common_model_name="ExampleCommonModel", ) """ - response = self._raw_client.field_mappings_create( + _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, @@ -140,7 +139,7 @@ def field_mappings_create( exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options, ) - return response.data + return _response.data def field_mappings_destroy( self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -172,8 +171,8 @@ def 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 + _response = self._raw_client.field_mappings_destroy(field_mapping_id, request_options=request_options) + return _response.data def field_mappings_partial_update( self, @@ -220,14 +219,14 @@ def field_mappings_partial_update( field_mapping_id="field_mapping_id", ) """ - response = self._raw_client.field_mappings_partial_update( + _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 + return _response.data def remote_fields_retrieve( self, @@ -265,10 +264,10 @@ def remote_fields_retrieve( ) client.ticketing.field_mapping.remote_fields_retrieve() """ - response = self._raw_client.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 + return _response.data def target_fields_retrieve( self, *, request_options: typing.Optional[RequestOptions] = None @@ -296,8 +295,8 @@ def target_fields_retrieve( ) client.ticketing.field_mapping.target_fields_retrieve() """ - response = self._raw_client.target_fields_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.target_fields_retrieve(request_options=request_options) + return _response.data class AsyncFieldMappingClient: @@ -355,10 +354,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.field_mappings_retrieve( + _response = await self._raw_client.field_mappings_retrieve( exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options ) - return response.data + return _response.data async def field_mappings_create( self, @@ -431,7 +430,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.field_mappings_create( + _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, @@ -441,7 +440,7 @@ async def main() -> None: exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options, ) - return response.data + return _response.data async def field_mappings_destroy( self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -481,8 +480,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.field_mappings_destroy(field_mapping_id, request_options=request_options) - return response.data + _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, @@ -537,14 +536,14 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.field_mappings_partial_update( + _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 + return _response.data async def remote_fields_retrieve( self, @@ -590,10 +589,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.remote_fields_retrieve( + _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 + return _response.data async def target_fields_retrieve( self, *, request_options: typing.Optional[RequestOptions] = None @@ -629,5 +628,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.target_fields_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.target_fields_retrieve(request_options=request_options) + return _response.data 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 ee6c68d7..ebbc08e8 100644 --- a/src/merge/resources/ticketing/resources/field_mapping/raw_client.py +++ b/src/merge/resources/ticketing/resources/field_mapping/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.field_mapping_api_instance_response import FieldMappingApiInstanceResponse -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.field_mapping_instance_response import FieldMappingInstanceResponse +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder -from ...types.remote_field_api_response import RemoteFieldApiResponse +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type from ...types.external_target_field_api_response import ExternalTargetFieldApiResponse -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -65,8 +64,8 @@ def field_mappings_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -146,8 +145,8 @@ def field_mappings_create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -184,8 +183,8 @@ def field_mappings_destroy( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -246,8 +245,8 @@ def field_mappings_partial_update( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -296,8 +295,8 @@ def remote_fields_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -332,8 +331,8 @@ def target_fields_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -382,8 +381,8 @@ async def field_mappings_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -463,8 +462,8 @@ async def field_mappings_create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -501,8 +500,8 @@ async def field_mappings_destroy( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -563,8 +562,8 @@ async def field_mappings_partial_update( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -613,8 +612,8 @@ async def remote_fields_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -649,5 +648,5 @@ async def target_fields_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ticketing/resources/force_resync/__init__.py b/src/merge/resources/ticketing/resources/force_resync/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ticketing/resources/force_resync/__init__.py +++ b/src/merge/resources/ticketing/resources/force_resync/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ticketing/resources/force_resync/client.py b/src/merge/resources/ticketing/resources/force_resync/client.py index 60fa949a..50b87c37 100644 --- a/src/merge/resources/ticketing/resources/force_resync/client.py +++ b/src/merge/resources/ticketing/resources/force_resync/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawForceResyncClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.sync_status import SyncStatus -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawForceResyncClient +from .raw_client import AsyncRawForceResyncClient, RawForceResyncClient class ForceResyncClient: @@ -50,8 +49,8 @@ def sync_status_resync_create( ) client.ticketing.force_resync.sync_status_resync_create() """ - response = self._raw_client.sync_status_resync_create(request_options=request_options) - return response.data + _response = self._raw_client.sync_status_resync_create(request_options=request_options) + return _response.data class AsyncForceResyncClient: @@ -103,5 +102,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.sync_status_resync_create(request_options=request_options) - return response.data + _response = await self._raw_client.sync_status_resync_create(request_options=request_options) + return _response.data diff --git a/src/merge/resources/ticketing/resources/force_resync/raw_client.py b/src/merge/resources/ticketing/resources/force_resync/raw_client.py index 4d2122ce..1d964134 100644 --- a/src/merge/resources/ticketing/resources/force_resync/raw_client.py +++ b/src/merge/resources/ticketing/resources/force_resync/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.sync_status import SyncStatus -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -49,8 +48,8 @@ def sync_status_resync_create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -90,5 +89,5 @@ async def sync_status_resync_create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ticketing/resources/generate_key/__init__.py b/src/merge/resources/ticketing/resources/generate_key/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ticketing/resources/generate_key/__init__.py +++ b/src/merge/resources/ticketing/resources/generate_key/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ticketing/resources/generate_key/client.py b/src/merge/resources/ticketing/resources/generate_key/client.py index b26a080d..59a310e7 100644 --- a/src/merge/resources/ticketing/resources/generate_key/client.py +++ b/src/merge/resources/ticketing/resources/generate_key/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawGenerateKeyClient + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.remote_key import RemoteKey -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawGenerateKeyClient +from .raw_client import AsyncRawGenerateKeyClient, RawGenerateKeyClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -56,8 +55,8 @@ def create(self, *, name: str, request_options: typing.Optional[RequestOptions] name="Remote Deployment Key 1", ) """ - response = self._raw_client.create(name=name, request_options=request_options) - return response.data + _response = self._raw_client.create(name=name, request_options=request_options) + return _response.data class AsyncGenerateKeyClient: @@ -112,5 +111,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create(name=name, request_options=request_options) - return response.data + _response = await self._raw_client.create(name=name, request_options=request_options) + return _response.data diff --git a/src/merge/resources/ticketing/resources/generate_key/raw_client.py b/src/merge/resources/ticketing/resources/generate_key/raw_client.py index b934a085..d9c73292 100644 --- a/src/merge/resources/ticketing/resources/generate_key/raw_client.py +++ b/src/merge/resources/ticketing/resources/generate_key/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.remote_key import RemoteKey -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -60,8 +59,8 @@ def create(self, *, name: str, request_options: typing.Optional[RequestOptions] return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -111,5 +110,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ticketing/resources/issues/__init__.py b/src/merge/resources/ticketing/resources/issues/__init__.py index ab74e304..bb7feb68 100644 --- a/src/merge/resources/ticketing/resources/issues/__init__.py +++ b/src/merge/resources/ticketing/resources/issues/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import IssuesListRequestStatus __all__ = ["IssuesListRequestStatus"] diff --git a/src/merge/resources/ticketing/resources/issues/client.py b/src/merge/resources/ticketing/resources/issues/client.py index 1ef0791c..ea663780 100644 --- a/src/merge/resources/ticketing/resources/issues/client.py +++ b/src/merge/resources/ticketing/resources/issues/client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawIssuesClient -import typing import datetime as dt -from .types.issues_list_request_status import IssuesListRequestStatus +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions -from ...types.paginated_issue_list import PaginatedIssueList from ...types.issue import Issue -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawIssuesClient +from ...types.paginated_issue_list import PaginatedIssueList +from .raw_client import AsyncRawIssuesClient, RawIssuesClient +from .types.issues_list_request_status import IssuesListRequestStatus class IssuesClient: @@ -111,7 +110,7 @@ def list( ) client.ticketing.issues.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -128,7 +127,7 @@ def list( status=status, request_options=request_options, ) - return response.data + return _response.data def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ @@ -158,8 +157,8 @@ def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] id="id", ) """ - response = self._raw_client.retrieve(id, request_options=request_options) - return response.data + _response = self._raw_client.retrieve(id, request_options=request_options) + return _response.data class AsyncIssuesClient: @@ -269,7 +268,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -286,7 +285,7 @@ async def main() -> None: status=status, request_options=request_options, ) - return response.data + return _response.data async def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ @@ -324,5 +323,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve(id, request_options=request_options) - return response.data + _response = await self._raw_client.retrieve(id, request_options=request_options) + return _response.data diff --git a/src/merge/resources/ticketing/resources/issues/raw_client.py b/src/merge/resources/ticketing/resources/issues/raw_client.py index 646fbd39..6e00cb0b 100644 --- a/src/merge/resources/ticketing/resources/issues/raw_client.py +++ b/src/merge/resources/ticketing/resources/issues/raw_client.py @@ -1,20 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .types.issues_list_request_status import IssuesListRequestStatus -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_issue_list import PaginatedIssueList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.issue import Issue +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -136,8 +135,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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]: """ @@ -172,8 +171,8 @@ def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -295,8 +294,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -333,5 +332,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ticketing/resources/issues/types/__init__.py b/src/merge/resources/ticketing/resources/issues/types/__init__.py index 660c5d2a..06333662 100644 --- a/src/merge/resources/ticketing/resources/issues/types/__init__.py +++ b/src/merge/resources/ticketing/resources/issues/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .issues_list_request_status import IssuesListRequestStatus __all__ = ["IssuesListRequestStatus"] diff --git a/src/merge/resources/ticketing/resources/link_token/__init__.py b/src/merge/resources/ticketing/resources/link_token/__init__.py index f3ea2659..a640c12b 100644 --- a/src/merge/resources/ticketing/resources/link_token/__init__.py +++ b/src/merge/resources/ticketing/resources/link_token/__init__.py @@ -1,2 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + +from .types import 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 ec5a568d..db048de5 100644 --- a/src/merge/resources/ticketing/resources/link_token/client.py +++ b/src/merge/resources/ticketing/resources/link_token/client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawLinkTokenClient + +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 .....core.request_options import RequestOptions from ...types.link_token import LinkToken -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawLinkTokenClient +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, ...) @@ -46,7 +45,7 @@ def create( category_common_model_scopes: typing.Optional[ typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] ] = OMIT, - language: typing.Optional[LanguageEnum] = 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, request_options: typing.Optional[RequestOptions] = None, @@ -86,7 +85,7 @@ def 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. - language : typing.Optional[LanguageEnum] + language : typing.Optional[EndUserDetailsRequestLanguage] The following subset of IETF language tags can be used to configure localization. * `en` - en @@ -122,7 +121,7 @@ def create( categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], ) """ - response = self._raw_client.create( + _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, @@ -138,7 +137,7 @@ def create( integration_specific_config=integration_specific_config, request_options=request_options, ) - return response.data + return _response.data class AsyncLinkTokenClient: @@ -171,7 +170,7 @@ async def create( category_common_model_scopes: typing.Optional[ typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] ] = OMIT, - language: typing.Optional[LanguageEnum] = 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, request_options: typing.Optional[RequestOptions] = None, @@ -211,7 +210,7 @@ async def 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. - language : typing.Optional[LanguageEnum] + language : typing.Optional[EndUserDetailsRequestLanguage] The following subset of IETF language tags can be used to configure localization. * `en` - en @@ -255,7 +254,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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, @@ -271,4 +270,4 @@ async def main() -> None: integration_specific_config=integration_specific_config, request_options=request_options, ) - return response.data + 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 32201851..8095d3d1 100644 --- a/src/merge/resources/ticketing/resources/link_token/raw_client.py +++ b/src/merge/resources/ticketing/resources/link_token/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper +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 .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse from ...types.link_token import LinkToken -from .....core.unchecked_base_model import construct_type -from json.decoder import JSONDecodeError -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from .types.end_user_details_request_language import EndUserDetailsRequestLanguage # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -38,7 +37,7 @@ def create( category_common_model_scopes: typing.Optional[ typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] ] = OMIT, - language: typing.Optional[LanguageEnum] = 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, request_options: typing.Optional[RequestOptions] = None, @@ -78,7 +77,7 @@ def 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. - language : typing.Optional[LanguageEnum] + language : typing.Optional[EndUserDetailsRequestLanguage] The following subset of IETF language tags can be used to configure localization. * `en` - en @@ -134,8 +133,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -157,7 +156,7 @@ async def create( category_common_model_scopes: typing.Optional[ typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] ] = OMIT, - language: typing.Optional[LanguageEnum] = 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, request_options: typing.Optional[RequestOptions] = None, @@ -197,7 +196,7 @@ async def 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. - language : typing.Optional[LanguageEnum] + language : typing.Optional[EndUserDetailsRequestLanguage] The following subset of IETF language tags can be used to configure localization. * `en` - en @@ -253,5 +252,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ticketing/resources/link_token/types/__init__.py b/src/merge/resources/ticketing/resources/link_token/types/__init__.py new file mode 100644 index 00000000..fa266f8e --- /dev/null +++ b/src/merge/resources/ticketing/resources/link_token/types/__init__.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +# isort: skip_file + +from .end_user_details_request_language import EndUserDetailsRequestLanguage + +__all__ = ["EndUserDetailsRequestLanguage"] diff --git a/src/merge/resources/ticketing/resources/link_token/types/end_user_details_request_language.py b/src/merge/resources/ticketing/resources/link_token/types/end_user_details_request_language.py new file mode 100644 index 00000000..65c4b44a --- /dev/null +++ b/src/merge/resources/ticketing/resources/link_token/types/end_user_details_request_language.py @@ -0,0 +1,7 @@ +# 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/ticketing/resources/linked_accounts/__init__.py b/src/merge/resources/ticketing/resources/linked_accounts/__init__.py index 70377fa3..e7254ec5 100644 --- a/src/merge/resources/ticketing/resources/linked_accounts/__init__.py +++ b/src/merge/resources/ticketing/resources/linked_accounts/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import LinkedAccountsListRequestCategory __all__ = ["LinkedAccountsListRequestCategory"] diff --git a/src/merge/resources/ticketing/resources/linked_accounts/client.py b/src/merge/resources/ticketing/resources/linked_accounts/client.py index 7140b725..afaca7a3 100644 --- a/src/merge/resources/ticketing/resources/linked_accounts/client.py +++ b/src/merge/resources/ticketing/resources/linked_accounts/client.py @@ -1,13 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawLinkedAccountsClient import typing -from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawLinkedAccountsClient +from .raw_client import AsyncRawLinkedAccountsClient, RawLinkedAccountsClient +from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory class LinkedAccountsClient: @@ -112,7 +111,7 @@ def list( ) client.ticketing.linked_accounts.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -128,7 +127,7 @@ def list( status=status, request_options=request_options, ) - return response.data + return _response.data class AsyncLinkedAccountsClient: @@ -241,7 +240,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -257,4 +256,4 @@ async def main() -> None: status=status, request_options=request_options, ) - return response.data + 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 90d45306..30029cec 100644 --- a/src/merge/resources/ticketing/resources/linked_accounts/raw_client.py +++ b/src/merge/resources/ticketing/resources/linked_accounts/raw_client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -126,8 +125,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -243,5 +242,5 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ticketing/resources/linked_accounts/types/__init__.py b/src/merge/resources/ticketing/resources/linked_accounts/types/__init__.py index 9ff5c0ae..88354602 100644 --- a/src/merge/resources/ticketing/resources/linked_accounts/types/__init__.py +++ b/src/merge/resources/ticketing/resources/linked_accounts/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .linked_accounts_list_request_category import LinkedAccountsListRequestCategory __all__ = ["LinkedAccountsListRequestCategory"] diff --git a/src/merge/resources/ticketing/resources/passthrough/__init__.py b/src/merge/resources/ticketing/resources/passthrough/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ticketing/resources/passthrough/__init__.py +++ b/src/merge/resources/ticketing/resources/passthrough/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ticketing/resources/passthrough/client.py b/src/merge/resources/ticketing/resources/passthrough/client.py index 0f2c653c..297798ec 100644 --- a/src/merge/resources/ticketing/resources/passthrough/client.py +++ b/src/merge/resources/ticketing/resources/passthrough/client.py @@ -1,13 +1,12 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawPassthroughClient -from ...types.data_passthrough_request import DataPassthroughRequest + +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 .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawPassthroughClient +from .raw_client import AsyncRawPassthroughClient, RawPassthroughClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -62,8 +61,8 @@ def create( ), ) """ - response = self._raw_client.create(request=request, request_options=request_options) - return response.data + _response = self._raw_client.create(request=request, request_options=request_options) + return _response.data class AsyncPassthroughClient: @@ -123,5 +122,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create(request=request, request_options=request_options) - return response.data + _response = await self._raw_client.create(request=request, request_options=request_options) + return _response.data diff --git a/src/merge/resources/ticketing/resources/passthrough/raw_client.py b/src/merge/resources/ticketing/resources/passthrough/raw_client.py index 87e2c40d..a81c9a2d 100644 --- a/src/merge/resources/ticketing/resources/passthrough/raw_client.py +++ b/src/merge/resources/ticketing/resources/passthrough/raw_client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from ...types.data_passthrough_request import DataPassthroughRequest -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.remote_response import RemoteResponse -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -42,6 +41,9 @@ def create( "ticketing/v1/passthrough", method="POST", json=request, + headers={ + "content-type": "application/json", + }, request_options=request_options, omit=OMIT, ) @@ -57,8 +59,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -87,6 +89,9 @@ async def create( "ticketing/v1/passthrough", method="POST", json=request, + headers={ + "content-type": "application/json", + }, request_options=request_options, omit=OMIT, ) @@ -102,5 +107,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ticketing/resources/projects/__init__.py b/src/merge/resources/ticketing/resources/projects/__init__.py index 878935d3..6ea01d6d 100644 --- a/src/merge/resources/ticketing/resources/projects/__init__.py +++ b/src/merge/resources/ticketing/resources/projects/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import ProjectsUsersListRequestExpand __all__ = ["ProjectsUsersListRequestExpand"] diff --git a/src/merge/resources/ticketing/resources/projects/client.py b/src/merge/resources/ticketing/resources/projects/client.py index d4790946..be9c4fb2 100644 --- a/src/merge/resources/ticketing/resources/projects/client.py +++ b/src/merge/resources/ticketing/resources/projects/client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawProjectsClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper 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 .raw_client import AsyncRawProjectsClient, RawProjectsClient from .types.projects_users_list_request_expand import ProjectsUsersListRequestExpand -from ...types.paginated_user_list import PaginatedUserList -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawProjectsClient class ProjectsClient: @@ -96,7 +95,7 @@ def list( ) client.ticketing.projects.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -109,7 +108,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -152,13 +151,13 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data def users_list( self, @@ -217,7 +216,7 @@ def users_list( parent_id="parent_id", ) """ - response = self._raw_client.users_list( + _response = self._raw_client.users_list( parent_id, cursor=cursor, expand=expand, @@ -227,7 +226,7 @@ def users_list( page_size=page_size, request_options=request_options, ) - return response.data + return _response.data class AsyncProjectsClient: @@ -321,7 +320,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -334,7 +333,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -385,13 +384,13 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data async def users_list( self, @@ -458,7 +457,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.users_list( + _response = await self._raw_client.users_list( parent_id, cursor=cursor, expand=expand, @@ -468,4 +467,4 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return response.data + 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 5413bac2..1feb7fc5 100644 --- a/src/merge/resources/ticketing/resources/projects/raw_client.py +++ b/src/merge/resources/ticketing/resources/projects/raw_client.py @@ -1,21 +1,20 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_project_list import PaginatedProjectList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.project import Project +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 .types.projects_users_list_request_expand import ProjectsUsersListRequestExpand +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 .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from ...types.project import Project +from .types.projects_users_list_request_expand import ProjectsUsersListRequestExpand class RawProjectsClient: @@ -109,8 +108,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -162,8 +161,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 users_list( self, @@ -235,8 +234,8 @@ def users_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawProjectsClient: @@ -330,8 +329,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -383,8 +382,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 users_list( self, @@ -456,5 +455,5 @@ async def users_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ticketing/resources/projects/types/__init__.py b/src/merge/resources/ticketing/resources/projects/types/__init__.py index 80ee668f..3955c7de 100644 --- a/src/merge/resources/ticketing/resources/projects/types/__init__.py +++ b/src/merge/resources/ticketing/resources/projects/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .projects_users_list_request_expand import ProjectsUsersListRequestExpand __all__ = ["ProjectsUsersListRequestExpand"] diff --git a/src/merge/resources/ticketing/resources/regenerate_key/__init__.py b/src/merge/resources/ticketing/resources/regenerate_key/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ticketing/resources/regenerate_key/__init__.py +++ b/src/merge/resources/ticketing/resources/regenerate_key/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ticketing/resources/regenerate_key/client.py b/src/merge/resources/ticketing/resources/regenerate_key/client.py index b2bd57bf..9deb7b9d 100644 --- a/src/merge/resources/ticketing/resources/regenerate_key/client.py +++ b/src/merge/resources/ticketing/resources/regenerate_key/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawRegenerateKeyClient + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.remote_key import RemoteKey -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawRegenerateKeyClient +from .raw_client import AsyncRawRegenerateKeyClient, RawRegenerateKeyClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -56,8 +55,8 @@ def create(self, *, name: str, request_options: typing.Optional[RequestOptions] name="Remote Deployment Key 1", ) """ - response = self._raw_client.create(name=name, request_options=request_options) - return response.data + _response = self._raw_client.create(name=name, request_options=request_options) + return _response.data class AsyncRegenerateKeyClient: @@ -112,5 +111,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create(name=name, request_options=request_options) - return response.data + _response = await self._raw_client.create(name=name, request_options=request_options) + return _response.data diff --git a/src/merge/resources/ticketing/resources/regenerate_key/raw_client.py b/src/merge/resources/ticketing/resources/regenerate_key/raw_client.py index 80655796..0b07bbab 100644 --- a/src/merge/resources/ticketing/resources/regenerate_key/raw_client.py +++ b/src/merge/resources/ticketing/resources/regenerate_key/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.remote_key import RemoteKey -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -60,8 +59,8 @@ def create(self, *, name: str, request_options: typing.Optional[RequestOptions] return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -111,5 +110,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ticketing/resources/roles/__init__.py b/src/merge/resources/ticketing/resources/roles/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ticketing/resources/roles/__init__.py +++ b/src/merge/resources/ticketing/resources/roles/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ticketing/resources/roles/client.py b/src/merge/resources/ticketing/resources/roles/client.py index 1e65e35c..d026ac37 100644 --- a/src/merge/resources/ticketing/resources/roles/client.py +++ b/src/merge/resources/ticketing/resources/roles/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawRolesClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.paginated_role_list import PaginatedRoleList from ...types.role import Role -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawRolesClient +from .raw_client import AsyncRawRolesClient, RawRolesClient class RolesClient: @@ -94,7 +93,7 @@ def list( ) client.ticketing.roles.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -107,7 +106,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -150,13 +149,13 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncRolesClient: @@ -250,7 +249,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -263,7 +262,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -314,10 +313,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data diff --git a/src/merge/resources/ticketing/resources/roles/raw_client.py b/src/merge/resources/ticketing/resources/roles/raw_client.py index 91d8d6ae..cad3a639 100644 --- a/src/merge/resources/ticketing/resources/roles/raw_client.py +++ b/src/merge/resources/ticketing/resources/roles/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_role_list import PaginatedRoleList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.role import Role +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type +from ...types.paginated_role_list import PaginatedRoleList +from ...types.role import Role class RawRolesClient: @@ -107,8 +106,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -160,8 +159,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawRolesClient: @@ -255,8 +254,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -308,5 +307,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ticketing/resources/scopes/__init__.py b/src/merge/resources/ticketing/resources/scopes/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ticketing/resources/scopes/__init__.py +++ b/src/merge/resources/ticketing/resources/scopes/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ticketing/resources/scopes/client.py b/src/merge/resources/ticketing/resources/scopes/client.py index 2caf10fe..78f6eb5f 100644 --- a/src/merge/resources/ticketing/resources/scopes/client.py +++ b/src/merge/resources/ticketing/resources/scopes/client.py @@ -1,13 +1,12 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawScopesClient + +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 .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawScopesClient +from .raw_client import AsyncRawScopesClient, RawScopesClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -54,8 +53,8 @@ def default_scopes_retrieve( ) client.ticketing.scopes.default_scopes_retrieve() """ - response = self._raw_client.default_scopes_retrieve(request_options=request_options) - return response.data + _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 @@ -83,8 +82,8 @@ def linked_account_scopes_retrieve( ) client.ticketing.scopes.linked_account_scopes_retrieve() """ - response = self._raw_client.linked_account_scopes_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.linked_account_scopes_retrieve(request_options=request_options) + return _response.data def linked_account_scopes_create( self, @@ -149,10 +148,10 @@ def linked_account_scopes_create( ], ) """ - response = self._raw_client.linked_account_scopes_create( + _response = self._raw_client.linked_account_scopes_create( common_models=common_models, request_options=request_options ) - return response.data + return _response.data class AsyncScopesClient: @@ -204,8 +203,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.default_scopes_retrieve(request_options=request_options) - return response.data + _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 @@ -241,8 +240,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.linked_account_scopes_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.linked_account_scopes_retrieve(request_options=request_options) + return _response.data async def linked_account_scopes_create( self, @@ -315,7 +314,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.linked_account_scopes_create( + _response = await self._raw_client.linked_account_scopes_create( common_models=common_models, request_options=request_options ) - return response.data + return _response.data diff --git a/src/merge/resources/ticketing/resources/scopes/raw_client.py b/src/merge/resources/ticketing/resources/scopes/raw_client.py index 6164c6ac..0088cc62 100644 --- a/src/merge/resources/ticketing/resources/scopes/raw_client.py +++ b/src/merge/resources/ticketing/resources/scopes/raw_client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.common_model_scope_api import CommonModelScopeApi -from .....core.unchecked_base_model import construct_type 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 -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -53,8 +52,8 @@ def default_scopes_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -89,8 +88,8 @@ def linked_account_scopes_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -138,8 +137,8 @@ def linked_account_scopes_create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -179,8 +178,8 @@ async def default_scopes_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -215,8 +214,8 @@ async def linked_account_scopes_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -264,5 +263,5 @@ async def linked_account_scopes_create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ticketing/resources/sync_status/__init__.py b/src/merge/resources/ticketing/resources/sync_status/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ticketing/resources/sync_status/__init__.py +++ b/src/merge/resources/ticketing/resources/sync_status/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ticketing/resources/sync_status/client.py b/src/merge/resources/ticketing/resources/sync_status/client.py index 395ae301..91bbdd7e 100644 --- a/src/merge/resources/ticketing/resources/sync_status/client.py +++ b/src/merge/resources/ticketing/resources/sync_status/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawSyncStatusClient import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.paginated_sync_status_list import PaginatedSyncStatusList -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawSyncStatusClient +from .raw_client import AsyncRawSyncStatusClient, RawSyncStatusClient class SyncStatusClient: @@ -60,8 +59,8 @@ def list( ) client.ticketing.sync_status.list() """ - response = self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return response.data + _response = self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) + return _response.data class AsyncSyncStatusClient: @@ -123,5 +122,5 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return response.data + _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/ticketing/resources/sync_status/raw_client.py b/src/merge/resources/ticketing/resources/sync_status/raw_client.py index af39f2f6..38d09cc8 100644 --- a/src/merge/resources/ticketing/resources/sync_status/raw_client.py +++ b/src/merge/resources/ticketing/resources/sync_status/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper import typing -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_sync_status_list import PaginatedSyncStatusList -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -63,8 +62,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -118,5 +117,5 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ticketing/resources/tags/__init__.py b/src/merge/resources/ticketing/resources/tags/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ticketing/resources/tags/__init__.py +++ b/src/merge/resources/ticketing/resources/tags/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ticketing/resources/tags/client.py b/src/merge/resources/ticketing/resources/tags/client.py index b6c95665..34dbb860 100644 --- a/src/merge/resources/ticketing/resources/tags/client.py +++ b/src/merge/resources/ticketing/resources/tags/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawTagsClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.paginated_tag_list import PaginatedTagList from ...types.tag import Tag -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawTagsClient +from .raw_client import AsyncRawTagsClient, RawTagsClient class TagsClient: @@ -94,7 +93,7 @@ def list( ) client.ticketing.tags.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -107,7 +106,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -150,13 +149,13 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncTagsClient: @@ -250,7 +249,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -263,7 +262,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -314,10 +313,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data diff --git a/src/merge/resources/ticketing/resources/tags/raw_client.py b/src/merge/resources/ticketing/resources/tags/raw_client.py index 82f55c42..5172d85c 100644 --- a/src/merge/resources/ticketing/resources/tags/raw_client.py +++ b/src/merge/resources/ticketing/resources/tags/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_tag_list import PaginatedTagList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.tag import Tag +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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: @@ -107,8 +106,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -160,8 +159,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawTagsClient: @@ -255,8 +254,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -308,5 +307,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ticketing/resources/teams/__init__.py b/src/merge/resources/ticketing/resources/teams/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ticketing/resources/teams/__init__.py +++ b/src/merge/resources/ticketing/resources/teams/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ticketing/resources/teams/client.py b/src/merge/resources/ticketing/resources/teams/client.py index a751215b..0bf2170e 100644 --- a/src/merge/resources/ticketing/resources/teams/client.py +++ b/src/merge/resources/ticketing/resources/teams/client.py @@ -1,14 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawTeamsClient -import typing import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.paginated_team_list import PaginatedTeamList from ...types.team import Team -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawTeamsClient +from .raw_client import AsyncRawTeamsClient, RawTeamsClient class TeamsClient: @@ -94,7 +93,7 @@ def list( ) client.ticketing.teams.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -107,7 +106,7 @@ def list( remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -150,13 +149,13 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncTeamsClient: @@ -250,7 +249,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -263,7 +262,7 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -314,10 +313,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data diff --git a/src/merge/resources/ticketing/resources/teams/raw_client.py b/src/merge/resources/ticketing/resources/teams/raw_client.py index 386f1772..246ca9f7 100644 --- a/src/merge/resources/ticketing/resources/teams/raw_client.py +++ b/src/merge/resources/ticketing/resources/teams/raw_client.py @@ -1,19 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_team_list import PaginatedTeamList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from ...types.team import Team +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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 class RawTeamsClient: @@ -107,8 +106,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -160,8 +159,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawTeamsClient: @@ -255,8 +254,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -308,5 +307,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ticketing/resources/tickets/__init__.py b/src/merge/resources/ticketing/resources/tickets/__init__.py index 4502fbfe..e3fe3049 100644 --- a/src/merge/resources/ticketing/resources/tickets/__init__.py +++ b/src/merge/resources/ticketing/resources/tickets/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import ( TicketsListRequestExpand, TicketsListRequestPriority, diff --git a/src/merge/resources/ticketing/resources/tickets/client.py b/src/merge/resources/ticketing/resources/tickets/client.py index 1e2dab92..6862ebf3 100644 --- a/src/merge/resources/ticketing/resources/tickets/client.py +++ b/src/merge/resources/ticketing/resources/tickets/client.py @@ -1,28 +1,27 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawTicketsClient import datetime as dt -from .types.tickets_list_request_expand import TicketsListRequestExpand -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 +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper 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.ticket import Ticket from ...types.ticket_request import TicketRequest from ...types.ticket_response import TicketResponse +from .raw_client import AsyncRawTicketsClient, RawTicketsClient +from .types.tickets_list_request_expand import TicketsListRequestExpand +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_retrieve_request_expand import TicketsRetrieveRequestExpand from .types.tickets_retrieve_request_remote_fields import TicketsRetrieveRequestRemoteFields from .types.tickets_retrieve_request_show_enum_origins import TicketsRetrieveRequestShowEnumOrigins -from ...types.ticket import Ticket -from ...types.patched_ticket_request import PatchedTicketRequest from .types.tickets_viewers_list_request_expand import TicketsViewersListRequestExpand -from ...types.paginated_viewer_list import PaginatedViewerList -from ...types.meta_response import MetaResponse -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawTicketsClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -204,7 +203,7 @@ def list( ) client.ticketing.tickets.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( account_id=account_id, assignee_ids=assignee_ids, collection_ids=collection_ids, @@ -239,7 +238,7 @@ def list( ticket_url=ticket_url, request_options=request_options, ) - return response.data + return _response.data def create( self, @@ -283,10 +282,10 @@ def create( model=TicketRequest(), ) """ - response = self._raw_client.create( + _response = self._raw_client.create( model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options ) - return response.data + return _response.data def retrieve( self, @@ -345,7 +344,7 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _response = self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -355,7 +354,7 @@ def retrieve( show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data def partial_update( self, @@ -403,10 +402,10 @@ def partial_update( model=PatchedTicketRequest(), ) """ - response = self._raw_client.partial_update( + _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 + return _response.data def viewers_list( self, @@ -465,7 +464,7 @@ def viewers_list( ticket_id="ticket_id", ) """ - response = self._raw_client.viewers_list( + _response = self._raw_client.viewers_list( ticket_id, cursor=cursor, expand=expand, @@ -475,7 +474,7 @@ def viewers_list( page_size=page_size, request_options=request_options, ) - return response.data + return _response.data def meta_patch_retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -505,15 +504,27 @@ def meta_patch_retrieve(self, id: str, *, request_options: typing.Optional[Reque id="id", ) """ - response = self._raw_client.meta_patch_retrieve(id, request_options=request_options) - return response.data + _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: + def meta_post_retrieve( + self, + *, + collection_id: typing.Optional[str] = None, + ticket_type: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> MetaResponse: """ Returns metadata for `Ticket` POSTs. Parameters ---------- + collection_id : typing.Optional[str] + If provided, will only return tickets for this collection. + + ticket_type : typing.Optional[str] + If provided, will only return tickets for this ticket type. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -532,8 +543,10 @@ def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] ) client.ticketing.tickets.meta_post_retrieve() """ - response = self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = self._raw_client.meta_post_retrieve( + collection_id=collection_id, ticket_type=ticket_type, request_options=request_options + ) + return _response.data def remote_field_classes_list( self, @@ -544,6 +557,7 @@ def remote_field_classes_list( 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: @@ -570,6 +584,9 @@ def 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. @@ -591,17 +608,18 @@ def remote_field_classes_list( ) client.ticketing.tickets.remote_field_classes_list() """ - response = self._raw_client.remote_field_classes_list( + _response = self._raw_client.remote_field_classes_list( cursor=cursor, 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 response.data + return _response.data class AsyncTicketsClient: @@ -788,7 +806,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( account_id=account_id, assignee_ids=assignee_ids, collection_ids=collection_ids, @@ -823,7 +841,7 @@ async def main() -> None: ticket_url=ticket_url, request_options=request_options, ) - return response.data + return _response.data async def create( self, @@ -875,10 +893,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _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 + return _response.data async def retrieve( self, @@ -945,7 +963,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _response = await self._raw_client.retrieve( id, expand=expand, include_remote_data=include_remote_data, @@ -955,7 +973,7 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return response.data + return _response.data async def partial_update( self, @@ -1011,10 +1029,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.partial_update( + _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 + return _response.data async def viewers_list( self, @@ -1081,7 +1099,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.viewers_list( + _response = await self._raw_client.viewers_list( ticket_id, cursor=cursor, expand=expand, @@ -1091,7 +1109,7 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return response.data + return _response.data async def meta_patch_retrieve( self, id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -1131,15 +1149,27 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_patch_retrieve(id, request_options=request_options) - return response.data + _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: + async def meta_post_retrieve( + self, + *, + collection_id: typing.Optional[str] = None, + ticket_type: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> MetaResponse: """ Returns metadata for `Ticket` POSTs. Parameters ---------- + collection_id : typing.Optional[str] + If provided, will only return tickets for this collection. + + ticket_type : typing.Optional[str] + If provided, will only return tickets for this ticket type. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -1166,8 +1196,10 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.meta_post_retrieve(request_options=request_options) - return response.data + _response = await self._raw_client.meta_post_retrieve( + collection_id=collection_id, ticket_type=ticket_type, request_options=request_options + ) + return _response.data async def remote_field_classes_list( self, @@ -1178,6 +1210,7 @@ async def remote_field_classes_list( 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: @@ -1204,6 +1237,9 @@ async def 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. @@ -1233,14 +1269,15 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.remote_field_classes_list( + _response = await self._raw_client.remote_field_classes_list( cursor=cursor, 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 response.data + 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 b80bb887..a0c646b9 100644 --- a/src/merge/resources/ticketing/resources/tickets/raw_client.py +++ b/src/merge/resources/ticketing/resources/tickets/raw_client.py @@ -1,33 +1,32 @@ # This file was auto-generated by Fern from our API Definition. -import typing -from .....core.client_wrapper import SyncClientWrapper import datetime as dt -from .types.tickets_list_request_expand import TicketsListRequestExpand -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 .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_ticket_list import PaginatedTicketList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +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.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.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.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_retrieve_request_expand import TicketsRetrieveRequestExpand from .types.tickets_retrieve_request_remote_fields import TicketsRetrieveRequestRemoteFields from .types.tickets_retrieve_request_show_enum_origins import TicketsRetrieveRequestShowEnumOrigins -from ...types.ticket import Ticket -from .....core.jsonable_encoder import jsonable_encoder -from ...types.patched_ticket_request import PatchedTicketRequest from .types.tickets_viewers_list_request_expand import TicketsViewersListRequestExpand -from ...types.paginated_viewer_list import PaginatedViewerList -from ...types.meta_response import MetaResponse -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -247,8 +246,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -307,8 +306,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -380,8 +379,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -443,8 +442,8 @@ def partial_update( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 viewers_list( self, @@ -516,8 +515,8 @@ def viewers_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -554,17 +553,27 @@ def meta_patch_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 + self, + *, + collection_id: typing.Optional[str] = None, + ticket_type: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[MetaResponse]: """ Returns metadata for `Ticket` POSTs. Parameters ---------- + collection_id : typing.Optional[str] + If provided, will only return tickets for this collection. + + ticket_type : typing.Optional[str] + If provided, will only return tickets for this ticket type. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -576,6 +585,10 @@ def meta_post_retrieve( _response = self._client_wrapper.httpx_client.request( "ticketing/v1/tickets/meta/post", method="GET", + params={ + "collection_id": collection_id, + "ticket_type": ticket_type, + }, request_options=request_options, ) try: @@ -590,8 +603,8 @@ def meta_post_retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -602,6 +615,7 @@ def remote_field_classes_list( 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]: @@ -628,6 +642,9 @@ def 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. @@ -649,6 +666,7 @@ def remote_field_classes_list( "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, @@ -665,8 +683,8 @@ def remote_field_classes_list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 AsyncRawTicketsClient: @@ -883,8 +901,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -943,8 +961,8 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -1016,8 +1034,8 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -1079,8 +1097,8 @@ async def partial_update( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 viewers_list( self, @@ -1152,8 +1170,8 @@ async def viewers_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 @@ -1190,17 +1208,27 @@ async def meta_patch_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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 + self, + *, + collection_id: typing.Optional[str] = None, + ticket_type: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[MetaResponse]: """ Returns metadata for `Ticket` POSTs. Parameters ---------- + collection_id : typing.Optional[str] + If provided, will only return tickets for this collection. + + ticket_type : typing.Optional[str] + If provided, will only return tickets for this ticket type. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -1212,6 +1240,10 @@ async def meta_post_retrieve( _response = await self._client_wrapper.httpx_client.request( "ticketing/v1/tickets/meta/post", method="GET", + params={ + "collection_id": collection_id, + "ticket_type": ticket_type, + }, request_options=request_options, ) try: @@ -1226,8 +1258,8 @@ async def meta_post_retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -1238,6 +1270,7 @@ async def remote_field_classes_list( 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]: @@ -1264,6 +1297,9 @@ async def 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. @@ -1285,6 +1321,7 @@ async def remote_field_classes_list( "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, @@ -1301,5 +1338,5 @@ async def remote_field_classes_list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ticketing/resources/tickets/types/__init__.py b/src/merge/resources/ticketing/resources/tickets/types/__init__.py index d8fb2678..3b481cdf 100644 --- a/src/merge/resources/ticketing/resources/tickets/types/__init__.py +++ b/src/merge/resources/ticketing/resources/tickets/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .tickets_list_request_expand import TicketsListRequestExpand from .tickets_list_request_priority import TicketsListRequestPriority from .tickets_list_request_remote_fields import TicketsListRequestRemoteFields diff --git a/src/merge/resources/ticketing/resources/users/__init__.py b/src/merge/resources/ticketing/resources/users/__init__.py index 824033c0..a48b4f22 100644 --- a/src/merge/resources/ticketing/resources/users/__init__.py +++ b/src/merge/resources/ticketing/resources/users/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .types import UsersListRequestExpand, UsersRetrieveRequestExpand __all__ = ["UsersListRequestExpand", "UsersRetrieveRequestExpand"] diff --git a/src/merge/resources/ticketing/resources/users/client.py b/src/merge/resources/ticketing/resources/users/client.py index 7749da5f..4acf3693 100644 --- a/src/merge/resources/ticketing/resources/users/client.py +++ b/src/merge/resources/ticketing/resources/users/client.py @@ -1,16 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawUsersClient -import typing import datetime as dt -from .types.users_list_request_expand import UsersListRequestExpand +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.paginated_user_list import PaginatedUserList -from .types.users_retrieve_request_expand import UsersRetrieveRequestExpand from ...types.user import User -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawUsersClient +from .raw_client import AsyncRawUsersClient, RawUsersClient +from .types.users_list_request_expand import UsersListRequestExpand +from .types.users_retrieve_request_expand import UsersRetrieveRequestExpand class UsersClient: @@ -108,7 +107,7 @@ def list( ) client.ticketing.users.list() """ - response = self._raw_client.list( + _response = self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -124,7 +123,7 @@ def list( team=team, request_options=request_options, ) - return response.data + return _response.data def retrieve( self, @@ -171,14 +170,14 @@ def retrieve( id="id", ) """ - response = self._raw_client.retrieve( + _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 + return _response.data class AsyncUsersClient: @@ -284,7 +283,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list( + _response = await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -300,7 +299,7 @@ async def main() -> None: team=team, request_options=request_options, ) - return response.data + return _response.data async def retrieve( self, @@ -355,11 +354,11 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.retrieve( + _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 + return _response.data diff --git a/src/merge/resources/ticketing/resources/users/raw_client.py b/src/merge/resources/ticketing/resources/users/raw_client.py index 4b1843c6..389a95d3 100644 --- a/src/merge/resources/ticketing/resources/users/raw_client.py +++ b/src/merge/resources/ticketing/resources/users/raw_client.py @@ -1,21 +1,20 @@ # This file was auto-generated by Fern from our API Definition. -from .....core.client_wrapper import SyncClientWrapper -import typing import datetime as dt -from .types.users_list_request_expand import UsersListRequestExpand -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.paginated_user_list import PaginatedUserList -from .....core.datetime_utils import serialize_datetime -from .....core.unchecked_base_model import construct_type +import typing from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .types.users_retrieve_request_expand import UsersRetrieveRequestExpand -from ...types.user import User +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.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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 class RawUsersClient: @@ -124,8 +123,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -182,8 +181,8 @@ def retrieve( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -292,8 +291,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -350,5 +349,5 @@ async def retrieve( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ticketing/resources/users/types/__init__.py b/src/merge/resources/ticketing/resources/users/types/__init__.py index c8a13d75..f7a5521d 100644 --- a/src/merge/resources/ticketing/resources/users/types/__init__.py +++ b/src/merge/resources/ticketing/resources/users/types/__init__.py @@ -1,5 +1,7 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + from .users_list_request_expand import UsersListRequestExpand from .users_retrieve_request_expand import UsersRetrieveRequestExpand diff --git a/src/merge/resources/ticketing/resources/webhook_receivers/__init__.py b/src/merge/resources/ticketing/resources/webhook_receivers/__init__.py index f3ea2659..5cde0202 100644 --- a/src/merge/resources/ticketing/resources/webhook_receivers/__init__.py +++ b/src/merge/resources/ticketing/resources/webhook_receivers/__init__.py @@ -1,2 +1,4 @@ # This file was auto-generated by Fern from our API Definition. +# isort: skip_file + diff --git a/src/merge/resources/ticketing/resources/webhook_receivers/client.py b/src/merge/resources/ticketing/resources/webhook_receivers/client.py index 944693bd..7f31482f 100644 --- a/src/merge/resources/ticketing/resources/webhook_receivers/client.py +++ b/src/merge/resources/ticketing/resources/webhook_receivers/client.py @@ -1,12 +1,11 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .raw_client import RawWebhookReceiversClient + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.webhook_receiver import WebhookReceiver -from .....core.client_wrapper import AsyncClientWrapper -from .raw_client import AsyncRawWebhookReceiversClient +from .raw_client import AsyncRawWebhookReceiversClient, RawWebhookReceiversClient # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -51,8 +50,8 @@ def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> ty ) client.ticketing.webhook_receivers.list() """ - response = self._raw_client.list(request_options=request_options) - return response.data + _response = self._raw_client.list(request_options=request_options) + return _response.data def create( self, @@ -94,8 +93,8 @@ def create( is_active=True, ) """ - response = self._raw_client.create(event=event, is_active=is_active, key=key, request_options=request_options) - return response.data + _response = self._raw_client.create(event=event, is_active=is_active, key=key, request_options=request_options) + return _response.data class AsyncWebhookReceiversClient: @@ -145,8 +144,8 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.list(request_options=request_options) - return response.data + _response = await self._raw_client.list(request_options=request_options) + return _response.data async def create( self, @@ -196,7 +195,7 @@ async def main() -> None: asyncio.run(main()) """ - response = await self._raw_client.create( + _response = await self._raw_client.create( event=event, is_active=is_active, key=key, request_options=request_options ) - return response.data + return _response.data diff --git a/src/merge/resources/ticketing/resources/webhook_receivers/raw_client.py b/src/merge/resources/ticketing/resources/webhook_receivers/raw_client.py index a1005b6f..9060561d 100644 --- a/src/merge/resources/ticketing/resources/webhook_receivers/raw_client.py +++ b/src/merge/resources/ticketing/resources/webhook_receivers/raw_client.py @@ -1,15 +1,14 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .....core.client_wrapper import SyncClientWrapper -from .....core.request_options import RequestOptions -from .....core.http_response import HttpResponse -from ...types.webhook_receiver import WebhookReceiver -from .....core.unchecked_base_model import construct_type from json.decoder import JSONDecodeError + from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper -from .....core.http_response import AsyncHttpResponse +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, ...) @@ -52,8 +51,8 @@ def list( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -108,8 +107,8 @@ def create( return HttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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: @@ -149,8 +148,8 @@ async def list( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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, @@ -205,5 +204,5 @@ async def create( return AsyncHttpResponse(response=_response, data=_data) _response_json = _response.json() except JSONDecodeError: - raise ApiError(status_code=_response.status_code, body=_response.text) - raise ApiError(status_code=_response.status_code, body=_response_json) + raise ApiError(status_code=_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/ticketing/types/__init__.py b/src/merge/resources/ticketing/types/__init__.py index 5494801c..b40b4709 100644 --- a/src/merge/resources/ticketing/types/__init__.py +++ b/src/merge/resources/ticketing/types/__init__.py @@ -1,11 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from .access_level_enum import AccessLevelEnum +# isort: skip_file + from .account import Account 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 @@ -22,6 +26,7 @@ from .category_enum import CategoryEnum 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 @@ -98,6 +103,7 @@ from .paginated_user_list import PaginatedUserList 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 @@ -126,10 +132,13 @@ 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 .tag import Tag from .team import Team from .ticket import Ticket from .ticket_access_enum import TicketAccessEnum +from .ticket_access_level import TicketAccessLevel +from .ticket_access_level_enum import TicketAccessLevelEnum from .ticket_account import TicketAccount from .ticket_actions_enum import TicketActionsEnum from .ticket_assigned_teams_item import TicketAssignedTeamsItem @@ -141,6 +150,7 @@ from .ticket_parent_ticket import TicketParentTicket from .ticket_priority import TicketPriority from .ticket_request import TicketRequest +from .ticket_request_access_level import TicketRequestAccessLevel from .ticket_request_account import TicketRequestAccount from .ticket_request_assigned_teams_item import TicketRequestAssignedTeamsItem from .ticket_request_assignees_item import TicketRequestAssigneesItem @@ -167,12 +177,14 @@ from .webhook_receiver import WebhookReceiver __all__ = [ - "AccessLevelEnum", "Account", "AccountDetails", "AccountDetailsAndActions", + "AccountDetailsAndActionsCategory", "AccountDetailsAndActionsIntegration", + "AccountDetailsAndActionsStatus", "AccountDetailsAndActionsStatusEnum", + "AccountDetailsCategory", "AccountIntegration", "AccountToken", "AdvancedMetadata", @@ -189,6 +201,7 @@ "CategoryEnum", "Collection", "CollectionAccessLevel", + "CollectionAccessLevelEnum", "CollectionCollectionType", "CollectionParentCollection", "CollectionTypeEnum", @@ -263,6 +276,7 @@ "PaginatedUserList", "PaginatedViewerList", "PatchedTicketRequest", + "PatchedTicketRequestAccessLevel", "PatchedTicketRequestPriority", "PatchedTicketRequestStatus", "PriorityEnum", @@ -291,10 +305,13 @@ "SelectiveSyncConfigurationsUsageEnum", "StatusFd5Enum", "SyncStatus", + "SyncStatusLastSyncResult", "Tag", "Team", "Ticket", "TicketAccessEnum", + "TicketAccessLevel", + "TicketAccessLevelEnum", "TicketAccount", "TicketActionsEnum", "TicketAssignedTeamsItem", @@ -306,6 +323,7 @@ "TicketParentTicket", "TicketPriority", "TicketRequest", + "TicketRequestAccessLevel", "TicketRequestAccount", "TicketRequestAssignedTeamsItem", "TicketRequestAssigneesItem", diff --git a/src/merge/resources/ticketing/types/account.py b/src/merge/resources/ticketing/types/account.py index 190c33c4..3d1cda4c 100644 --- a/src/merge/resources/ticketing/types/account.py +++ b/src/merge/resources/ticketing/types/account.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .remote_data import RemoteData from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_data import RemoteData class Account(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/account_details.py b/src/merge/resources/ticketing/types/account_details.py index b5bae11d..98923cd8 100644 --- a/src/merge/resources/ticketing/types/account_details.py +++ b/src/merge/resources/ticketing/types/account_details.py @@ -1,18 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing -from .category_enum import CategoryEnum + import pydantic -import datetime as dt 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[CategoryEnum] = 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 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 22726b6a..93c874ed 100644 --- a/src/merge/resources/ticketing/types/account_details_and_actions.py +++ b/src/merge/resources/ticketing/types/account_details_and_actions.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing -from .category_enum import CategoryEnum -from .account_details_and_actions_status_enum import AccountDetailsAndActionsStatusEnum + import pydantic -from .account_details_and_actions_integration import AccountDetailsAndActionsIntegration -import datetime as dt 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): @@ -21,8 +22,8 @@ class AccountDetailsAndActions(UncheckedBaseModel): """ id: str - category: typing.Optional[CategoryEnum] = None - status: AccountDetailsAndActionsStatusEnum + 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 @@ -41,6 +42,7 @@ 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_details_and_actions_category.py b/src/merge/resources/ticketing/types/account_details_and_actions_category.py new file mode 100644 index 00000000..93b4188b --- /dev/null +++ b/src/merge/resources/ticketing/types/account_details_and_actions_category.py @@ -0,0 +1,7 @@ +# 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/ticketing/types/account_details_and_actions_integration.py b/src/merge/resources/ticketing/types/account_details_and_actions_integration.py index d3826f1b..73467bbb 100644 --- a/src/merge/resources/ticketing/types/account_details_and_actions_integration.py +++ b/src/merge/resources/ticketing/types/account_details_and_actions_integration.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel 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 -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class AccountDetailsAndActionsIntegration(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/account_details_and_actions_status.py b/src/merge/resources/ticketing/types/account_details_and_actions_status.py new file mode 100644 index 00000000..445922f8 --- /dev/null +++ b/src/merge/resources/ticketing/types/account_details_and_actions_status.py @@ -0,0 +1,7 @@ +# 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/ticketing/types/account_details_category.py b/src/merge/resources/ticketing/types/account_details_category.py new file mode 100644 index 00000000..8a0cc59c --- /dev/null +++ b/src/merge/resources/ticketing/types/account_details_category.py @@ -0,0 +1,7 @@ +# 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/ticketing/types/account_integration.py b/src/merge/resources/ticketing/types/account_integration.py index 9695197b..ef8b260d 100644 --- a/src/merge/resources/ticketing/types/account_integration.py +++ b/src/merge/resources/ticketing/types/account_integration.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import pydantic import typing -from .categories_enum import CategoriesEnum + +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): diff --git a/src/merge/resources/ticketing/types/account_token.py b/src/merge/resources/ticketing/types/account_token.py index 0fc6016b..6e82c8ac 100644 --- a/src/merge/resources/ticketing/types/account_token.py +++ b/src/merge/resources/ticketing/types/account_token.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .account_integration import AccountIntegration -from ....core.pydantic_utilities import IS_PYDANTIC_V2 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): diff --git a/src/merge/resources/ticketing/types/advanced_metadata.py b/src/merge/resources/ticketing/types/advanced_metadata.py index 7b4d6211..60b5d072 100644 --- a/src/merge/resources/ticketing/types/advanced_metadata.py +++ b/src/merge/resources/ticketing/types/advanced_metadata.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class AdvancedMetadata(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/async_passthrough_reciept.py b/src/merge/resources/ticketing/types/async_passthrough_reciept.py index 4e217ee9..21c95080 100644 --- a/src/merge/resources/ticketing/types/async_passthrough_reciept.py +++ b/src/merge/resources/ticketing/types/async_passthrough_reciept.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class AsyncPassthroughReciept(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/attachment.py b/src/merge/resources/ticketing/types/attachment.py index 544c2c27..13163ced 100644 --- a/src/merge/resources/ticketing/types/attachment.py +++ b/src/merge/resources/ticketing/types/attachment.py @@ -1,14 +1,14 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -from ....core.unchecked_base_model import UncheckedBaseModel -from .collection import Collection + +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.pydantic_utilities import update_forward_refs class Attachment(UncheckedBaseModel): @@ -85,7 +85,8 @@ class Config: extra = pydantic.Extra.allow -from .ticket import Ticket # noqa: E402 -from .attachment_ticket import AttachmentTicket # noqa: E402 +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 update_forward_refs(Attachment) diff --git a/src/merge/resources/ticketing/types/attachment_request.py b/src/merge/resources/ticketing/types/attachment_request.py index 60f7057f..62af0a78 100644 --- a/src/merge/resources/ticketing/types/attachment_request.py +++ b/src/merge/resources/ticketing/types/attachment_request.py @@ -1,13 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .attachment import Attachment -from .collection import Collection -from .ticket import Ticket +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 .attachment_request_ticket import AttachmentRequestTicket -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class AttachmentRequest(UncheckedBaseModel): @@ -56,3 +56,10 @@ class Config: frozen = True smart_union = True 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/attachment_request_ticket.py b/src/merge/resources/ticketing/types/attachment_request_ticket.py index 17a45b28..88236232 100644 --- a/src/merge/resources/ticketing/types/attachment_request_ticket.py +++ b/src/merge/resources/ticketing/types/attachment_request_ticket.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .ticket import Ticket AttachmentRequestTicket = typing.Union[str, Ticket] diff --git a/src/merge/resources/ticketing/types/attachment_ticket.py b/src/merge/resources/ticketing/types/attachment_ticket.py index a69d1db0..26898636 100644 --- a/src/merge/resources/ticketing/types/attachment_ticket.py +++ b/src/merge/resources/ticketing/types/attachment_ticket.py @@ -1,7 +1,7 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -import typing + import typing if typing.TYPE_CHECKING: diff --git a/src/merge/resources/ticketing/types/audit_log_event.py b/src/merge/resources/ticketing/types/audit_log_event.py index 1cf6997a..ab69fd32 100644 --- a/src/merge/resources/ticketing/types/audit_log_event.py +++ b/src/merge/resources/ticketing/types/audit_log_event.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -from .audit_log_event_role import AuditLogEventRole -from .audit_log_event_event_type import AuditLogEventEventType -import datetime as dt 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): @@ -43,6 +44,7 @@ class AuditLogEvent(UncheckedBaseModel): * `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 diff --git a/src/merge/resources/ticketing/types/audit_log_event_event_type.py b/src/merge/resources/ticketing/types/audit_log_event_event_type.py index f9d43eed..f9c9d2b3 100644 --- a/src/merge/resources/ticketing/types/audit_log_event_event_type.py +++ b/src/merge/resources/ticketing/types/audit_log_event_event_type.py @@ -1,6 +1,7 @@ # 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/ticketing/types/audit_log_event_role.py b/src/merge/resources/ticketing/types/audit_log_event_role.py index 83ecd93a..fe91ed6f 100644 --- a/src/merge/resources/ticketing/types/audit_log_event_role.py +++ b/src/merge/resources/ticketing/types/audit_log_event_role.py @@ -1,6 +1,7 @@ # 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/ticketing/types/available_actions.py b/src/merge/resources/ticketing/types/available_actions.py index f4361dd0..8b5019d7 100644 --- a/src/merge/resources/ticketing/types/available_actions.py +++ b/src/merge/resources/ticketing/types/available_actions.py @@ -1,11 +1,12 @@ # 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 -import typing from .model_operation import ModelOperation -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class AvailableActions(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/collection.py b/src/merge/resources/ticketing/types/collection.py index 1cfeae58..e6a84024 100644 --- a/src/merge/resources/ticketing/types/collection.py +++ b/src/merge/resources/ticketing/types/collection.py @@ -1,15 +1,16 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -from ....core.unchecked_base_model import UncheckedBaseModel + +import datetime as dt import typing + import pydantic -import datetime as dt -from .collection_collection_type import CollectionCollectionType +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel from .collection_access_level import CollectionAccessLevel +from .collection_collection_type import CollectionCollectionType from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.pydantic_utilities import update_forward_refs class Collection(UncheckedBaseModel): @@ -48,6 +49,16 @@ class Collection(UncheckedBaseModel): The collection's description. """ + access_level: typing.Optional[CollectionAccessLevel] = pydantic.Field(default=None) + """ + 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: typing.Optional[CollectionCollectionType] = pydantic.Field(default=None) """ The collection's type. @@ -66,15 +77,6 @@ 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/). """ - access_level: typing.Optional[CollectionAccessLevel] = pydantic.Field(default=None) - """ - The level of access a User has to the Collection and its sub-objects. - - * `PRIVATE` - PRIVATE - * `COMPANY` - COMPANY - * `PUBLIC` - PUBLIC - """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None @@ -88,6 +90,6 @@ class Config: extra = pydantic.Extra.allow -from .collection_parent_collection import CollectionParentCollection # noqa: E402 +from .collection_parent_collection import CollectionParentCollection # noqa: E402, F401, I001 update_forward_refs(Collection) diff --git a/src/merge/resources/ticketing/types/collection_access_level.py b/src/merge/resources/ticketing/types/collection_access_level.py index 07522d89..c81fa7fe 100644 --- a/src/merge/resources/ticketing/types/collection_access_level.py +++ b/src/merge/resources/ticketing/types/collection_access_level.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing -from .access_level_enum import AccessLevelEnum -CollectionAccessLevel = typing.Union[AccessLevelEnum, str] +from .collection_access_level_enum import CollectionAccessLevelEnum + +CollectionAccessLevel = typing.Union[CollectionAccessLevelEnum, str] diff --git a/src/merge/resources/ticketing/types/collection_access_level_enum.py b/src/merge/resources/ticketing/types/collection_access_level_enum.py new file mode 100644 index 00000000..63f9cbc7 --- /dev/null +++ b/src/merge/resources/ticketing/types/collection_access_level_enum.py @@ -0,0 +1,36 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CollectionAccessLevelEnum(str, enum.Enum): + """ + * `PRIVATE` - PRIVATE + * `COMPANY` - COMPANY + * `PUBLIC` - PUBLIC + * `PARENT_COLLECTION` - PARENT_COLLECTION + """ + + PRIVATE = "PRIVATE" + COMPANY = "COMPANY" + PUBLIC = "PUBLIC" + PARENT_COLLECTION = "PARENT_COLLECTION" + + def visit( + self, + private: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + public: typing.Callable[[], T_Result], + parent_collection: typing.Callable[[], T_Result], + ) -> T_Result: + if self is CollectionAccessLevelEnum.PRIVATE: + return private() + if self is CollectionAccessLevelEnum.COMPANY: + return company() + if self is CollectionAccessLevelEnum.PUBLIC: + return public() + if self is CollectionAccessLevelEnum.PARENT_COLLECTION: + return parent_collection() diff --git a/src/merge/resources/ticketing/types/collection_collection_type.py b/src/merge/resources/ticketing/types/collection_collection_type.py index 46323048..986d6db9 100644 --- a/src/merge/resources/ticketing/types/collection_collection_type.py +++ b/src/merge/resources/ticketing/types/collection_collection_type.py @@ -1,6 +1,7 @@ # 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/collection_parent_collection.py b/src/merge/resources/ticketing/types/collection_parent_collection.py index f54be43c..2010ce54 100644 --- a/src/merge/resources/ticketing/types/collection_parent_collection.py +++ b/src/merge/resources/ticketing/types/collection_parent_collection.py @@ -1,7 +1,7 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -import typing + import typing if typing.TYPE_CHECKING: diff --git a/src/merge/resources/ticketing/types/comment.py b/src/merge/resources/ticketing/types/comment.py index c7124a59..34dbbe8e 100644 --- a/src/merge/resources/ticketing/types/comment.py +++ b/src/merge/resources/ticketing/types/comment.py @@ -1,17 +1,17 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .attachment import Attachment -from .collection import Collection -from .ticket import Ticket +from __future__ import annotations + +import datetime as dt import typing + import pydantic -import datetime as dt -from .comment_user import CommentUser +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel from .comment_contact import CommentContact from .comment_ticket import CommentTicket +from .comment_user import CommentUser from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class Comment(UncheckedBaseModel): @@ -91,3 +91,10 @@ class Config: frozen = True smart_union = True 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_contact.py b/src/merge/resources/ticketing/types/comment_contact.py index d7a94510..55fd4fa4 100644 --- a/src/merge/resources/ticketing/types/comment_contact.py +++ b/src/merge/resources/ticketing/types/comment_contact.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .contact import Contact CommentContact = typing.Union[str, Contact] diff --git a/src/merge/resources/ticketing/types/comment_request.py b/src/merge/resources/ticketing/types/comment_request.py index 2fdee646..0f70cc1b 100644 --- a/src/merge/resources/ticketing/types/comment_request.py +++ b/src/merge/resources/ticketing/types/comment_request.py @@ -1,15 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .attachment import Attachment -from .collection import Collection -from .ticket import Ticket +from __future__ import annotations + import typing -from .comment_request_user import CommentRequestUser + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel from .comment_request_contact import CommentRequestContact from .comment_request_ticket import CommentRequestTicket -from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from .comment_request_user import CommentRequestUser class CommentRequest(UncheckedBaseModel): @@ -63,3 +63,10 @@ class Config: frozen = True smart_union = True 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_request_contact.py b/src/merge/resources/ticketing/types/comment_request_contact.py index 5a3d16e5..927ae877 100644 --- a/src/merge/resources/ticketing/types/comment_request_contact.py +++ b/src/merge/resources/ticketing/types/comment_request_contact.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .contact import Contact CommentRequestContact = typing.Union[str, Contact] diff --git a/src/merge/resources/ticketing/types/comment_request_ticket.py b/src/merge/resources/ticketing/types/comment_request_ticket.py index d9145cab..4edbf9d3 100644 --- a/src/merge/resources/ticketing/types/comment_request_ticket.py +++ b/src/merge/resources/ticketing/types/comment_request_ticket.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .ticket import Ticket CommentRequestTicket = typing.Union[str, Ticket] diff --git a/src/merge/resources/ticketing/types/comment_request_user.py b/src/merge/resources/ticketing/types/comment_request_user.py index eaa6eced..dde5ed32 100644 --- a/src/merge/resources/ticketing/types/comment_request_user.py +++ b/src/merge/resources/ticketing/types/comment_request_user.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .user import User CommentRequestUser = typing.Union[str, User] diff --git a/src/merge/resources/ticketing/types/comment_response.py b/src/merge/resources/ticketing/types/comment_response.py index b55cd538..68a9e96b 100644 --- a/src/merge/resources/ticketing/types/comment_response.py +++ b/src/merge/resources/ticketing/types/comment_response.py @@ -1,16 +1,16 @@ # 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 .attachment import Attachment -from .collection import Collection -from .ticket import Ticket from .comment import Comment -import typing -from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic +from .error_validation_problem import ErrorValidationProblem +from .warning_validation_problem import WarningValidationProblem class CommentResponse(UncheckedBaseModel): @@ -27,3 +27,10 @@ class Config: frozen = True smart_union = True 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/comment_ticket.py b/src/merge/resources/ticketing/types/comment_ticket.py index 691552f6..5a8c6680 100644 --- a/src/merge/resources/ticketing/types/comment_ticket.py +++ b/src/merge/resources/ticketing/types/comment_ticket.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .ticket import Ticket CommentTicket = typing.Union[str, Ticket] diff --git a/src/merge/resources/ticketing/types/comment_user.py b/src/merge/resources/ticketing/types/comment_user.py index 6408daa6..73c7f4da 100644 --- a/src/merge/resources/ticketing/types/comment_user.py +++ b/src/merge/resources/ticketing/types/comment_user.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .user import User CommentUser = typing.Union[str, User] diff --git a/src/merge/resources/ticketing/types/common_model_scope_api.py b/src/merge/resources/ticketing/types/common_model_scope_api.py index e372d68b..5484808d 100644 --- a/src/merge/resources/ticketing/types/common_model_scope_api.py +++ b/src/merge/resources/ticketing/types/common_model_scope_api.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .individual_common_model_scope_deserializer import IndividualCommonModelScopeDeserializer + 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): diff --git a/src/merge/resources/ticketing/types/common_model_scopes_body_request.py b/src/merge/resources/ticketing/types/common_model_scopes_body_request.py index 4a2f10cb..a9fed25b 100644 --- a/src/merge/resources/ticketing/types/common_model_scopes_body_request.py +++ b/src/merge/resources/ticketing/types/common_model_scopes_body_request.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .enabled_actions_enum import EnabledActionsEnum -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/ticketing/types/contact.py b/src/merge/resources/ticketing/types/contact.py index 740f2927..2e699d49 100644 --- a/src/merge/resources/ticketing/types/contact.py +++ b/src/merge/resources/ticketing/types/contact.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .contact_account import ContactAccount from .remote_data import RemoteData -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class Contact(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/contact_account.py b/src/merge/resources/ticketing/types/contact_account.py index b58782ef..f21ef820 100644 --- a/src/merge/resources/ticketing/types/contact_account.py +++ b/src/merge/resources/ticketing/types/contact_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account ContactAccount = typing.Union[str, Account] diff --git a/src/merge/resources/ticketing/types/contact_request.py b/src/merge/resources/ticketing/types/contact_request.py index 9069a6e8..92ec7aa6 100644 --- a/src/merge/resources/ticketing/types/contact_request.py +++ b/src/merge/resources/ticketing/types/contact_request.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing + import pydantic -from .contact_request_account import ContactRequestAccount from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .contact_request_account import ContactRequestAccount class ContactRequest(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/contact_request_account.py b/src/merge/resources/ticketing/types/contact_request_account.py index 89a6048f..449187af 100644 --- a/src/merge/resources/ticketing/types/contact_request_account.py +++ b/src/merge/resources/ticketing/types/contact_request_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account ContactRequestAccount = typing.Union[str, Account] diff --git a/src/merge/resources/ticketing/types/data_passthrough_request.py b/src/merge/resources/ticketing/types/data_passthrough_request.py index 37920aa3..c9f0a799 100644 --- a/src/merge/resources/ticketing/types/data_passthrough_request.py +++ b/src/merge/resources/ticketing/types/data_passthrough_request.py @@ -1,12 +1,13 @@ # 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 -import pydantic -import typing from .multipart_form_field_request import MultipartFormFieldRequest from .request_format_enum import RequestFormatEnum -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class DataPassthroughRequest(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/debug_mode_log.py b/src/merge/resources/ticketing/types/debug_mode_log.py index 7dcc7458..9c7d2a3f 100644 --- a/src/merge/resources/ticketing/types/debug_mode_log.py +++ b/src/merge/resources/ticketing/types/debug_mode_log.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .debug_model_log_summary import DebugModelLogSummary -from ....core.pydantic_utilities import IS_PYDANTIC_V2 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): diff --git a/src/merge/resources/ticketing/types/debug_model_log_summary.py b/src/merge/resources/ticketing/types/debug_model_log_summary.py index 105e3136..d7e1d3e6 100644 --- a/src/merge/resources/ticketing/types/debug_model_log_summary.py +++ b/src/merge/resources/ticketing/types/debug_model_log_summary.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class DebugModelLogSummary(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/error_validation_problem.py b/src/merge/resources/ticketing/types/error_validation_problem.py index a3cef60c..04f82d05 100644 --- a/src/merge/resources/ticketing/types/error_validation_problem.py +++ b/src/merge/resources/ticketing/types/error_validation_problem.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .validation_problem_source import ValidationProblemSource -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/ticketing/types/event_type_enum.py b/src/merge/resources/ticketing/types/event_type_enum.py index 28f9cfec..537cea3f 100644 --- a/src/merge/resources/ticketing/types/event_type_enum.py +++ b/src/merge/resources/ticketing/types/event_type_enum.py @@ -13,6 +13,7 @@ class EventTypeEnum(str, enum.Enum): * `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 @@ -57,6 +58,7 @@ class EventTypeEnum(str, enum.Enum): 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" @@ -102,6 +104,7 @@ def visit( 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], @@ -150,6 +153,8 @@ def visit( 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: diff --git a/src/merge/resources/ticketing/types/external_target_field_api.py b/src/merge/resources/ticketing/types/external_target_field_api.py index 2f0677ba..c0fea1eb 100644 --- a/src/merge/resources/ticketing/types/external_target_field_api.py +++ b/src/merge/resources/ticketing/types/external_target_field_api.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ExternalTargetFieldApi(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/external_target_field_api_response.py b/src/merge/resources/ticketing/types/external_target_field_api_response.py index f7c8d35a..787b39d6 100644 --- a/src/merge/resources/ticketing/types/external_target_field_api_response.py +++ b/src/merge/resources/ticketing/types/external_target_field_api_response.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .external_target_field_api import ExternalTargetFieldApi + 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): 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 566f157c..a5815313 100644 --- a/src/merge/resources/ticketing/types/field_mapping_api_instance.py +++ b/src/merge/resources/ticketing/types/field_mapping_api_instance.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .field_mapping_api_instance_target_field import FieldMappingApiInstanceTargetField -from .field_mapping_api_instance_remote_field import FieldMappingApiInstanceRemoteField -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): 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 d47c8008..578a2b10 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 @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel 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, ) -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class FieldMappingApiInstanceRemoteField(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py b/src/merge/resources/ticketing/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py index 706ba0b2..4171f08b 100644 --- a/src/merge/resources/ticketing/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py +++ b/src/merge/resources/ticketing/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/field_mapping_api_instance_response.py b/src/merge/resources/ticketing/types/field_mapping_api_instance_response.py index 1436bf13..08b85996 100644 --- a/src/merge/resources/ticketing/types/field_mapping_api_instance_response.py +++ b/src/merge/resources/ticketing/types/field_mapping_api_instance_response.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .field_mapping_api_instance import FieldMappingApiInstance + 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): diff --git a/src/merge/resources/ticketing/types/field_mapping_api_instance_target_field.py b/src/merge/resources/ticketing/types/field_mapping_api_instance_target_field.py index 32fd6f63..e6474cba 100644 --- a/src/merge/resources/ticketing/types/field_mapping_api_instance_target_field.py +++ b/src/merge/resources/ticketing/types/field_mapping_api_instance_target_field.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class FieldMappingApiInstanceTargetField(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/field_mapping_instance_response.py b/src/merge/resources/ticketing/types/field_mapping_instance_response.py index fd9b7493..f921e641 100644 --- a/src/merge/resources/ticketing/types/field_mapping_instance_response.py +++ b/src/merge/resources/ticketing/types/field_mapping_instance_response.py @@ -1,13 +1,14 @@ # 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 -import typing from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem -from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic class FieldMappingInstanceResponse(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/field_permission_deserializer.py b/src/merge/resources/ticketing/types/field_permission_deserializer.py index 84124686..1d71ae04 100644 --- a/src/merge/resources/ticketing/types/field_permission_deserializer.py +++ b/src/merge/resources/ticketing/types/field_permission_deserializer.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class FieldPermissionDeserializer(UncheckedBaseModel): 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 c701f1d0..a4113b46 100644 --- a/src/merge/resources/ticketing/types/field_permission_deserializer_request.py +++ b/src/merge/resources/ticketing/types/field_permission_deserializer_request.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class FieldPermissionDeserializerRequest(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/individual_common_model_scope_deserializer.py b/src/merge/resources/ticketing/types/individual_common_model_scope_deserializer.py index 2883752e..4b1ef6a4 100644 --- a/src/merge/resources/ticketing/types/individual_common_model_scope_deserializer.py +++ b/src/merge/resources/ticketing/types/individual_common_model_scope_deserializer.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .model_permission_deserializer import ModelPermissionDeserializer -from .field_permission_deserializer import FieldPermissionDeserializer -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/ticketing/types/individual_common_model_scope_deserializer_request.py b/src/merge/resources/ticketing/types/individual_common_model_scope_deserializer_request.py index 785e3287..1dcda203 100644 --- a/src/merge/resources/ticketing/types/individual_common_model_scope_deserializer_request.py +++ b/src/merge/resources/ticketing/types/individual_common_model_scope_deserializer_request.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .model_permission_deserializer_request import ModelPermissionDeserializerRequest -from .field_permission_deserializer_request import FieldPermissionDeserializerRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/ticketing/types/issue.py b/src/merge/resources/ticketing/types/issue.py index ebaca8b1..df31be95 100644 --- a/src/merge/resources/ticketing/types/issue.py +++ b/src/merge/resources/ticketing/types/issue.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing -from .issue_status import IssueStatus + import pydantic -import datetime as dt from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .issue_status import IssueStatus class Issue(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/issue_status.py b/src/merge/resources/ticketing/types/issue_status.py index 59d004d8..8e4d6516 100644 --- a/src/merge/resources/ticketing/types/issue_status.py +++ b/src/merge/resources/ticketing/types/issue_status.py @@ -1,6 +1,7 @@ # 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/ticketing/types/item_schema.py b/src/merge/resources/ticketing/types/item_schema.py index 5a639259..fceec554 100644 --- a/src/merge/resources/ticketing/types/item_schema.py +++ b/src/merge/resources/ticketing/types/item_schema.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .item_type_enum import ItemTypeEnum -from .item_format_enum import ItemFormatEnum -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .item_format_enum import ItemFormatEnum +from .item_type_enum import ItemTypeEnum class ItemSchema(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/link_token.py b/src/merge/resources/ticketing/types/link_token.py index 273b4add..f78dedeb 100644 --- a/src/merge/resources/ticketing/types/link_token.py +++ b/src/merge/resources/ticketing/types/link_token.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class LinkToken(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/linked_account_status.py b/src/merge/resources/ticketing/types/linked_account_status.py index fe00263e..ab2e0f09 100644 --- a/src/merge/resources/ticketing/types/linked_account_status.py +++ b/src/merge/resources/ticketing/types/linked_account_status.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class LinkedAccountStatus(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/meta_response.py b/src/merge/resources/ticketing/types/meta_response.py index cb2e08c1..caa2c831 100644 --- a/src/merge/resources/ticketing/types/meta_response.py +++ b/src/merge/resources/ticketing/types/meta_response.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .linked_account_status import LinkedAccountStatus -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .linked_account_status import LinkedAccountStatus class MetaResponse(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/model_operation.py b/src/merge/resources/ticketing/types/model_operation.py index bc09f2c1..c367572d 100644 --- a/src/merge/resources/ticketing/types/model_operation.py +++ b/src/merge/resources/ticketing/types/model_operation.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ModelOperation(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/model_permission_deserializer.py b/src/merge/resources/ticketing/types/model_permission_deserializer.py index 4a524c19..6381814c 100644 --- a/src/merge/resources/ticketing/types/model_permission_deserializer.py +++ b/src/merge/resources/ticketing/types/model_permission_deserializer.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ModelPermissionDeserializer(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/model_permission_deserializer_request.py b/src/merge/resources/ticketing/types/model_permission_deserializer_request.py index 5b693e6f..cdc2ff4c 100644 --- a/src/merge/resources/ticketing/types/model_permission_deserializer_request.py +++ b/src/merge/resources/ticketing/types/model_permission_deserializer_request.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ModelPermissionDeserializerRequest(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/multipart_form_field_request.py b/src/merge/resources/ticketing/types/multipart_form_field_request.py index 7bdbe021..abc37692 100644 --- a/src/merge/resources/ticketing/types/multipart_form_field_request.py +++ b/src/merge/resources/ticketing/types/multipart_form_field_request.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import pydantic import typing -from .multipart_form_field_request_encoding import MultipartFormFieldRequestEncoding + +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): diff --git a/src/merge/resources/ticketing/types/multipart_form_field_request_encoding.py b/src/merge/resources/ticketing/types/multipart_form_field_request_encoding.py index 2b1db5ad..c6513b6b 100644 --- a/src/merge/resources/ticketing/types/multipart_form_field_request_encoding.py +++ b/src/merge/resources/ticketing/types/multipart_form_field_request_encoding.py @@ -1,6 +1,7 @@ # 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/ticketing/types/paginated_account_details_and_actions_list.py b/src/merge/resources/ticketing/types/paginated_account_details_and_actions_list.py index 8a2148be..d2d16116 100644 --- a/src/merge/resources/ticketing/types/paginated_account_details_and_actions_list.py +++ b/src/merge/resources/ticketing/types/paginated_account_details_and_actions_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .account_details_and_actions import AccountDetailsAndActions -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/ticketing/types/paginated_account_list.py b/src/merge/resources/ticketing/types/paginated_account_list.py index 45c6c13d..0d541b39 100644 --- a/src/merge/resources/ticketing/types/paginated_account_list.py +++ b/src/merge/resources/ticketing/types/paginated_account_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .account import Account -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .account import Account class PaginatedAccountList(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/paginated_attachment_list.py b/src/merge/resources/ticketing/types/paginated_attachment_list.py index 7257eab6..e5f0a2cf 100644 --- a/src/merge/resources/ticketing/types/paginated_attachment_list.py +++ b/src/merge/resources/ticketing/types/paginated_attachment_list.py @@ -1,18 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .attachment import Attachment -from .collection import Collection -from .ticket import Ticket +from __future__ import annotations + import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel class PaginatedAttachmentList(UncheckedBaseModel): next: typing.Optional[str] = None previous: typing.Optional[str] = None - results: typing.Optional[typing.List[Attachment]] = 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 @@ -22,3 +22,10 @@ class Config: frozen = True smart_union = True 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(PaginatedAttachmentList) diff --git a/src/merge/resources/ticketing/types/paginated_audit_log_event_list.py b/src/merge/resources/ticketing/types/paginated_audit_log_event_list.py index dc914668..24139397 100644 --- a/src/merge/resources/ticketing/types/paginated_audit_log_event_list.py +++ b/src/merge/resources/ticketing/types/paginated_audit_log_event_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .audit_log_event import AuditLogEvent -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/ticketing/types/paginated_collection_list.py b/src/merge/resources/ticketing/types/paginated_collection_list.py index 85dd768a..ef8d33e3 100644 --- a/src/merge/resources/ticketing/types/paginated_collection_list.py +++ b/src/merge/resources/ticketing/types/paginated_collection_list.py @@ -1,16 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .collection import Collection +from __future__ import annotations + import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel class PaginatedCollectionList(UncheckedBaseModel): next: typing.Optional[str] = None previous: typing.Optional[str] = None - results: typing.Optional[typing.List[Collection]] = None + results: typing.Optional[typing.List["Collection"]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -20,3 +22,8 @@ class Config: frozen = True smart_union = True extra = pydantic.Extra.allow + + +from .collection import Collection # noqa: E402, F401, 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 b8542bff..08c8a4f8 100644 --- a/src/merge/resources/ticketing/types/paginated_comment_list.py +++ b/src/merge/resources/ticketing/types/paginated_comment_list.py @@ -1,13 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .attachment import Attachment -from .collection import Collection -from .ticket import Ticket +from __future__ import annotations + import typing -from .comment import Comment -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .comment import Comment class PaginatedCommentList(UncheckedBaseModel): @@ -23,3 +23,10 @@ class Config: frozen = True smart_union = True 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_contact_list.py b/src/merge/resources/ticketing/types/paginated_contact_list.py index 7f2b5478..7a9d28a3 100644 --- a/src/merge/resources/ticketing/types/paginated_contact_list.py +++ b/src/merge/resources/ticketing/types/paginated_contact_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .contact import Contact -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .contact import Contact class PaginatedContactList(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/paginated_issue_list.py b/src/merge/resources/ticketing/types/paginated_issue_list.py index 57a92876..686173e5 100644 --- a/src/merge/resources/ticketing/types/paginated_issue_list.py +++ b/src/merge/resources/ticketing/types/paginated_issue_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .issue import Issue -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .issue import Issue class PaginatedIssueList(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/paginated_project_list.py b/src/merge/resources/ticketing/types/paginated_project_list.py index d5103f7f..c709e35b 100644 --- a/src/merge/resources/ticketing/types/paginated_project_list.py +++ b/src/merge/resources/ticketing/types/paginated_project_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .project import Project -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .project import Project class PaginatedProjectList(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/paginated_remote_field_class_list.py b/src/merge/resources/ticketing/types/paginated_remote_field_class_list.py index 96ecc090..9d68cf9b 100644 --- a/src/merge/resources/ticketing/types/paginated_remote_field_class_list.py +++ b/src/merge/resources/ticketing/types/paginated_remote_field_class_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .remote_field_class import RemoteFieldClass -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_field_class import RemoteFieldClass class PaginatedRemoteFieldClassList(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/paginated_role_list.py b/src/merge/resources/ticketing/types/paginated_role_list.py index fcc6cb54..1d6304a3 100644 --- a/src/merge/resources/ticketing/types/paginated_role_list.py +++ b/src/merge/resources/ticketing/types/paginated_role_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .role import Role -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .role import Role class PaginatedRoleList(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/paginated_sync_status_list.py b/src/merge/resources/ticketing/types/paginated_sync_status_list.py index d8984b33..cc4bd7a8 100644 --- a/src/merge/resources/ticketing/types/paginated_sync_status_list.py +++ b/src/merge/resources/ticketing/types/paginated_sync_status_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .sync_status import SyncStatus -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/ticketing/types/paginated_tag_list.py b/src/merge/resources/ticketing/types/paginated_tag_list.py index 39166f8b..3b9aa2d4 100644 --- a/src/merge/resources/ticketing/types/paginated_tag_list.py +++ b/src/merge/resources/ticketing/types/paginated_tag_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .tag import Tag -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .tag import Tag class PaginatedTagList(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/paginated_team_list.py b/src/merge/resources/ticketing/types/paginated_team_list.py index e9703d38..0e73f9bd 100644 --- a/src/merge/resources/ticketing/types/paginated_team_list.py +++ b/src/merge/resources/ticketing/types/paginated_team_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .team import Team -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .team import Team class PaginatedTeamList(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/paginated_ticket_list.py b/src/merge/resources/ticketing/types/paginated_ticket_list.py index 324433ea..6c4128a0 100644 --- a/src/merge/resources/ticketing/types/paginated_ticket_list.py +++ b/src/merge/resources/ticketing/types/paginated_ticket_list.py @@ -1,18 +1,18 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .attachment import Attachment -from .collection import Collection -from .ticket import Ticket +from __future__ import annotations + import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel class PaginatedTicketList(UncheckedBaseModel): next: typing.Optional[str] = None previous: typing.Optional[str] = None - results: typing.Optional[typing.List[Ticket]] = None + results: typing.Optional[typing.List["Ticket"]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 @@ -22,3 +22,10 @@ class Config: frozen = True smart_union = True 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(PaginatedTicketList) diff --git a/src/merge/resources/ticketing/types/paginated_user_list.py b/src/merge/resources/ticketing/types/paginated_user_list.py index 8fd54b5c..809b285c 100644 --- a/src/merge/resources/ticketing/types/paginated_user_list.py +++ b/src/merge/resources/ticketing/types/paginated_user_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .user import User -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .user import User class PaginatedUserList(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/paginated_viewer_list.py b/src/merge/resources/ticketing/types/paginated_viewer_list.py index bbeaf30d..c6845556 100644 --- a/src/merge/resources/ticketing/types/paginated_viewer_list.py +++ b/src/merge/resources/ticketing/types/paginated_viewer_list.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .viewer import Viewer -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .viewer import Viewer class PaginatedViewerList(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/patched_ticket_request.py b/src/merge/resources/ticketing/types/patched_ticket_request.py index 919e7ce2..01f0d4a9 100644 --- a/src/merge/resources/ticketing/types/patched_ticket_request.py +++ b/src/merge/resources/ticketing/types/patched_ticket_request.py @@ -1,13 +1,15 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .patched_ticket_request_status import PatchedTicketRequestStatus +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 .remote_field_request import RemoteFieldRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class PatchedTicketRequest(UncheckedBaseModel): @@ -84,6 +86,16 @@ class PatchedTicketRequest(UncheckedBaseModel): The ticket's parent ticket. """ + access_level: typing.Optional[PatchedTicketRequestAccessLevel] = pydantic.Field(default=None) + """ + 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: 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) diff --git a/src/merge/resources/ticketing/types/patched_ticket_request_access_level.py b/src/merge/resources/ticketing/types/patched_ticket_request_access_level.py new file mode 100644 index 00000000..55791204 --- /dev/null +++ b/src/merge/resources/ticketing/types/patched_ticket_request_access_level.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .ticket_access_level_enum import TicketAccessLevelEnum + +PatchedTicketRequestAccessLevel = typing.Union[TicketAccessLevelEnum, str] diff --git a/src/merge/resources/ticketing/types/patched_ticket_request_priority.py b/src/merge/resources/ticketing/types/patched_ticket_request_priority.py index 8dffd97f..73651006 100644 --- a/src/merge/resources/ticketing/types/patched_ticket_request_priority.py +++ b/src/merge/resources/ticketing/types/patched_ticket_request_priority.py @@ -1,6 +1,7 @@ # 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/patched_ticket_request_status.py b/src/merge/resources/ticketing/types/patched_ticket_request_status.py index 67c89966..190fd41f 100644 --- a/src/merge/resources/ticketing/types/patched_ticket_request_status.py +++ b/src/merge/resources/ticketing/types/patched_ticket_request_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .ticket_status_enum import TicketStatusEnum PatchedTicketRequestStatus = typing.Union[TicketStatusEnum, str] diff --git a/src/merge/resources/ticketing/types/project.py b/src/merge/resources/ticketing/types/project.py index d54ed376..51ce64c5 100644 --- a/src/merge/resources/ticketing/types/project.py +++ b/src/merge/resources/ticketing/types/project.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .remote_data import RemoteData from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_data import RemoteData class Project(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/remote_data.py b/src/merge/resources/ticketing/types/remote_data.py index 4e405fc1..b60f53bf 100644 --- a/src/merge/resources/ticketing/types/remote_data.py +++ b/src/merge/resources/ticketing/types/remote_data.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import pydantic import typing + +import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class RemoteData(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/remote_endpoint_info.py b/src/merge/resources/ticketing/types/remote_endpoint_info.py index a145dff6..07ceff6a 100644 --- a/src/merge/resources/ticketing/types/remote_endpoint_info.py +++ b/src/merge/resources/ticketing/types/remote_endpoint_info.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class RemoteEndpointInfo(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/remote_field.py b/src/merge/resources/ticketing/types/remote_field.py index 0bde5fa0..1a9272f0 100644 --- a/src/merge/resources/ticketing/types/remote_field.py +++ b/src/merge/resources/ticketing/types/remote_field.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_field_remote_field_class import RemoteFieldRemoteFieldClass import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_field_remote_field_class import RemoteFieldRemoteFieldClass class RemoteField(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/remote_field_api.py b/src/merge/resources/ticketing/types/remote_field_api.py index 4c862ec8..4c66a23b 100644 --- a/src/merge/resources/ticketing/types/remote_field_api.py +++ b/src/merge/resources/ticketing/types/remote_field_api.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing + import pydantic -from .remote_endpoint_info import RemoteEndpointInfo +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 -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class RemoteFieldApi(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/remote_field_api_response.py b/src/merge/resources/ticketing/types/remote_field_api_response.py index a53da189..e844cd77 100644 --- a/src/merge/resources/ticketing/types/remote_field_api_response.py +++ b/src/merge/resources/ticketing/types/remote_field_api_response.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .remote_field_api import RemoteFieldApi + 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): diff --git a/src/merge/resources/ticketing/types/remote_field_class.py b/src/merge/resources/ticketing/types/remote_field_class.py index d9e355b9..033ea3b6 100644 --- a/src/merge/resources/ticketing/types/remote_field_class.py +++ b/src/merge/resources/ticketing/types/remote_field_class.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .remote_field_class_field_type import RemoteFieldClassFieldType -from .remote_field_class_field_format import RemoteFieldClassFieldFormat -from .remote_field_class_field_choices_item import RemoteFieldClassFieldChoicesItem -from .item_schema import ItemSchema -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +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): 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 97c91935..9003f782 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 @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class RemoteFieldClassFieldChoicesItem(UncheckedBaseModel): 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 index 1442a203..1412d3b4 100644 --- a/src/merge/resources/ticketing/types/remote_field_class_field_format.py +++ b/src/merge/resources/ticketing/types/remote_field_class_field_format.py @@ -1,6 +1,7 @@ # 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 index c5d32983..41a0b893 100644 --- a/src/merge/resources/ticketing/types/remote_field_class_field_type.py +++ b/src/merge/resources/ticketing/types/remote_field_class_field_type.py @@ -1,6 +1,7 @@ # 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_remote_field_class.py b/src/merge/resources/ticketing/types/remote_field_remote_field_class.py index c2c470c9..b7ab0ef6 100644 --- a/src/merge/resources/ticketing/types/remote_field_remote_field_class.py +++ b/src/merge/resources/ticketing/types/remote_field_remote_field_class.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .remote_field_class import RemoteFieldClass RemoteFieldRemoteFieldClass = typing.Union[str, RemoteFieldClass] diff --git a/src/merge/resources/ticketing/types/remote_field_request.py b/src/merge/resources/ticketing/types/remote_field_request.py index 9a88246b..69bc39da 100644 --- a/src/merge/resources/ticketing/types/remote_field_request.py +++ b/src/merge/resources/ticketing/types/remote_field_request.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_field_request_remote_field_class import RemoteFieldRequestRemoteFieldClass import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_field_request_remote_field_class import RemoteFieldRequestRemoteFieldClass class RemoteFieldRequest(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/remote_field_request_remote_field_class.py b/src/merge/resources/ticketing/types/remote_field_request_remote_field_class.py index ebf56780..08797e5e 100644 --- a/src/merge/resources/ticketing/types/remote_field_request_remote_field_class.py +++ b/src/merge/resources/ticketing/types/remote_field_request_remote_field_class.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .remote_field_class import RemoteFieldClass RemoteFieldRequestRemoteFieldClass = typing.Union[str, RemoteFieldClass] diff --git a/src/merge/resources/ticketing/types/remote_key.py b/src/merge/resources/ticketing/types/remote_key.py index 904480e9..e5d9758c 100644 --- a/src/merge/resources/ticketing/types/remote_key.py +++ b/src/merge/resources/ticketing/types/remote_key.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class RemoteKey(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/remote_response.py b/src/merge/resources/ticketing/types/remote_response.py index 9f1e4b18..af181fc0 100644 --- a/src/merge/resources/ticketing/types/remote_response.py +++ b/src/merge/resources/ticketing/types/remote_response.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .response_type_enum import ResponseTypeEnum -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/ticketing/types/role.py b/src/merge/resources/ticketing/types/role.py index a2774887..8d4109ff 100644 --- a/src/merge/resources/ticketing/types/role.py +++ b/src/merge/resources/ticketing/types/role.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .role_ticket_actions_item import RoleTicketActionsItem -from .role_ticket_access import RoleTicketAccess -from .remote_data import RemoteData from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_data import RemoteData +from .role_ticket_access import RoleTicketAccess +from .role_ticket_actions_item import RoleTicketActionsItem class Role(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/role_ticket_access.py b/src/merge/resources/ticketing/types/role_ticket_access.py index 702cc475..bf10da43 100644 --- a/src/merge/resources/ticketing/types/role_ticket_access.py +++ b/src/merge/resources/ticketing/types/role_ticket_access.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .ticket_access_enum import TicketAccessEnum RoleTicketAccess = typing.Union[str, TicketAccessEnum] 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 1c7f16df..4b136989 100644 --- a/src/merge/resources/ticketing/types/role_ticket_actions_item.py +++ b/src/merge/resources/ticketing/types/role_ticket_actions_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .ticket_actions_enum import TicketActionsEnum RoleTicketActionsItem = typing.Union[str, TicketActionsEnum] diff --git a/src/merge/resources/ticketing/types/sync_status.py b/src/merge/resources/ticketing/types/sync_status.py index 3cc6d466..4a628c4f 100644 --- a/src/merge/resources/ticketing/types/sync_status.py +++ b/src/merge/resources/ticketing/types/sync_status.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -import typing import datetime as dt -from .last_sync_result_enum import LastSyncResultEnum -from .status_fd_5_enum import StatusFd5Enum -from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum -from ....core.pydantic_utilities import IS_PYDANTIC_V2 +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): @@ -24,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: StatusFd5Enum is_initial_sync: bool diff --git a/src/merge/resources/ticketing/types/sync_status_last_sync_result.py b/src/merge/resources/ticketing/types/sync_status_last_sync_result.py new file mode 100644 index 00000000..980e7d94 --- /dev/null +++ b/src/merge/resources/ticketing/types/sync_status_last_sync_result.py @@ -0,0 +1,7 @@ +# 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/ticketing/types/tag.py b/src/merge/resources/ticketing/types/tag.py index c61bcc71..c5f85543 100644 --- a/src/merge/resources/ticketing/types/tag.py +++ b/src/merge/resources/ticketing/types/tag.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .remote_data import RemoteData from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_data import RemoteData class Tag(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/team.py b/src/merge/resources/ticketing/types/team.py index 07c11ad7..0cd15521 100644 --- a/src/merge/resources/ticketing/types/team.py +++ b/src/merge/resources/ticketing/types/team.py @@ -1,11 +1,12 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .remote_data import RemoteData from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_data import RemoteData class Team(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/ticket.py b/src/merge/resources/ticketing/types/ticket.py index bf14e542..0a550a82 100644 --- a/src/merge/resources/ticketing/types/ticket.py +++ b/src/merge/resources/ticketing/types/ticket.py @@ -1,23 +1,24 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -from ....core.unchecked_base_model import UncheckedBaseModel -from .collection import Collection + +import datetime as dt import typing + import pydantic -import datetime as dt -from .ticket_assignees_item import TicketAssigneesItem +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_data import RemoteData +from .remote_field import RemoteField +from .ticket_access_level import TicketAccessLevel +from .ticket_account import TicketAccount from .ticket_assigned_teams_item import TicketAssignedTeamsItem -from .ticket_creator import TicketCreator -from .ticket_status import TicketStatus +from .ticket_assignees_item import TicketAssigneesItem from .ticket_collections_item import TicketCollectionsItem -from .ticket_account import TicketAccount from .ticket_contact import TicketContact +from .ticket_creator import TicketCreator from .ticket_priority import TicketPriority -from .remote_data import RemoteData -from .remote_field import RemoteField -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.pydantic_utilities import update_forward_refs +from .ticket_status import TicketStatus class Ticket(UncheckedBaseModel): @@ -113,6 +114,16 @@ class Ticket(UncheckedBaseModel): """ attachments: typing.Optional[typing.List[typing.Optional["TicketAttachmentsItem"]]] = None + access_level: typing.Optional[TicketAccessLevel] = pydantic.Field(default=None) + """ + 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: typing.Optional[typing.List[typing.Optional[str]]] = None roles: typing.Optional[typing.List[typing.Optional[str]]] = None remote_created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) @@ -164,8 +175,9 @@ class Config: extra = pydantic.Extra.allow -from .attachment import Attachment # noqa: E402 -from .ticket_parent_ticket import TicketParentTicket # noqa: E402 -from .ticket_attachments_item import TicketAttachmentsItem # noqa: E402 +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 update_forward_refs(Ticket) diff --git a/src/merge/resources/ticketing/types/ticket_access_level.py b/src/merge/resources/ticketing/types/ticket_access_level.py new file mode 100644 index 00000000..ef66776d --- /dev/null +++ b/src/merge/resources/ticketing/types/ticket_access_level.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .ticket_access_level_enum import TicketAccessLevelEnum + +TicketAccessLevel = typing.Union[TicketAccessLevelEnum, str] diff --git a/src/merge/resources/ticketing/types/access_level_enum.py b/src/merge/resources/ticketing/types/ticket_access_level_enum.py similarity index 59% rename from src/merge/resources/ticketing/types/access_level_enum.py rename to src/merge/resources/ticketing/types/ticket_access_level_enum.py index 555ad389..c02bef7d 100644 --- a/src/merge/resources/ticketing/types/access_level_enum.py +++ b/src/merge/resources/ticketing/types/ticket_access_level_enum.py @@ -6,26 +6,31 @@ T_Result = typing.TypeVar("T_Result") -class AccessLevelEnum(str, enum.Enum): +class TicketAccessLevelEnum(str, enum.Enum): """ - * `PRIVATE` - PRIVATE * `COMPANY` - COMPANY * `PUBLIC` - PUBLIC + * `PRIVATE` - PRIVATE + * `COLLECTION` - COLLECTION """ - PRIVATE = "PRIVATE" COMPANY = "COMPANY" PUBLIC = "PUBLIC" + PRIVATE = "PRIVATE" + COLLECTION = "COLLECTION" def visit( self, - private: typing.Callable[[], T_Result], company: typing.Callable[[], T_Result], public: typing.Callable[[], T_Result], + private: typing.Callable[[], T_Result], + collection: typing.Callable[[], T_Result], ) -> T_Result: - if self is AccessLevelEnum.PRIVATE: - return private() - if self is AccessLevelEnum.COMPANY: + if self is TicketAccessLevelEnum.COMPANY: return company() - if self is AccessLevelEnum.PUBLIC: + if self is TicketAccessLevelEnum.PUBLIC: return public() + if self is TicketAccessLevelEnum.PRIVATE: + return private() + if self is TicketAccessLevelEnum.COLLECTION: + return collection() diff --git a/src/merge/resources/ticketing/types/ticket_account.py b/src/merge/resources/ticketing/types/ticket_account.py index b59f8477..735aff2e 100644 --- a/src/merge/resources/ticketing/types/ticket_account.py +++ b/src/merge/resources/ticketing/types/ticket_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account TicketAccount = typing.Union[str, Account] diff --git a/src/merge/resources/ticketing/types/ticket_assigned_teams_item.py b/src/merge/resources/ticketing/types/ticket_assigned_teams_item.py index 5344de76..c74ba1f9 100644 --- a/src/merge/resources/ticketing/types/ticket_assigned_teams_item.py +++ b/src/merge/resources/ticketing/types/ticket_assigned_teams_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .team import Team TicketAssignedTeamsItem = typing.Union[str, Team] diff --git a/src/merge/resources/ticketing/types/ticket_assignees_item.py b/src/merge/resources/ticketing/types/ticket_assignees_item.py index 3f1db9ad..91bc713c 100644 --- a/src/merge/resources/ticketing/types/ticket_assignees_item.py +++ b/src/merge/resources/ticketing/types/ticket_assignees_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .user import User TicketAssigneesItem = typing.Union[str, User] diff --git a/src/merge/resources/ticketing/types/ticket_attachments_item.py b/src/merge/resources/ticketing/types/ticket_attachments_item.py index 7651aaf3..c8ef7eb5 100644 --- a/src/merge/resources/ticketing/types/ticket_attachments_item.py +++ b/src/merge/resources/ticketing/types/ticket_attachments_item.py @@ -1,7 +1,7 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -import typing + import typing if typing.TYPE_CHECKING: diff --git a/src/merge/resources/ticketing/types/ticket_collections_item.py b/src/merge/resources/ticketing/types/ticket_collections_item.py index ed291a11..ce728b10 100644 --- a/src/merge/resources/ticketing/types/ticket_collections_item.py +++ b/src/merge/resources/ticketing/types/ticket_collections_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .collection import Collection TicketCollectionsItem = typing.Union[str, Collection] diff --git a/src/merge/resources/ticketing/types/ticket_contact.py b/src/merge/resources/ticketing/types/ticket_contact.py index 3e7ddabe..22375e74 100644 --- a/src/merge/resources/ticketing/types/ticket_contact.py +++ b/src/merge/resources/ticketing/types/ticket_contact.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .contact import Contact TicketContact = typing.Union[str, Contact] diff --git a/src/merge/resources/ticketing/types/ticket_creator.py b/src/merge/resources/ticketing/types/ticket_creator.py index c6fd1415..461faf42 100644 --- a/src/merge/resources/ticketing/types/ticket_creator.py +++ b/src/merge/resources/ticketing/types/ticket_creator.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .user import User TicketCreator = typing.Union[str, User] diff --git a/src/merge/resources/ticketing/types/ticket_parent_ticket.py b/src/merge/resources/ticketing/types/ticket_parent_ticket.py index 61dbd7c6..5838ffaa 100644 --- a/src/merge/resources/ticketing/types/ticket_parent_ticket.py +++ b/src/merge/resources/ticketing/types/ticket_parent_ticket.py @@ -1,7 +1,7 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -import typing + import typing if typing.TYPE_CHECKING: diff --git a/src/merge/resources/ticketing/types/ticket_priority.py b/src/merge/resources/ticketing/types/ticket_priority.py index ca1e3635..aee1ed76 100644 --- a/src/merge/resources/ticketing/types/ticket_priority.py +++ b/src/merge/resources/ticketing/types/ticket_priority.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .priority_enum import PriorityEnum TicketPriority = typing.Union[PriorityEnum, str] diff --git a/src/merge/resources/ticketing/types/ticket_request.py b/src/merge/resources/ticketing/types/ticket_request.py index 7ce96054..ed0e1ec4 100644 --- a/src/merge/resources/ticketing/types/ticket_request.py +++ b/src/merge/resources/ticketing/types/ticket_request.py @@ -1,24 +1,25 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .collection import Collection -from .attachment import Attachment -from .ticket import Ticket +from __future__ import annotations + +import datetime as dt import typing + import pydantic -from .ticket_request_assignees_item import TicketRequestAssigneesItem +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_field_request import RemoteFieldRequest +from .ticket_request_access_level import TicketRequestAccessLevel +from .ticket_request_account import TicketRequestAccount from .ticket_request_assigned_teams_item import TicketRequestAssignedTeamsItem -from .ticket_request_creator import TicketRequestCreator -import datetime as dt -from .ticket_request_status import TicketRequestStatus +from .ticket_request_assignees_item import TicketRequestAssigneesItem +from .ticket_request_attachments_item import TicketRequestAttachmentsItem from .ticket_request_collections_item import TicketRequestCollectionsItem -from .ticket_request_account import TicketRequestAccount from .ticket_request_contact import TicketRequestContact +from .ticket_request_creator import TicketRequestCreator from .ticket_request_parent_ticket import TicketRequestParentTicket -from .ticket_request_attachments_item import TicketRequestAttachmentsItem from .ticket_request_priority import TicketRequestPriority -from .remote_field_request import RemoteFieldRequest -from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from .ticket_request_status import TicketRequestStatus class TicketRequest(UncheckedBaseModel): @@ -100,6 +101,16 @@ class TicketRequest(UncheckedBaseModel): """ attachments: typing.Optional[typing.List[typing.Optional[TicketRequestAttachmentsItem]]] = None + access_level: typing.Optional[TicketRequestAccessLevel] = pydantic.Field(default=None) + """ + 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: 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) @@ -134,3 +145,10 @@ class Config: frozen = True smart_union = True 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_request_access_level.py b/src/merge/resources/ticketing/types/ticket_request_access_level.py new file mode 100644 index 00000000..d8ef44b8 --- /dev/null +++ b/src/merge/resources/ticketing/types/ticket_request_access_level.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .ticket_access_level_enum import TicketAccessLevelEnum + +TicketRequestAccessLevel = typing.Union[TicketAccessLevelEnum, str] diff --git a/src/merge/resources/ticketing/types/ticket_request_account.py b/src/merge/resources/ticketing/types/ticket_request_account.py index 8c5d8b47..91596edc 100644 --- a/src/merge/resources/ticketing/types/ticket_request_account.py +++ b/src/merge/resources/ticketing/types/ticket_request_account.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .account import Account TicketRequestAccount = typing.Union[str, Account] diff --git a/src/merge/resources/ticketing/types/ticket_request_assigned_teams_item.py b/src/merge/resources/ticketing/types/ticket_request_assigned_teams_item.py index 6d9986ad..deb739b3 100644 --- a/src/merge/resources/ticketing/types/ticket_request_assigned_teams_item.py +++ b/src/merge/resources/ticketing/types/ticket_request_assigned_teams_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .team import Team TicketRequestAssignedTeamsItem = typing.Union[str, Team] diff --git a/src/merge/resources/ticketing/types/ticket_request_assignees_item.py b/src/merge/resources/ticketing/types/ticket_request_assignees_item.py index 8a903fd4..3f14bdaa 100644 --- a/src/merge/resources/ticketing/types/ticket_request_assignees_item.py +++ b/src/merge/resources/ticketing/types/ticket_request_assignees_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .user import User TicketRequestAssigneesItem = typing.Union[str, User] diff --git a/src/merge/resources/ticketing/types/ticket_request_attachments_item.py b/src/merge/resources/ticketing/types/ticket_request_attachments_item.py index 9114aa86..1e9bd3af 100644 --- a/src/merge/resources/ticketing/types/ticket_request_attachments_item.py +++ b/src/merge/resources/ticketing/types/ticket_request_attachments_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .attachment import Attachment TicketRequestAttachmentsItem = typing.Union[str, Attachment] diff --git a/src/merge/resources/ticketing/types/ticket_request_collections_item.py b/src/merge/resources/ticketing/types/ticket_request_collections_item.py index 5129f88d..9a87b09a 100644 --- a/src/merge/resources/ticketing/types/ticket_request_collections_item.py +++ b/src/merge/resources/ticketing/types/ticket_request_collections_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .collection import Collection TicketRequestCollectionsItem = typing.Union[str, Collection] diff --git a/src/merge/resources/ticketing/types/ticket_request_contact.py b/src/merge/resources/ticketing/types/ticket_request_contact.py index b0eb684b..b1313c40 100644 --- a/src/merge/resources/ticketing/types/ticket_request_contact.py +++ b/src/merge/resources/ticketing/types/ticket_request_contact.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .contact import Contact TicketRequestContact = typing.Union[str, Contact] diff --git a/src/merge/resources/ticketing/types/ticket_request_creator.py b/src/merge/resources/ticketing/types/ticket_request_creator.py index 58007f48..a6cbf7b9 100644 --- a/src/merge/resources/ticketing/types/ticket_request_creator.py +++ b/src/merge/resources/ticketing/types/ticket_request_creator.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .user import User TicketRequestCreator = typing.Union[str, User] diff --git a/src/merge/resources/ticketing/types/ticket_request_parent_ticket.py b/src/merge/resources/ticketing/types/ticket_request_parent_ticket.py index f7839161..f6943945 100644 --- a/src/merge/resources/ticketing/types/ticket_request_parent_ticket.py +++ b/src/merge/resources/ticketing/types/ticket_request_parent_ticket.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .ticket import Ticket TicketRequestParentTicket = typing.Union[str, Ticket] diff --git a/src/merge/resources/ticketing/types/ticket_request_priority.py b/src/merge/resources/ticketing/types/ticket_request_priority.py index cfd1967b..51ca6ef8 100644 --- a/src/merge/resources/ticketing/types/ticket_request_priority.py +++ b/src/merge/resources/ticketing/types/ticket_request_priority.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .priority_enum import PriorityEnum TicketRequestPriority = typing.Union[PriorityEnum, str] diff --git a/src/merge/resources/ticketing/types/ticket_request_status.py b/src/merge/resources/ticketing/types/ticket_request_status.py index 0cc0ef99..583f2852 100644 --- a/src/merge/resources/ticketing/types/ticket_request_status.py +++ b/src/merge/resources/ticketing/types/ticket_request_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .ticket_status_enum import TicketStatusEnum TicketRequestStatus = typing.Union[TicketStatusEnum, str] diff --git a/src/merge/resources/ticketing/types/ticket_response.py b/src/merge/resources/ticketing/types/ticket_response.py index 72167fe1..1512f825 100644 --- a/src/merge/resources/ticketing/types/ticket_response.py +++ b/src/merge/resources/ticketing/types/ticket_response.py @@ -1,19 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .attachment import Attachment -from .collection import Collection -from .ticket import Ticket +from __future__ import annotations + import typing -from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem -from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .debug_mode_log import DebugModeLog +from .error_validation_problem import ErrorValidationProblem +from .warning_validation_problem import WarningValidationProblem class TicketResponse(UncheckedBaseModel): - model: Ticket + model: "Ticket" warnings: typing.List[WarningValidationProblem] errors: typing.List[ErrorValidationProblem] logs: typing.Optional[typing.List[DebugModeLog]] = None @@ -26,3 +26,10 @@ class Config: frozen = True smart_union = True 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(TicketResponse) diff --git a/src/merge/resources/ticketing/types/ticket_status.py b/src/merge/resources/ticketing/types/ticket_status.py index ee72d657..ebcc3a42 100644 --- a/src/merge/resources/ticketing/types/ticket_status.py +++ b/src/merge/resources/ticketing/types/ticket_status.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .ticket_status_enum import TicketStatusEnum TicketStatus = typing.Union[TicketStatusEnum, str] diff --git a/src/merge/resources/ticketing/types/ticketing_attachment_response.py b/src/merge/resources/ticketing/types/ticketing_attachment_response.py index 25c89948..1afad69d 100644 --- a/src/merge/resources/ticketing/types/ticketing_attachment_response.py +++ b/src/merge/resources/ticketing/types/ticketing_attachment_response.py @@ -1,19 +1,19 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from .attachment import Attachment -from .collection import Collection -from .ticket import Ticket +from __future__ import annotations + import typing -from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem -from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.unchecked_base_model import UncheckedBaseModel +from .debug_mode_log import DebugModeLog +from .error_validation_problem import ErrorValidationProblem +from .warning_validation_problem import WarningValidationProblem class TicketingAttachmentResponse(UncheckedBaseModel): - model: Attachment + model: "Attachment" warnings: typing.List[WarningValidationProblem] errors: typing.List[ErrorValidationProblem] logs: typing.Optional[typing.List[DebugModeLog]] = None @@ -26,3 +26,10 @@ class Config: frozen = True smart_union = True 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(TicketingAttachmentResponse) diff --git a/src/merge/resources/ticketing/types/ticketing_contact_response.py b/src/merge/resources/ticketing/types/ticketing_contact_response.py index 4a841a8d..c72aa504 100644 --- a/src/merge/resources/ticketing/types/ticketing_contact_response.py +++ b/src/merge/resources/ticketing/types/ticketing_contact_response.py @@ -1,13 +1,14 @@ # 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 .contact import Contact -import typing -from .warning_validation_problem import WarningValidationProblem -from .error_validation_problem import ErrorValidationProblem from .debug_mode_log import DebugModeLog -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -import pydantic +from .error_validation_problem import ErrorValidationProblem +from .warning_validation_problem import WarningValidationProblem class TicketingContactResponse(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/user.py b/src/merge/resources/ticketing/types/user.py index d4928478..b89d230c 100644 --- a/src/merge/resources/ticketing/types/user.py +++ b/src/merge/resources/ticketing/types/user.py @@ -1,13 +1,14 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt -from .user_teams_item import UserTeamsItem -from .user_roles_item import UserRolesItem -from .remote_data import RemoteData from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_data import RemoteData +from .user_roles_item import UserRolesItem +from .user_teams_item import UserTeamsItem class User(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/user_roles_item.py b/src/merge/resources/ticketing/types/user_roles_item.py index e24a9d09..8597ca2f 100644 --- a/src/merge/resources/ticketing/types/user_roles_item.py +++ b/src/merge/resources/ticketing/types/user_roles_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .role import Role UserRolesItem = typing.Union[str, Role] diff --git a/src/merge/resources/ticketing/types/user_teams_item.py b/src/merge/resources/ticketing/types/user_teams_item.py index 71e423ac..55220039 100644 --- a/src/merge/resources/ticketing/types/user_teams_item.py +++ b/src/merge/resources/ticketing/types/user_teams_item.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .team import Team UserTeamsItem = typing.Union[str, Team] diff --git a/src/merge/resources/ticketing/types/validation_problem_source.py b/src/merge/resources/ticketing/types/validation_problem_source.py index ceed8b91..fbebe626 100644 --- a/src/merge/resources/ticketing/types/validation_problem_source.py +++ b/src/merge/resources/ticketing/types/validation_problem_source.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel -from ....core.pydantic_utilities import IS_PYDANTIC_V2 import typing + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class ValidationProblemSource(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/viewer.py b/src/merge/resources/ticketing/types/viewer.py index fbfda545..72155e91 100644 --- a/src/merge/resources/ticketing/types/viewer.py +++ b/src/merge/resources/ticketing/types/viewer.py @@ -1,12 +1,13 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel +import datetime as dt import typing + import pydantic -import datetime as dt +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel from .viewer_team import ViewerTeam from .viewer_user import ViewerUser -from ....core.pydantic_utilities import IS_PYDANTIC_V2 class Viewer(UncheckedBaseModel): diff --git a/src/merge/resources/ticketing/types/viewer_team.py b/src/merge/resources/ticketing/types/viewer_team.py index 11f08e82..f0714a73 100644 --- a/src/merge/resources/ticketing/types/viewer_team.py +++ b/src/merge/resources/ticketing/types/viewer_team.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .team import Team ViewerTeam = typing.Union[str, Team] diff --git a/src/merge/resources/ticketing/types/viewer_user.py b/src/merge/resources/ticketing/types/viewer_user.py index fc578fd7..4acea21c 100644 --- a/src/merge/resources/ticketing/types/viewer_user.py +++ b/src/merge/resources/ticketing/types/viewer_user.py @@ -1,6 +1,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .user import User ViewerUser = typing.Union[str, User] diff --git a/src/merge/resources/ticketing/types/warning_validation_problem.py b/src/merge/resources/ticketing/types/warning_validation_problem.py index b974ff37..4785e836 100644 --- a/src/merge/resources/ticketing/types/warning_validation_problem.py +++ b/src/merge/resources/ticketing/types/warning_validation_problem.py @@ -1,10 +1,11 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from .validation_problem_source import ValidationProblemSource -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + 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): diff --git a/src/merge/resources/ticketing/types/webhook_receiver.py b/src/merge/resources/ticketing/types/webhook_receiver.py index 8bb74f35..fb49c044 100644 --- a/src/merge/resources/ticketing/types/webhook_receiver.py +++ b/src/merge/resources/ticketing/types/webhook_receiver.py @@ -1,9 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from ....core.unchecked_base_model import UncheckedBaseModel import typing -from ....core.pydantic_utilities import IS_PYDANTIC_V2 + import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel class WebhookReceiver(UncheckedBaseModel): diff --git a/tests/custom/test_client.py b/tests/custom/test_client.py index 73f811f5..ab04ce63 100644 --- a/tests/custom/test_client.py +++ b/tests/custom/test_client.py @@ -4,4 +4,4 @@ # Get started with writing tests with pytest at https://docs.pytest.org @pytest.mark.skip(reason="Unimplemented") def test_client() -> None: - assert True == True + assert True diff --git a/tests/utils/assets/models/__init__.py b/tests/utils/assets/models/__init__.py index 3a1c852e..2cf01263 100644 --- a/tests/utils/assets/models/__init__.py +++ b/tests/utils/assets/models/__init__.py @@ -5,7 +5,7 @@ from .circle import CircleParams from .object_with_defaults import ObjectWithDefaultsParams from .object_with_optional_field import ObjectWithOptionalFieldParams -from .shape import ShapeParams, Shape_CircleParams, Shape_SquareParams +from .shape import Shape_CircleParams, Shape_SquareParams, ShapeParams from .square import SquareParams from .undiscriminated_shape import UndiscriminatedShapeParams diff --git a/tests/utils/assets/models/circle.py b/tests/utils/assets/models/circle.py index fe16b9e4..8841b04d 100644 --- a/tests/utils/assets/models/circle.py +++ b/tests/utils/assets/models/circle.py @@ -3,7 +3,7 @@ # This file was auto-generated by Fern from our API Definition. import typing_extensions -import typing_extensions + from merge.core.serialization import FieldMetadata diff --git a/tests/utils/assets/models/object_with_defaults.py b/tests/utils/assets/models/object_with_defaults.py index ef14f7b2..a977b1d2 100644 --- a/tests/utils/assets/models/object_with_defaults.py +++ b/tests/utils/assets/models/object_with_defaults.py @@ -3,7 +3,6 @@ # This file was auto-generated by Fern from our API Definition. import typing_extensions -import typing_extensions class ObjectWithDefaultsParams(typing_extensions.TypedDict): diff --git a/tests/utils/assets/models/object_with_optional_field.py b/tests/utils/assets/models/object_with_optional_field.py index 13ccc937..98ac2c2e 100644 --- a/tests/utils/assets/models/object_with_optional_field.py +++ b/tests/utils/assets/models/object_with_optional_field.py @@ -2,16 +2,17 @@ # This file was auto-generated by Fern from our API Definition. -import typing_extensions -import typing -import typing_extensions -from merge.core.serialization import FieldMetadata import datetime as dt +import typing import uuid + +import typing_extensions from .color import Color from .shape import ShapeParams from .undiscriminated_shape import UndiscriminatedShapeParams +from merge.core.serialization import FieldMetadata + class ObjectWithOptionalFieldParams(typing_extensions.TypedDict): literal: typing.Literal["lit_one"] diff --git a/tests/utils/assets/models/shape.py b/tests/utils/assets/models/shape.py index cbc4fee1..a1342ba5 100644 --- a/tests/utils/assets/models/shape.py +++ b/tests/utils/assets/models/shape.py @@ -3,9 +3,11 @@ # This file was auto-generated by Fern from our API Definition. from __future__ import annotations -import typing_extensions -import typing_extensions + import typing + +import typing_extensions + from merge.core.serialization import FieldMetadata diff --git a/tests/utils/assets/models/square.py b/tests/utils/assets/models/square.py index 813d3180..1fcbd5d9 100644 --- a/tests/utils/assets/models/square.py +++ b/tests/utils/assets/models/square.py @@ -3,7 +3,7 @@ # This file was auto-generated by Fern from our API Definition. import typing_extensions -import typing_extensions + from merge.core.serialization import FieldMetadata diff --git a/tests/utils/assets/models/undiscriminated_shape.py b/tests/utils/assets/models/undiscriminated_shape.py index 68876a23..99f12b30 100644 --- a/tests/utils/assets/models/undiscriminated_shape.py +++ b/tests/utils/assets/models/undiscriminated_shape.py @@ -3,6 +3,7 @@ # This file was auto-generated by Fern from our API Definition. import typing + from .circle import CircleParams from .square import SquareParams diff --git a/tests/utils/test_query_encoding.py b/tests/utils/test_query_encoding.py index 18a81a1e..07b0704c 100644 --- a/tests/utils/test_query_encoding.py +++ b/tests/utils/test_query_encoding.py @@ -34,4 +34,4 @@ def test_query_encoding_deep_object_arrays() -> None: def test_encode_query_with_none() -> None: encoded = encode_query(None) - assert encoded == None + assert encoded is None diff --git a/tests/utils/test_serialization.py b/tests/utils/test_serialization.py index 824f7d05..dd383822 100644 --- a/tests/utils/test_serialization.py +++ b/tests/utils/test_serialization.py @@ -1,10 +1,10 @@ # This file was auto-generated by Fern from our API Definition. -from typing import List, Any +from typing import Any, List -from merge.core.serialization import convert_and_respect_annotation_metadata -from .assets.models import ShapeParams, ObjectWithOptionalFieldParams +from .assets.models import ObjectWithOptionalFieldParams, ShapeParams +from merge.core.serialization import convert_and_respect_annotation_metadata UNION_TEST: ShapeParams = {"radius_measurement": 1.0, "shape_type": "circle", "id": "1"} UNION_TEST_CONVERTED = {"shapeType": "circle", "radiusMeasurement": 1.0, "id": "1"}