@mergeapi/merge-node-client 1.1.5 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1355) hide show
  1. package/Client.d.ts +3 -3
  2. package/Client.js +6 -6
  3. package/api/resources/accounting/client/Client.d.ts +6 -0
  4. package/api/resources/accounting/client/Client.js +32 -22
  5. package/api/resources/accounting/resources/accountDetails/client/Client.js +1 -1
  6. package/api/resources/accounting/resources/accountToken/client/Client.js +1 -1
  7. package/api/resources/accounting/resources/accountingPeriods/client/Client.js +6 -3
  8. package/api/resources/accounting/resources/accountingPeriods/client/requests/AccountingPeriodsRetrieveRequest.d.ts +4 -0
  9. package/api/resources/accounting/resources/accounts/client/Client.js +12 -6
  10. package/api/resources/accounting/resources/accounts/client/requests/AccountsListRequest.d.ts +4 -0
  11. package/api/resources/accounting/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +4 -0
  12. package/api/resources/accounting/resources/addresses/client/Client.js +5 -2
  13. package/api/resources/accounting/resources/addresses/client/requests/AddressesRetrieveRequest.d.ts +4 -0
  14. package/api/resources/accounting/resources/asyncPassthrough/client/Client.js +2 -2
  15. package/api/resources/accounting/resources/asyncTasks/client/Client.js +1 -1
  16. package/api/resources/accounting/resources/attachments/client/Client.js +8 -5
  17. package/api/resources/accounting/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +4 -0
  18. package/api/resources/accounting/resources/auditTrail/client/Client.js +1 -1
  19. package/api/resources/accounting/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
  20. package/api/resources/accounting/resources/availableActions/client/Client.js +1 -1
  21. package/api/resources/accounting/resources/balanceSheets/client/Client.js +6 -3
  22. package/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsRetrieveRequest.d.ts +4 -0
  23. package/api/resources/accounting/resources/bankFeedAccounts/client/Client.js +8 -5
  24. package/api/resources/accounting/resources/bankFeedAccounts/client/requests/BankFeedAccountsRetrieveRequest.d.ts +4 -0
  25. package/api/resources/accounting/resources/bankFeedTransactions/client/Client.js +8 -5
  26. package/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionsRetrieveRequest.d.ts +4 -0
  27. package/api/resources/accounting/resources/cashFlowStatements/client/Client.js +6 -3
  28. package/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsRetrieveRequest.d.ts +4 -0
  29. package/api/resources/accounting/resources/companyInfo/client/Client.js +6 -3
  30. package/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoRetrieveRequest.d.ts +4 -0
  31. package/api/resources/accounting/resources/contacts/client/Client.js +9 -6
  32. package/api/resources/accounting/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +4 -0
  33. package/api/resources/accounting/resources/creditNotes/client/Client.js +8 -5
  34. package/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesRetrieveRequest.d.ts +4 -0
  35. package/api/resources/accounting/resources/deleteAccount/client/Client.js +1 -1
  36. package/api/resources/accounting/resources/employees/client/Client.js +6 -3
  37. package/api/resources/accounting/resources/employees/client/requests/EmployeesRetrieveRequest.d.ts +4 -0
  38. package/api/resources/accounting/resources/expenses/client/Client.js +10 -7
  39. package/api/resources/accounting/resources/expenses/client/requests/ExpensesRetrieveRequest.d.ts +4 -0
  40. package/api/resources/accounting/resources/fieldMapping/client/Client.js +6 -6
  41. package/api/resources/accounting/resources/forceResync/client/Client.d.ts +1 -1
  42. package/api/resources/accounting/resources/forceResync/client/Client.js +2 -2
  43. package/api/resources/accounting/resources/generalLedgerTransactions/client/Client.js +6 -3
  44. package/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsRetrieveRequest.d.ts +4 -0
  45. package/api/resources/accounting/resources/generateKey/client/Client.js +1 -1
  46. package/api/resources/accounting/resources/incomeStatements/client/Client.js +6 -3
  47. package/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsRetrieveRequest.d.ts +4 -0
  48. package/api/resources/accounting/resources/index.d.ts +4 -0
  49. package/api/resources/accounting/resources/index.js +5 -1
  50. package/api/resources/accounting/resources/invoices/client/Client.js +12 -9
  51. package/api/resources/accounting/resources/invoices/client/requests/InvoicesRetrieveRequest.d.ts +4 -0
  52. package/api/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.d.ts +2049 -1
  53. package/api/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.js +2048 -0
  54. package/api/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.d.ts +2049 -1
  55. package/api/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.js +2048 -0
  56. package/api/resources/accounting/resources/issues/client/Client.js +2 -2
  57. package/api/resources/accounting/resources/items/client/Client.js +6 -3
  58. package/api/resources/accounting/resources/items/client/requests/ItemsRetrieveRequest.d.ts +4 -0
  59. package/api/resources/accounting/resources/journalEntries/client/Client.js +10 -7
  60. package/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRetrieveRequest.d.ts +4 -0
  61. package/api/resources/accounting/resources/linkToken/client/Client.js +1 -1
  62. package/api/resources/accounting/resources/linkedAccounts/client/Client.js +1 -1
  63. package/api/resources/accounting/resources/passthrough/client/Client.js +1 -1
  64. package/api/resources/accounting/resources/paymentMethods/client/Client.d.ts +53 -0
  65. package/api/resources/accounting/resources/paymentMethods/client/Client.js +193 -0
  66. package/api/resources/accounting/resources/paymentMethods/client/index.d.ts +1 -0
  67. package/api/resources/accounting/resources/paymentMethods/client/index.js +17 -0
  68. package/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsListRequest.d.ts +29 -0
  69. package/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsRetrieveRequest.d.ts +17 -0
  70. package/api/resources/accounting/resources/paymentMethods/client/requests/index.d.ts +2 -0
  71. package/api/resources/accounting/resources/paymentMethods/client/requests/index.js +2 -0
  72. package/api/resources/accounting/resources/paymentMethods/index.d.ts +1 -0
  73. package/api/resources/accounting/resources/paymentMethods/index.js +17 -0
  74. package/api/resources/accounting/resources/paymentTerms/client/Client.d.ts +53 -0
  75. package/api/resources/accounting/resources/paymentTerms/client/Client.js +199 -0
  76. package/api/resources/accounting/resources/paymentTerms/client/index.d.ts +1 -0
  77. package/api/resources/accounting/resources/paymentTerms/client/index.js +17 -0
  78. package/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsListRequest.d.ts +33 -0
  79. package/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsListRequest.js +5 -0
  80. package/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsRetrieveRequest.d.ts +21 -0
  81. package/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsRetrieveRequest.js +5 -0
  82. package/api/resources/accounting/resources/paymentTerms/client/requests/index.d.ts +2 -0
  83. package/api/resources/accounting/resources/paymentTerms/client/requests/index.js +2 -0
  84. package/api/resources/accounting/resources/paymentTerms/index.d.ts +1 -0
  85. package/api/resources/accounting/resources/paymentTerms/index.js +17 -0
  86. package/api/resources/accounting/resources/payments/client/Client.js +12 -9
  87. package/api/resources/accounting/resources/payments/client/requests/PaymentsRetrieveRequest.d.ts +4 -0
  88. package/api/resources/accounting/resources/payments/types/PaymentsListRequestExpand.d.ts +65 -1
  89. package/api/resources/accounting/resources/payments/types/PaymentsListRequestExpand.js +64 -0
  90. package/api/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.d.ts +65 -1
  91. package/api/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.js +64 -0
  92. package/api/resources/accounting/resources/phoneNumbers/client/Client.js +5 -2
  93. package/api/resources/accounting/resources/phoneNumbers/client/requests/PhoneNumbersRetrieveRequest.d.ts +4 -0
  94. package/api/resources/accounting/resources/purchaseOrders/client/Client.js +10 -7
  95. package/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRetrieveRequest.d.ts +4 -0
  96. package/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.d.ts +65 -1
  97. package/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.js +64 -0
  98. package/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.d.ts +65 -1
  99. package/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.js +64 -0
  100. package/api/resources/accounting/resources/regenerateKey/client/Client.js +1 -1
  101. package/api/resources/accounting/resources/scopes/client/Client.js +3 -3
  102. package/api/resources/accounting/resources/syncStatus/client/Client.d.ts +1 -1
  103. package/api/resources/accounting/resources/syncStatus/client/Client.js +2 -2
  104. package/api/resources/accounting/resources/taxRates/client/Client.js +10 -4
  105. package/api/resources/accounting/resources/taxRates/client/requests/TaxRatesListRequest.d.ts +4 -0
  106. package/api/resources/accounting/resources/taxRates/client/requests/TaxRatesRetrieveRequest.d.ts +4 -0
  107. package/api/resources/accounting/resources/trackingCategories/client/Client.js +10 -4
  108. package/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesListRequest.d.ts +4 -0
  109. package/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesRetrieveRequest.d.ts +4 -0
  110. package/api/resources/accounting/resources/transactions/client/Client.js +6 -3
  111. package/api/resources/accounting/resources/transactions/client/requests/TransactionsRetrieveRequest.d.ts +4 -0
  112. package/api/resources/accounting/resources/vendorCredits/client/Client.js +8 -5
  113. package/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsRetrieveRequest.d.ts +4 -0
  114. package/api/resources/accounting/resources/webhookReceivers/client/Client.js +2 -2
  115. package/api/resources/accounting/types/AccountToken.d.ts +1 -0
  116. package/api/resources/accounting/types/AuditLogEvent.d.ts +1 -0
  117. package/api/resources/accounting/types/AuditLogEventEventType.d.ts +1 -0
  118. package/api/resources/accounting/types/EventTypeEnum.d.ts +3 -1
  119. package/api/resources/accounting/types/EventTypeEnum.js +1 -0
  120. package/api/resources/accounting/types/ExternalTargetFieldApiResponse.d.ts +2 -0
  121. package/api/resources/accounting/types/FieldMappingApiInstanceResponse.d.ts +2 -0
  122. package/api/resources/accounting/types/GeneralLedgerTransactionLine.d.ts +1 -1
  123. package/api/resources/accounting/types/GeneralLedgerTransactionLineTrackingCategoriesItem.d.ts +5 -0
  124. package/api/resources/accounting/types/GeneralLedgerTransactionLineTrackingCategoriesItem.js +5 -0
  125. package/api/resources/accounting/types/Invoice.d.ts +2 -0
  126. package/api/resources/accounting/types/InvoicePaymentTerm.d.ts +8 -0
  127. package/api/resources/accounting/types/InvoicePaymentTerm.js +5 -0
  128. package/api/resources/accounting/types/InvoiceRequest.d.ts +2 -0
  129. package/api/resources/accounting/types/InvoiceRequestPaymentTerm.d.ts +8 -0
  130. package/api/resources/accounting/types/InvoiceRequestPaymentTerm.js +5 -0
  131. package/api/resources/accounting/types/{SyncStatusStatusEnum.d.ts → LastSyncResultEnum.d.ts} +2 -2
  132. package/api/resources/{crm/types/SyncStatusStatusEnum.js → accounting/types/LastSyncResultEnum.js} +2 -2
  133. package/api/resources/accounting/types/MethodTypeEnum.d.ts +18 -0
  134. package/api/resources/accounting/types/MethodTypeEnum.js +13 -0
  135. package/api/resources/accounting/types/PaginatedPaymentMethodList.d.ts +9 -0
  136. package/api/resources/accounting/types/PaginatedPaymentMethodList.js +5 -0
  137. package/api/resources/accounting/types/PaginatedPaymentTermList.d.ts +9 -0
  138. package/api/resources/accounting/types/PaginatedPaymentTermList.js +5 -0
  139. package/api/resources/accounting/types/PatchedPaymentRequest.d.ts +2 -0
  140. package/api/resources/accounting/types/PatchedPaymentRequestPaymentMethod.d.ts +8 -0
  141. package/api/resources/accounting/types/PatchedPaymentRequestPaymentMethod.js +5 -0
  142. package/api/resources/accounting/types/Payment.d.ts +2 -0
  143. package/api/resources/accounting/types/PaymentMethod.d.ts +42 -0
  144. package/api/resources/accounting/types/PaymentMethod.js +5 -0
  145. package/api/resources/accounting/types/PaymentMethodMethodType.d.ts +14 -0
  146. package/api/resources/accounting/types/PaymentMethodMethodType.js +5 -0
  147. package/api/resources/accounting/types/PaymentPaymentMethod.d.ts +8 -0
  148. package/api/resources/accounting/types/PaymentPaymentMethod.js +5 -0
  149. package/api/resources/accounting/types/PaymentRequest.d.ts +2 -0
  150. package/api/resources/accounting/types/PaymentRequestPaymentMethod.d.ts +8 -0
  151. package/api/resources/accounting/types/PaymentRequestPaymentMethod.js +5 -0
  152. package/api/resources/accounting/types/PaymentTerm.d.ts +39 -0
  153. package/api/resources/accounting/types/PaymentTerm.js +5 -0
  154. package/api/resources/accounting/types/PaymentTermCompany.d.ts +8 -0
  155. package/api/resources/accounting/types/PaymentTermCompany.js +5 -0
  156. package/api/resources/accounting/types/PurchaseOrder.d.ts +2 -0
  157. package/api/resources/accounting/types/PurchaseOrderPaymentTerm.d.ts +8 -0
  158. package/api/resources/accounting/types/PurchaseOrderPaymentTerm.js +5 -0
  159. package/api/resources/accounting/types/PurchaseOrderRequest.d.ts +2 -0
  160. package/api/resources/accounting/types/PurchaseOrderRequestPaymentTerm.d.ts +8 -0
  161. package/api/resources/accounting/types/PurchaseOrderRequestPaymentTerm.js +5 -0
  162. package/api/resources/accounting/types/RemoteField.d.ts +1 -1
  163. package/api/resources/accounting/types/RemoteFieldApiResponse.d.ts +2 -0
  164. package/api/resources/{crm/types/SyncStatusStatusEnum.d.ts → accounting/types/StatusFd5Enum.d.ts} +2 -2
  165. package/api/resources/accounting/types/{SyncStatusStatusEnum.js → StatusFd5Enum.js} +2 -2
  166. package/api/resources/accounting/types/SyncStatus.d.ts +3 -1
  167. package/api/resources/accounting/types/index.d.ts +17 -1
  168. package/api/resources/accounting/types/index.js +17 -1
  169. package/api/resources/ats/resources/accountDetails/client/Client.js +1 -1
  170. package/api/resources/ats/resources/accountToken/client/Client.js +1 -1
  171. package/api/resources/ats/resources/activities/client/Client.js +8 -5
  172. package/api/resources/ats/resources/activities/client/requests/ActivitiesRetrieveRequest.d.ts +4 -0
  173. package/api/resources/ats/resources/applications/client/Client.js +9 -6
  174. package/api/resources/ats/resources/applications/client/requests/ApplicationsRetrieveRequest.d.ts +4 -0
  175. package/api/resources/ats/resources/asyncPassthrough/client/Client.js +2 -2
  176. package/api/resources/ats/resources/attachments/client/Client.js +8 -5
  177. package/api/resources/ats/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +4 -0
  178. package/api/resources/ats/resources/auditTrail/client/Client.js +1 -1
  179. package/api/resources/ats/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
  180. package/api/resources/ats/resources/availableActions/client/Client.js +1 -1
  181. package/api/resources/ats/resources/candidates/client/Client.js +11 -8
  182. package/api/resources/ats/resources/candidates/client/requests/CandidatesRetrieveRequest.d.ts +4 -0
  183. package/api/resources/ats/resources/deleteAccount/client/Client.js +1 -1
  184. package/api/resources/ats/resources/departments/client/Client.js +6 -3
  185. package/api/resources/ats/resources/departments/client/requests/DepartmentsRetrieveRequest.d.ts +4 -0
  186. package/api/resources/ats/resources/eeocs/client/Client.js +6 -3
  187. package/api/resources/ats/resources/eeocs/client/requests/EeocsRetrieveRequest.d.ts +4 -0
  188. package/api/resources/ats/resources/fieldMapping/client/Client.js +6 -6
  189. package/api/resources/ats/resources/forceResync/client/Client.d.ts +1 -1
  190. package/api/resources/ats/resources/forceResync/client/Client.js +2 -2
  191. package/api/resources/ats/resources/generateKey/client/Client.js +1 -1
  192. package/api/resources/ats/resources/interviews/client/Client.js +8 -5
  193. package/api/resources/ats/resources/interviews/client/requests/InterviewsRetrieveRequest.d.ts +4 -0
  194. package/api/resources/ats/resources/issues/client/Client.js +2 -2
  195. package/api/resources/ats/resources/jobInterviewStages/client/Client.js +6 -3
  196. package/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesRetrieveRequest.d.ts +4 -0
  197. package/api/resources/ats/resources/jobPostings/client/Client.js +6 -3
  198. package/api/resources/ats/resources/jobPostings/client/requests/JobPostingsRetrieveRequest.d.ts +4 -0
  199. package/api/resources/ats/resources/jobs/client/Client.js +7 -4
  200. package/api/resources/ats/resources/jobs/client/requests/JobsRetrieveRequest.d.ts +4 -0
  201. package/api/resources/ats/resources/linkToken/client/Client.js +1 -1
  202. package/api/resources/ats/resources/linkedAccounts/client/Client.js +1 -1
  203. package/api/resources/ats/resources/offers/client/Client.js +6 -3
  204. package/api/resources/ats/resources/offers/client/requests/OffersRetrieveRequest.d.ts +4 -0
  205. package/api/resources/ats/resources/offices/client/Client.js +6 -3
  206. package/api/resources/ats/resources/offices/client/requests/OfficesRetrieveRequest.d.ts +4 -0
  207. package/api/resources/ats/resources/passthrough/client/Client.js +1 -1
  208. package/api/resources/ats/resources/regenerateKey/client/Client.js +1 -1
  209. package/api/resources/ats/resources/rejectReasons/client/Client.js +6 -3
  210. package/api/resources/ats/resources/rejectReasons/client/requests/RejectReasonsRetrieveRequest.d.ts +4 -0
  211. package/api/resources/ats/resources/scopes/client/Client.js +3 -3
  212. package/api/resources/ats/resources/scorecards/client/Client.js +6 -3
  213. package/api/resources/ats/resources/scorecards/client/requests/ScorecardsRetrieveRequest.d.ts +4 -0
  214. package/api/resources/ats/resources/syncStatus/client/Client.d.ts +1 -1
  215. package/api/resources/ats/resources/syncStatus/client/Client.js +2 -2
  216. package/api/resources/ats/resources/tags/client/Client.js +1 -1
  217. package/api/resources/ats/resources/users/client/Client.js +6 -3
  218. package/api/resources/ats/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -0
  219. package/api/resources/ats/resources/webhookReceivers/client/Client.js +2 -2
  220. package/api/resources/ats/types/AccountToken.d.ts +1 -0
  221. package/api/resources/ats/types/AuditLogEvent.d.ts +1 -0
  222. package/api/resources/ats/types/AuditLogEventEventType.d.ts +1 -0
  223. package/api/resources/ats/types/EventTypeEnum.d.ts +3 -1
  224. package/api/resources/ats/types/EventTypeEnum.js +1 -0
  225. package/api/resources/ats/types/{SyncStatusStatusEnum.d.ts → LastSyncResultEnum.d.ts} +2 -2
  226. package/api/resources/{filestorage/types/SyncStatusStatusEnum.js → ats/types/LastSyncResultEnum.js} +2 -2
  227. package/api/resources/{filestorage/types/SyncStatusStatusEnum.d.ts → ats/types/StatusFd5Enum.d.ts} +2 -2
  228. package/api/resources/ats/types/{SyncStatusStatusEnum.js → StatusFd5Enum.js} +2 -2
  229. package/api/resources/ats/types/SyncStatus.d.ts +3 -1
  230. package/api/resources/ats/types/index.d.ts +2 -1
  231. package/api/resources/ats/types/index.js +2 -1
  232. package/api/resources/crm/resources/accountDetails/client/Client.js +1 -1
  233. package/api/resources/crm/resources/accountToken/client/Client.js +1 -1
  234. package/api/resources/crm/resources/accounts/client/Client.js +11 -8
  235. package/api/resources/crm/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +4 -0
  236. package/api/resources/crm/resources/associationTypes/client/Client.js +8 -5
  237. package/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesRetrieveRequest.d.ts +4 -0
  238. package/api/resources/crm/resources/associations/client/Client.js +2 -2
  239. package/api/resources/crm/resources/asyncPassthrough/client/Client.js +2 -2
  240. package/api/resources/crm/resources/auditTrail/client/Client.js +1 -1
  241. package/api/resources/crm/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
  242. package/api/resources/crm/resources/availableActions/client/Client.js +1 -1
  243. package/api/resources/crm/resources/contacts/client/Client.js +12 -9
  244. package/api/resources/crm/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +4 -0
  245. package/api/resources/crm/resources/customObjectClasses/client/Client.js +6 -3
  246. package/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesRetrieveRequest.d.ts +4 -0
  247. package/api/resources/crm/resources/customObjects/client/Client.js +9 -6
  248. package/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsRetrieveRequest.d.ts +4 -0
  249. package/api/resources/crm/resources/deleteAccount/client/Client.js +1 -1
  250. package/api/resources/crm/resources/engagementTypes/client/Client.js +7 -4
  251. package/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRetrieveRequest.d.ts +4 -0
  252. package/api/resources/crm/resources/engagements/client/Client.js +11 -8
  253. package/api/resources/crm/resources/engagements/client/requests/EngagementsRetrieveRequest.d.ts +4 -0
  254. package/api/resources/crm/resources/fieldMapping/client/Client.js +6 -6
  255. package/api/resources/crm/resources/forceResync/client/Client.d.ts +1 -1
  256. package/api/resources/crm/resources/forceResync/client/Client.js +2 -2
  257. package/api/resources/crm/resources/generateKey/client/Client.js +1 -1
  258. package/api/resources/crm/resources/issues/client/Client.js +2 -2
  259. package/api/resources/crm/resources/leads/client/Client.js +9 -6
  260. package/api/resources/crm/resources/leads/client/requests/LeadsRetrieveRequest.d.ts +4 -0
  261. package/api/resources/crm/resources/linkToken/client/Client.js +1 -1
  262. package/api/resources/crm/resources/linkedAccounts/client/Client.js +1 -1
  263. package/api/resources/crm/resources/notes/client/Client.js +9 -6
  264. package/api/resources/crm/resources/notes/client/requests/NotesRetrieveRequest.d.ts +4 -0
  265. package/api/resources/crm/resources/opportunities/client/Client.js +11 -8
  266. package/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRetrieveRequest.d.ts +4 -0
  267. package/api/resources/crm/resources/passthrough/client/Client.js +1 -1
  268. package/api/resources/crm/resources/regenerateKey/client/Client.js +1 -1
  269. package/api/resources/crm/resources/scopes/client/Client.js +3 -3
  270. package/api/resources/crm/resources/stages/client/Client.js +7 -4
  271. package/api/resources/crm/resources/stages/client/requests/StagesRetrieveRequest.d.ts +4 -0
  272. package/api/resources/crm/resources/syncStatus/client/Client.js +1 -1
  273. package/api/resources/crm/resources/tasks/client/Client.js +11 -8
  274. package/api/resources/crm/resources/tasks/client/requests/TasksRetrieveRequest.d.ts +4 -0
  275. package/api/resources/crm/resources/users/client/Client.js +8 -5
  276. package/api/resources/crm/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -0
  277. package/api/resources/crm/resources/webhookReceivers/client/Client.js +2 -2
  278. package/api/resources/crm/types/AccountToken.d.ts +1 -0
  279. package/api/resources/crm/types/AuditLogEvent.d.ts +1 -0
  280. package/api/resources/crm/types/AuditLogEventEventType.d.ts +1 -0
  281. package/api/resources/crm/types/EventTypeEnum.d.ts +3 -1
  282. package/api/resources/crm/types/EventTypeEnum.js +1 -0
  283. package/api/resources/crm/types/LastSyncResultEnum.d.ts +20 -0
  284. package/api/resources/crm/types/LastSyncResultEnum.js +14 -0
  285. package/api/resources/crm/types/RemoteField.d.ts +1 -1
  286. package/api/resources/crm/types/StatusFd5Enum.d.ts +20 -0
  287. package/api/resources/crm/types/StatusFd5Enum.js +14 -0
  288. package/api/resources/crm/types/SyncStatus.d.ts +3 -1
  289. package/{dist/api/resources/ticketing/types/CollectionTeamsItem.d.ts → api/resources/crm/types/SyncStatusLastSyncResult.d.ts} +1 -1
  290. package/api/resources/crm/types/SyncStatusLastSyncResult.js +5 -0
  291. package/api/resources/crm/types/index.d.ts +3 -1
  292. package/api/resources/crm/types/index.js +3 -1
  293. package/api/resources/filestorage/resources/accountDetails/client/Client.js +1 -1
  294. package/api/resources/filestorage/resources/accountToken/client/Client.js +1 -1
  295. package/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +2 -2
  296. package/api/resources/filestorage/resources/auditTrail/client/Client.js +1 -1
  297. package/api/resources/filestorage/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
  298. package/api/resources/filestorage/resources/availableActions/client/Client.js +1 -1
  299. package/api/resources/filestorage/resources/deleteAccount/client/Client.js +1 -1
  300. package/api/resources/filestorage/resources/drives/client/Client.js +6 -3
  301. package/api/resources/filestorage/resources/drives/client/requests/DrivesRetrieveRequest.d.ts +4 -0
  302. package/api/resources/filestorage/resources/fieldMapping/client/Client.js +6 -6
  303. package/api/resources/filestorage/resources/files/client/Client.d.ts +21 -0
  304. package/api/resources/filestorage/resources/files/client/Client.js +143 -7
  305. package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaListRequest.d.ts +25 -0
  306. package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaListRequest.js +5 -0
  307. package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaRetrieveRequest.d.ts +13 -0
  308. package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaRetrieveRequest.js +5 -0
  309. package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRetrieveRequest.d.ts +5 -0
  310. package/api/resources/filestorage/resources/files/client/requests/FilesRetrieveRequest.d.ts +4 -0
  311. package/api/resources/filestorage/resources/files/client/requests/index.d.ts +2 -0
  312. package/api/resources/filestorage/resources/folders/client/Client.js +8 -5
  313. package/api/resources/filestorage/resources/folders/client/requests/FoldersRetrieveRequest.d.ts +4 -0
  314. package/api/resources/filestorage/resources/forceResync/client/Client.d.ts +1 -1
  315. package/api/resources/filestorage/resources/forceResync/client/Client.js +2 -2
  316. package/api/resources/filestorage/resources/generateKey/client/Client.js +1 -1
  317. package/api/resources/filestorage/resources/groups/client/Client.js +6 -3
  318. package/api/resources/filestorage/resources/groups/client/requests/GroupsRetrieveRequest.d.ts +4 -0
  319. package/api/resources/filestorage/resources/issues/client/Client.js +2 -2
  320. package/api/resources/filestorage/resources/linkToken/client/Client.js +1 -1
  321. package/api/resources/filestorage/resources/linkedAccounts/client/Client.js +1 -1
  322. package/api/resources/filestorage/resources/passthrough/client/Client.js +1 -1
  323. package/api/resources/filestorage/resources/regenerateKey/client/Client.js +1 -1
  324. package/api/resources/filestorage/resources/scopes/client/Client.js +3 -3
  325. package/api/resources/filestorage/resources/syncStatus/client/Client.js +1 -1
  326. package/api/resources/filestorage/resources/users/client/Client.js +6 -3
  327. package/api/resources/filestorage/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -0
  328. package/api/resources/filestorage/resources/webhookReceivers/client/Client.js +2 -2
  329. package/api/resources/filestorage/types/AccountToken.d.ts +1 -0
  330. package/api/resources/filestorage/types/AuditLogEvent.d.ts +1 -0
  331. package/api/resources/filestorage/types/AuditLogEventEventType.d.ts +1 -0
  332. package/api/resources/filestorage/types/DownloadRequestMeta.d.ts +10 -0
  333. package/api/resources/filestorage/types/DownloadRequestMeta.js +5 -0
  334. package/api/resources/filestorage/types/EventTypeEnum.d.ts +3 -1
  335. package/api/resources/filestorage/types/EventTypeEnum.js +1 -0
  336. package/api/resources/filestorage/types/LastSyncResultEnum.d.ts +20 -0
  337. package/api/resources/filestorage/types/LastSyncResultEnum.js +14 -0
  338. package/api/resources/filestorage/types/PaginatedDownloadRequestMetaList.d.ts +9 -0
  339. package/api/resources/filestorage/types/PaginatedDownloadRequestMetaList.js +5 -0
  340. package/api/resources/filestorage/types/StatusFd5Enum.d.ts +20 -0
  341. package/api/resources/filestorage/types/StatusFd5Enum.js +14 -0
  342. package/api/resources/filestorage/types/SyncStatus.d.ts +3 -1
  343. package/api/resources/filestorage/types/SyncStatusLastSyncResult.d.ts +5 -0
  344. package/api/resources/filestorage/types/SyncStatusLastSyncResult.js +5 -0
  345. package/api/resources/filestorage/types/index.d.ts +5 -1
  346. package/api/resources/filestorage/types/index.js +5 -1
  347. package/api/resources/hris/resources/accountDetails/client/Client.js +1 -1
  348. package/api/resources/hris/resources/accountToken/client/Client.js +1 -1
  349. package/api/resources/hris/resources/asyncPassthrough/client/Client.js +2 -2
  350. package/api/resources/hris/resources/auditTrail/client/Client.js +1 -1
  351. package/api/resources/hris/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
  352. package/api/resources/hris/resources/availableActions/client/Client.js +1 -1
  353. package/api/resources/hris/resources/bankInfo/client/Client.js +6 -3
  354. package/api/resources/hris/resources/bankInfo/client/requests/BankInfoRetrieveRequest.d.ts +4 -0
  355. package/api/resources/hris/resources/benefits/client/Client.js +6 -3
  356. package/api/resources/hris/resources/benefits/client/requests/BenefitsRetrieveRequest.d.ts +4 -0
  357. package/api/resources/hris/resources/companies/client/Client.js +6 -3
  358. package/api/resources/hris/resources/companies/client/requests/CompaniesRetrieveRequest.d.ts +4 -0
  359. package/api/resources/hris/resources/deleteAccount/client/Client.js +1 -1
  360. package/api/resources/hris/resources/dependents/client/Client.js +6 -3
  361. package/api/resources/hris/resources/dependents/client/requests/DependentsRetrieveRequest.d.ts +4 -0
  362. package/api/resources/hris/resources/employeePayrollRuns/client/Client.js +6 -3
  363. package/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsRetrieveRequest.d.ts +4 -0
  364. package/api/resources/hris/resources/employees/client/Client.js +9 -6
  365. package/api/resources/hris/resources/employees/client/requests/EmployeesRetrieveRequest.d.ts +4 -0
  366. package/api/resources/hris/resources/employerBenefits/client/Client.js +6 -3
  367. package/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsRetrieveRequest.d.ts +4 -0
  368. package/api/resources/hris/resources/employments/client/Client.js +6 -3
  369. package/api/resources/hris/resources/employments/client/requests/EmploymentsRetrieveRequest.d.ts +4 -0
  370. package/api/resources/hris/resources/fieldMapping/client/Client.js +6 -6
  371. package/api/resources/hris/resources/forceResync/client/Client.d.ts +1 -1
  372. package/api/resources/hris/resources/forceResync/client/Client.js +2 -2
  373. package/api/resources/hris/resources/generateKey/client/Client.js +1 -1
  374. package/api/resources/hris/resources/groups/client/Client.js +6 -3
  375. package/api/resources/hris/resources/groups/client/requests/GroupsRetrieveRequest.d.ts +4 -0
  376. package/api/resources/hris/resources/issues/client/Client.js +2 -2
  377. package/api/resources/hris/resources/linkToken/client/Client.js +1 -1
  378. package/api/resources/hris/resources/linkedAccounts/client/Client.js +1 -1
  379. package/api/resources/hris/resources/locations/client/Client.js +6 -3
  380. package/api/resources/hris/resources/locations/client/requests/LocationsRetrieveRequest.d.ts +4 -0
  381. package/api/resources/hris/resources/passthrough/client/Client.js +1 -1
  382. package/api/resources/hris/resources/payGroups/client/Client.js +6 -3
  383. package/api/resources/hris/resources/payGroups/client/requests/PayGroupsRetrieveRequest.d.ts +4 -0
  384. package/api/resources/hris/resources/payrollRuns/client/Client.js +6 -3
  385. package/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsRetrieveRequest.d.ts +4 -0
  386. package/api/resources/hris/resources/regenerateKey/client/Client.js +1 -1
  387. package/api/resources/hris/resources/scopes/client/Client.js +3 -3
  388. package/api/resources/hris/resources/syncStatus/client/Client.d.ts +1 -1
  389. package/api/resources/hris/resources/syncStatus/client/Client.js +2 -2
  390. package/api/resources/hris/resources/teams/client/Client.js +6 -3
  391. package/api/resources/hris/resources/teams/client/requests/TeamsRetrieveRequest.d.ts +4 -0
  392. package/api/resources/hris/resources/timeOff/client/Client.js +8 -5
  393. package/api/resources/hris/resources/timeOff/client/requests/TimeOffRetrieveRequest.d.ts +4 -0
  394. package/api/resources/hris/resources/timeOffBalances/client/Client.js +6 -3
  395. package/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesRetrieveRequest.d.ts +4 -0
  396. package/api/resources/hris/resources/timesheetEntries/client/Client.js +8 -5
  397. package/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesRetrieveRequest.d.ts +4 -0
  398. package/api/resources/hris/resources/webhookReceivers/client/Client.js +2 -2
  399. package/api/resources/hris/types/AccountToken.d.ts +1 -0
  400. package/api/resources/hris/types/AuditLogEvent.d.ts +1 -0
  401. package/api/resources/hris/types/AuditLogEventEventType.d.ts +1 -0
  402. package/api/resources/hris/types/EventTypeEnum.d.ts +3 -1
  403. package/api/resources/hris/types/EventTypeEnum.js +1 -0
  404. package/api/resources/hris/types/Group.d.ts +2 -2
  405. package/api/resources/hris/types/LastSyncResultEnum.d.ts +20 -0
  406. package/api/resources/hris/types/LastSyncResultEnum.js +14 -0
  407. package/api/resources/hris/types/StatusFd5Enum.d.ts +20 -0
  408. package/api/resources/hris/types/StatusFd5Enum.js +14 -0
  409. package/api/resources/hris/types/SyncStatus.d.ts +3 -1
  410. package/api/resources/hris/types/SyncStatusLastSyncResult.d.ts +5 -0
  411. package/api/resources/hris/types/SyncStatusLastSyncResult.js +5 -0
  412. package/api/resources/hris/types/index.d.ts +3 -1
  413. package/api/resources/hris/types/index.js +3 -1
  414. package/api/resources/index.d.ts +1 -1
  415. package/api/resources/index.js +2 -2
  416. package/api/resources/ticketing/resources/accountDetails/client/Client.js +1 -1
  417. package/api/resources/ticketing/resources/accountToken/client/Client.js +1 -1
  418. package/api/resources/ticketing/resources/accounts/client/Client.js +6 -3
  419. package/api/resources/ticketing/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +4 -0
  420. package/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +2 -2
  421. package/api/resources/ticketing/resources/attachments/client/Client.js +13 -7
  422. package/api/resources/ticketing/resources/attachments/client/requests/AttachmentsDownloadRetrieveRequest.d.ts +5 -0
  423. package/api/resources/ticketing/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +4 -0
  424. package/api/resources/ticketing/resources/auditTrail/client/Client.js +1 -1
  425. package/api/resources/ticketing/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
  426. package/api/resources/ticketing/resources/availableActions/client/Client.js +1 -1
  427. package/api/resources/ticketing/resources/collections/client/Client.d.ts +11 -0
  428. package/api/resources/ticketing/resources/collections/client/Client.js +82 -3
  429. package/api/resources/ticketing/resources/collections/client/requests/CollectionsListRequest.d.ts +1 -2
  430. package/api/resources/ticketing/resources/collections/client/requests/CollectionsRetrieveRequest.d.ts +5 -2
  431. package/api/resources/ticketing/resources/collections/client/requests/CollectionsViewersListRequest.d.ts +34 -0
  432. package/api/resources/ticketing/resources/collections/client/requests/CollectionsViewersListRequest.js +5 -0
  433. package/api/resources/ticketing/resources/collections/client/requests/index.d.ts +1 -0
  434. package/api/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpand.d.ts +9 -0
  435. package/api/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpand.js +11 -0
  436. package/api/resources/ticketing/resources/collections/types/index.d.ts +1 -2
  437. package/api/resources/ticketing/resources/collections/types/index.js +1 -2
  438. package/api/resources/ticketing/resources/comments/client/Client.js +8 -5
  439. package/api/resources/ticketing/resources/comments/client/requests/CommentsRetrieveRequest.d.ts +4 -0
  440. package/api/resources/ticketing/resources/contacts/client/Client.js +8 -5
  441. package/api/resources/ticketing/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +4 -0
  442. package/api/resources/ticketing/resources/deleteAccount/client/Client.js +1 -1
  443. package/api/resources/ticketing/resources/fieldMapping/client/Client.js +6 -6
  444. package/api/resources/ticketing/resources/forceResync/client/Client.d.ts +1 -1
  445. package/api/resources/ticketing/resources/forceResync/client/Client.js +2 -2
  446. package/api/resources/ticketing/resources/generateKey/client/Client.js +1 -1
  447. package/api/resources/ticketing/resources/issues/client/Client.js +2 -2
  448. package/api/resources/ticketing/resources/linkToken/client/Client.js +1 -1
  449. package/api/resources/ticketing/resources/linkedAccounts/client/Client.js +1 -1
  450. package/api/resources/ticketing/resources/passthrough/client/Client.js +1 -1
  451. package/api/resources/ticketing/resources/projects/client/Client.js +7 -4
  452. package/api/resources/ticketing/resources/projects/client/requests/ProjectsRetrieveRequest.d.ts +4 -0
  453. package/api/resources/ticketing/resources/regenerateKey/client/Client.js +1 -1
  454. package/api/resources/ticketing/resources/roles/client/Client.js +6 -3
  455. package/api/resources/ticketing/resources/roles/client/requests/RolesRetrieveRequest.d.ts +4 -0
  456. package/api/resources/ticketing/resources/scopes/client/Client.js +3 -3
  457. package/api/resources/ticketing/resources/syncStatus/client/Client.d.ts +1 -1
  458. package/api/resources/ticketing/resources/syncStatus/client/Client.js +2 -2
  459. package/api/resources/ticketing/resources/tags/client/Client.js +6 -3
  460. package/api/resources/ticketing/resources/tags/client/requests/TagsRetrieveRequest.d.ts +4 -0
  461. package/api/resources/ticketing/resources/teams/client/Client.js +6 -3
  462. package/api/resources/ticketing/resources/teams/client/requests/TeamsRetrieveRequest.d.ts +4 -0
  463. package/api/resources/ticketing/resources/tickets/client/Client.d.ts +1 -1
  464. package/api/resources/ticketing/resources/tickets/client/Client.js +13 -10
  465. package/api/resources/ticketing/resources/tickets/client/requests/TicketsRetrieveRequest.d.ts +4 -0
  466. package/api/resources/ticketing/resources/users/client/Client.js +10 -4
  467. package/api/resources/ticketing/resources/users/client/requests/UsersListRequest.d.ts +4 -0
  468. package/api/resources/ticketing/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -0
  469. package/api/resources/ticketing/resources/webhookReceivers/client/Client.js +2 -2
  470. package/api/resources/ticketing/types/AccountToken.d.ts +1 -0
  471. package/api/resources/ticketing/types/AuditLogEvent.d.ts +1 -0
  472. package/api/resources/ticketing/types/AuditLogEventEventType.d.ts +1 -0
  473. package/api/resources/ticketing/types/Collection.d.ts +0 -1
  474. package/api/resources/ticketing/types/EventTypeEnum.d.ts +3 -1
  475. package/api/resources/ticketing/types/EventTypeEnum.js +1 -0
  476. package/api/resources/ticketing/types/LastSyncResultEnum.d.ts +20 -0
  477. package/api/resources/ticketing/types/LastSyncResultEnum.js +14 -0
  478. package/api/resources/ticketing/types/PatchedTicketRequest.d.ts +2 -2
  479. package/api/resources/ticketing/types/RemoteField.d.ts +1 -1
  480. package/api/resources/ticketing/types/StatusFd5Enum.d.ts +20 -0
  481. package/api/resources/ticketing/types/StatusFd5Enum.js +14 -0
  482. package/api/resources/ticketing/types/SyncStatus.d.ts +3 -1
  483. package/api/resources/ticketing/types/Ticket.d.ts +2 -2
  484. package/api/resources/ticketing/types/TicketRequest.d.ts +2 -2
  485. package/api/resources/ticketing/types/index.d.ts +2 -2
  486. package/api/resources/ticketing/types/index.js +2 -2
  487. package/dist/Client.d.ts +3 -3
  488. package/dist/Client.js +6 -6
  489. package/dist/api/resources/accounting/client/Client.d.ts +6 -0
  490. package/dist/api/resources/accounting/client/Client.js +32 -22
  491. package/dist/api/resources/accounting/resources/accountDetails/client/Client.js +1 -1
  492. package/dist/api/resources/accounting/resources/accountToken/client/Client.js +1 -1
  493. package/dist/api/resources/accounting/resources/accountingPeriods/client/Client.js +6 -3
  494. package/dist/api/resources/accounting/resources/accountingPeriods/client/requests/AccountingPeriodsRetrieveRequest.d.ts +4 -0
  495. package/dist/api/resources/accounting/resources/accounts/client/Client.js +12 -6
  496. package/dist/api/resources/accounting/resources/accounts/client/requests/AccountsListRequest.d.ts +4 -0
  497. package/dist/api/resources/accounting/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +4 -0
  498. package/dist/api/resources/accounting/resources/addresses/client/Client.js +5 -2
  499. package/dist/api/resources/accounting/resources/addresses/client/requests/AddressesRetrieveRequest.d.ts +4 -0
  500. package/dist/api/resources/accounting/resources/asyncPassthrough/client/Client.js +2 -2
  501. package/dist/api/resources/accounting/resources/asyncTasks/client/Client.js +1 -1
  502. package/dist/api/resources/accounting/resources/attachments/client/Client.js +8 -5
  503. package/dist/api/resources/accounting/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +4 -0
  504. package/dist/api/resources/accounting/resources/auditTrail/client/Client.js +1 -1
  505. package/dist/api/resources/accounting/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
  506. package/dist/api/resources/accounting/resources/availableActions/client/Client.js +1 -1
  507. package/dist/api/resources/accounting/resources/balanceSheets/client/Client.js +6 -3
  508. package/dist/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsRetrieveRequest.d.ts +4 -0
  509. package/dist/api/resources/accounting/resources/bankFeedAccounts/client/Client.js +8 -5
  510. package/dist/api/resources/accounting/resources/bankFeedAccounts/client/requests/BankFeedAccountsRetrieveRequest.d.ts +4 -0
  511. package/dist/api/resources/accounting/resources/bankFeedTransactions/client/Client.js +8 -5
  512. package/dist/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionsRetrieveRequest.d.ts +4 -0
  513. package/dist/api/resources/accounting/resources/cashFlowStatements/client/Client.js +6 -3
  514. package/dist/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsRetrieveRequest.d.ts +4 -0
  515. package/dist/api/resources/accounting/resources/companyInfo/client/Client.js +6 -3
  516. package/dist/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoRetrieveRequest.d.ts +4 -0
  517. package/dist/api/resources/accounting/resources/contacts/client/Client.js +9 -6
  518. package/dist/api/resources/accounting/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +4 -0
  519. package/dist/api/resources/accounting/resources/creditNotes/client/Client.js +8 -5
  520. package/dist/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesRetrieveRequest.d.ts +4 -0
  521. package/dist/api/resources/accounting/resources/deleteAccount/client/Client.js +1 -1
  522. package/dist/api/resources/accounting/resources/employees/client/Client.js +6 -3
  523. package/dist/api/resources/accounting/resources/employees/client/requests/EmployeesRetrieveRequest.d.ts +4 -0
  524. package/dist/api/resources/accounting/resources/expenses/client/Client.js +10 -7
  525. package/dist/api/resources/accounting/resources/expenses/client/requests/ExpensesRetrieveRequest.d.ts +4 -0
  526. package/dist/api/resources/accounting/resources/fieldMapping/client/Client.js +6 -6
  527. package/dist/api/resources/accounting/resources/forceResync/client/Client.d.ts +1 -1
  528. package/dist/api/resources/accounting/resources/forceResync/client/Client.js +2 -2
  529. package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/Client.js +6 -3
  530. package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsRetrieveRequest.d.ts +4 -0
  531. package/dist/api/resources/accounting/resources/generateKey/client/Client.js +1 -1
  532. package/dist/api/resources/accounting/resources/incomeStatements/client/Client.js +6 -3
  533. package/dist/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsRetrieveRequest.d.ts +4 -0
  534. package/dist/api/resources/accounting/resources/index.d.ts +4 -0
  535. package/dist/api/resources/accounting/resources/index.js +5 -1
  536. package/dist/api/resources/accounting/resources/invoices/client/Client.js +12 -9
  537. package/dist/api/resources/accounting/resources/invoices/client/requests/InvoicesRetrieveRequest.d.ts +4 -0
  538. package/dist/api/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.d.ts +2049 -1
  539. package/dist/api/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.js +2048 -0
  540. package/dist/api/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.d.ts +2049 -1
  541. package/dist/api/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.js +2048 -0
  542. package/dist/api/resources/accounting/resources/issues/client/Client.js +2 -2
  543. package/dist/api/resources/accounting/resources/items/client/Client.js +6 -3
  544. package/dist/api/resources/accounting/resources/items/client/requests/ItemsRetrieveRequest.d.ts +4 -0
  545. package/dist/api/resources/accounting/resources/journalEntries/client/Client.js +10 -7
  546. package/dist/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRetrieveRequest.d.ts +4 -0
  547. package/dist/api/resources/accounting/resources/linkToken/client/Client.js +1 -1
  548. package/dist/api/resources/accounting/resources/linkedAccounts/client/Client.js +1 -1
  549. package/dist/api/resources/accounting/resources/passthrough/client/Client.js +1 -1
  550. package/dist/api/resources/accounting/resources/paymentMethods/client/Client.d.ts +53 -0
  551. package/dist/api/resources/accounting/resources/paymentMethods/client/Client.js +193 -0
  552. package/dist/api/resources/accounting/resources/paymentMethods/client/index.d.ts +1 -0
  553. package/dist/api/resources/accounting/resources/paymentMethods/client/index.js +17 -0
  554. package/dist/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsListRequest.d.ts +29 -0
  555. package/dist/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsListRequest.js +5 -0
  556. package/dist/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsRetrieveRequest.d.ts +17 -0
  557. package/dist/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsRetrieveRequest.js +5 -0
  558. package/dist/api/resources/accounting/resources/paymentMethods/client/requests/index.d.ts +2 -0
  559. package/dist/api/resources/accounting/resources/paymentMethods/client/requests/index.js +2 -0
  560. package/dist/api/resources/accounting/resources/paymentMethods/index.d.ts +1 -0
  561. package/dist/api/resources/accounting/resources/paymentMethods/index.js +17 -0
  562. package/dist/api/resources/accounting/resources/paymentTerms/client/Client.d.ts +53 -0
  563. package/dist/api/resources/accounting/resources/paymentTerms/client/Client.js +199 -0
  564. package/dist/api/resources/accounting/resources/paymentTerms/client/index.d.ts +1 -0
  565. package/dist/api/resources/accounting/resources/paymentTerms/client/index.js +17 -0
  566. package/dist/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsListRequest.d.ts +33 -0
  567. package/dist/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsListRequest.js +5 -0
  568. package/dist/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsRetrieveRequest.d.ts +21 -0
  569. package/dist/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsRetrieveRequest.js +5 -0
  570. package/dist/api/resources/accounting/resources/paymentTerms/client/requests/index.d.ts +2 -0
  571. package/dist/api/resources/accounting/resources/paymentTerms/client/requests/index.js +2 -0
  572. package/dist/api/resources/accounting/resources/paymentTerms/index.d.ts +1 -0
  573. package/dist/api/resources/accounting/resources/paymentTerms/index.js +17 -0
  574. package/dist/api/resources/accounting/resources/payments/client/Client.js +12 -9
  575. package/dist/api/resources/accounting/resources/payments/client/requests/PaymentsRetrieveRequest.d.ts +4 -0
  576. package/dist/api/resources/accounting/resources/payments/types/PaymentsListRequestExpand.d.ts +65 -1
  577. package/dist/api/resources/accounting/resources/payments/types/PaymentsListRequestExpand.js +64 -0
  578. package/dist/api/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.d.ts +65 -1
  579. package/dist/api/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.js +64 -0
  580. package/dist/api/resources/accounting/resources/phoneNumbers/client/Client.js +5 -2
  581. package/dist/api/resources/accounting/resources/phoneNumbers/client/requests/PhoneNumbersRetrieveRequest.d.ts +4 -0
  582. package/dist/api/resources/accounting/resources/purchaseOrders/client/Client.js +10 -7
  583. package/dist/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRetrieveRequest.d.ts +4 -0
  584. package/dist/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.d.ts +65 -1
  585. package/dist/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.js +64 -0
  586. package/dist/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.d.ts +65 -1
  587. package/dist/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.js +64 -0
  588. package/dist/api/resources/accounting/resources/regenerateKey/client/Client.js +1 -1
  589. package/dist/api/resources/accounting/resources/scopes/client/Client.js +3 -3
  590. package/dist/api/resources/accounting/resources/syncStatus/client/Client.d.ts +1 -1
  591. package/dist/api/resources/accounting/resources/syncStatus/client/Client.js +2 -2
  592. package/dist/api/resources/accounting/resources/taxRates/client/Client.js +10 -4
  593. package/dist/api/resources/accounting/resources/taxRates/client/requests/TaxRatesListRequest.d.ts +4 -0
  594. package/dist/api/resources/accounting/resources/taxRates/client/requests/TaxRatesRetrieveRequest.d.ts +4 -0
  595. package/dist/api/resources/accounting/resources/trackingCategories/client/Client.js +10 -4
  596. package/dist/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesListRequest.d.ts +4 -0
  597. package/dist/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesRetrieveRequest.d.ts +4 -0
  598. package/dist/api/resources/accounting/resources/transactions/client/Client.js +6 -3
  599. package/dist/api/resources/accounting/resources/transactions/client/requests/TransactionsRetrieveRequest.d.ts +4 -0
  600. package/dist/api/resources/accounting/resources/vendorCredits/client/Client.js +8 -5
  601. package/dist/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsRetrieveRequest.d.ts +4 -0
  602. package/dist/api/resources/accounting/resources/webhookReceivers/client/Client.js +2 -2
  603. package/dist/api/resources/accounting/types/AccountToken.d.ts +1 -0
  604. package/dist/api/resources/accounting/types/AuditLogEvent.d.ts +1 -0
  605. package/dist/api/resources/accounting/types/AuditLogEventEventType.d.ts +1 -0
  606. package/dist/api/resources/accounting/types/EventTypeEnum.d.ts +3 -1
  607. package/dist/api/resources/accounting/types/EventTypeEnum.js +1 -0
  608. package/dist/api/resources/accounting/types/ExternalTargetFieldApiResponse.d.ts +2 -0
  609. package/dist/api/resources/accounting/types/FieldMappingApiInstanceResponse.d.ts +2 -0
  610. package/dist/api/resources/accounting/types/GeneralLedgerTransactionLine.d.ts +1 -1
  611. package/dist/api/resources/accounting/types/GeneralLedgerTransactionLineTrackingCategoriesItem.d.ts +5 -0
  612. package/dist/api/resources/accounting/types/GeneralLedgerTransactionLineTrackingCategoriesItem.js +5 -0
  613. package/dist/api/resources/accounting/types/Invoice.d.ts +2 -0
  614. package/dist/api/resources/accounting/types/InvoicePaymentTerm.d.ts +8 -0
  615. package/dist/api/resources/accounting/types/InvoicePaymentTerm.js +5 -0
  616. package/dist/api/resources/accounting/types/InvoiceRequest.d.ts +2 -0
  617. package/dist/api/resources/accounting/types/InvoiceRequestPaymentTerm.d.ts +8 -0
  618. package/dist/api/resources/accounting/types/InvoiceRequestPaymentTerm.js +5 -0
  619. package/dist/api/resources/accounting/types/LastSyncResultEnum.d.ts +20 -0
  620. package/dist/api/resources/accounting/types/LastSyncResultEnum.js +14 -0
  621. package/dist/api/resources/accounting/types/MethodTypeEnum.d.ts +18 -0
  622. package/dist/api/resources/accounting/types/MethodTypeEnum.js +13 -0
  623. package/dist/api/resources/accounting/types/PaginatedPaymentMethodList.d.ts +9 -0
  624. package/dist/api/resources/accounting/types/PaginatedPaymentMethodList.js +5 -0
  625. package/dist/api/resources/accounting/types/PaginatedPaymentTermList.d.ts +9 -0
  626. package/dist/api/resources/accounting/types/PaginatedPaymentTermList.js +5 -0
  627. package/dist/api/resources/accounting/types/PatchedPaymentRequest.d.ts +2 -0
  628. package/dist/api/resources/accounting/types/PatchedPaymentRequestPaymentMethod.d.ts +8 -0
  629. package/dist/api/resources/accounting/types/PatchedPaymentRequestPaymentMethod.js +5 -0
  630. package/dist/api/resources/accounting/types/Payment.d.ts +2 -0
  631. package/dist/api/resources/accounting/types/PaymentMethod.d.ts +42 -0
  632. package/dist/api/resources/accounting/types/PaymentMethod.js +5 -0
  633. package/dist/api/resources/accounting/types/PaymentMethodMethodType.d.ts +14 -0
  634. package/dist/api/resources/accounting/types/PaymentMethodMethodType.js +5 -0
  635. package/dist/api/resources/accounting/types/PaymentPaymentMethod.d.ts +8 -0
  636. package/dist/api/resources/accounting/types/PaymentPaymentMethod.js +5 -0
  637. package/dist/api/resources/accounting/types/PaymentRequest.d.ts +2 -0
  638. package/dist/api/resources/accounting/types/PaymentRequestPaymentMethod.d.ts +8 -0
  639. package/dist/api/resources/accounting/types/PaymentRequestPaymentMethod.js +5 -0
  640. package/dist/api/resources/accounting/types/PaymentTerm.d.ts +39 -0
  641. package/dist/api/resources/accounting/types/PaymentTerm.js +5 -0
  642. package/dist/api/resources/accounting/types/PaymentTermCompany.d.ts +8 -0
  643. package/dist/api/resources/accounting/types/PaymentTermCompany.js +5 -0
  644. package/dist/api/resources/accounting/types/PurchaseOrder.d.ts +2 -0
  645. package/dist/api/resources/accounting/types/PurchaseOrderPaymentTerm.d.ts +8 -0
  646. package/dist/api/resources/accounting/types/PurchaseOrderPaymentTerm.js +5 -0
  647. package/dist/api/resources/accounting/types/PurchaseOrderRequest.d.ts +2 -0
  648. package/dist/api/resources/accounting/types/PurchaseOrderRequestPaymentTerm.d.ts +8 -0
  649. package/dist/api/resources/accounting/types/PurchaseOrderRequestPaymentTerm.js +5 -0
  650. package/dist/api/resources/accounting/types/RemoteField.d.ts +1 -1
  651. package/dist/api/resources/accounting/types/RemoteFieldApiResponse.d.ts +2 -0
  652. package/dist/api/resources/accounting/types/StatusFd5Enum.d.ts +20 -0
  653. package/dist/api/resources/accounting/types/StatusFd5Enum.js +14 -0
  654. package/dist/api/resources/accounting/types/SyncStatus.d.ts +3 -1
  655. package/dist/api/resources/accounting/types/index.d.ts +17 -1
  656. package/dist/api/resources/accounting/types/index.js +17 -1
  657. package/dist/api/resources/ats/resources/accountDetails/client/Client.js +1 -1
  658. package/dist/api/resources/ats/resources/accountToken/client/Client.js +1 -1
  659. package/dist/api/resources/ats/resources/activities/client/Client.js +8 -5
  660. package/dist/api/resources/ats/resources/activities/client/requests/ActivitiesRetrieveRequest.d.ts +4 -0
  661. package/dist/api/resources/ats/resources/applications/client/Client.js +9 -6
  662. package/dist/api/resources/ats/resources/applications/client/requests/ApplicationsRetrieveRequest.d.ts +4 -0
  663. package/dist/api/resources/ats/resources/asyncPassthrough/client/Client.js +2 -2
  664. package/dist/api/resources/ats/resources/attachments/client/Client.js +8 -5
  665. package/dist/api/resources/ats/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +4 -0
  666. package/dist/api/resources/ats/resources/auditTrail/client/Client.js +1 -1
  667. package/dist/api/resources/ats/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
  668. package/dist/api/resources/ats/resources/availableActions/client/Client.js +1 -1
  669. package/dist/api/resources/ats/resources/candidates/client/Client.js +11 -8
  670. package/dist/api/resources/ats/resources/candidates/client/requests/CandidatesRetrieveRequest.d.ts +4 -0
  671. package/dist/api/resources/ats/resources/deleteAccount/client/Client.js +1 -1
  672. package/dist/api/resources/ats/resources/departments/client/Client.js +6 -3
  673. package/dist/api/resources/ats/resources/departments/client/requests/DepartmentsRetrieveRequest.d.ts +4 -0
  674. package/dist/api/resources/ats/resources/eeocs/client/Client.js +6 -3
  675. package/dist/api/resources/ats/resources/eeocs/client/requests/EeocsRetrieveRequest.d.ts +4 -0
  676. package/dist/api/resources/ats/resources/fieldMapping/client/Client.js +6 -6
  677. package/dist/api/resources/ats/resources/forceResync/client/Client.d.ts +1 -1
  678. package/dist/api/resources/ats/resources/forceResync/client/Client.js +2 -2
  679. package/dist/api/resources/ats/resources/generateKey/client/Client.js +1 -1
  680. package/dist/api/resources/ats/resources/interviews/client/Client.js +8 -5
  681. package/dist/api/resources/ats/resources/interviews/client/requests/InterviewsRetrieveRequest.d.ts +4 -0
  682. package/dist/api/resources/ats/resources/issues/client/Client.js +2 -2
  683. package/dist/api/resources/ats/resources/jobInterviewStages/client/Client.js +6 -3
  684. package/dist/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesRetrieveRequest.d.ts +4 -0
  685. package/dist/api/resources/ats/resources/jobPostings/client/Client.js +6 -3
  686. package/dist/api/resources/ats/resources/jobPostings/client/requests/JobPostingsRetrieveRequest.d.ts +4 -0
  687. package/dist/api/resources/ats/resources/jobs/client/Client.js +7 -4
  688. package/dist/api/resources/ats/resources/jobs/client/requests/JobsRetrieveRequest.d.ts +4 -0
  689. package/dist/api/resources/ats/resources/linkToken/client/Client.js +1 -1
  690. package/dist/api/resources/ats/resources/linkedAccounts/client/Client.js +1 -1
  691. package/dist/api/resources/ats/resources/offers/client/Client.js +6 -3
  692. package/dist/api/resources/ats/resources/offers/client/requests/OffersRetrieveRequest.d.ts +4 -0
  693. package/dist/api/resources/ats/resources/offices/client/Client.js +6 -3
  694. package/dist/api/resources/ats/resources/offices/client/requests/OfficesRetrieveRequest.d.ts +4 -0
  695. package/dist/api/resources/ats/resources/passthrough/client/Client.js +1 -1
  696. package/dist/api/resources/ats/resources/regenerateKey/client/Client.js +1 -1
  697. package/dist/api/resources/ats/resources/rejectReasons/client/Client.js +6 -3
  698. package/dist/api/resources/ats/resources/rejectReasons/client/requests/RejectReasonsRetrieveRequest.d.ts +4 -0
  699. package/dist/api/resources/ats/resources/scopes/client/Client.js +3 -3
  700. package/dist/api/resources/ats/resources/scorecards/client/Client.js +6 -3
  701. package/dist/api/resources/ats/resources/scorecards/client/requests/ScorecardsRetrieveRequest.d.ts +4 -0
  702. package/dist/api/resources/ats/resources/syncStatus/client/Client.d.ts +1 -1
  703. package/dist/api/resources/ats/resources/syncStatus/client/Client.js +2 -2
  704. package/dist/api/resources/ats/resources/tags/client/Client.js +1 -1
  705. package/dist/api/resources/ats/resources/users/client/Client.js +6 -3
  706. package/dist/api/resources/ats/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -0
  707. package/dist/api/resources/ats/resources/webhookReceivers/client/Client.js +2 -2
  708. package/dist/api/resources/ats/types/AccountToken.d.ts +1 -0
  709. package/dist/api/resources/ats/types/AuditLogEvent.d.ts +1 -0
  710. package/dist/api/resources/ats/types/AuditLogEventEventType.d.ts +1 -0
  711. package/dist/api/resources/ats/types/EventTypeEnum.d.ts +3 -1
  712. package/dist/api/resources/ats/types/EventTypeEnum.js +1 -0
  713. package/dist/api/resources/ats/types/LastSyncResultEnum.d.ts +20 -0
  714. package/dist/api/resources/ats/types/LastSyncResultEnum.js +14 -0
  715. package/dist/api/resources/ats/types/StatusFd5Enum.d.ts +20 -0
  716. package/dist/api/resources/ats/types/StatusFd5Enum.js +14 -0
  717. package/dist/api/resources/ats/types/SyncStatus.d.ts +3 -1
  718. package/dist/api/resources/ats/types/index.d.ts +2 -1
  719. package/dist/api/resources/ats/types/index.js +2 -1
  720. package/dist/api/resources/crm/resources/accountDetails/client/Client.js +1 -1
  721. package/dist/api/resources/crm/resources/accountToken/client/Client.js +1 -1
  722. package/dist/api/resources/crm/resources/accounts/client/Client.js +11 -8
  723. package/dist/api/resources/crm/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +4 -0
  724. package/dist/api/resources/crm/resources/associationTypes/client/Client.js +8 -5
  725. package/dist/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesRetrieveRequest.d.ts +4 -0
  726. package/dist/api/resources/crm/resources/associations/client/Client.js +2 -2
  727. package/dist/api/resources/crm/resources/asyncPassthrough/client/Client.js +2 -2
  728. package/dist/api/resources/crm/resources/auditTrail/client/Client.js +1 -1
  729. package/dist/api/resources/crm/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
  730. package/dist/api/resources/crm/resources/availableActions/client/Client.js +1 -1
  731. package/dist/api/resources/crm/resources/contacts/client/Client.js +12 -9
  732. package/dist/api/resources/crm/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +4 -0
  733. package/dist/api/resources/crm/resources/customObjectClasses/client/Client.js +6 -3
  734. package/dist/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesRetrieveRequest.d.ts +4 -0
  735. package/dist/api/resources/crm/resources/customObjects/client/Client.js +9 -6
  736. package/dist/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsRetrieveRequest.d.ts +4 -0
  737. package/dist/api/resources/crm/resources/deleteAccount/client/Client.js +1 -1
  738. package/dist/api/resources/crm/resources/engagementTypes/client/Client.js +7 -4
  739. package/dist/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRetrieveRequest.d.ts +4 -0
  740. package/dist/api/resources/crm/resources/engagements/client/Client.js +11 -8
  741. package/dist/api/resources/crm/resources/engagements/client/requests/EngagementsRetrieveRequest.d.ts +4 -0
  742. package/dist/api/resources/crm/resources/fieldMapping/client/Client.js +6 -6
  743. package/dist/api/resources/crm/resources/forceResync/client/Client.d.ts +1 -1
  744. package/dist/api/resources/crm/resources/forceResync/client/Client.js +2 -2
  745. package/dist/api/resources/crm/resources/generateKey/client/Client.js +1 -1
  746. package/dist/api/resources/crm/resources/issues/client/Client.js +2 -2
  747. package/dist/api/resources/crm/resources/leads/client/Client.js +9 -6
  748. package/dist/api/resources/crm/resources/leads/client/requests/LeadsRetrieveRequest.d.ts +4 -0
  749. package/dist/api/resources/crm/resources/linkToken/client/Client.js +1 -1
  750. package/dist/api/resources/crm/resources/linkedAccounts/client/Client.js +1 -1
  751. package/dist/api/resources/crm/resources/notes/client/Client.js +9 -6
  752. package/dist/api/resources/crm/resources/notes/client/requests/NotesRetrieveRequest.d.ts +4 -0
  753. package/dist/api/resources/crm/resources/opportunities/client/Client.js +11 -8
  754. package/dist/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRetrieveRequest.d.ts +4 -0
  755. package/dist/api/resources/crm/resources/passthrough/client/Client.js +1 -1
  756. package/dist/api/resources/crm/resources/regenerateKey/client/Client.js +1 -1
  757. package/dist/api/resources/crm/resources/scopes/client/Client.js +3 -3
  758. package/dist/api/resources/crm/resources/stages/client/Client.js +7 -4
  759. package/dist/api/resources/crm/resources/stages/client/requests/StagesRetrieveRequest.d.ts +4 -0
  760. package/dist/api/resources/crm/resources/syncStatus/client/Client.js +1 -1
  761. package/dist/api/resources/crm/resources/tasks/client/Client.js +11 -8
  762. package/dist/api/resources/crm/resources/tasks/client/requests/TasksRetrieveRequest.d.ts +4 -0
  763. package/dist/api/resources/crm/resources/users/client/Client.js +8 -5
  764. package/dist/api/resources/crm/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -0
  765. package/dist/api/resources/crm/resources/webhookReceivers/client/Client.js +2 -2
  766. package/dist/api/resources/crm/types/AccountToken.d.ts +1 -0
  767. package/dist/api/resources/crm/types/AuditLogEvent.d.ts +1 -0
  768. package/dist/api/resources/crm/types/AuditLogEventEventType.d.ts +1 -0
  769. package/dist/api/resources/crm/types/EventTypeEnum.d.ts +3 -1
  770. package/dist/api/resources/crm/types/EventTypeEnum.js +1 -0
  771. package/dist/api/resources/crm/types/LastSyncResultEnum.d.ts +20 -0
  772. package/dist/api/resources/crm/types/LastSyncResultEnum.js +14 -0
  773. package/dist/api/resources/crm/types/RemoteField.d.ts +1 -1
  774. package/dist/api/resources/crm/types/StatusFd5Enum.d.ts +20 -0
  775. package/dist/api/resources/crm/types/StatusFd5Enum.js +14 -0
  776. package/dist/api/resources/crm/types/SyncStatus.d.ts +3 -1
  777. package/{api/resources/ticketing/types/CollectionTeamsItem.d.ts → dist/api/resources/crm/types/SyncStatusLastSyncResult.d.ts} +1 -1
  778. package/dist/api/resources/crm/types/SyncStatusLastSyncResult.js +5 -0
  779. package/dist/api/resources/crm/types/index.d.ts +3 -1
  780. package/dist/api/resources/crm/types/index.js +3 -1
  781. package/dist/api/resources/filestorage/resources/accountDetails/client/Client.js +1 -1
  782. package/dist/api/resources/filestorage/resources/accountToken/client/Client.js +1 -1
  783. package/dist/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +2 -2
  784. package/dist/api/resources/filestorage/resources/auditTrail/client/Client.js +1 -1
  785. package/dist/api/resources/filestorage/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
  786. package/dist/api/resources/filestorage/resources/availableActions/client/Client.js +1 -1
  787. package/dist/api/resources/filestorage/resources/deleteAccount/client/Client.js +1 -1
  788. package/dist/api/resources/filestorage/resources/drives/client/Client.js +6 -3
  789. package/dist/api/resources/filestorage/resources/drives/client/requests/DrivesRetrieveRequest.d.ts +4 -0
  790. package/dist/api/resources/filestorage/resources/fieldMapping/client/Client.js +6 -6
  791. package/dist/api/resources/filestorage/resources/files/client/Client.d.ts +21 -0
  792. package/dist/api/resources/filestorage/resources/files/client/Client.js +143 -7
  793. package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaListRequest.d.ts +25 -0
  794. package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaListRequest.js +5 -0
  795. package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaRetrieveRequest.d.ts +13 -0
  796. package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaRetrieveRequest.js +5 -0
  797. package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRetrieveRequest.d.ts +5 -0
  798. package/dist/api/resources/filestorage/resources/files/client/requests/FilesRetrieveRequest.d.ts +4 -0
  799. package/dist/api/resources/filestorage/resources/files/client/requests/index.d.ts +2 -0
  800. package/dist/api/resources/filestorage/resources/folders/client/Client.js +8 -5
  801. package/dist/api/resources/filestorage/resources/folders/client/requests/FoldersRetrieveRequest.d.ts +4 -0
  802. package/dist/api/resources/filestorage/resources/forceResync/client/Client.d.ts +1 -1
  803. package/dist/api/resources/filestorage/resources/forceResync/client/Client.js +2 -2
  804. package/dist/api/resources/filestorage/resources/generateKey/client/Client.js +1 -1
  805. package/dist/api/resources/filestorage/resources/groups/client/Client.js +6 -3
  806. package/dist/api/resources/filestorage/resources/groups/client/requests/GroupsRetrieveRequest.d.ts +4 -0
  807. package/dist/api/resources/filestorage/resources/issues/client/Client.js +2 -2
  808. package/dist/api/resources/filestorage/resources/linkToken/client/Client.js +1 -1
  809. package/dist/api/resources/filestorage/resources/linkedAccounts/client/Client.js +1 -1
  810. package/dist/api/resources/filestorage/resources/passthrough/client/Client.js +1 -1
  811. package/dist/api/resources/filestorage/resources/regenerateKey/client/Client.js +1 -1
  812. package/dist/api/resources/filestorage/resources/scopes/client/Client.js +3 -3
  813. package/dist/api/resources/filestorage/resources/syncStatus/client/Client.js +1 -1
  814. package/dist/api/resources/filestorage/resources/users/client/Client.js +6 -3
  815. package/dist/api/resources/filestorage/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -0
  816. package/dist/api/resources/filestorage/resources/webhookReceivers/client/Client.js +2 -2
  817. package/dist/api/resources/filestorage/types/AccountToken.d.ts +1 -0
  818. package/dist/api/resources/filestorage/types/AuditLogEvent.d.ts +1 -0
  819. package/dist/api/resources/filestorage/types/AuditLogEventEventType.d.ts +1 -0
  820. package/dist/api/resources/filestorage/types/DownloadRequestMeta.d.ts +10 -0
  821. package/dist/api/resources/filestorage/types/DownloadRequestMeta.js +5 -0
  822. package/dist/api/resources/filestorage/types/EventTypeEnum.d.ts +3 -1
  823. package/dist/api/resources/filestorage/types/EventTypeEnum.js +1 -0
  824. package/dist/api/resources/filestorage/types/LastSyncResultEnum.d.ts +20 -0
  825. package/dist/api/resources/filestorage/types/LastSyncResultEnum.js +14 -0
  826. package/dist/api/resources/filestorage/types/PaginatedDownloadRequestMetaList.d.ts +9 -0
  827. package/dist/api/resources/filestorage/types/PaginatedDownloadRequestMetaList.js +5 -0
  828. package/dist/api/resources/filestorage/types/StatusFd5Enum.d.ts +20 -0
  829. package/dist/api/resources/filestorage/types/StatusFd5Enum.js +14 -0
  830. package/dist/api/resources/filestorage/types/SyncStatus.d.ts +3 -1
  831. package/dist/api/resources/filestorage/types/SyncStatusLastSyncResult.d.ts +5 -0
  832. package/dist/api/resources/filestorage/types/SyncStatusLastSyncResult.js +5 -0
  833. package/dist/api/resources/filestorage/types/index.d.ts +5 -1
  834. package/dist/api/resources/filestorage/types/index.js +5 -1
  835. package/dist/api/resources/hris/resources/accountDetails/client/Client.js +1 -1
  836. package/dist/api/resources/hris/resources/accountToken/client/Client.js +1 -1
  837. package/dist/api/resources/hris/resources/asyncPassthrough/client/Client.js +2 -2
  838. package/dist/api/resources/hris/resources/auditTrail/client/Client.js +1 -1
  839. package/dist/api/resources/hris/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
  840. package/dist/api/resources/hris/resources/availableActions/client/Client.js +1 -1
  841. package/dist/api/resources/hris/resources/bankInfo/client/Client.js +6 -3
  842. package/dist/api/resources/hris/resources/bankInfo/client/requests/BankInfoRetrieveRequest.d.ts +4 -0
  843. package/dist/api/resources/hris/resources/benefits/client/Client.js +6 -3
  844. package/dist/api/resources/hris/resources/benefits/client/requests/BenefitsRetrieveRequest.d.ts +4 -0
  845. package/dist/api/resources/hris/resources/companies/client/Client.js +6 -3
  846. package/dist/api/resources/hris/resources/companies/client/requests/CompaniesRetrieveRequest.d.ts +4 -0
  847. package/dist/api/resources/hris/resources/deleteAccount/client/Client.js +1 -1
  848. package/dist/api/resources/hris/resources/dependents/client/Client.js +6 -3
  849. package/dist/api/resources/hris/resources/dependents/client/requests/DependentsRetrieveRequest.d.ts +4 -0
  850. package/dist/api/resources/hris/resources/employeePayrollRuns/client/Client.js +6 -3
  851. package/dist/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsRetrieveRequest.d.ts +4 -0
  852. package/dist/api/resources/hris/resources/employees/client/Client.js +9 -6
  853. package/dist/api/resources/hris/resources/employees/client/requests/EmployeesRetrieveRequest.d.ts +4 -0
  854. package/dist/api/resources/hris/resources/employerBenefits/client/Client.js +6 -3
  855. package/dist/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsRetrieveRequest.d.ts +4 -0
  856. package/dist/api/resources/hris/resources/employments/client/Client.js +6 -3
  857. package/dist/api/resources/hris/resources/employments/client/requests/EmploymentsRetrieveRequest.d.ts +4 -0
  858. package/dist/api/resources/hris/resources/fieldMapping/client/Client.js +6 -6
  859. package/dist/api/resources/hris/resources/forceResync/client/Client.d.ts +1 -1
  860. package/dist/api/resources/hris/resources/forceResync/client/Client.js +2 -2
  861. package/dist/api/resources/hris/resources/generateKey/client/Client.js +1 -1
  862. package/dist/api/resources/hris/resources/groups/client/Client.js +6 -3
  863. package/dist/api/resources/hris/resources/groups/client/requests/GroupsRetrieveRequest.d.ts +4 -0
  864. package/dist/api/resources/hris/resources/issues/client/Client.js +2 -2
  865. package/dist/api/resources/hris/resources/linkToken/client/Client.js +1 -1
  866. package/dist/api/resources/hris/resources/linkedAccounts/client/Client.js +1 -1
  867. package/dist/api/resources/hris/resources/locations/client/Client.js +6 -3
  868. package/dist/api/resources/hris/resources/locations/client/requests/LocationsRetrieveRequest.d.ts +4 -0
  869. package/dist/api/resources/hris/resources/passthrough/client/Client.js +1 -1
  870. package/dist/api/resources/hris/resources/payGroups/client/Client.js +6 -3
  871. package/dist/api/resources/hris/resources/payGroups/client/requests/PayGroupsRetrieveRequest.d.ts +4 -0
  872. package/dist/api/resources/hris/resources/payrollRuns/client/Client.js +6 -3
  873. package/dist/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsRetrieveRequest.d.ts +4 -0
  874. package/dist/api/resources/hris/resources/regenerateKey/client/Client.js +1 -1
  875. package/dist/api/resources/hris/resources/scopes/client/Client.js +3 -3
  876. package/dist/api/resources/hris/resources/syncStatus/client/Client.d.ts +1 -1
  877. package/dist/api/resources/hris/resources/syncStatus/client/Client.js +2 -2
  878. package/dist/api/resources/hris/resources/teams/client/Client.js +6 -3
  879. package/dist/api/resources/hris/resources/teams/client/requests/TeamsRetrieveRequest.d.ts +4 -0
  880. package/dist/api/resources/hris/resources/timeOff/client/Client.js +8 -5
  881. package/dist/api/resources/hris/resources/timeOff/client/requests/TimeOffRetrieveRequest.d.ts +4 -0
  882. package/dist/api/resources/hris/resources/timeOffBalances/client/Client.js +6 -3
  883. package/dist/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesRetrieveRequest.d.ts +4 -0
  884. package/dist/api/resources/hris/resources/timesheetEntries/client/Client.js +8 -5
  885. package/dist/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesRetrieveRequest.d.ts +4 -0
  886. package/dist/api/resources/hris/resources/webhookReceivers/client/Client.js +2 -2
  887. package/dist/api/resources/hris/types/AccountToken.d.ts +1 -0
  888. package/dist/api/resources/hris/types/AuditLogEvent.d.ts +1 -0
  889. package/dist/api/resources/hris/types/AuditLogEventEventType.d.ts +1 -0
  890. package/dist/api/resources/hris/types/EventTypeEnum.d.ts +3 -1
  891. package/dist/api/resources/hris/types/EventTypeEnum.js +1 -0
  892. package/dist/api/resources/hris/types/Group.d.ts +2 -2
  893. package/dist/api/resources/hris/types/LastSyncResultEnum.d.ts +20 -0
  894. package/dist/api/resources/hris/types/LastSyncResultEnum.js +14 -0
  895. package/dist/api/resources/hris/types/StatusFd5Enum.d.ts +20 -0
  896. package/dist/api/resources/hris/types/StatusFd5Enum.js +14 -0
  897. package/dist/api/resources/hris/types/SyncStatus.d.ts +3 -1
  898. package/dist/api/resources/hris/types/SyncStatusLastSyncResult.d.ts +5 -0
  899. package/dist/api/resources/hris/types/SyncStatusLastSyncResult.js +5 -0
  900. package/dist/api/resources/hris/types/index.d.ts +3 -1
  901. package/dist/api/resources/hris/types/index.js +3 -1
  902. package/dist/api/resources/index.d.ts +1 -1
  903. package/dist/api/resources/index.js +2 -2
  904. package/dist/api/resources/ticketing/resources/accountDetails/client/Client.js +1 -1
  905. package/dist/api/resources/ticketing/resources/accountToken/client/Client.js +1 -1
  906. package/dist/api/resources/ticketing/resources/accounts/client/Client.js +6 -3
  907. package/dist/api/resources/ticketing/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +4 -0
  908. package/dist/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +2 -2
  909. package/dist/api/resources/ticketing/resources/attachments/client/Client.js +13 -7
  910. package/dist/api/resources/ticketing/resources/attachments/client/requests/AttachmentsDownloadRetrieveRequest.d.ts +5 -0
  911. package/dist/api/resources/ticketing/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +4 -0
  912. package/dist/api/resources/ticketing/resources/auditTrail/client/Client.js +1 -1
  913. package/dist/api/resources/ticketing/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
  914. package/dist/api/resources/ticketing/resources/availableActions/client/Client.js +1 -1
  915. package/dist/api/resources/ticketing/resources/collections/client/Client.d.ts +11 -0
  916. package/dist/api/resources/ticketing/resources/collections/client/Client.js +82 -3
  917. package/dist/api/resources/ticketing/resources/collections/client/requests/CollectionsListRequest.d.ts +1 -2
  918. package/dist/api/resources/ticketing/resources/collections/client/requests/CollectionsRetrieveRequest.d.ts +5 -2
  919. package/dist/api/resources/ticketing/resources/collections/client/requests/CollectionsViewersListRequest.d.ts +34 -0
  920. package/dist/api/resources/ticketing/resources/collections/client/requests/CollectionsViewersListRequest.js +5 -0
  921. package/dist/api/resources/ticketing/resources/collections/client/requests/index.d.ts +1 -0
  922. package/dist/api/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpand.d.ts +9 -0
  923. package/dist/api/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpand.js +11 -0
  924. package/dist/api/resources/ticketing/resources/collections/types/index.d.ts +1 -2
  925. package/dist/api/resources/ticketing/resources/collections/types/index.js +1 -2
  926. package/dist/api/resources/ticketing/resources/comments/client/Client.js +8 -5
  927. package/dist/api/resources/ticketing/resources/comments/client/requests/CommentsRetrieveRequest.d.ts +4 -0
  928. package/dist/api/resources/ticketing/resources/contacts/client/Client.js +8 -5
  929. package/dist/api/resources/ticketing/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +4 -0
  930. package/dist/api/resources/ticketing/resources/deleteAccount/client/Client.js +1 -1
  931. package/dist/api/resources/ticketing/resources/fieldMapping/client/Client.js +6 -6
  932. package/dist/api/resources/ticketing/resources/forceResync/client/Client.d.ts +1 -1
  933. package/dist/api/resources/ticketing/resources/forceResync/client/Client.js +2 -2
  934. package/dist/api/resources/ticketing/resources/generateKey/client/Client.js +1 -1
  935. package/dist/api/resources/ticketing/resources/issues/client/Client.js +2 -2
  936. package/dist/api/resources/ticketing/resources/linkToken/client/Client.js +1 -1
  937. package/dist/api/resources/ticketing/resources/linkedAccounts/client/Client.js +1 -1
  938. package/dist/api/resources/ticketing/resources/passthrough/client/Client.js +1 -1
  939. package/dist/api/resources/ticketing/resources/projects/client/Client.js +7 -4
  940. package/dist/api/resources/ticketing/resources/projects/client/requests/ProjectsRetrieveRequest.d.ts +4 -0
  941. package/dist/api/resources/ticketing/resources/regenerateKey/client/Client.js +1 -1
  942. package/dist/api/resources/ticketing/resources/roles/client/Client.js +6 -3
  943. package/dist/api/resources/ticketing/resources/roles/client/requests/RolesRetrieveRequest.d.ts +4 -0
  944. package/dist/api/resources/ticketing/resources/scopes/client/Client.js +3 -3
  945. package/dist/api/resources/ticketing/resources/syncStatus/client/Client.d.ts +1 -1
  946. package/dist/api/resources/ticketing/resources/syncStatus/client/Client.js +2 -2
  947. package/dist/api/resources/ticketing/resources/tags/client/Client.js +6 -3
  948. package/dist/api/resources/ticketing/resources/tags/client/requests/TagsRetrieveRequest.d.ts +4 -0
  949. package/dist/api/resources/ticketing/resources/teams/client/Client.js +6 -3
  950. package/dist/api/resources/ticketing/resources/teams/client/requests/TeamsRetrieveRequest.d.ts +4 -0
  951. package/dist/api/resources/ticketing/resources/tickets/client/Client.d.ts +1 -1
  952. package/dist/api/resources/ticketing/resources/tickets/client/Client.js +13 -10
  953. package/dist/api/resources/ticketing/resources/tickets/client/requests/TicketsRetrieveRequest.d.ts +4 -0
  954. package/dist/api/resources/ticketing/resources/users/client/Client.js +10 -4
  955. package/dist/api/resources/ticketing/resources/users/client/requests/UsersListRequest.d.ts +4 -0
  956. package/dist/api/resources/ticketing/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -0
  957. package/dist/api/resources/ticketing/resources/webhookReceivers/client/Client.js +2 -2
  958. package/dist/api/resources/ticketing/types/AccountToken.d.ts +1 -0
  959. package/dist/api/resources/ticketing/types/AuditLogEvent.d.ts +1 -0
  960. package/dist/api/resources/ticketing/types/AuditLogEventEventType.d.ts +1 -0
  961. package/dist/api/resources/ticketing/types/Collection.d.ts +0 -1
  962. package/dist/api/resources/ticketing/types/EventTypeEnum.d.ts +3 -1
  963. package/dist/api/resources/ticketing/types/EventTypeEnum.js +1 -0
  964. package/dist/api/resources/ticketing/types/LastSyncResultEnum.d.ts +20 -0
  965. package/dist/api/resources/ticketing/types/LastSyncResultEnum.js +14 -0
  966. package/dist/api/resources/ticketing/types/PatchedTicketRequest.d.ts +2 -2
  967. package/dist/api/resources/ticketing/types/RemoteField.d.ts +1 -1
  968. package/dist/api/resources/ticketing/types/StatusFd5Enum.d.ts +20 -0
  969. package/dist/api/resources/ticketing/types/StatusFd5Enum.js +14 -0
  970. package/dist/api/resources/ticketing/types/SyncStatus.d.ts +3 -1
  971. package/dist/api/resources/ticketing/types/Ticket.d.ts +2 -2
  972. package/dist/api/resources/ticketing/types/TicketRequest.d.ts +2 -2
  973. package/dist/api/resources/ticketing/types/index.d.ts +2 -2
  974. package/dist/api/resources/ticketing/types/index.js +2 -2
  975. package/dist/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.d.ts +1 -1
  976. package/dist/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.js +2048 -0
  977. package/dist/serialization/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.d.ts +1 -1
  978. package/dist/serialization/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.js +2048 -0
  979. package/dist/serialization/resources/accounting/resources/payments/types/PaymentsListRequestExpand.d.ts +1 -1
  980. package/dist/serialization/resources/accounting/resources/payments/types/PaymentsListRequestExpand.js +64 -0
  981. package/dist/serialization/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.d.ts +1 -1
  982. package/dist/serialization/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.js +64 -0
  983. package/dist/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.d.ts +1 -1
  984. package/dist/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.js +64 -0
  985. package/dist/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.d.ts +1 -1
  986. package/dist/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.js +64 -0
  987. package/dist/serialization/resources/accounting/types/AccountToken.d.ts +1 -0
  988. package/dist/serialization/resources/accounting/types/AccountToken.js +1 -0
  989. package/dist/serialization/resources/accounting/types/EventTypeEnum.d.ts +1 -1
  990. package/dist/serialization/resources/accounting/types/EventTypeEnum.js +1 -0
  991. package/dist/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.d.ts +2 -0
  992. package/dist/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.js +2 -0
  993. package/dist/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.d.ts +2 -0
  994. package/dist/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.js +2 -0
  995. package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLine.d.ts +2 -2
  996. package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLine.js +2 -2
  997. package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLineTrackingCategoriesItem.d.ts +11 -0
  998. package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLineTrackingCategoriesItem.js +32 -0
  999. package/dist/serialization/resources/accounting/types/Invoice.d.ts +2 -0
  1000. package/dist/serialization/resources/accounting/types/Invoice.js +2 -0
  1001. package/dist/serialization/resources/accounting/types/InvoicePaymentTerm.d.ts +11 -0
  1002. package/dist/serialization/resources/accounting/types/InvoicePaymentTerm.js +32 -0
  1003. package/dist/serialization/resources/accounting/types/InvoiceRequest.d.ts +2 -0
  1004. package/dist/serialization/resources/accounting/types/InvoiceRequest.js +2 -0
  1005. package/dist/serialization/resources/accounting/types/InvoiceRequestPaymentTerm.d.ts +11 -0
  1006. package/dist/serialization/resources/accounting/types/InvoiceRequestPaymentTerm.js +32 -0
  1007. package/dist/serialization/resources/accounting/types/LastSyncResultEnum.d.ts +10 -0
  1008. package/dist/serialization/resources/accounting/types/{SyncStatusStatusEnum.js → LastSyncResultEnum.js} +2 -2
  1009. package/dist/serialization/resources/accounting/types/MethodTypeEnum.d.ts +10 -0
  1010. package/dist/serialization/resources/{ats/types/SyncStatusStatusEnum.js → accounting/types/MethodTypeEnum.js} +2 -2
  1011. package/dist/serialization/resources/accounting/types/PaginatedPaymentMethodList.d.ts +15 -0
  1012. package/dist/serialization/resources/accounting/types/PaginatedPaymentMethodList.js +36 -0
  1013. package/dist/serialization/resources/accounting/types/PaginatedPaymentTermList.d.ts +15 -0
  1014. package/dist/serialization/resources/accounting/types/PaginatedPaymentTermList.js +36 -0
  1015. package/dist/serialization/resources/accounting/types/PatchedPaymentRequest.d.ts +2 -0
  1016. package/dist/serialization/resources/accounting/types/PatchedPaymentRequest.js +2 -0
  1017. package/dist/serialization/resources/accounting/types/PatchedPaymentRequestPaymentMethod.d.ts +11 -0
  1018. package/dist/serialization/resources/accounting/types/PatchedPaymentRequestPaymentMethod.js +32 -0
  1019. package/dist/serialization/resources/accounting/types/Payment.d.ts +2 -0
  1020. package/dist/serialization/resources/accounting/types/Payment.js +2 -0
  1021. package/dist/serialization/resources/accounting/types/PaymentMethod.d.ts +23 -0
  1022. package/dist/serialization/resources/accounting/types/PaymentMethod.js +44 -0
  1023. package/dist/serialization/resources/accounting/types/PaymentMethodMethodType.d.ts +11 -0
  1024. package/dist/serialization/resources/accounting/types/PaymentMethodMethodType.js +32 -0
  1025. package/dist/serialization/resources/accounting/types/PaymentPaymentMethod.d.ts +11 -0
  1026. package/dist/serialization/resources/accounting/types/PaymentPaymentMethod.js +32 -0
  1027. package/dist/serialization/resources/accounting/types/PaymentRequest.d.ts +2 -0
  1028. package/dist/serialization/resources/accounting/types/PaymentRequest.js +2 -0
  1029. package/dist/serialization/resources/accounting/types/PaymentRequestPaymentMethod.d.ts +11 -0
  1030. package/dist/serialization/resources/accounting/types/PaymentRequestPaymentMethod.js +32 -0
  1031. package/dist/serialization/resources/accounting/types/PaymentTerm.d.ts +25 -0
  1032. package/dist/serialization/resources/accounting/types/PaymentTerm.js +46 -0
  1033. package/dist/serialization/resources/accounting/types/PaymentTermCompany.d.ts +11 -0
  1034. package/dist/serialization/resources/accounting/types/PaymentTermCompany.js +32 -0
  1035. package/dist/serialization/resources/accounting/types/PurchaseOrder.d.ts +2 -0
  1036. package/dist/serialization/resources/accounting/types/PurchaseOrder.js +2 -0
  1037. package/dist/serialization/resources/accounting/types/PurchaseOrderPaymentTerm.d.ts +11 -0
  1038. package/dist/serialization/resources/accounting/types/PurchaseOrderPaymentTerm.js +32 -0
  1039. package/dist/serialization/resources/accounting/types/PurchaseOrderRequest.d.ts +2 -0
  1040. package/dist/serialization/resources/accounting/types/PurchaseOrderRequest.js +2 -0
  1041. package/dist/serialization/resources/accounting/types/PurchaseOrderRequestPaymentTerm.d.ts +11 -0
  1042. package/dist/serialization/resources/accounting/types/PurchaseOrderRequestPaymentTerm.js +32 -0
  1043. package/dist/serialization/resources/accounting/types/RemoteField.d.ts +1 -1
  1044. package/dist/serialization/resources/accounting/types/RemoteField.js +1 -1
  1045. package/dist/serialization/resources/accounting/types/RemoteFieldApiResponse.d.ts +2 -0
  1046. package/dist/serialization/resources/accounting/types/RemoteFieldApiResponse.js +2 -0
  1047. package/{serialization/resources/ats/types/SyncStatusStatusEnum.d.ts → dist/serialization/resources/accounting/types/StatusFd5Enum.d.ts} +2 -2
  1048. package/dist/serialization/resources/{crm/types/SyncStatusStatusEnum.js → accounting/types/StatusFd5Enum.js} +2 -2
  1049. package/dist/serialization/resources/accounting/types/SyncStatus.d.ts +5 -2
  1050. package/dist/serialization/resources/accounting/types/SyncStatus.js +5 -2
  1051. package/dist/serialization/resources/accounting/types/index.d.ts +17 -1
  1052. package/dist/serialization/resources/accounting/types/index.js +17 -1
  1053. package/dist/serialization/resources/ats/types/AccountToken.d.ts +1 -0
  1054. package/dist/serialization/resources/ats/types/AccountToken.js +1 -0
  1055. package/dist/serialization/resources/ats/types/EventTypeEnum.d.ts +1 -1
  1056. package/dist/serialization/resources/ats/types/EventTypeEnum.js +1 -0
  1057. package/dist/serialization/resources/ats/types/{SyncStatusStatusEnum.d.ts → LastSyncResultEnum.d.ts} +2 -2
  1058. package/dist/serialization/resources/{filestorage/types/SyncStatusStatusEnum.js → ats/types/LastSyncResultEnum.js} +2 -2
  1059. package/dist/serialization/resources/{crm/types/SyncStatusStatusEnum.d.ts → ats/types/StatusFd5Enum.d.ts} +2 -2
  1060. package/dist/serialization/resources/ats/types/StatusFd5Enum.js +31 -0
  1061. package/dist/serialization/resources/ats/types/SyncStatus.d.ts +5 -2
  1062. package/dist/serialization/resources/ats/types/SyncStatus.js +5 -2
  1063. package/dist/serialization/resources/ats/types/index.d.ts +2 -1
  1064. package/dist/serialization/resources/ats/types/index.js +2 -1
  1065. package/dist/serialization/resources/crm/types/AccountToken.d.ts +1 -0
  1066. package/dist/serialization/resources/crm/types/AccountToken.js +1 -0
  1067. package/dist/serialization/resources/crm/types/EventTypeEnum.d.ts +1 -1
  1068. package/dist/serialization/resources/crm/types/EventTypeEnum.js +1 -0
  1069. package/{serialization/resources/crm/types/SyncStatusStatusEnum.d.ts → dist/serialization/resources/crm/types/LastSyncResultEnum.d.ts} +2 -2
  1070. package/dist/serialization/resources/crm/types/LastSyncResultEnum.js +31 -0
  1071. package/dist/serialization/resources/crm/types/RemoteField.d.ts +1 -1
  1072. package/dist/serialization/resources/crm/types/RemoteField.js +1 -1
  1073. package/dist/serialization/resources/crm/types/StatusFd5Enum.d.ts +10 -0
  1074. package/dist/serialization/resources/crm/types/StatusFd5Enum.js +31 -0
  1075. package/dist/serialization/resources/crm/types/SyncStatus.d.ts +5 -2
  1076. package/dist/serialization/resources/crm/types/SyncStatus.js +5 -2
  1077. package/dist/serialization/resources/crm/types/SyncStatusLastSyncResult.d.ts +11 -0
  1078. package/dist/serialization/resources/crm/types/SyncStatusLastSyncResult.js +32 -0
  1079. package/dist/serialization/resources/crm/types/index.d.ts +3 -1
  1080. package/dist/serialization/resources/crm/types/index.js +3 -1
  1081. package/dist/serialization/resources/filestorage/types/AccountToken.d.ts +1 -0
  1082. package/dist/serialization/resources/filestorage/types/AccountToken.js +1 -0
  1083. package/dist/serialization/resources/filestorage/types/DownloadRequestMeta.d.ts +16 -0
  1084. package/dist/serialization/resources/filestorage/types/DownloadRequestMeta.js +37 -0
  1085. package/dist/serialization/resources/filestorage/types/EventTypeEnum.d.ts +1 -1
  1086. package/dist/serialization/resources/filestorage/types/EventTypeEnum.js +1 -0
  1087. package/dist/serialization/resources/filestorage/types/LastSyncResultEnum.d.ts +10 -0
  1088. package/dist/serialization/resources/filestorage/types/LastSyncResultEnum.js +31 -0
  1089. package/dist/serialization/resources/filestorage/types/PaginatedDownloadRequestMetaList.d.ts +15 -0
  1090. package/dist/serialization/resources/filestorage/types/PaginatedDownloadRequestMetaList.js +36 -0
  1091. package/dist/serialization/resources/filestorage/types/StatusFd5Enum.d.ts +10 -0
  1092. package/dist/serialization/resources/filestorage/types/StatusFd5Enum.js +31 -0
  1093. package/dist/serialization/resources/filestorage/types/SyncStatus.d.ts +5 -2
  1094. package/dist/serialization/resources/filestorage/types/SyncStatus.js +5 -2
  1095. package/dist/serialization/resources/filestorage/types/SyncStatusLastSyncResult.d.ts +11 -0
  1096. package/dist/serialization/resources/filestorage/types/SyncStatusLastSyncResult.js +32 -0
  1097. package/dist/serialization/resources/filestorage/types/index.d.ts +5 -1
  1098. package/dist/serialization/resources/filestorage/types/index.js +5 -1
  1099. package/dist/serialization/resources/hris/types/AccountToken.d.ts +1 -0
  1100. package/dist/serialization/resources/hris/types/AccountToken.js +1 -0
  1101. package/dist/serialization/resources/hris/types/EventTypeEnum.d.ts +1 -1
  1102. package/dist/serialization/resources/hris/types/EventTypeEnum.js +1 -0
  1103. package/dist/serialization/resources/hris/types/Group.d.ts +1 -1
  1104. package/dist/serialization/resources/hris/types/Group.js +1 -1
  1105. package/dist/serialization/resources/hris/types/LastSyncResultEnum.d.ts +10 -0
  1106. package/dist/serialization/resources/hris/types/LastSyncResultEnum.js +31 -0
  1107. package/dist/serialization/resources/hris/types/StatusFd5Enum.d.ts +10 -0
  1108. package/dist/serialization/resources/hris/types/StatusFd5Enum.js +31 -0
  1109. package/dist/serialization/resources/hris/types/SyncStatus.d.ts +5 -2
  1110. package/dist/serialization/resources/hris/types/SyncStatus.js +5 -2
  1111. package/dist/serialization/resources/hris/types/SyncStatusLastSyncResult.d.ts +11 -0
  1112. package/dist/serialization/resources/hris/types/SyncStatusLastSyncResult.js +32 -0
  1113. package/dist/serialization/resources/hris/types/index.d.ts +3 -1
  1114. package/dist/serialization/resources/hris/types/index.js +3 -1
  1115. package/dist/serialization/resources/index.d.ts +1 -1
  1116. package/dist/serialization/resources/index.js +2 -2
  1117. package/dist/serialization/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpand.d.ts +10 -0
  1118. package/dist/serialization/resources/ticketing/resources/collections/types/{CollectionsListRequestExpand.js → CollectionsViewersListRequestExpand.js} +2 -2
  1119. package/dist/serialization/resources/ticketing/resources/collections/types/index.d.ts +1 -2
  1120. package/dist/serialization/resources/ticketing/resources/collections/types/index.js +1 -2
  1121. package/dist/serialization/resources/ticketing/types/AccountToken.d.ts +1 -0
  1122. package/dist/serialization/resources/ticketing/types/AccountToken.js +1 -0
  1123. package/dist/serialization/resources/ticketing/types/Collection.d.ts +0 -2
  1124. package/dist/serialization/resources/ticketing/types/Collection.js +0 -2
  1125. package/dist/serialization/resources/ticketing/types/EventTypeEnum.d.ts +1 -1
  1126. package/dist/serialization/resources/ticketing/types/EventTypeEnum.js +1 -0
  1127. package/dist/serialization/resources/{hris/types/SyncStatusStatusEnum.d.ts → ticketing/types/LastSyncResultEnum.d.ts} +2 -2
  1128. package/dist/serialization/resources/ticketing/types/LastSyncResultEnum.js +31 -0
  1129. package/dist/serialization/resources/ticketing/types/RemoteField.d.ts +1 -1
  1130. package/dist/serialization/resources/ticketing/types/RemoteField.js +1 -1
  1131. package/dist/serialization/resources/ticketing/types/StatusFd5Enum.d.ts +10 -0
  1132. package/dist/serialization/resources/ticketing/types/StatusFd5Enum.js +31 -0
  1133. package/dist/serialization/resources/ticketing/types/SyncStatus.d.ts +5 -2
  1134. package/dist/serialization/resources/ticketing/types/SyncStatus.js +5 -2
  1135. package/dist/serialization/resources/ticketing/types/index.d.ts +2 -2
  1136. package/dist/serialization/resources/ticketing/types/index.js +2 -2
  1137. package/dist/version.d.ts +1 -1
  1138. package/dist/version.js +1 -1
  1139. package/package.json +1 -1
  1140. package/reference.md +2078 -1599
  1141. package/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.d.ts +1 -1
  1142. package/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.js +2048 -0
  1143. package/serialization/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.d.ts +1 -1
  1144. package/serialization/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.js +2048 -0
  1145. package/serialization/resources/accounting/resources/payments/types/PaymentsListRequestExpand.d.ts +1 -1
  1146. package/serialization/resources/accounting/resources/payments/types/PaymentsListRequestExpand.js +64 -0
  1147. package/serialization/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.d.ts +1 -1
  1148. package/serialization/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.js +64 -0
  1149. package/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.d.ts +1 -1
  1150. package/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.js +64 -0
  1151. package/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.d.ts +1 -1
  1152. package/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.js +64 -0
  1153. package/serialization/resources/accounting/types/AccountToken.d.ts +1 -0
  1154. package/serialization/resources/accounting/types/AccountToken.js +1 -0
  1155. package/serialization/resources/accounting/types/EventTypeEnum.d.ts +1 -1
  1156. package/serialization/resources/accounting/types/EventTypeEnum.js +1 -0
  1157. package/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.d.ts +2 -0
  1158. package/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.js +2 -0
  1159. package/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.d.ts +2 -0
  1160. package/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.js +2 -0
  1161. package/serialization/resources/accounting/types/GeneralLedgerTransactionLine.d.ts +2 -2
  1162. package/serialization/resources/accounting/types/GeneralLedgerTransactionLine.js +2 -2
  1163. package/serialization/resources/accounting/types/GeneralLedgerTransactionLineTrackingCategoriesItem.d.ts +11 -0
  1164. package/serialization/resources/accounting/types/GeneralLedgerTransactionLineTrackingCategoriesItem.js +32 -0
  1165. package/serialization/resources/accounting/types/Invoice.d.ts +2 -0
  1166. package/serialization/resources/accounting/types/Invoice.js +2 -0
  1167. package/serialization/resources/accounting/types/InvoicePaymentTerm.d.ts +11 -0
  1168. package/serialization/resources/accounting/types/InvoicePaymentTerm.js +32 -0
  1169. package/serialization/resources/accounting/types/InvoiceRequest.d.ts +2 -0
  1170. package/serialization/resources/accounting/types/InvoiceRequest.js +2 -0
  1171. package/serialization/resources/accounting/types/InvoiceRequestPaymentTerm.d.ts +11 -0
  1172. package/serialization/resources/accounting/types/InvoiceRequestPaymentTerm.js +32 -0
  1173. package/serialization/resources/accounting/types/LastSyncResultEnum.d.ts +10 -0
  1174. package/serialization/resources/accounting/types/LastSyncResultEnum.js +31 -0
  1175. package/serialization/resources/accounting/types/MethodTypeEnum.d.ts +10 -0
  1176. package/serialization/resources/accounting/types/MethodTypeEnum.js +31 -0
  1177. package/serialization/resources/accounting/types/PaginatedPaymentMethodList.d.ts +15 -0
  1178. package/serialization/resources/accounting/types/PaginatedPaymentMethodList.js +36 -0
  1179. package/serialization/resources/accounting/types/PaginatedPaymentTermList.d.ts +15 -0
  1180. package/serialization/resources/accounting/types/PaginatedPaymentTermList.js +36 -0
  1181. package/serialization/resources/accounting/types/PatchedPaymentRequest.d.ts +2 -0
  1182. package/serialization/resources/accounting/types/PatchedPaymentRequest.js +2 -0
  1183. package/serialization/resources/accounting/types/PatchedPaymentRequestPaymentMethod.d.ts +11 -0
  1184. package/serialization/resources/accounting/types/PatchedPaymentRequestPaymentMethod.js +32 -0
  1185. package/serialization/resources/accounting/types/Payment.d.ts +2 -0
  1186. package/serialization/resources/accounting/types/Payment.js +2 -0
  1187. package/serialization/resources/accounting/types/PaymentMethod.d.ts +23 -0
  1188. package/serialization/resources/accounting/types/PaymentMethod.js +44 -0
  1189. package/serialization/resources/accounting/types/PaymentMethodMethodType.d.ts +11 -0
  1190. package/serialization/resources/accounting/types/PaymentMethodMethodType.js +32 -0
  1191. package/serialization/resources/accounting/types/PaymentPaymentMethod.d.ts +11 -0
  1192. package/serialization/resources/accounting/types/PaymentPaymentMethod.js +32 -0
  1193. package/serialization/resources/accounting/types/PaymentRequest.d.ts +2 -0
  1194. package/serialization/resources/accounting/types/PaymentRequest.js +2 -0
  1195. package/serialization/resources/accounting/types/PaymentRequestPaymentMethod.d.ts +11 -0
  1196. package/serialization/resources/accounting/types/PaymentRequestPaymentMethod.js +32 -0
  1197. package/serialization/resources/accounting/types/PaymentTerm.d.ts +25 -0
  1198. package/serialization/resources/accounting/types/PaymentTerm.js +46 -0
  1199. package/serialization/resources/accounting/types/PaymentTermCompany.d.ts +11 -0
  1200. package/serialization/resources/accounting/types/PaymentTermCompany.js +32 -0
  1201. package/serialization/resources/accounting/types/PurchaseOrder.d.ts +2 -0
  1202. package/serialization/resources/accounting/types/PurchaseOrder.js +2 -0
  1203. package/serialization/resources/accounting/types/PurchaseOrderPaymentTerm.d.ts +11 -0
  1204. package/serialization/resources/accounting/types/PurchaseOrderPaymentTerm.js +32 -0
  1205. package/serialization/resources/accounting/types/PurchaseOrderRequest.d.ts +2 -0
  1206. package/serialization/resources/accounting/types/PurchaseOrderRequest.js +2 -0
  1207. package/serialization/resources/accounting/types/PurchaseOrderRequestPaymentTerm.d.ts +11 -0
  1208. package/serialization/resources/accounting/types/PurchaseOrderRequestPaymentTerm.js +32 -0
  1209. package/serialization/resources/accounting/types/RemoteField.d.ts +1 -1
  1210. package/serialization/resources/accounting/types/RemoteField.js +1 -1
  1211. package/serialization/resources/accounting/types/RemoteFieldApiResponse.d.ts +2 -0
  1212. package/serialization/resources/accounting/types/RemoteFieldApiResponse.js +2 -0
  1213. package/serialization/resources/accounting/types/StatusFd5Enum.d.ts +10 -0
  1214. package/serialization/resources/accounting/types/StatusFd5Enum.js +31 -0
  1215. package/serialization/resources/accounting/types/SyncStatus.d.ts +5 -2
  1216. package/serialization/resources/accounting/types/SyncStatus.js +5 -2
  1217. package/serialization/resources/accounting/types/index.d.ts +17 -1
  1218. package/serialization/resources/accounting/types/index.js +17 -1
  1219. package/serialization/resources/ats/types/AccountToken.d.ts +1 -0
  1220. package/serialization/resources/ats/types/AccountToken.js +1 -0
  1221. package/serialization/resources/ats/types/EventTypeEnum.d.ts +1 -1
  1222. package/serialization/resources/ats/types/EventTypeEnum.js +1 -0
  1223. package/serialization/resources/ats/types/LastSyncResultEnum.d.ts +10 -0
  1224. package/serialization/resources/ats/types/LastSyncResultEnum.js +31 -0
  1225. package/serialization/resources/ats/types/StatusFd5Enum.d.ts +10 -0
  1226. package/serialization/resources/ats/types/StatusFd5Enum.js +31 -0
  1227. package/serialization/resources/ats/types/SyncStatus.d.ts +5 -2
  1228. package/serialization/resources/ats/types/SyncStatus.js +5 -2
  1229. package/serialization/resources/ats/types/index.d.ts +2 -1
  1230. package/serialization/resources/ats/types/index.js +2 -1
  1231. package/serialization/resources/crm/types/AccountToken.d.ts +1 -0
  1232. package/serialization/resources/crm/types/AccountToken.js +1 -0
  1233. package/serialization/resources/crm/types/EventTypeEnum.d.ts +1 -1
  1234. package/serialization/resources/crm/types/EventTypeEnum.js +1 -0
  1235. package/serialization/resources/crm/types/LastSyncResultEnum.d.ts +10 -0
  1236. package/serialization/resources/crm/types/LastSyncResultEnum.js +31 -0
  1237. package/serialization/resources/crm/types/RemoteField.d.ts +1 -1
  1238. package/serialization/resources/crm/types/RemoteField.js +1 -1
  1239. package/serialization/resources/crm/types/StatusFd5Enum.d.ts +10 -0
  1240. package/serialization/resources/crm/types/StatusFd5Enum.js +31 -0
  1241. package/serialization/resources/crm/types/SyncStatus.d.ts +5 -2
  1242. package/serialization/resources/crm/types/SyncStatus.js +5 -2
  1243. package/serialization/resources/crm/types/SyncStatusLastSyncResult.d.ts +11 -0
  1244. package/serialization/resources/crm/types/SyncStatusLastSyncResult.js +32 -0
  1245. package/serialization/resources/crm/types/index.d.ts +3 -1
  1246. package/serialization/resources/crm/types/index.js +3 -1
  1247. package/serialization/resources/filestorage/types/AccountToken.d.ts +1 -0
  1248. package/serialization/resources/filestorage/types/AccountToken.js +1 -0
  1249. package/serialization/resources/filestorage/types/DownloadRequestMeta.d.ts +16 -0
  1250. package/serialization/resources/filestorage/types/DownloadRequestMeta.js +37 -0
  1251. package/serialization/resources/filestorage/types/EventTypeEnum.d.ts +1 -1
  1252. package/serialization/resources/filestorage/types/EventTypeEnum.js +1 -0
  1253. package/serialization/resources/filestorage/types/LastSyncResultEnum.d.ts +10 -0
  1254. package/serialization/resources/filestorage/types/LastSyncResultEnum.js +31 -0
  1255. package/serialization/resources/filestorage/types/PaginatedDownloadRequestMetaList.d.ts +15 -0
  1256. package/serialization/resources/filestorage/types/PaginatedDownloadRequestMetaList.js +36 -0
  1257. package/serialization/resources/filestorage/types/StatusFd5Enum.d.ts +10 -0
  1258. package/serialization/resources/filestorage/types/StatusFd5Enum.js +31 -0
  1259. package/serialization/resources/filestorage/types/SyncStatus.d.ts +5 -2
  1260. package/serialization/resources/filestorage/types/SyncStatus.js +5 -2
  1261. package/serialization/resources/filestorage/types/SyncStatusLastSyncResult.d.ts +11 -0
  1262. package/serialization/resources/filestorage/types/SyncStatusLastSyncResult.js +32 -0
  1263. package/serialization/resources/filestorage/types/index.d.ts +5 -1
  1264. package/serialization/resources/filestorage/types/index.js +5 -1
  1265. package/serialization/resources/hris/types/AccountToken.d.ts +1 -0
  1266. package/serialization/resources/hris/types/AccountToken.js +1 -0
  1267. package/serialization/resources/hris/types/EventTypeEnum.d.ts +1 -1
  1268. package/serialization/resources/hris/types/EventTypeEnum.js +1 -0
  1269. package/serialization/resources/hris/types/Group.d.ts +1 -1
  1270. package/serialization/resources/hris/types/Group.js +1 -1
  1271. package/serialization/resources/hris/types/LastSyncResultEnum.d.ts +10 -0
  1272. package/serialization/resources/hris/types/LastSyncResultEnum.js +31 -0
  1273. package/serialization/resources/hris/types/StatusFd5Enum.d.ts +10 -0
  1274. package/serialization/resources/hris/types/StatusFd5Enum.js +31 -0
  1275. package/serialization/resources/hris/types/SyncStatus.d.ts +5 -2
  1276. package/serialization/resources/hris/types/SyncStatus.js +5 -2
  1277. package/serialization/resources/hris/types/SyncStatusLastSyncResult.d.ts +11 -0
  1278. package/serialization/resources/hris/types/SyncStatusLastSyncResult.js +32 -0
  1279. package/serialization/resources/hris/types/index.d.ts +3 -1
  1280. package/serialization/resources/hris/types/index.js +3 -1
  1281. package/serialization/resources/index.d.ts +1 -1
  1282. package/serialization/resources/index.js +2 -2
  1283. package/serialization/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpand.d.ts +10 -0
  1284. package/serialization/resources/ticketing/resources/collections/types/{CollectionsListRequestExpand.js → CollectionsViewersListRequestExpand.js} +2 -2
  1285. package/serialization/resources/ticketing/resources/collections/types/index.d.ts +1 -2
  1286. package/serialization/resources/ticketing/resources/collections/types/index.js +1 -2
  1287. package/serialization/resources/ticketing/types/AccountToken.d.ts +1 -0
  1288. package/serialization/resources/ticketing/types/AccountToken.js +1 -0
  1289. package/serialization/resources/ticketing/types/Collection.d.ts +0 -2
  1290. package/serialization/resources/ticketing/types/Collection.js +0 -2
  1291. package/serialization/resources/ticketing/types/EventTypeEnum.d.ts +1 -1
  1292. package/serialization/resources/ticketing/types/EventTypeEnum.js +1 -0
  1293. package/serialization/resources/ticketing/types/LastSyncResultEnum.d.ts +10 -0
  1294. package/serialization/resources/ticketing/types/LastSyncResultEnum.js +31 -0
  1295. package/serialization/resources/ticketing/types/RemoteField.d.ts +1 -1
  1296. package/serialization/resources/ticketing/types/RemoteField.js +1 -1
  1297. package/serialization/resources/ticketing/types/StatusFd5Enum.d.ts +10 -0
  1298. package/serialization/resources/ticketing/types/StatusFd5Enum.js +31 -0
  1299. package/serialization/resources/ticketing/types/SyncStatus.d.ts +5 -2
  1300. package/serialization/resources/ticketing/types/SyncStatus.js +5 -2
  1301. package/serialization/resources/ticketing/types/index.d.ts +2 -2
  1302. package/serialization/resources/ticketing/types/index.js +2 -2
  1303. package/version.d.ts +1 -1
  1304. package/version.js +1 -1
  1305. package/api/resources/hris/types/SyncStatusStatusEnum.d.ts +0 -20
  1306. package/api/resources/hris/types/SyncStatusStatusEnum.js +0 -14
  1307. package/api/resources/ticketing/resources/collections/types/CollectionsListRequestExpand.d.ts +0 -9
  1308. package/api/resources/ticketing/resources/collections/types/CollectionsListRequestExpand.js +0 -11
  1309. package/api/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.d.ts +0 -9
  1310. package/api/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.js +0 -11
  1311. package/api/resources/ticketing/types/SyncStatusStatusEnum.d.ts +0 -20
  1312. package/api/resources/ticketing/types/SyncStatusStatusEnum.js +0 -14
  1313. package/dist/api/resources/accounting/types/SyncStatusStatusEnum.d.ts +0 -20
  1314. package/dist/api/resources/accounting/types/SyncStatusStatusEnum.js +0 -14
  1315. package/dist/api/resources/ats/types/SyncStatusStatusEnum.d.ts +0 -20
  1316. package/dist/api/resources/ats/types/SyncStatusStatusEnum.js +0 -14
  1317. package/dist/api/resources/crm/types/SyncStatusStatusEnum.d.ts +0 -20
  1318. package/dist/api/resources/crm/types/SyncStatusStatusEnum.js +0 -14
  1319. package/dist/api/resources/filestorage/types/SyncStatusStatusEnum.d.ts +0 -20
  1320. package/dist/api/resources/filestorage/types/SyncStatusStatusEnum.js +0 -14
  1321. package/dist/api/resources/hris/types/SyncStatusStatusEnum.d.ts +0 -20
  1322. package/dist/api/resources/hris/types/SyncStatusStatusEnum.js +0 -14
  1323. package/dist/api/resources/ticketing/resources/collections/types/CollectionsListRequestExpand.d.ts +0 -9
  1324. package/dist/api/resources/ticketing/resources/collections/types/CollectionsListRequestExpand.js +0 -11
  1325. package/dist/api/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.d.ts +0 -9
  1326. package/dist/api/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.js +0 -11
  1327. package/dist/api/resources/ticketing/types/SyncStatusStatusEnum.d.ts +0 -20
  1328. package/dist/api/resources/ticketing/types/SyncStatusStatusEnum.js +0 -14
  1329. package/dist/serialization/resources/accounting/types/SyncStatusStatusEnum.d.ts +0 -10
  1330. package/dist/serialization/resources/filestorage/types/SyncStatusStatusEnum.d.ts +0 -10
  1331. package/dist/serialization/resources/hris/types/SyncStatusStatusEnum.js +0 -31
  1332. package/dist/serialization/resources/ticketing/resources/collections/types/CollectionsListRequestExpand.d.ts +0 -10
  1333. package/dist/serialization/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.d.ts +0 -10
  1334. package/dist/serialization/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.js +0 -31
  1335. package/dist/serialization/resources/ticketing/types/CollectionTeamsItem.d.ts +0 -11
  1336. package/dist/serialization/resources/ticketing/types/CollectionTeamsItem.js +0 -32
  1337. package/dist/serialization/resources/ticketing/types/SyncStatusStatusEnum.d.ts +0 -10
  1338. package/dist/serialization/resources/ticketing/types/SyncStatusStatusEnum.js +0 -31
  1339. package/serialization/resources/accounting/types/SyncStatusStatusEnum.d.ts +0 -10
  1340. package/serialization/resources/accounting/types/SyncStatusStatusEnum.js +0 -31
  1341. package/serialization/resources/ats/types/SyncStatusStatusEnum.js +0 -31
  1342. package/serialization/resources/crm/types/SyncStatusStatusEnum.js +0 -31
  1343. package/serialization/resources/filestorage/types/SyncStatusStatusEnum.d.ts +0 -10
  1344. package/serialization/resources/filestorage/types/SyncStatusStatusEnum.js +0 -31
  1345. package/serialization/resources/hris/types/SyncStatusStatusEnum.d.ts +0 -10
  1346. package/serialization/resources/hris/types/SyncStatusStatusEnum.js +0 -31
  1347. package/serialization/resources/ticketing/resources/collections/types/CollectionsListRequestExpand.d.ts +0 -10
  1348. package/serialization/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.d.ts +0 -10
  1349. package/serialization/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.js +0 -31
  1350. package/serialization/resources/ticketing/types/CollectionTeamsItem.d.ts +0 -11
  1351. package/serialization/resources/ticketing/types/CollectionTeamsItem.js +0 -32
  1352. package/serialization/resources/ticketing/types/SyncStatusStatusEnum.d.ts +0 -10
  1353. package/serialization/resources/ticketing/types/SyncStatusStatusEnum.js +0 -31
  1354. /package/api/resources/{ticketing/types/CollectionTeamsItem.js → accounting/resources/paymentMethods/client/requests/PaymentMethodsListRequest.js} +0 -0
  1355. /package/{dist/api/resources/ticketing/types/CollectionTeamsItem.js → api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsRetrieveRequest.js} +0 -0
