@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
package/Client.d.ts CHANGED
@@ -3,8 +3,8 @@
3
3
  */
4
4
  import * as environments from "./environments";
5
5
  import * as core from "./core";
6
- import { Ats } from "./api/resources/ats/client/Client";
7
6
  import { Crm } from "./api/resources/crm/client/Client";
7
+ import { Ats } from "./api/resources/ats/client/Client";
8
8
  import { Filestorage } from "./api/resources/filestorage/client/Client";
9
9
  import { Hris } from "./api/resources/hris/client/Client";
10
10
  import { Ticketing } from "./api/resources/ticketing/client/Client";
@@ -33,10 +33,10 @@ export declare namespace MergeClient {
33
33
  export declare class MergeClient {
34
34
  protected readonly _options: MergeClient.Options;
35
35
  constructor(_options: MergeClient.Options);
36
- protected _ats: Ats | undefined;
37
- get ats(): Ats;
38
36
  protected _crm: Crm | undefined;
39
37
  get crm(): Crm;
38
+ protected _ats: Ats | undefined;
39
+ get ats(): Ats;
40
40
  protected _filestorage: Filestorage | undefined;
41
41
  get filestorage(): Filestorage;
42
42
  protected _hris: Hris | undefined;
package/Client.js CHANGED
@@ -4,8 +4,8 @@
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.MergeClient = void 0;
7
- const Client_1 = require("./api/resources/ats/client/Client");
8
- const Client_2 = require("./api/resources/crm/client/Client");
7
+ const Client_1 = require("./api/resources/crm/client/Client");
8
+ const Client_2 = require("./api/resources/ats/client/Client");
9
9
  const Client_3 = require("./api/resources/filestorage/client/Client");
10
10
  const Client_4 = require("./api/resources/hris/client/Client");
11
11
  const Client_5 = require("./api/resources/ticketing/client/Client");
@@ -14,13 +14,13 @@ class MergeClient {
14
14
  constructor(_options) {
15
15
  this._options = _options;
16
16
  }
17
- get ats() {
17
+ get crm() {
18
18
  var _a;
19
- return ((_a = this._ats) !== null && _a !== void 0 ? _a : (this._ats = new Client_1.Ats(this._options)));
19
+ return ((_a = this._crm) !== null && _a !== void 0 ? _a : (this._crm = new Client_1.Crm(this._options)));
20
20
  }
21
- get crm() {
21
+ get ats() {
22
22
  var _a;
23
- return ((_a = this._crm) !== null && _a !== void 0 ? _a : (this._crm = new Client_2.Crm(this._options)));
23
+ return ((_a = this._ats) !== null && _a !== void 0 ? _a : (this._ats = new Client_2.Ats(this._options)));
24
24
  }
25
25
  get filestorage() {
26
26
  var _a;
@@ -35,6 +35,8 @@ import { JournalEntries } from "../resources/journalEntries/client/Client";
35
35
  import { LinkToken } from "../resources/linkToken/client/Client";
36
36
  import { LinkedAccounts } from "../resources/linkedAccounts/client/Client";
37
37
  import { Passthrough } from "../resources/passthrough/client/Client";
38
+ import { PaymentMethods } from "../resources/paymentMethods/client/Client";
39
+ import { PaymentTerms } from "../resources/paymentTerms/client/Client";
38
40
  import { Payments } from "../resources/payments/client/Client";
39
41
  import { PhoneNumbers } from "../resources/phoneNumbers/client/Client";
40
42
  import { PurchaseOrders } from "../resources/purchaseOrders/client/Client";
@@ -134,6 +136,10 @@ export declare class Accounting {
134
136
  get linkedAccounts(): LinkedAccounts;
135
137
  protected _passthrough: Passthrough | undefined;
136
138
  get passthrough(): Passthrough;
139
+ protected _paymentMethods: PaymentMethods | undefined;
140
+ get paymentMethods(): PaymentMethods;
141
+ protected _paymentTerms: PaymentTerms | undefined;
142
+ get paymentTerms(): PaymentTerms;
137
143
  protected _payments: Payments | undefined;
138
144
  get payments(): Payments;
139
145
  protected _phoneNumbers: PhoneNumbers | undefined;
@@ -36,17 +36,19 @@ const Client_29 = require("../resources/journalEntries/client/Client");
36
36
  const Client_30 = require("../resources/linkToken/client/Client");
37
37
  const Client_31 = require("../resources/linkedAccounts/client/Client");
38
38
  const Client_32 = require("../resources/passthrough/client/Client");
39
- const Client_33 = require("../resources/payments/client/Client");
40
- const Client_34 = require("../resources/phoneNumbers/client/Client");
41
- const Client_35 = require("../resources/purchaseOrders/client/Client");
42
- const Client_36 = require("../resources/regenerateKey/client/Client");
43
- const Client_37 = require("../resources/syncStatus/client/Client");
44
- const Client_38 = require("../resources/forceResync/client/Client");
45
- const Client_39 = require("../resources/taxRates/client/Client");
46
- const Client_40 = require("../resources/trackingCategories/client/Client");
47
- const Client_41 = require("../resources/transactions/client/Client");
48
- const Client_42 = require("../resources/vendorCredits/client/Client");
49
- const Client_43 = require("../resources/webhookReceivers/client/Client");
39
+ const Client_33 = require("../resources/paymentMethods/client/Client");
40
+ const Client_34 = require("../resources/paymentTerms/client/Client");
41
+ const Client_35 = require("../resources/payments/client/Client");
42
+ const Client_36 = require("../resources/phoneNumbers/client/Client");
43
+ const Client_37 = require("../resources/purchaseOrders/client/Client");
44
+ const Client_38 = require("../resources/regenerateKey/client/Client");
45
+ const Client_39 = require("../resources/syncStatus/client/Client");
46
+ const Client_40 = require("../resources/forceResync/client/Client");
47
+ const Client_41 = require("../resources/taxRates/client/Client");
48
+ const Client_42 = require("../resources/trackingCategories/client/Client");
49
+ const Client_43 = require("../resources/transactions/client/Client");
50
+ const Client_44 = require("../resources/vendorCredits/client/Client");
51
+ const Client_45 = require("../resources/webhookReceivers/client/Client");
50
52
  class Accounting {
51
53
  constructor(_options) {
52
54
  this._options = _options;
@@ -179,49 +181,57 @@ class Accounting {
179
181
  var _a;
180
182
  return ((_a = this._passthrough) !== null && _a !== void 0 ? _a : (this._passthrough = new Client_32.Passthrough(this._options)));
181
183
  }
184
+ get paymentMethods() {
185
+ var _a;
186
+ return ((_a = this._paymentMethods) !== null && _a !== void 0 ? _a : (this._paymentMethods = new Client_33.PaymentMethods(this._options)));
187
+ }
188
+ get paymentTerms() {
189
+ var _a;
190
+ return ((_a = this._paymentTerms) !== null && _a !== void 0 ? _a : (this._paymentTerms = new Client_34.PaymentTerms(this._options)));
191
+ }
182
192
  get payments() {
183
193
  var _a;
184
- return ((_a = this._payments) !== null && _a !== void 0 ? _a : (this._payments = new Client_33.Payments(this._options)));
194
+ return ((_a = this._payments) !== null && _a !== void 0 ? _a : (this._payments = new Client_35.Payments(this._options)));
185
195
  }
186
196
  get phoneNumbers() {
187
197
  var _a;
188
- return ((_a = this._phoneNumbers) !== null && _a !== void 0 ? _a : (this._phoneNumbers = new Client_34.PhoneNumbers(this._options)));
198
+ return ((_a = this._phoneNumbers) !== null && _a !== void 0 ? _a : (this._phoneNumbers = new Client_36.PhoneNumbers(this._options)));
189
199
  }
190
200
  get purchaseOrders() {
191
201
  var _a;
192
- return ((_a = this._purchaseOrders) !== null && _a !== void 0 ? _a : (this._purchaseOrders = new Client_35.PurchaseOrders(this._options)));
202
+ return ((_a = this._purchaseOrders) !== null && _a !== void 0 ? _a : (this._purchaseOrders = new Client_37.PurchaseOrders(this._options)));
193
203
  }
194
204
  get regenerateKey() {
195
205
  var _a;
196
- return ((_a = this._regenerateKey) !== null && _a !== void 0 ? _a : (this._regenerateKey = new Client_36.RegenerateKey(this._options)));
206
+ return ((_a = this._regenerateKey) !== null && _a !== void 0 ? _a : (this._regenerateKey = new Client_38.RegenerateKey(this._options)));
197
207
  }
198
208
  get syncStatus() {
199
209
  var _a;
200
- return ((_a = this._syncStatus) !== null && _a !== void 0 ? _a : (this._syncStatus = new Client_37.SyncStatus(this._options)));
210
+ return ((_a = this._syncStatus) !== null && _a !== void 0 ? _a : (this._syncStatus = new Client_39.SyncStatus(this._options)));
201
211
  }
202
212
  get forceResync() {
203
213
  var _a;
204
- return ((_a = this._forceResync) !== null && _a !== void 0 ? _a : (this._forceResync = new Client_38.ForceResync(this._options)));
214
+ return ((_a = this._forceResync) !== null && _a !== void 0 ? _a : (this._forceResync = new Client_40.ForceResync(this._options)));
205
215
  }
206
216
  get taxRates() {
207
217
  var _a;
208
- return ((_a = this._taxRates) !== null && _a !== void 0 ? _a : (this._taxRates = new Client_39.TaxRates(this._options)));
218
+ return ((_a = this._taxRates) !== null && _a !== void 0 ? _a : (this._taxRates = new Client_41.TaxRates(this._options)));
209
219
  }
210
220
  get trackingCategories() {
211
221
  var _a;
212
- return ((_a = this._trackingCategories) !== null && _a !== void 0 ? _a : (this._trackingCategories = new Client_40.TrackingCategories(this._options)));
222
+ return ((_a = this._trackingCategories) !== null && _a !== void 0 ? _a : (this._trackingCategories = new Client_42.TrackingCategories(this._options)));
213
223
  }
214
224
  get transactions() {
215
225
  var _a;
216
- return ((_a = this._transactions) !== null && _a !== void 0 ? _a : (this._transactions = new Client_41.Transactions(this._options)));
226
+ return ((_a = this._transactions) !== null && _a !== void 0 ? _a : (this._transactions = new Client_43.Transactions(this._options)));
217
227
  }
218
228
  get vendorCredits() {
219
229
  var _a;
220
- return ((_a = this._vendorCredits) !== null && _a !== void 0 ? _a : (this._vendorCredits = new Client_42.VendorCredits(this._options)));
230
+ return ((_a = this._vendorCredits) !== null && _a !== void 0 ? _a : (this._vendorCredits = new Client_44.VendorCredits(this._options)));
221
231
  }
222
232
  get webhookReceivers() {
223
233
  var _a;
224
- return ((_a = this._webhookReceivers) !== null && _a !== void 0 ? _a : (this._webhookReceivers = new Client_43.WebhookReceivers(this._options)));
234
+ return ((_a = this._webhookReceivers) !== null && _a !== void 0 ? _a : (this._webhookReceivers = new Client_45.WebhookReceivers(this._options)));
225
235
  }
226
236
  }
227
237
  exports.Accounting = Accounting;
@@ -64,7 +64,7 @@ class AccountDetails {
64
64
  method: "GET",
65
65
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
66
66
  ? yield core.Supplier.get(this._options.accountToken)
67
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.5", "User-Agent": "@mergeapi/merge-node-client/1.1.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
67
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
68
68
  contentType: "application/json",
69
69
  requestType: "json",
70
70
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -65,7 +65,7 @@ class AccountToken {
65
65
  method: "GET",
66
66
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
67
67
  ? yield core.Supplier.get(this._options.accountToken)
68
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.5", "User-Agent": "@mergeapi/merge-node-client/1.1.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
68
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
69
69
  contentType: "application/json",
70
70
  requestType: "json",
71
71
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -82,7 +82,7 @@ class AccountingPeriods {
82
82
  method: "GET",
83
83
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
84
84
  ? yield core.Supplier.get(this._options.accountToken)
85
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.5", "User-Agent": "@mergeapi/merge-node-client/1.1.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
85
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
86
86
  contentType: "application/json",
87
87
  queryParameters: _queryParams,
88
88
  requestType: "json",
@@ -133,17 +133,20 @@ class AccountingPeriods {
133
133
  retrieve(id, request = {}, requestOptions) {
134
134
  var _a, _b;
135
135
  return __awaiter(this, void 0, void 0, function* () {
136
- const { includeRemoteData } = request;
136
+ const { includeRemoteData, includeShellData } = request;
137
137
  const _queryParams = {};
138
138
  if (includeRemoteData != null) {
139
139
  _queryParams["include_remote_data"] = includeRemoteData.toString();
140
140
  }
141
+ if (includeShellData != null) {
142
+ _queryParams["include_shell_data"] = includeShellData.toString();
143
+ }
141
144
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
142
145
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, `accounting/v1/accounting-periods/${encodeURIComponent(id)}`),
143
146
  method: "GET",
144
147
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
145
148
  ? yield core.Supplier.get(this._options.accountToken)
146
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.5", "User-Agent": "@mergeapi/merge-node-client/1.1.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
149
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
147
150
  contentType: "application/json",
148
151
  queryParameters: _queryParams,
149
152
  requestType: "json",
@@ -10,4 +10,8 @@ export interface AccountingPeriodsRetrieveRequest {
10
10
  * Whether to include the original data Merge fetched from the third-party to produce these models.
11
11
  */
12
12
  includeRemoteData?: boolean;
13
+ /**
14
+ * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
15
+ */
16
+ includeShellData?: boolean;
13
17
  }
@@ -71,7 +71,7 @@ class Accounts {
71
71
  list(request = {}, requestOptions) {
72
72
  var _a, _b;
73
73
  return __awaiter(this, void 0, void 0, function* () {
74
- const { accountType, companyId, createdAfter, createdBefore, cursor, expand, includeDeletedData, includeRemoteData, includeShellData, modifiedAfter, modifiedBefore, pageSize, remoteFields, remoteId, showEnumOrigins, } = request;
74
+ const { accountType, companyId, createdAfter, createdBefore, cursor, expand, includeDeletedData, includeRemoteData, includeShellData, modifiedAfter, modifiedBefore, name, pageSize, remoteFields, remoteId, showEnumOrigins, } = request;
75
75
  const _queryParams = {};
76
76
  if (accountType != null) {
77
77
  _queryParams["account_type"] = accountType;
@@ -106,6 +106,9 @@ class Accounts {
106
106
  if (modifiedBefore != null) {
107
107
  _queryParams["modified_before"] = modifiedBefore.toISOString();
108
108
  }
109
+ if (name != null) {
110
+ _queryParams["name"] = name;
111
+ }
109
112
  if (pageSize != null) {
110
113
  _queryParams["page_size"] = pageSize.toString();
111
114
  }
@@ -123,7 +126,7 @@ class Accounts {
123
126
  method: "GET",
124
127
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
125
128
  ? yield core.Supplier.get(this._options.accountToken)
126
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.5", "User-Agent": "@mergeapi/merge-node-client/1.1.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
129
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
127
130
  contentType: "application/json",
128
131
  queryParameters: _queryParams,
129
132
  requestType: "json",
@@ -188,7 +191,7 @@ class Accounts {
188
191
  method: "POST",
189
192
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
190
193
  ? yield core.Supplier.get(this._options.accountToken)
191
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.5", "User-Agent": "@mergeapi/merge-node-client/1.1.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
194
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
192
195
  contentType: "application/json",
193
196
  queryParameters: _queryParams,
194
197
  requestType: "json",
@@ -240,7 +243,7 @@ class Accounts {
240
243
  retrieve(id, request = {}, requestOptions) {
241
244
  var _a, _b;
242
245
  return __awaiter(this, void 0, void 0, function* () {
243
- const { expand, includeRemoteData, remoteFields, showEnumOrigins } = request;
246
+ const { expand, includeRemoteData, includeShellData, remoteFields, showEnumOrigins } = request;
244
247
  const _queryParams = {};
245
248
  if (expand != null) {
246
249
  _queryParams["expand"] = expand;
@@ -248,6 +251,9 @@ class Accounts {
248
251
  if (includeRemoteData != null) {
249
252
  _queryParams["include_remote_data"] = includeRemoteData.toString();
250
253
  }
254
+ if (includeShellData != null) {
255
+ _queryParams["include_shell_data"] = includeShellData.toString();
256
+ }
251
257
  if (remoteFields != null) {
252
258
  _queryParams["remote_fields"] = remoteFields;
253
259
  }
@@ -259,7 +265,7 @@ class Accounts {
259
265
  method: "GET",
260
266
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
261
267
  ? yield core.Supplier.get(this._options.accountToken)
262
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.5", "User-Agent": "@mergeapi/merge-node-client/1.1.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
268
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
263
269
  contentType: "application/json",
264
270
  queryParameters: _queryParams,
265
271
  requestType: "json",
@@ -313,7 +319,7 @@ class Accounts {
313
319
  method: "GET",
314
320
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
315
321
  ? yield core.Supplier.get(this._options.accountToken)
316
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.5", "User-Agent": "@mergeapi/merge-node-client/1.1.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
322
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
317
323
  contentType: "application/json",
318
324
  requestType: "json",
319
325
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -51,6 +51,10 @@ export interface AccountsListRequest {
51
51
  * If provided, only objects synced by Merge before this date time will be returned.
52
52
  */
53
53
  modifiedBefore?: Date;
54
+ /**
55
+ * If provided, will only return Accounts with this name.
56
+ */
57
+ name?: string;
54
58
  /**
55
59
  * Number of results to return per page.
56
60
  */
@@ -15,6 +15,10 @@ export interface AccountsRetrieveRequest {
15
15
  * Whether to include the original data Merge fetched from the third-party to produce these models.
16
16
  */
17
17
  includeRemoteData?: boolean;
18
+ /**
19
+ * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
20
+ */
21
+ includeShellData?: boolean;
18
22
  /**
19
23
  * Deprecated. Use show_enum_origins.
20
24
  */
@@ -61,11 +61,14 @@ class Addresses {
61
61
  retrieve(id, request = {}, requestOptions) {
62
62
  var _a, _b;
63
63
  return __awaiter(this, void 0, void 0, function* () {
64
- const { includeRemoteData, remoteFields, showEnumOrigins } = request;
64
+ const { includeRemoteData, includeShellData, remoteFields, showEnumOrigins } = request;
65
65
  const _queryParams = {};
66
66
  if (includeRemoteData != null) {
67
67
  _queryParams["include_remote_data"] = includeRemoteData.toString();
68
68
  }
69
+ if (includeShellData != null) {
70
+ _queryParams["include_shell_data"] = includeShellData.toString();
71
+ }
69
72
  if (remoteFields != null) {
70
73
  _queryParams["remote_fields"] = remoteFields;
71
74
  }
@@ -77,7 +80,7 @@ class Addresses {
77
80
  method: "GET",
78
81
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
79
82
  ? yield core.Supplier.get(this._options.accountToken)
80
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.5", "User-Agent": "@mergeapi/merge-node-client/1.1.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
83
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
81
84
  contentType: "application/json",
82
85
  queryParameters: _queryParams,
83
86
  requestType: "json",
@@ -10,6 +10,10 @@ export interface AddressesRetrieveRequest {
10
10
  * Whether to include the original data Merge fetched from the third-party to produce these models.
11
11
  */
12
12
  includeRemoteData?: boolean;
13
+ /**
14
+ * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
15
+ */
16
+ includeShellData?: boolean;
13
17
  /**
14
18
  * Deprecated. Use show_enum_origins.
15
19
  */
@@ -68,7 +68,7 @@ class AsyncPassthrough {
68
68
  method: "POST",
69
69
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
70
70
  ? yield core.Supplier.get(this._options.accountToken)
71
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.5", "User-Agent": "@mergeapi/merge-node-client/1.1.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
71
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
72
72
  contentType: "application/json",
73
73
  requestType: "json",
74
74
  body: serializers.accounting.DataPassthroughRequest.jsonOrThrow(request, {
@@ -125,7 +125,7 @@ class AsyncPassthrough {
125
125
  method: "GET",
126
126
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
127
127
  ? yield core.Supplier.get(this._options.accountToken)
128
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.5", "User-Agent": "@mergeapi/merge-node-client/1.1.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
128
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
129
129
  contentType: "application/json",
130
130
  requestType: "json",
131
131
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -65,7 +65,7 @@ class AsyncTasks {
65
65
  method: "GET",
66
66
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
67
67
  ? yield core.Supplier.get(this._options.accountToken)
68
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.5", "User-Agent": "@mergeapi/merge-node-client/1.1.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
68
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
69
69
  contentType: "application/json",
70
70
  requestType: "json",
71
71
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -111,7 +111,7 @@ class Attachments {
111
111
  method: "GET",
112
112
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
113
113
  ? yield core.Supplier.get(this._options.accountToken)
114
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.5", "User-Agent": "@mergeapi/merge-node-client/1.1.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
114
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
115
115
  contentType: "application/json",
116
116
  queryParameters: _queryParams,
117
117
  requestType: "json",
@@ -176,7 +176,7 @@ class Attachments {
176
176
  method: "POST",
177
177
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
178
178
  ? yield core.Supplier.get(this._options.accountToken)
179
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.5", "User-Agent": "@mergeapi/merge-node-client/1.1.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
179
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
180
180
  contentType: "application/json",
181
181
  queryParameters: _queryParams,
182
182
  requestType: "json",
@@ -230,17 +230,20 @@ class Attachments {
230
230
  retrieve(id, request = {}, requestOptions) {
231
231
  var _a, _b;
232
232
  return __awaiter(this, void 0, void 0, function* () {
233
- const { includeRemoteData } = request;
233
+ const { includeRemoteData, includeShellData } = request;
234
234
  const _queryParams = {};
235
235
  if (includeRemoteData != null) {
236
236
  _queryParams["include_remote_data"] = includeRemoteData.toString();
237
237
  }
238
+ if (includeShellData != null) {
239
+ _queryParams["include_shell_data"] = includeShellData.toString();
240
+ }
238
241
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
239
242
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, `accounting/v1/attachments/${encodeURIComponent(id)}`),
240
243
  method: "GET",
241
244
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
242
245
  ? yield core.Supplier.get(this._options.accountToken)
243
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.5", "User-Agent": "@mergeapi/merge-node-client/1.1.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
246
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
244
247
  contentType: "application/json",
245
248
  queryParameters: _queryParams,
246
249
  requestType: "json",
@@ -294,7 +297,7 @@ class Attachments {
294
297
  method: "GET",
295
298
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
296
299
  ? yield core.Supplier.get(this._options.accountToken)
297
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.5", "User-Agent": "@mergeapi/merge-node-client/1.1.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
300
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
298
301
  contentType: "application/json",
299
302
  requestType: "json",
300
303
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -10,4 +10,8 @@ export interface AttachmentsRetrieveRequest {
10
10
  * Whether to include the original data Merge fetched from the third-party to produce these models.
11
11
  */
12
12
  includeRemoteData?: boolean;
13
+ /**
14
+ * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
15
+ */
16
+ includeShellData?: boolean;
13
17
  }
@@ -85,7 +85,7 @@ class AuditTrail {
85
85
  method: "GET",
86
86
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
87
87
  ? yield core.Supplier.get(this._options.accountToken)
88
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.5", "User-Agent": "@mergeapi/merge-node-client/1.1.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
88
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
89
89
  contentType: "application/json",
90
90
  queryParameters: _queryParams,
91
91
  requestType: "json",
@@ -15,7 +15,7 @@ export interface AuditTrailListRequest {
15
15
  */
16
16
  endDate?: string;
17
17
  /**
18
- * If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED`
18
+ * If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED`
19
19
  */
20
20
  eventType?: string;
21
21
  /**
@@ -64,7 +64,7 @@ class AvailableActions {
64
64
  method: "GET",
65
65
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
66
66
  ? yield core.Supplier.get(this._options.accountToken)
67
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.5", "User-Agent": "@mergeapi/merge-node-client/1.1.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
67
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
68
68
  contentType: "application/json",
69
69
  requestType: "json",
70
70
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -103,7 +103,7 @@ class BalanceSheets {
103
103
  method: "GET",
104
104
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
105
105
  ? yield core.Supplier.get(this._options.accountToken)
106
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.5", "User-Agent": "@mergeapi/merge-node-client/1.1.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
106
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
107
107
  contentType: "application/json",
108
108
  queryParameters: _queryParams,
109
109
  requestType: "json",
@@ -154,7 +154,7 @@ class BalanceSheets {
154
154
  retrieve(id, request = {}, requestOptions) {
155
155
  var _a, _b;
156
156
  return __awaiter(this, void 0, void 0, function* () {
157
- const { expand, includeRemoteData } = request;
157
+ const { expand, includeRemoteData, includeShellData } = request;
158
158
  const _queryParams = {};
159
159
  if (expand != null) {
160
160
  _queryParams["expand"] = expand;
@@ -162,12 +162,15 @@ class BalanceSheets {
162
162
  if (includeRemoteData != null) {
163
163
  _queryParams["include_remote_data"] = includeRemoteData.toString();
164
164
  }
165
+ if (includeShellData != null) {
166
+ _queryParams["include_shell_data"] = includeShellData.toString();
167
+ }
165
168
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
166
169
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, `accounting/v1/balance-sheets/${encodeURIComponent(id)}`),
167
170
  method: "GET",
168
171
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
169
172
  ? yield core.Supplier.get(this._options.accountToken)
170
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.5", "User-Agent": "@mergeapi/merge-node-client/1.1.5", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
173
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
171
174
  contentType: "application/json",
172
175
  queryParameters: _queryParams,
173
176
  requestType: "json",
@@ -14,4 +14,8 @@ export interface BalanceSheetsRetrieveRequest {
14
14
  * Whether to include the original data Merge fetched from the third-party to produce these models.
15
15
  */
16
16
  includeRemoteData?: boolean;
17
+ /**
18
+ * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
19
+ */
20
+ includeShellData?: boolean;
17
21
  }