@@ -30,6 +30,7 @@ exports.PatchedPaymentRequest = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
31
  const PatchedPaymentRequestContact_1 = require("./PatchedPaymentRequestContact");
32
32
  const PatchedPaymentRequestAccount_1 = require("./PatchedPaymentRequestAccount");
33
+ const PatchedPaymentRequestPaymentMethod_1 = require("./PatchedPaymentRequestPaymentMethod");
33
34
  const PatchedPaymentRequestCurrency_1 = require("./PatchedPaymentRequestCurrency");
34
35
  const PatchedPaymentRequestCompany_1 = require("./PatchedPaymentRequestCompany");
35
36
  const PatchedPaymentRequestType_1 = require("./PatchedPaymentRequestType");
@@ -41,6 +42,7 @@ exports.PatchedPaymentRequest = core.serialization.object({
41
42
  transactionDate: core.serialization.property("transaction_date", core.serialization.date().optional()),
42
43
  contact: PatchedPaymentRequestContact_1.PatchedPaymentRequestContact.optional(),
43
44
  account: PatchedPaymentRequestAccount_1.PatchedPaymentRequestAccount.optional(),
45
+ paymentMethod: core.serialization.property("payment_method", PatchedPaymentRequestPaymentMethod_1.PatchedPaymentRequestPaymentMethod.optional()),
44
46
  currency: PatchedPaymentRequestCurrency_1.PatchedPaymentRequestCurrency.optional(),
45
47
  exchangeRate: core.serialization.property("exchange_rate", core.serialization.string().optional()),
46
48
  company: PatchedPaymentRequestCompany_1.PatchedPaymentRequestCompany.optional(),
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Merge from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { PaymentMethod } from "./PaymentMethod";
8
+ export declare const PatchedPaymentRequestPaymentMethod: core.serialization.Schema<serializers.accounting.PatchedPaymentRequestPaymentMethod.Raw, Merge.accounting.PatchedPaymentRequestPaymentMethod>;
9
+ export declare namespace PatchedPaymentRequestPaymentMethod {
10
+ type Raw = string | PaymentMethod.Raw;
11
+ }
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PatchedPaymentRequestPaymentMethod = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ const PaymentMethod_1 = require("./PaymentMethod");
32
+ exports.PatchedPaymentRequestPaymentMethod = core.serialization.undiscriminatedUnion([core.serialization.string(), PaymentMethod_1.PaymentMethod]);
@@ -6,6 +6,7 @@ import * as Merge from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  import { PaymentContact } from "./PaymentContact";
8
8
  import { PaymentAccount } from "./PaymentAccount";
9
+ import { PaymentPaymentMethod } from "./PaymentPaymentMethod";
9
10
  import { PaymentCurrency } from "./PaymentCurrency";
10
11
  import { PaymentCompany } from "./PaymentCompany";
11
12
  import { PaymentType } from "./PaymentType";
@@ -24,6 +25,7 @@ export declare namespace Payment {
24
25
  transaction_date?: string | null;
25
26
  contact?: PaymentContact.Raw | null;
26
27
  account?: PaymentAccount.Raw | null;
28
+ payment_method?: PaymentPaymentMethod.Raw | null;
27
29
  currency?: PaymentCurrency.Raw | null;
28
30
  exchange_rate?: string | null;
29
31
  company?: PaymentCompany.Raw | null;
@@ -30,6 +30,7 @@ exports.Payment = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
31
  const PaymentContact_1 = require("./PaymentContact");
32
32
  const PaymentAccount_1 = require("./PaymentAccount");
33
+ const PaymentPaymentMethod_1 = require("./PaymentPaymentMethod");
33
34
  const PaymentCurrency_1 = require("./PaymentCurrency");
34
35
  const PaymentCompany_1 = require("./PaymentCompany");
35
36
  const PaymentType_1 = require("./PaymentType");
@@ -46,6 +47,7 @@ exports.Payment = core.serialization.object({
46
47
  transactionDate: core.serialization.property("transaction_date", core.serialization.date().optional()),
47
48
  contact: PaymentContact_1.PaymentContact.optional(),
48
49
  account: PaymentAccount_1.PaymentAccount.optional(),
50
+ paymentMethod: core.serialization.property("payment_method", PaymentPaymentMethod_1.PaymentPaymentMethod.optional()),
49
51
  currency: PaymentCurrency_1.PaymentCurrency.optional(),
50
52
  exchangeRate: core.serialization.property("exchange_rate", core.serialization.string().optional()),
51
53
  company: PaymentCompany_1.PaymentCompany.optional(),
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Merge from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { PaymentMethodMethodType } from "./PaymentMethodMethodType";
8
+ import { RemoteData } from "./RemoteData";
9
+ export declare const PaymentMethod: core.serialization.ObjectSchema<serializers.accounting.PaymentMethod.Raw, Merge.accounting.PaymentMethod>;
10
+ export declare namespace PaymentMethod {
11
+ interface Raw {
12
+ id?: string | null;
13
+ remote_id?: string | null;
14
+ created_at?: string | null;
15
+ modified_at?: string | null;
16
+ method_type: PaymentMethodMethodType.Raw;
17
+ name: string;
18
+ is_active?: boolean | null;
19
+ remote_updated_at?: string | null;
20
+ field_mappings?: Record<string, unknown> | null;
21
+ remote_data?: RemoteData.Raw[] | null;
22
+ }
23
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PaymentMethod = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ const PaymentMethodMethodType_1 = require("./PaymentMethodMethodType");
32
+ const RemoteData_1 = require("./RemoteData");
33
+ exports.PaymentMethod = core.serialization.object({
34
+ id: core.serialization.string().optional(),
35
+ remoteId: core.serialization.property("remote_id", core.serialization.string().optional()),
36
+ createdAt: core.serialization.property("created_at", core.serialization.date().optional()),
37
+ modifiedAt: core.serialization.property("modified_at", core.serialization.date().optional()),
38
+ methodType: core.serialization.property("method_type", PaymentMethodMethodType_1.PaymentMethodMethodType),
39
+ name: core.serialization.string(),
40
+ isActive: core.serialization.property("is_active", core.serialization.boolean().optional()),
41
+ remoteUpdatedAt: core.serialization.property("remote_updated_at", core.serialization.date().optional()),
42
+ fieldMappings: core.serialization.property("field_mappings", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
43
+ remoteData: core.serialization.property("remote_data", core.serialization.list(RemoteData_1.RemoteData).optional()),
44
+ });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Merge from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { MethodTypeEnum } from "./MethodTypeEnum";
8
+ export declare const PaymentMethodMethodType: core.serialization.Schema<serializers.accounting.PaymentMethodMethodType.Raw, Merge.accounting.PaymentMethodMethodType>;
9
+ export declare namespace PaymentMethodMethodType {
10
+ type Raw = MethodTypeEnum.Raw | string;
11
+ }
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PaymentMethodMethodType = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ const MethodTypeEnum_1 = require("./MethodTypeEnum");
32
+ exports.PaymentMethodMethodType = core.serialization.undiscriminatedUnion([MethodTypeEnum_1.MethodTypeEnum, core.serialization.string()]);
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Merge from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { PaymentMethod } from "./PaymentMethod";
8
+ export declare const PaymentPaymentMethod: core.serialization.Schema<serializers.accounting.PaymentPaymentMethod.Raw, Merge.accounting.PaymentPaymentMethod>;
9
+ export declare namespace PaymentPaymentMethod {
10
+ type Raw = string | PaymentMethod.Raw;
11
+ }
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PaymentPaymentMethod = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ const PaymentMethod_1 = require("./PaymentMethod");
32
+ exports.PaymentPaymentMethod = core.serialization.undiscriminatedUnion([core.serialization.string(), PaymentMethod_1.PaymentMethod]);
@@ -6,6 +6,7 @@ import * as Merge from "../../../../api/index";
6
6
  import * as core from "../../../../core";
7
7
  import { PaymentRequestContact } from "./PaymentRequestContact";
8
8
  import { PaymentRequestAccount } from "./PaymentRequestAccount";
9
+ import { PaymentRequestPaymentMethod } from "./PaymentRequestPaymentMethod";
9
10
  import { PaymentRequestCurrency } from "./PaymentRequestCurrency";
10
11
  import { PaymentRequestCompany } from "./PaymentRequestCompany";
11
12
  import { PaymentRequestType } from "./PaymentRequestType";
@@ -19,6 +20,7 @@ export declare namespace PaymentRequest {
19
20
  transaction_date?: string | null;
20
21
  contact?: PaymentRequestContact.Raw | null;
21
22
  account?: PaymentRequestAccount.Raw | null;
23
+ payment_method?: PaymentRequestPaymentMethod.Raw | null;
22
24
  currency?: PaymentRequestCurrency.Raw | null;
23
25
  exchange_rate?: string | null;
24
26
  company?: PaymentRequestCompany.Raw | null;
@@ -30,6 +30,7 @@ exports.PaymentRequest = void 0;
30
30
  const core = __importStar(require("../../../../core"));
31
31
  const PaymentRequestContact_1 = require("./PaymentRequestContact");
32
32
  const PaymentRequestAccount_1 = require("./PaymentRequestAccount");
33
+ const PaymentRequestPaymentMethod_1 = require("./PaymentRequestPaymentMethod");
33
34
  const PaymentRequestCurrency_1 = require("./PaymentRequestCurrency");
34
35
  const PaymentRequestCompany_1 = require("./PaymentRequestCompany");
35
36
  const PaymentRequestType_1 = require("./PaymentRequestType");
@@ -41,6 +42,7 @@ exports.PaymentRequest = core.serialization.object({
41
42
  transactionDate: core.serialization.property("transaction_date", core.serialization.date().optional()),
42
43
  contact: PaymentRequestContact_1.PaymentRequestContact.optional(),
43
44
  account: PaymentRequestAccount_1.PaymentRequestAccount.optional(),
45
+ paymentMethod: core.serialization.property("payment_method", PaymentRequestPaymentMethod_1.PaymentRequestPaymentMethod.optional()),
44
46
  currency: PaymentRequestCurrency_1.PaymentRequestCurrency.optional(),
45
47
  exchangeRate: core.serialization.property("exchange_rate", core.serialization.string().optional()),
46
48
  company: PaymentRequestCompany_1.PaymentRequestCompany.optional(),
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Merge from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { PaymentMethod } from "./PaymentMethod";
8
+ export declare const PaymentRequestPaymentMethod: core.serialization.Schema<serializers.accounting.PaymentRequestPaymentMethod.Raw, Merge.accounting.PaymentRequestPaymentMethod>;
9
+ export declare namespace PaymentRequestPaymentMethod {
10
+ type Raw = string | PaymentMethod.Raw;
11
+ }
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PaymentRequestPaymentMethod = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ const PaymentMethod_1 = require("./PaymentMethod");
32
+ exports.PaymentRequestPaymentMethod = core.serialization.undiscriminatedUnion([core.serialization.string(), PaymentMethod_1.PaymentMethod]);
@@ -0,0 +1,25 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Merge from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { PaymentTermCompany } from "./PaymentTermCompany";
8
+ import { RemoteData } from "./RemoteData";
9
+ export declare const PaymentTerm: core.serialization.ObjectSchema<serializers.accounting.PaymentTerm.Raw, Merge.accounting.PaymentTerm>;
10
+ export declare namespace PaymentTerm {
11
+ interface Raw {
12
+ id?: string | null;
13
+ remote_id?: string | null;
14
+ created_at?: string | null;
15
+ modified_at?: string | null;
16
+ name: string;
17
+ is_active?: boolean | null;
18
+ company?: PaymentTermCompany.Raw | null;
19
+ days_until_due?: number | null;
20
+ discount_days?: number | null;
21
+ remote_last_modified_at?: string | null;
22
+ field_mappings?: Record<string, unknown> | null;
23
+ remote_data?: RemoteData.Raw[] | null;
24
+ }
25
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PaymentTerm = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ const PaymentTermCompany_1 = require("./PaymentTermCompany");
32
+ const RemoteData_1 = require("./RemoteData");
33
+ exports.PaymentTerm = core.serialization.object({
34
+ id: core.serialization.string().optional(),
35
+ remoteId: core.serialization.property("remote_id", core.serialization.string().optional()),
36
+ createdAt: core.serialization.property("created_at", core.serialization.date().optional()),
37
+ modifiedAt: core.serialization.property("modified_at", core.serialization.date().optional()),
38
+ name: core.serialization.string(),
39
+ isActive: core.serialization.property("is_active", core.serialization.boolean().optional()),
40
+ company: PaymentTermCompany_1.PaymentTermCompany.optional(),
41
+ daysUntilDue: core.serialization.property("days_until_due", core.serialization.number().optional()),
42
+ discountDays: core.serialization.property("discount_days", core.serialization.number().optional()),
43
+ remoteLastModifiedAt: core.serialization.property("remote_last_modified_at", core.serialization.date().optional()),
44
+ fieldMappings: core.serialization.property("field_mappings", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
45
+ remoteData: core.serialization.property("remote_data", core.serialization.list(RemoteData_1.RemoteData).optional()),
46
+ });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Merge from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { CompanyInfo } from "./CompanyInfo";
8
+ export declare const PaymentTermCompany: core.serialization.Schema<serializers.accounting.PaymentTermCompany.Raw, Merge.accounting.PaymentTermCompany>;
9
+ export declare namespace PaymentTermCompany {
10
+ type Raw = string | CompanyInfo.Raw;
11
+ }
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PaymentTermCompany = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ const CompanyInfo_1 = require("./CompanyInfo");
32
+ exports.PaymentTermCompany = core.serialization.undiscriminatedUnion([core.serialization.string(), CompanyInfo_1.CompanyInfo]);
@@ -9,6 +9,7 @@ import { PurchaseOrderDeliveryAddress } from "./PurchaseOrderDeliveryAddress";
9
9
  import { PurchaseOrderVendor } from "./PurchaseOrderVendor";
10
10
  import { PurchaseOrderCompany } from "./PurchaseOrderCompany";
11
11
  import { PurchaseOrderCurrency } from "./PurchaseOrderCurrency";
12
+ import { PurchaseOrderPaymentTerm } from "./PurchaseOrderPaymentTerm";
12
13
  import { PurchaseOrderLineItem } from "./PurchaseOrderLineItem";
13
14
  import { PurchaseOrderTrackingCategoriesItem } from "./PurchaseOrderTrackingCategoriesItem";
14
15
  import { PurchaseOrderAccountingPeriod } from "./PurchaseOrderAccountingPeriod";
@@ -33,6 +34,7 @@ export declare namespace PurchaseOrder {
33
34
  total_amount?: number | null;
34
35
  currency?: PurchaseOrderCurrency.Raw | null;
35
36
  exchange_rate?: string | null;
37
+ payment_term?: PurchaseOrderPaymentTerm.Raw | null;
36
38
  line_items?: PurchaseOrderLineItem.Raw[] | null;
37
39
  inclusive_of_tax?: boolean | null;
38
40
  tracking_categories?: (PurchaseOrderTrackingCategoriesItem.Raw | null | undefined)[] | null;
@@ -33,6 +33,7 @@ const PurchaseOrderDeliveryAddress_1 = require("./PurchaseOrderDeliveryAddress")
33
33
  const PurchaseOrderVendor_1 = require("./PurchaseOrderVendor");
34
34
  const PurchaseOrderCompany_1 = require("./PurchaseOrderCompany");
35
35
  const PurchaseOrderCurrency_1 = require("./PurchaseOrderCurrency");
36
+ const PurchaseOrderPaymentTerm_1 = require("./PurchaseOrderPaymentTerm");
36
37
  const PurchaseOrderLineItem_1 = require("./PurchaseOrderLineItem");
37
38
  const PurchaseOrderTrackingCategoriesItem_1 = require("./PurchaseOrderTrackingCategoriesItem");
38
39
  const PurchaseOrderAccountingPeriod_1 = require("./PurchaseOrderAccountingPeriod");
@@ -55,6 +56,7 @@ exports.PurchaseOrder = core.serialization.object({
55
56
  totalAmount: core.serialization.property("total_amount", core.serialization.number().optional()),
56
57
  currency: PurchaseOrderCurrency_1.PurchaseOrderCurrency.optional(),
57
58
  exchangeRate: core.serialization.property("exchange_rate", core.serialization.string().optional()),
59
+ paymentTerm: core.serialization.property("payment_term", PurchaseOrderPaymentTerm_1.PurchaseOrderPaymentTerm.optional()),
58
60
  lineItems: core.serialization.property("line_items", core.serialization.list(PurchaseOrderLineItem_1.PurchaseOrderLineItem).optional()),
59
61
  inclusiveOfTax: core.serialization.property("inclusive_of_tax", core.serialization.boolean().optional()),
60
62
  trackingCategories: core.serialization.property("tracking_categories", core.serialization.list(PurchaseOrderTrackingCategoriesItem_1.PurchaseOrderTrackingCategoriesItem.optional()).optional()),
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Merge from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { PaymentTerm } from "./PaymentTerm";
8
+ export declare const PurchaseOrderPaymentTerm: core.serialization.Schema<serializers.accounting.PurchaseOrderPaymentTerm.Raw, Merge.accounting.PurchaseOrderPaymentTerm>;
9
+ export declare namespace PurchaseOrderPaymentTerm {
10
+ type Raw = string | PaymentTerm.Raw;
11
+ }
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PurchaseOrderPaymentTerm = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ const PaymentTerm_1 = require("./PaymentTerm");
32
+ exports.PurchaseOrderPaymentTerm = core.serialization.undiscriminatedUnion([core.serialization.string(), PaymentTerm_1.PaymentTerm]);
@@ -8,6 +8,7 @@ import { PurchaseOrderRequestStatus } from "./PurchaseOrderRequestStatus";
8
8
  import { PurchaseOrderRequestDeliveryAddress } from "./PurchaseOrderRequestDeliveryAddress";
9
9
  import { PurchaseOrderRequestVendor } from "./PurchaseOrderRequestVendor";
10
10
  import { PurchaseOrderRequestCompany } from "./PurchaseOrderRequestCompany";
11
+ import { PurchaseOrderRequestPaymentTerm } from "./PurchaseOrderRequestPaymentTerm";
11
12
  import { PurchaseOrderRequestCurrency } from "./PurchaseOrderRequestCurrency";
12
13
  import { PurchaseOrderRequestTrackingCategoriesItem } from "./PurchaseOrderRequestTrackingCategoriesItem";
13
14
  import { PurchaseOrderLineItemRequest } from "./PurchaseOrderLineItemRequest";
@@ -24,6 +25,7 @@ export declare namespace PurchaseOrderRequest {
24
25
  memo?: string | null;
25
26
  company?: PurchaseOrderRequestCompany.Raw | null;
26
27
  total_amount?: number | null;
28
+ payment_term?: PurchaseOrderRequestPaymentTerm.Raw | null;
27
29
  currency?: PurchaseOrderRequestCurrency.Raw | null;
28
30
  inclusive_of_tax?: boolean | null;
29
31
  exchange_rate?: string | null;
@@ -32,6 +32,7 @@ const PurchaseOrderRequestStatus_1 = require("./PurchaseOrderRequestStatus");
32
32
  const PurchaseOrderRequestDeliveryAddress_1 = require("./PurchaseOrderRequestDeliveryAddress");
33
33
  const PurchaseOrderRequestVendor_1 = require("./PurchaseOrderRequestVendor");
34
34
  const PurchaseOrderRequestCompany_1 = require("./PurchaseOrderRequestCompany");
35
+ const PurchaseOrderRequestPaymentTerm_1 = require("./PurchaseOrderRequestPaymentTerm");
35
36
  const PurchaseOrderRequestCurrency_1 = require("./PurchaseOrderRequestCurrency");
36
37
  const PurchaseOrderRequestTrackingCategoriesItem_1 = require("./PurchaseOrderRequestTrackingCategoriesItem");
37
38
  const PurchaseOrderLineItemRequest_1 = require("./PurchaseOrderLineItemRequest");
@@ -46,6 +47,7 @@ exports.PurchaseOrderRequest = core.serialization.object({
46
47
  memo: core.serialization.string().optional(),
47
48
  company: PurchaseOrderRequestCompany_1.PurchaseOrderRequestCompany.optional(),
48
49
  totalAmount: core.serialization.property("total_amount", core.serialization.number().optional()),
50
+ paymentTerm: core.serialization.property("payment_term", PurchaseOrderRequestPaymentTerm_1.PurchaseOrderRequestPaymentTerm.optional()),
49
51
  currency: PurchaseOrderRequestCurrency_1.PurchaseOrderRequestCurrency.optional(),
50
52
  inclusiveOfTax: core.serialization.property("inclusive_of_tax", core.serialization.boolean().optional()),
51
53
  exchangeRate: core.serialization.property("exchange_rate", core.serialization.string().optional()),
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as Merge from "../../../../api/index";
6
+ import * as core from "../../../../core";
7
+ import { PaymentTerm } from "./PaymentTerm";
8
+ export declare const PurchaseOrderRequestPaymentTerm: core.serialization.Schema<serializers.accounting.PurchaseOrderRequestPaymentTerm.Raw, Merge.accounting.PurchaseOrderRequestPaymentTerm>;
9
+ export declare namespace PurchaseOrderRequestPaymentTerm {
10
+ type Raw = string | PaymentTerm.Raw;
11
+ }
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PurchaseOrderRequestPaymentTerm = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ const PaymentTerm_1 = require("./PaymentTerm");
32
+ exports.PurchaseOrderRequestPaymentTerm = core.serialization.undiscriminatedUnion([core.serialization.string(), PaymentTerm_1.PaymentTerm]);
@@ -9,6 +9,6 @@ export declare const RemoteField: core.serialization.ObjectSchema<serializers.ac
9
9
  export declare namespace RemoteField {
10
10
  interface Raw {
11
11
  remote_field_class: RemoteFieldRemoteFieldClass.Raw;
12
- value?: Record<string, unknown> | null;
12
+ value?: unknown | null;
13
13
  }
14
14
  }
@@ -31,5 +31,5 @@ const core = __importStar(require("../../../../core"));
31
31
  const RemoteFieldRemoteFieldClass_1 = require("./RemoteFieldRemoteFieldClass");
32
32
  exports.RemoteField = core.serialization.object({
33
33
  remoteFieldClass: core.serialization.property("remote_field_class", RemoteFieldRemoteFieldClass_1.RemoteFieldRemoteFieldClass),
34
- value: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
34
+ value: core.serialization.unknown().optional(),
35
35
  });