@mergeapi/merge-node-client 1.1.4 → 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 (1349) hide show
  1. package/api/resources/accounting/client/Client.d.ts +6 -0
  2. package/api/resources/accounting/client/Client.js +32 -22
  3. package/api/resources/accounting/resources/accountDetails/client/Client.js +1 -1
  4. package/api/resources/accounting/resources/accountToken/client/Client.js +1 -1
  5. package/api/resources/accounting/resources/accountingPeriods/client/Client.js +6 -3
  6. package/api/resources/accounting/resources/accountingPeriods/client/requests/AccountingPeriodsRetrieveRequest.d.ts +4 -0
  7. package/api/resources/accounting/resources/accounts/client/Client.js +12 -6
  8. package/api/resources/accounting/resources/accounts/client/requests/AccountsListRequest.d.ts +4 -0
  9. package/api/resources/accounting/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +4 -0
  10. package/api/resources/accounting/resources/addresses/client/Client.js +5 -2
  11. package/api/resources/accounting/resources/addresses/client/requests/AddressesRetrieveRequest.d.ts +4 -0
  12. package/api/resources/accounting/resources/asyncPassthrough/client/Client.js +2 -2
  13. package/api/resources/accounting/resources/asyncTasks/client/Client.js +1 -1
  14. package/api/resources/accounting/resources/attachments/client/Client.js +8 -5
  15. package/api/resources/accounting/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +4 -0
  16. package/api/resources/accounting/resources/auditTrail/client/Client.js +1 -1
  17. package/api/resources/accounting/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
  18. package/api/resources/accounting/resources/availableActions/client/Client.js +1 -1
  19. package/api/resources/accounting/resources/balanceSheets/client/Client.js +6 -3
  20. package/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsRetrieveRequest.d.ts +4 -0
  21. package/api/resources/accounting/resources/bankFeedAccounts/client/Client.js +8 -5
  22. package/api/resources/accounting/resources/bankFeedAccounts/client/requests/BankFeedAccountsRetrieveRequest.d.ts +4 -0
  23. package/api/resources/accounting/resources/bankFeedTransactions/client/Client.js +8 -5
  24. package/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionsRetrieveRequest.d.ts +4 -0
  25. package/api/resources/accounting/resources/cashFlowStatements/client/Client.js +6 -3
  26. package/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsRetrieveRequest.d.ts +4 -0
  27. package/api/resources/accounting/resources/companyInfo/client/Client.js +6 -3
  28. package/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoRetrieveRequest.d.ts +4 -0
  29. package/api/resources/accounting/resources/contacts/client/Client.js +9 -6
  30. package/api/resources/accounting/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +4 -0
  31. package/api/resources/accounting/resources/creditNotes/client/Client.js +8 -5
  32. package/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesRetrieveRequest.d.ts +4 -0
  33. package/api/resources/accounting/resources/deleteAccount/client/Client.js +1 -1
  34. package/api/resources/accounting/resources/employees/client/Client.js +6 -3
  35. package/api/resources/accounting/resources/employees/client/requests/EmployeesRetrieveRequest.d.ts +4 -0
  36. package/api/resources/accounting/resources/expenses/client/Client.js +10 -7
  37. package/api/resources/accounting/resources/expenses/client/requests/ExpensesRetrieveRequest.d.ts +4 -0
  38. package/api/resources/accounting/resources/fieldMapping/client/Client.js +6 -6
  39. package/api/resources/accounting/resources/forceResync/client/Client.d.ts +1 -1
  40. package/api/resources/accounting/resources/forceResync/client/Client.js +2 -2
  41. package/api/resources/accounting/resources/generalLedgerTransactions/client/Client.js +6 -3
  42. package/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsRetrieveRequest.d.ts +4 -0
  43. package/api/resources/accounting/resources/generateKey/client/Client.js +1 -1
  44. package/api/resources/accounting/resources/incomeStatements/client/Client.js +6 -3
  45. package/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsRetrieveRequest.d.ts +4 -0
  46. package/api/resources/accounting/resources/index.d.ts +4 -0
  47. package/api/resources/accounting/resources/index.js +5 -1
  48. package/api/resources/accounting/resources/invoices/client/Client.js +12 -9
  49. package/api/resources/accounting/resources/invoices/client/requests/InvoicesRetrieveRequest.d.ts +4 -0
  50. package/api/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.d.ts +2049 -1
  51. package/api/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.js +2048 -0
  52. package/api/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.d.ts +2049 -1
  53. package/api/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.js +2048 -0
  54. package/api/resources/accounting/resources/issues/client/Client.js +2 -2
  55. package/api/resources/accounting/resources/items/client/Client.js +6 -3
  56. package/api/resources/accounting/resources/items/client/requests/ItemsRetrieveRequest.d.ts +4 -0
  57. package/api/resources/accounting/resources/journalEntries/client/Client.js +10 -7
  58. package/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRetrieveRequest.d.ts +4 -0
  59. package/api/resources/accounting/resources/linkToken/client/Client.js +1 -1
  60. package/api/resources/accounting/resources/linkedAccounts/client/Client.js +1 -1
  61. package/api/resources/accounting/resources/passthrough/client/Client.js +1 -1
  62. package/api/resources/accounting/resources/paymentMethods/client/Client.d.ts +53 -0
  63. package/api/resources/accounting/resources/paymentMethods/client/Client.js +193 -0
  64. package/api/resources/accounting/resources/paymentMethods/client/index.d.ts +1 -0
  65. package/api/resources/accounting/resources/paymentMethods/client/index.js +17 -0
  66. package/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsListRequest.d.ts +29 -0
  67. package/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsRetrieveRequest.d.ts +17 -0
  68. package/api/resources/accounting/resources/paymentMethods/client/requests/index.d.ts +2 -0
  69. package/api/resources/accounting/resources/paymentMethods/client/requests/index.js +2 -0
  70. package/api/resources/accounting/resources/paymentMethods/index.d.ts +1 -0
  71. package/api/resources/accounting/resources/paymentMethods/index.js +17 -0
  72. package/api/resources/accounting/resources/paymentTerms/client/Client.d.ts +53 -0
  73. package/api/resources/accounting/resources/paymentTerms/client/Client.js +199 -0
  74. package/api/resources/accounting/resources/paymentTerms/client/index.d.ts +1 -0
  75. package/api/resources/accounting/resources/paymentTerms/client/index.js +17 -0
  76. package/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsListRequest.d.ts +33 -0
  77. package/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsListRequest.js +5 -0
  78. package/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsRetrieveRequest.d.ts +21 -0
  79. package/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsRetrieveRequest.js +5 -0
  80. package/api/resources/accounting/resources/paymentTerms/client/requests/index.d.ts +2 -0
  81. package/api/resources/accounting/resources/paymentTerms/client/requests/index.js +2 -0
  82. package/api/resources/accounting/resources/paymentTerms/index.d.ts +1 -0
  83. package/api/resources/accounting/resources/paymentTerms/index.js +17 -0
  84. package/api/resources/accounting/resources/payments/client/Client.js +12 -9
  85. package/api/resources/accounting/resources/payments/client/requests/PaymentsRetrieveRequest.d.ts +4 -0
  86. package/api/resources/accounting/resources/payments/types/PaymentsListRequestExpand.d.ts +65 -1
  87. package/api/resources/accounting/resources/payments/types/PaymentsListRequestExpand.js +64 -0
  88. package/api/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.d.ts +65 -1
  89. package/api/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.js +64 -0
  90. package/api/resources/accounting/resources/phoneNumbers/client/Client.js +5 -2
  91. package/api/resources/accounting/resources/phoneNumbers/client/requests/PhoneNumbersRetrieveRequest.d.ts +4 -0
  92. package/api/resources/accounting/resources/purchaseOrders/client/Client.js +10 -7
  93. package/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRetrieveRequest.d.ts +4 -0
  94. package/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.d.ts +65 -1
  95. package/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.js +64 -0
  96. package/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.d.ts +65 -1
  97. package/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.js +64 -0
  98. package/api/resources/accounting/resources/regenerateKey/client/Client.js +1 -1
  99. package/api/resources/accounting/resources/scopes/client/Client.js +3 -3
  100. package/api/resources/accounting/resources/syncStatus/client/Client.d.ts +1 -1
  101. package/api/resources/accounting/resources/syncStatus/client/Client.js +2 -2
  102. package/api/resources/accounting/resources/taxRates/client/Client.js +10 -4
  103. package/api/resources/accounting/resources/taxRates/client/requests/TaxRatesListRequest.d.ts +4 -0
  104. package/api/resources/accounting/resources/taxRates/client/requests/TaxRatesRetrieveRequest.d.ts +4 -0
  105. package/api/resources/accounting/resources/trackingCategories/client/Client.js +10 -4
  106. package/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesListRequest.d.ts +4 -0
  107. package/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesRetrieveRequest.d.ts +4 -0
  108. package/api/resources/accounting/resources/transactions/client/Client.js +6 -3
  109. package/api/resources/accounting/resources/transactions/client/requests/TransactionsRetrieveRequest.d.ts +4 -0
  110. package/api/resources/accounting/resources/vendorCredits/client/Client.js +8 -5
  111. package/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsRetrieveRequest.d.ts +4 -0
  112. package/api/resources/accounting/resources/webhookReceivers/client/Client.js +2 -2
  113. package/api/resources/accounting/types/AccountToken.d.ts +1 -0
  114. package/api/resources/accounting/types/AuditLogEvent.d.ts +1 -0
  115. package/api/resources/accounting/types/AuditLogEventEventType.d.ts +1 -0
  116. package/api/resources/accounting/types/EventTypeEnum.d.ts +3 -1
  117. package/api/resources/accounting/types/EventTypeEnum.js +1 -0
  118. package/api/resources/accounting/types/ExternalTargetFieldApiResponse.d.ts +2 -0
  119. package/api/resources/accounting/types/FieldMappingApiInstanceResponse.d.ts +2 -0
  120. package/api/resources/accounting/types/GeneralLedgerTransactionLine.d.ts +1 -1
  121. package/api/resources/accounting/types/GeneralLedgerTransactionLineTrackingCategoriesItem.d.ts +5 -0
  122. package/api/resources/accounting/types/GeneralLedgerTransactionLineTrackingCategoriesItem.js +5 -0
  123. package/api/resources/accounting/types/Invoice.d.ts +2 -0
  124. package/api/resources/accounting/types/InvoicePaymentTerm.d.ts +8 -0
  125. package/api/resources/accounting/types/InvoicePaymentTerm.js +5 -0
  126. package/api/resources/accounting/types/InvoiceRequest.d.ts +2 -0
  127. package/api/resources/accounting/types/InvoiceRequestPaymentTerm.d.ts +8 -0
  128. package/api/resources/accounting/types/InvoiceRequestPaymentTerm.js +5 -0
  129. package/api/resources/accounting/types/{SyncStatusStatusEnum.d.ts → LastSyncResultEnum.d.ts} +2 -2
  130. package/api/resources/{crm/types/SyncStatusStatusEnum.js → accounting/types/LastSyncResultEnum.js} +2 -2
  131. package/api/resources/accounting/types/MethodTypeEnum.d.ts +18 -0
  132. package/api/resources/accounting/types/MethodTypeEnum.js +13 -0
  133. package/api/resources/accounting/types/PaginatedPaymentMethodList.d.ts +9 -0
  134. package/api/resources/accounting/types/PaginatedPaymentMethodList.js +5 -0
  135. package/api/resources/accounting/types/PaginatedPaymentTermList.d.ts +9 -0
  136. package/api/resources/accounting/types/PaginatedPaymentTermList.js +5 -0
  137. package/api/resources/accounting/types/PatchedPaymentRequest.d.ts +2 -0
  138. package/api/resources/accounting/types/PatchedPaymentRequestPaymentMethod.d.ts +8 -0
  139. package/api/resources/accounting/types/PatchedPaymentRequestPaymentMethod.js +5 -0
  140. package/api/resources/accounting/types/Payment.d.ts +2 -0
  141. package/api/resources/accounting/types/PaymentMethod.d.ts +42 -0
  142. package/api/resources/accounting/types/PaymentMethod.js +5 -0
  143. package/api/resources/accounting/types/PaymentMethodMethodType.d.ts +14 -0
  144. package/api/resources/accounting/types/PaymentMethodMethodType.js +5 -0
  145. package/api/resources/accounting/types/PaymentPaymentMethod.d.ts +8 -0
  146. package/api/resources/accounting/types/PaymentPaymentMethod.js +5 -0
  147. package/api/resources/accounting/types/PaymentRequest.d.ts +2 -0
  148. package/api/resources/accounting/types/PaymentRequestPaymentMethod.d.ts +8 -0
  149. package/api/resources/accounting/types/PaymentRequestPaymentMethod.js +5 -0
  150. package/api/resources/accounting/types/PaymentTerm.d.ts +39 -0
  151. package/api/resources/accounting/types/PaymentTerm.js +5 -0
  152. package/api/resources/accounting/types/PaymentTermCompany.d.ts +8 -0
  153. package/api/resources/accounting/types/PaymentTermCompany.js +5 -0
  154. package/api/resources/accounting/types/PurchaseOrder.d.ts +2 -0
  155. package/api/resources/accounting/types/PurchaseOrderPaymentTerm.d.ts +8 -0
  156. package/api/resources/accounting/types/PurchaseOrderPaymentTerm.js +5 -0
  157. package/api/resources/accounting/types/PurchaseOrderRequest.d.ts +2 -0
  158. package/api/resources/accounting/types/PurchaseOrderRequestPaymentTerm.d.ts +8 -0
  159. package/api/resources/accounting/types/PurchaseOrderRequestPaymentTerm.js +5 -0
  160. package/api/resources/accounting/types/RemoteField.d.ts +1 -1
  161. package/api/resources/accounting/types/RemoteFieldApiResponse.d.ts +2 -0
  162. package/api/resources/{crm/types/SyncStatusStatusEnum.d.ts → accounting/types/StatusFd5Enum.d.ts} +2 -2
  163. package/api/resources/accounting/types/{SyncStatusStatusEnum.js → StatusFd5Enum.js} +2 -2
  164. package/api/resources/accounting/types/SyncStatus.d.ts +3 -1
  165. package/api/resources/accounting/types/index.d.ts +17 -1
  166. package/api/resources/accounting/types/index.js +17 -1
  167. package/api/resources/ats/resources/accountDetails/client/Client.js +1 -1
  168. package/api/resources/ats/resources/accountToken/client/Client.js +1 -1
  169. package/api/resources/ats/resources/activities/client/Client.js +8 -5
  170. package/api/resources/ats/resources/activities/client/requests/ActivitiesRetrieveRequest.d.ts +4 -0
  171. package/api/resources/ats/resources/applications/client/Client.js +9 -6
  172. package/api/resources/ats/resources/applications/client/requests/ApplicationsRetrieveRequest.d.ts +4 -0
  173. package/api/resources/ats/resources/asyncPassthrough/client/Client.js +2 -2
  174. package/api/resources/ats/resources/attachments/client/Client.js +8 -5
  175. package/api/resources/ats/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +4 -0
  176. package/api/resources/ats/resources/auditTrail/client/Client.js +1 -1
  177. package/api/resources/ats/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
  178. package/api/resources/ats/resources/availableActions/client/Client.js +1 -1
  179. package/api/resources/ats/resources/candidates/client/Client.js +11 -8
  180. package/api/resources/ats/resources/candidates/client/requests/CandidatesRetrieveRequest.d.ts +4 -0
  181. package/api/resources/ats/resources/deleteAccount/client/Client.js +1 -1
  182. package/api/resources/ats/resources/departments/client/Client.js +6 -3
  183. package/api/resources/ats/resources/departments/client/requests/DepartmentsRetrieveRequest.d.ts +4 -0
  184. package/api/resources/ats/resources/eeocs/client/Client.js +6 -3
  185. package/api/resources/ats/resources/eeocs/client/requests/EeocsRetrieveRequest.d.ts +4 -0
  186. package/api/resources/ats/resources/fieldMapping/client/Client.js +6 -6
  187. package/api/resources/ats/resources/forceResync/client/Client.d.ts +1 -1
  188. package/api/resources/ats/resources/forceResync/client/Client.js +2 -2
  189. package/api/resources/ats/resources/generateKey/client/Client.js +1 -1
  190. package/api/resources/ats/resources/interviews/client/Client.js +8 -5
  191. package/api/resources/ats/resources/interviews/client/requests/InterviewsRetrieveRequest.d.ts +4 -0
  192. package/api/resources/ats/resources/issues/client/Client.js +2 -2
  193. package/api/resources/ats/resources/jobInterviewStages/client/Client.js +6 -3
  194. package/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesRetrieveRequest.d.ts +4 -0
  195. package/api/resources/ats/resources/jobPostings/client/Client.js +6 -3
  196. package/api/resources/ats/resources/jobPostings/client/requests/JobPostingsRetrieveRequest.d.ts +4 -0
  197. package/api/resources/ats/resources/jobs/client/Client.js +7 -4
  198. package/api/resources/ats/resources/jobs/client/requests/JobsRetrieveRequest.d.ts +4 -0
  199. package/api/resources/ats/resources/linkToken/client/Client.js +1 -1
  200. package/api/resources/ats/resources/linkedAccounts/client/Client.js +1 -1
  201. package/api/resources/ats/resources/offers/client/Client.js +6 -3
  202. package/api/resources/ats/resources/offers/client/requests/OffersRetrieveRequest.d.ts +4 -0
  203. package/api/resources/ats/resources/offices/client/Client.js +6 -3
  204. package/api/resources/ats/resources/offices/client/requests/OfficesRetrieveRequest.d.ts +4 -0
  205. package/api/resources/ats/resources/passthrough/client/Client.js +1 -1
  206. package/api/resources/ats/resources/regenerateKey/client/Client.js +1 -1
  207. package/api/resources/ats/resources/rejectReasons/client/Client.js +6 -3
  208. package/api/resources/ats/resources/rejectReasons/client/requests/RejectReasonsRetrieveRequest.d.ts +4 -0
  209. package/api/resources/ats/resources/scopes/client/Client.js +3 -3
  210. package/api/resources/ats/resources/scorecards/client/Client.js +6 -3
  211. package/api/resources/ats/resources/scorecards/client/requests/ScorecardsRetrieveRequest.d.ts +4 -0
  212. package/api/resources/ats/resources/syncStatus/client/Client.d.ts +1 -1
  213. package/api/resources/ats/resources/syncStatus/client/Client.js +2 -2
  214. package/api/resources/ats/resources/tags/client/Client.js +1 -1
  215. package/api/resources/ats/resources/users/client/Client.js +6 -3
  216. package/api/resources/ats/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -0
  217. package/api/resources/ats/resources/webhookReceivers/client/Client.js +2 -2
  218. package/api/resources/ats/types/AccountToken.d.ts +1 -0
  219. package/api/resources/ats/types/AuditLogEvent.d.ts +1 -0
  220. package/api/resources/ats/types/AuditLogEventEventType.d.ts +1 -0
  221. package/api/resources/ats/types/EventTypeEnum.d.ts +3 -1
  222. package/api/resources/ats/types/EventTypeEnum.js +1 -0
  223. package/api/resources/ats/types/{SyncStatusStatusEnum.d.ts → LastSyncResultEnum.d.ts} +2 -2
  224. package/api/resources/{filestorage/types/SyncStatusStatusEnum.js → ats/types/LastSyncResultEnum.js} +2 -2
  225. package/api/resources/{filestorage/types/SyncStatusStatusEnum.d.ts → ats/types/StatusFd5Enum.d.ts} +2 -2
  226. package/api/resources/ats/types/{SyncStatusStatusEnum.js → StatusFd5Enum.js} +2 -2
  227. package/api/resources/ats/types/SyncStatus.d.ts +3 -1
  228. package/api/resources/ats/types/index.d.ts +2 -1
  229. package/api/resources/ats/types/index.js +2 -1
  230. package/api/resources/crm/resources/accountDetails/client/Client.js +1 -1
  231. package/api/resources/crm/resources/accountToken/client/Client.js +1 -1
  232. package/api/resources/crm/resources/accounts/client/Client.js +11 -8
  233. package/api/resources/crm/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +4 -0
  234. package/api/resources/crm/resources/associationTypes/client/Client.js +8 -5
  235. package/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesRetrieveRequest.d.ts +4 -0
  236. package/api/resources/crm/resources/associations/client/Client.js +2 -2
  237. package/api/resources/crm/resources/asyncPassthrough/client/Client.js +2 -2
  238. package/api/resources/crm/resources/auditTrail/client/Client.js +1 -1
  239. package/api/resources/crm/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
  240. package/api/resources/crm/resources/availableActions/client/Client.js +1 -1
  241. package/api/resources/crm/resources/contacts/client/Client.js +12 -9
  242. package/api/resources/crm/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +4 -0
  243. package/api/resources/crm/resources/customObjectClasses/client/Client.js +6 -3
  244. package/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesRetrieveRequest.d.ts +4 -0
  245. package/api/resources/crm/resources/customObjects/client/Client.js +9 -6
  246. package/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsRetrieveRequest.d.ts +4 -0
  247. package/api/resources/crm/resources/deleteAccount/client/Client.js +1 -1
  248. package/api/resources/crm/resources/engagementTypes/client/Client.js +7 -4
  249. package/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRetrieveRequest.d.ts +4 -0
  250. package/api/resources/crm/resources/engagements/client/Client.js +11 -8
  251. package/api/resources/crm/resources/engagements/client/requests/EngagementsRetrieveRequest.d.ts +4 -0
  252. package/api/resources/crm/resources/fieldMapping/client/Client.js +6 -6
  253. package/api/resources/crm/resources/forceResync/client/Client.d.ts +1 -1
  254. package/api/resources/crm/resources/forceResync/client/Client.js +2 -2
  255. package/api/resources/crm/resources/generateKey/client/Client.js +1 -1
  256. package/api/resources/crm/resources/issues/client/Client.js +2 -2
  257. package/api/resources/crm/resources/leads/client/Client.js +9 -6
  258. package/api/resources/crm/resources/leads/client/requests/LeadsRetrieveRequest.d.ts +4 -0
  259. package/api/resources/crm/resources/linkToken/client/Client.js +1 -1
  260. package/api/resources/crm/resources/linkedAccounts/client/Client.js +1 -1
  261. package/api/resources/crm/resources/notes/client/Client.js +9 -6
  262. package/api/resources/crm/resources/notes/client/requests/NotesRetrieveRequest.d.ts +4 -0
  263. package/api/resources/crm/resources/opportunities/client/Client.js +11 -8
  264. package/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRetrieveRequest.d.ts +4 -0
  265. package/api/resources/crm/resources/passthrough/client/Client.js +1 -1
  266. package/api/resources/crm/resources/regenerateKey/client/Client.js +1 -1
  267. package/api/resources/crm/resources/scopes/client/Client.js +3 -3
  268. package/api/resources/crm/resources/stages/client/Client.js +7 -4
  269. package/api/resources/crm/resources/stages/client/requests/StagesRetrieveRequest.d.ts +4 -0
  270. package/api/resources/crm/resources/syncStatus/client/Client.js +1 -1
  271. package/api/resources/crm/resources/tasks/client/Client.js +11 -8
  272. package/api/resources/crm/resources/tasks/client/requests/TasksRetrieveRequest.d.ts +4 -0
  273. package/api/resources/crm/resources/users/client/Client.js +8 -5
  274. package/api/resources/crm/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -0
  275. package/api/resources/crm/resources/webhookReceivers/client/Client.js +2 -2
  276. package/api/resources/crm/types/AccountToken.d.ts +1 -0
  277. package/api/resources/crm/types/AuditLogEvent.d.ts +1 -0
  278. package/api/resources/crm/types/AuditLogEventEventType.d.ts +1 -0
  279. package/api/resources/crm/types/EventTypeEnum.d.ts +3 -1
  280. package/api/resources/crm/types/EventTypeEnum.js +1 -0
  281. package/api/resources/crm/types/LastSyncResultEnum.d.ts +20 -0
  282. package/api/resources/crm/types/LastSyncResultEnum.js +14 -0
  283. package/api/resources/crm/types/RemoteField.d.ts +1 -1
  284. package/api/resources/crm/types/StatusFd5Enum.d.ts +20 -0
  285. package/api/resources/crm/types/StatusFd5Enum.js +14 -0
  286. package/api/resources/crm/types/SyncStatus.d.ts +3 -1
  287. package/{dist/api/resources/ticketing/types/CollectionTeamsItem.d.ts → api/resources/crm/types/SyncStatusLastSyncResult.d.ts} +1 -1
  288. package/api/resources/crm/types/SyncStatusLastSyncResult.js +5 -0
  289. package/api/resources/crm/types/index.d.ts +3 -1
  290. package/api/resources/crm/types/index.js +3 -1
  291. package/api/resources/filestorage/resources/accountDetails/client/Client.js +1 -1
  292. package/api/resources/filestorage/resources/accountToken/client/Client.js +1 -1
  293. package/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +2 -2
  294. package/api/resources/filestorage/resources/auditTrail/client/Client.js +1 -1
  295. package/api/resources/filestorage/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
  296. package/api/resources/filestorage/resources/availableActions/client/Client.js +1 -1
  297. package/api/resources/filestorage/resources/deleteAccount/client/Client.js +1 -1
  298. package/api/resources/filestorage/resources/drives/client/Client.js +6 -3
  299. package/api/resources/filestorage/resources/drives/client/requests/DrivesRetrieveRequest.d.ts +4 -0
  300. package/api/resources/filestorage/resources/fieldMapping/client/Client.js +6 -6
  301. package/api/resources/filestorage/resources/files/client/Client.d.ts +21 -0
  302. package/api/resources/filestorage/resources/files/client/Client.js +143 -7
  303. package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaListRequest.d.ts +25 -0
  304. package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaListRequest.js +5 -0
  305. package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaRetrieveRequest.d.ts +13 -0
  306. package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaRetrieveRequest.js +5 -0
  307. package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRetrieveRequest.d.ts +5 -0
  308. package/api/resources/filestorage/resources/files/client/requests/FilesRetrieveRequest.d.ts +4 -0
  309. package/api/resources/filestorage/resources/files/client/requests/index.d.ts +2 -0
  310. package/api/resources/filestorage/resources/folders/client/Client.js +8 -5
  311. package/api/resources/filestorage/resources/folders/client/requests/FoldersRetrieveRequest.d.ts +4 -0
  312. package/api/resources/filestorage/resources/forceResync/client/Client.d.ts +1 -1
  313. package/api/resources/filestorage/resources/forceResync/client/Client.js +2 -2
  314. package/api/resources/filestorage/resources/generateKey/client/Client.js +1 -1
  315. package/api/resources/filestorage/resources/groups/client/Client.js +6 -3
  316. package/api/resources/filestorage/resources/groups/client/requests/GroupsRetrieveRequest.d.ts +4 -0
  317. package/api/resources/filestorage/resources/issues/client/Client.js +2 -2
  318. package/api/resources/filestorage/resources/linkToken/client/Client.js +1 -1
  319. package/api/resources/filestorage/resources/linkedAccounts/client/Client.js +1 -1
  320. package/api/resources/filestorage/resources/passthrough/client/Client.js +1 -1
  321. package/api/resources/filestorage/resources/regenerateKey/client/Client.js +1 -1
  322. package/api/resources/filestorage/resources/scopes/client/Client.js +3 -3
  323. package/api/resources/filestorage/resources/syncStatus/client/Client.js +1 -1
  324. package/api/resources/filestorage/resources/users/client/Client.js +6 -3
  325. package/api/resources/filestorage/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -0
  326. package/api/resources/filestorage/resources/webhookReceivers/client/Client.js +2 -2
  327. package/api/resources/filestorage/types/AccountToken.d.ts +1 -0
  328. package/api/resources/filestorage/types/AuditLogEvent.d.ts +1 -0
  329. package/api/resources/filestorage/types/AuditLogEventEventType.d.ts +1 -0
  330. package/api/resources/filestorage/types/DownloadRequestMeta.d.ts +10 -0
  331. package/api/resources/filestorage/types/DownloadRequestMeta.js +5 -0
  332. package/api/resources/filestorage/types/EventTypeEnum.d.ts +3 -1
  333. package/api/resources/filestorage/types/EventTypeEnum.js +1 -0
  334. package/api/resources/filestorage/types/LastSyncResultEnum.d.ts +20 -0
  335. package/api/resources/filestorage/types/LastSyncResultEnum.js +14 -0
  336. package/api/resources/filestorage/types/PaginatedDownloadRequestMetaList.d.ts +9 -0
  337. package/api/resources/filestorage/types/PaginatedDownloadRequestMetaList.js +5 -0
  338. package/api/resources/filestorage/types/StatusFd5Enum.d.ts +20 -0
  339. package/api/resources/filestorage/types/StatusFd5Enum.js +14 -0
  340. package/api/resources/filestorage/types/SyncStatus.d.ts +3 -1
  341. package/api/resources/filestorage/types/SyncStatusLastSyncResult.d.ts +5 -0
  342. package/api/resources/filestorage/types/SyncStatusLastSyncResult.js +5 -0
  343. package/api/resources/filestorage/types/index.d.ts +5 -1
  344. package/api/resources/filestorage/types/index.js +5 -1
  345. package/api/resources/hris/resources/accountDetails/client/Client.js +1 -1
  346. package/api/resources/hris/resources/accountToken/client/Client.js +1 -1
  347. package/api/resources/hris/resources/asyncPassthrough/client/Client.js +2 -2
  348. package/api/resources/hris/resources/auditTrail/client/Client.js +1 -1
  349. package/api/resources/hris/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
  350. package/api/resources/hris/resources/availableActions/client/Client.js +1 -1
  351. package/api/resources/hris/resources/bankInfo/client/Client.js +6 -3
  352. package/api/resources/hris/resources/bankInfo/client/requests/BankInfoRetrieveRequest.d.ts +4 -0
  353. package/api/resources/hris/resources/benefits/client/Client.js +6 -3
  354. package/api/resources/hris/resources/benefits/client/requests/BenefitsRetrieveRequest.d.ts +4 -0
  355. package/api/resources/hris/resources/companies/client/Client.js +6 -3
  356. package/api/resources/hris/resources/companies/client/requests/CompaniesRetrieveRequest.d.ts +4 -0
  357. package/api/resources/hris/resources/deleteAccount/client/Client.js +1 -1
  358. package/api/resources/hris/resources/dependents/client/Client.js +6 -3
  359. package/api/resources/hris/resources/dependents/client/requests/DependentsRetrieveRequest.d.ts +4 -0
  360. package/api/resources/hris/resources/employeePayrollRuns/client/Client.js +6 -3
  361. package/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsRetrieveRequest.d.ts +4 -0
  362. package/api/resources/hris/resources/employees/client/Client.js +9 -6
  363. package/api/resources/hris/resources/employees/client/requests/EmployeesRetrieveRequest.d.ts +4 -0
  364. package/api/resources/hris/resources/employerBenefits/client/Client.js +6 -3
  365. package/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsRetrieveRequest.d.ts +4 -0
  366. package/api/resources/hris/resources/employments/client/Client.js +6 -3
  367. package/api/resources/hris/resources/employments/client/requests/EmploymentsRetrieveRequest.d.ts +4 -0
  368. package/api/resources/hris/resources/fieldMapping/client/Client.js +6 -6
  369. package/api/resources/hris/resources/forceResync/client/Client.d.ts +1 -1
  370. package/api/resources/hris/resources/forceResync/client/Client.js +2 -2
  371. package/api/resources/hris/resources/generateKey/client/Client.js +1 -1
  372. package/api/resources/hris/resources/groups/client/Client.js +6 -3
  373. package/api/resources/hris/resources/groups/client/requests/GroupsRetrieveRequest.d.ts +4 -0
  374. package/api/resources/hris/resources/issues/client/Client.js +2 -2
  375. package/api/resources/hris/resources/linkToken/client/Client.js +1 -1
  376. package/api/resources/hris/resources/linkedAccounts/client/Client.js +1 -1
  377. package/api/resources/hris/resources/locations/client/Client.js +6 -3
  378. package/api/resources/hris/resources/locations/client/requests/LocationsRetrieveRequest.d.ts +4 -0
  379. package/api/resources/hris/resources/passthrough/client/Client.js +1 -1
  380. package/api/resources/hris/resources/payGroups/client/Client.js +6 -3
  381. package/api/resources/hris/resources/payGroups/client/requests/PayGroupsRetrieveRequest.d.ts +4 -0
  382. package/api/resources/hris/resources/payrollRuns/client/Client.js +6 -3
  383. package/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsRetrieveRequest.d.ts +4 -0
  384. package/api/resources/hris/resources/regenerateKey/client/Client.js +1 -1
  385. package/api/resources/hris/resources/scopes/client/Client.js +3 -3
  386. package/api/resources/hris/resources/syncStatus/client/Client.d.ts +1 -1
  387. package/api/resources/hris/resources/syncStatus/client/Client.js +2 -2
  388. package/api/resources/hris/resources/teams/client/Client.js +6 -3
  389. package/api/resources/hris/resources/teams/client/requests/TeamsRetrieveRequest.d.ts +4 -0
  390. package/api/resources/hris/resources/timeOff/client/Client.js +8 -5
  391. package/api/resources/hris/resources/timeOff/client/requests/TimeOffRetrieveRequest.d.ts +4 -0
  392. package/api/resources/hris/resources/timeOffBalances/client/Client.js +6 -3
  393. package/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesRetrieveRequest.d.ts +4 -0
  394. package/api/resources/hris/resources/timesheetEntries/client/Client.js +8 -5
  395. package/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesRetrieveRequest.d.ts +4 -0
  396. package/api/resources/hris/resources/webhookReceivers/client/Client.js +2 -2
  397. package/api/resources/hris/types/AccountToken.d.ts +1 -0
  398. package/api/resources/hris/types/AuditLogEvent.d.ts +1 -0
  399. package/api/resources/hris/types/AuditLogEventEventType.d.ts +1 -0
  400. package/api/resources/hris/types/EventTypeEnum.d.ts +3 -1
  401. package/api/resources/hris/types/EventTypeEnum.js +1 -0
  402. package/api/resources/hris/types/Group.d.ts +2 -2
  403. package/api/resources/hris/types/LastSyncResultEnum.d.ts +20 -0
  404. package/api/resources/hris/types/LastSyncResultEnum.js +14 -0
  405. package/api/resources/hris/types/StatusFd5Enum.d.ts +20 -0
  406. package/api/resources/hris/types/StatusFd5Enum.js +14 -0
  407. package/api/resources/hris/types/SyncStatus.d.ts +3 -1
  408. package/api/resources/hris/types/SyncStatusLastSyncResult.d.ts +5 -0
  409. package/api/resources/hris/types/SyncStatusLastSyncResult.js +5 -0
  410. package/api/resources/hris/types/index.d.ts +3 -1
  411. package/api/resources/hris/types/index.js +3 -1
  412. package/api/resources/ticketing/resources/accountDetails/client/Client.js +1 -1
  413. package/api/resources/ticketing/resources/accountToken/client/Client.js +1 -1
  414. package/api/resources/ticketing/resources/accounts/client/Client.js +6 -3
  415. package/api/resources/ticketing/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +4 -0
  416. package/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +2 -2
  417. package/api/resources/ticketing/resources/attachments/client/Client.js +13 -7
  418. package/api/resources/ticketing/resources/attachments/client/requests/AttachmentsDownloadRetrieveRequest.d.ts +5 -0
  419. package/api/resources/ticketing/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +4 -0
  420. package/api/resources/ticketing/resources/auditTrail/client/Client.js +1 -1
  421. package/api/resources/ticketing/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
  422. package/api/resources/ticketing/resources/availableActions/client/Client.js +1 -1
  423. package/api/resources/ticketing/resources/collections/client/Client.d.ts +11 -0
  424. package/api/resources/ticketing/resources/collections/client/Client.js +82 -3
  425. package/api/resources/ticketing/resources/collections/client/requests/CollectionsListRequest.d.ts +1 -2
  426. package/api/resources/ticketing/resources/collections/client/requests/CollectionsRetrieveRequest.d.ts +5 -2
  427. package/api/resources/ticketing/resources/collections/client/requests/CollectionsViewersListRequest.d.ts +34 -0
  428. package/api/resources/ticketing/resources/collections/client/requests/CollectionsViewersListRequest.js +5 -0
  429. package/api/resources/ticketing/resources/collections/client/requests/index.d.ts +1 -0
  430. package/api/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpand.d.ts +9 -0
  431. package/api/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpand.js +11 -0
  432. package/api/resources/ticketing/resources/collections/types/index.d.ts +1 -2
  433. package/api/resources/ticketing/resources/collections/types/index.js +1 -2
  434. package/api/resources/ticketing/resources/comments/client/Client.js +8 -5
  435. package/api/resources/ticketing/resources/comments/client/requests/CommentsRetrieveRequest.d.ts +4 -0
  436. package/api/resources/ticketing/resources/contacts/client/Client.js +8 -5
  437. package/api/resources/ticketing/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +4 -0
  438. package/api/resources/ticketing/resources/deleteAccount/client/Client.js +1 -1
  439. package/api/resources/ticketing/resources/fieldMapping/client/Client.js +6 -6
  440. package/api/resources/ticketing/resources/forceResync/client/Client.d.ts +1 -1
  441. package/api/resources/ticketing/resources/forceResync/client/Client.js +2 -2
  442. package/api/resources/ticketing/resources/generateKey/client/Client.js +1 -1
  443. package/api/resources/ticketing/resources/issues/client/Client.js +2 -2
  444. package/api/resources/ticketing/resources/linkToken/client/Client.js +1 -1
  445. package/api/resources/ticketing/resources/linkedAccounts/client/Client.js +1 -1
  446. package/api/resources/ticketing/resources/passthrough/client/Client.js +1 -1
  447. package/api/resources/ticketing/resources/projects/client/Client.js +7 -4
  448. package/api/resources/ticketing/resources/projects/client/requests/ProjectsRetrieveRequest.d.ts +4 -0
  449. package/api/resources/ticketing/resources/regenerateKey/client/Client.js +1 -1
  450. package/api/resources/ticketing/resources/roles/client/Client.js +6 -3
  451. package/api/resources/ticketing/resources/roles/client/requests/RolesRetrieveRequest.d.ts +4 -0
  452. package/api/resources/ticketing/resources/scopes/client/Client.js +3 -3
  453. package/api/resources/ticketing/resources/syncStatus/client/Client.d.ts +1 -1
  454. package/api/resources/ticketing/resources/syncStatus/client/Client.js +2 -2
  455. package/api/resources/ticketing/resources/tags/client/Client.js +6 -3
  456. package/api/resources/ticketing/resources/tags/client/requests/TagsRetrieveRequest.d.ts +4 -0
  457. package/api/resources/ticketing/resources/teams/client/Client.js +6 -3
  458. package/api/resources/ticketing/resources/teams/client/requests/TeamsRetrieveRequest.d.ts +4 -0
  459. package/api/resources/ticketing/resources/tickets/client/Client.d.ts +1 -1
  460. package/api/resources/ticketing/resources/tickets/client/Client.js +13 -10
  461. package/api/resources/ticketing/resources/tickets/client/requests/TicketsRetrieveRequest.d.ts +4 -0
  462. package/api/resources/ticketing/resources/users/client/Client.js +10 -4
  463. package/api/resources/ticketing/resources/users/client/requests/UsersListRequest.d.ts +4 -0
  464. package/api/resources/ticketing/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -0
  465. package/api/resources/ticketing/resources/webhookReceivers/client/Client.js +2 -2
  466. package/api/resources/ticketing/types/AccountToken.d.ts +1 -0
  467. package/api/resources/ticketing/types/AuditLogEvent.d.ts +1 -0
  468. package/api/resources/ticketing/types/AuditLogEventEventType.d.ts +1 -0
  469. package/api/resources/ticketing/types/Collection.d.ts +0 -1
  470. package/api/resources/ticketing/types/EventTypeEnum.d.ts +3 -1
  471. package/api/resources/ticketing/types/EventTypeEnum.js +1 -0
  472. package/api/resources/ticketing/types/LastSyncResultEnum.d.ts +20 -0
  473. package/api/resources/ticketing/types/LastSyncResultEnum.js +14 -0
  474. package/api/resources/ticketing/types/PatchedTicketRequest.d.ts +2 -2
  475. package/api/resources/ticketing/types/RemoteField.d.ts +1 -1
  476. package/api/resources/ticketing/types/RemoteFieldRequest.d.ts +1 -1
  477. package/api/resources/ticketing/types/StatusFd5Enum.d.ts +20 -0
  478. package/api/resources/ticketing/types/StatusFd5Enum.js +14 -0
  479. package/api/resources/ticketing/types/SyncStatus.d.ts +3 -1
  480. package/api/resources/ticketing/types/Ticket.d.ts +2 -2
  481. package/api/resources/ticketing/types/TicketRequest.d.ts +2 -2
  482. package/api/resources/ticketing/types/index.d.ts +2 -2
  483. package/api/resources/ticketing/types/index.js +2 -2
  484. package/dist/api/resources/accounting/client/Client.d.ts +6 -0
  485. package/dist/api/resources/accounting/client/Client.js +32 -22
  486. package/dist/api/resources/accounting/resources/accountDetails/client/Client.js +1 -1
  487. package/dist/api/resources/accounting/resources/accountToken/client/Client.js +1 -1
  488. package/dist/api/resources/accounting/resources/accountingPeriods/client/Client.js +6 -3
  489. package/dist/api/resources/accounting/resources/accountingPeriods/client/requests/AccountingPeriodsRetrieveRequest.d.ts +4 -0
  490. package/dist/api/resources/accounting/resources/accounts/client/Client.js +12 -6
  491. package/dist/api/resources/accounting/resources/accounts/client/requests/AccountsListRequest.d.ts +4 -0
  492. package/dist/api/resources/accounting/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +4 -0
  493. package/dist/api/resources/accounting/resources/addresses/client/Client.js +5 -2
  494. package/dist/api/resources/accounting/resources/addresses/client/requests/AddressesRetrieveRequest.d.ts +4 -0
  495. package/dist/api/resources/accounting/resources/asyncPassthrough/client/Client.js +2 -2
  496. package/dist/api/resources/accounting/resources/asyncTasks/client/Client.js +1 -1
  497. package/dist/api/resources/accounting/resources/attachments/client/Client.js +8 -5
  498. package/dist/api/resources/accounting/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +4 -0
  499. package/dist/api/resources/accounting/resources/auditTrail/client/Client.js +1 -1
  500. package/dist/api/resources/accounting/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
  501. package/dist/api/resources/accounting/resources/availableActions/client/Client.js +1 -1
  502. package/dist/api/resources/accounting/resources/balanceSheets/client/Client.js +6 -3
  503. package/dist/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsRetrieveRequest.d.ts +4 -0
  504. package/dist/api/resources/accounting/resources/bankFeedAccounts/client/Client.js +8 -5
  505. package/dist/api/resources/accounting/resources/bankFeedAccounts/client/requests/BankFeedAccountsRetrieveRequest.d.ts +4 -0
  506. package/dist/api/resources/accounting/resources/bankFeedTransactions/client/Client.js +8 -5
  507. package/dist/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionsRetrieveRequest.d.ts +4 -0
  508. package/dist/api/resources/accounting/resources/cashFlowStatements/client/Client.js +6 -3
  509. package/dist/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsRetrieveRequest.d.ts +4 -0
  510. package/dist/api/resources/accounting/resources/companyInfo/client/Client.js +6 -3
  511. package/dist/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoRetrieveRequest.d.ts +4 -0
  512. package/dist/api/resources/accounting/resources/contacts/client/Client.js +9 -6
  513. package/dist/api/resources/accounting/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +4 -0
  514. package/dist/api/resources/accounting/resources/creditNotes/client/Client.js +8 -5
  515. package/dist/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesRetrieveRequest.d.ts +4 -0
  516. package/dist/api/resources/accounting/resources/deleteAccount/client/Client.js +1 -1
  517. package/dist/api/resources/accounting/resources/employees/client/Client.js +6 -3
  518. package/dist/api/resources/accounting/resources/employees/client/requests/EmployeesRetrieveRequest.d.ts +4 -0
  519. package/dist/api/resources/accounting/resources/expenses/client/Client.js +10 -7
  520. package/dist/api/resources/accounting/resources/expenses/client/requests/ExpensesRetrieveRequest.d.ts +4 -0
  521. package/dist/api/resources/accounting/resources/fieldMapping/client/Client.js +6 -6
  522. package/dist/api/resources/accounting/resources/forceResync/client/Client.d.ts +1 -1
  523. package/dist/api/resources/accounting/resources/forceResync/client/Client.js +2 -2
  524. package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/Client.js +6 -3
  525. package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsRetrieveRequest.d.ts +4 -0
  526. package/dist/api/resources/accounting/resources/generateKey/client/Client.js +1 -1
  527. package/dist/api/resources/accounting/resources/incomeStatements/client/Client.js +6 -3
  528. package/dist/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsRetrieveRequest.d.ts +4 -0
  529. package/dist/api/resources/accounting/resources/index.d.ts +4 -0
  530. package/dist/api/resources/accounting/resources/index.js +5 -1
  531. package/dist/api/resources/accounting/resources/invoices/client/Client.js +12 -9
  532. package/dist/api/resources/accounting/resources/invoices/client/requests/InvoicesRetrieveRequest.d.ts +4 -0
  533. package/dist/api/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.d.ts +2049 -1
  534. package/dist/api/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.js +2048 -0
  535. package/dist/api/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.d.ts +2049 -1
  536. package/dist/api/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.js +2048 -0
  537. package/dist/api/resources/accounting/resources/issues/client/Client.js +2 -2
  538. package/dist/api/resources/accounting/resources/items/client/Client.js +6 -3
  539. package/dist/api/resources/accounting/resources/items/client/requests/ItemsRetrieveRequest.d.ts +4 -0
  540. package/dist/api/resources/accounting/resources/journalEntries/client/Client.js +10 -7
  541. package/dist/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRetrieveRequest.d.ts +4 -0
  542. package/dist/api/resources/accounting/resources/linkToken/client/Client.js +1 -1
  543. package/dist/api/resources/accounting/resources/linkedAccounts/client/Client.js +1 -1
  544. package/dist/api/resources/accounting/resources/passthrough/client/Client.js +1 -1
  545. package/dist/api/resources/accounting/resources/paymentMethods/client/Client.d.ts +53 -0
  546. package/dist/api/resources/accounting/resources/paymentMethods/client/Client.js +193 -0
  547. package/dist/api/resources/accounting/resources/paymentMethods/client/index.d.ts +1 -0
  548. package/dist/api/resources/accounting/resources/paymentMethods/client/index.js +17 -0
  549. package/dist/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsListRequest.d.ts +29 -0
  550. package/dist/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsListRequest.js +5 -0
  551. package/dist/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsRetrieveRequest.d.ts +17 -0
  552. package/dist/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsRetrieveRequest.js +5 -0
  553. package/dist/api/resources/accounting/resources/paymentMethods/client/requests/index.d.ts +2 -0
  554. package/dist/api/resources/accounting/resources/paymentMethods/client/requests/index.js +2 -0
  555. package/dist/api/resources/accounting/resources/paymentMethods/index.d.ts +1 -0
  556. package/dist/api/resources/accounting/resources/paymentMethods/index.js +17 -0
  557. package/dist/api/resources/accounting/resources/paymentTerms/client/Client.d.ts +53 -0
  558. package/dist/api/resources/accounting/resources/paymentTerms/client/Client.js +199 -0
  559. package/dist/api/resources/accounting/resources/paymentTerms/client/index.d.ts +1 -0
  560. package/dist/api/resources/accounting/resources/paymentTerms/client/index.js +17 -0
  561. package/dist/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsListRequest.d.ts +33 -0
  562. package/dist/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsListRequest.js +5 -0
  563. package/dist/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsRetrieveRequest.d.ts +21 -0
  564. package/dist/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsRetrieveRequest.js +5 -0
  565. package/dist/api/resources/accounting/resources/paymentTerms/client/requests/index.d.ts +2 -0
  566. package/dist/api/resources/accounting/resources/paymentTerms/client/requests/index.js +2 -0
  567. package/dist/api/resources/accounting/resources/paymentTerms/index.d.ts +1 -0
  568. package/dist/api/resources/accounting/resources/paymentTerms/index.js +17 -0
  569. package/dist/api/resources/accounting/resources/payments/client/Client.js +12 -9
  570. package/dist/api/resources/accounting/resources/payments/client/requests/PaymentsRetrieveRequest.d.ts +4 -0
  571. package/dist/api/resources/accounting/resources/payments/types/PaymentsListRequestExpand.d.ts +65 -1
  572. package/dist/api/resources/accounting/resources/payments/types/PaymentsListRequestExpand.js +64 -0
  573. package/dist/api/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.d.ts +65 -1
  574. package/dist/api/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.js +64 -0
  575. package/dist/api/resources/accounting/resources/phoneNumbers/client/Client.js +5 -2
  576. package/dist/api/resources/accounting/resources/phoneNumbers/client/requests/PhoneNumbersRetrieveRequest.d.ts +4 -0
  577. package/dist/api/resources/accounting/resources/purchaseOrders/client/Client.js +10 -7
  578. package/dist/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRetrieveRequest.d.ts +4 -0
  579. package/dist/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.d.ts +65 -1
  580. package/dist/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.js +64 -0
  581. package/dist/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.d.ts +65 -1
  582. package/dist/api/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.js +64 -0
  583. package/dist/api/resources/accounting/resources/regenerateKey/client/Client.js +1 -1
  584. package/dist/api/resources/accounting/resources/scopes/client/Client.js +3 -3
  585. package/dist/api/resources/accounting/resources/syncStatus/client/Client.d.ts +1 -1
  586. package/dist/api/resources/accounting/resources/syncStatus/client/Client.js +2 -2
  587. package/dist/api/resources/accounting/resources/taxRates/client/Client.js +10 -4
  588. package/dist/api/resources/accounting/resources/taxRates/client/requests/TaxRatesListRequest.d.ts +4 -0
  589. package/dist/api/resources/accounting/resources/taxRates/client/requests/TaxRatesRetrieveRequest.d.ts +4 -0
  590. package/dist/api/resources/accounting/resources/trackingCategories/client/Client.js +10 -4
  591. package/dist/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesListRequest.d.ts +4 -0
  592. package/dist/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesRetrieveRequest.d.ts +4 -0
  593. package/dist/api/resources/accounting/resources/transactions/client/Client.js +6 -3
  594. package/dist/api/resources/accounting/resources/transactions/client/requests/TransactionsRetrieveRequest.d.ts +4 -0
  595. package/dist/api/resources/accounting/resources/vendorCredits/client/Client.js +8 -5
  596. package/dist/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsRetrieveRequest.d.ts +4 -0
  597. package/dist/api/resources/accounting/resources/webhookReceivers/client/Client.js +2 -2
  598. package/dist/api/resources/accounting/types/AccountToken.d.ts +1 -0
  599. package/dist/api/resources/accounting/types/AuditLogEvent.d.ts +1 -0
  600. package/dist/api/resources/accounting/types/AuditLogEventEventType.d.ts +1 -0
  601. package/dist/api/resources/accounting/types/EventTypeEnum.d.ts +3 -1
  602. package/dist/api/resources/accounting/types/EventTypeEnum.js +1 -0
  603. package/dist/api/resources/accounting/types/ExternalTargetFieldApiResponse.d.ts +2 -0
  604. package/dist/api/resources/accounting/types/FieldMappingApiInstanceResponse.d.ts +2 -0
  605. package/dist/api/resources/accounting/types/GeneralLedgerTransactionLine.d.ts +1 -1
  606. package/dist/api/resources/accounting/types/GeneralLedgerTransactionLineTrackingCategoriesItem.d.ts +5 -0
  607. package/dist/api/resources/accounting/types/GeneralLedgerTransactionLineTrackingCategoriesItem.js +5 -0
  608. package/dist/api/resources/accounting/types/Invoice.d.ts +2 -0
  609. package/dist/api/resources/accounting/types/InvoicePaymentTerm.d.ts +8 -0
  610. package/dist/api/resources/accounting/types/InvoicePaymentTerm.js +5 -0
  611. package/dist/api/resources/accounting/types/InvoiceRequest.d.ts +2 -0
  612. package/dist/api/resources/accounting/types/InvoiceRequestPaymentTerm.d.ts +8 -0
  613. package/dist/api/resources/accounting/types/InvoiceRequestPaymentTerm.js +5 -0
  614. package/dist/api/resources/accounting/types/LastSyncResultEnum.d.ts +20 -0
  615. package/dist/api/resources/accounting/types/LastSyncResultEnum.js +14 -0
  616. package/dist/api/resources/accounting/types/MethodTypeEnum.d.ts +18 -0
  617. package/dist/api/resources/accounting/types/MethodTypeEnum.js +13 -0
  618. package/dist/api/resources/accounting/types/PaginatedPaymentMethodList.d.ts +9 -0
  619. package/dist/api/resources/accounting/types/PaginatedPaymentMethodList.js +5 -0
  620. package/dist/api/resources/accounting/types/PaginatedPaymentTermList.d.ts +9 -0
  621. package/dist/api/resources/accounting/types/PaginatedPaymentTermList.js +5 -0
  622. package/dist/api/resources/accounting/types/PatchedPaymentRequest.d.ts +2 -0
  623. package/dist/api/resources/accounting/types/PatchedPaymentRequestPaymentMethod.d.ts +8 -0
  624. package/dist/api/resources/accounting/types/PatchedPaymentRequestPaymentMethod.js +5 -0
  625. package/dist/api/resources/accounting/types/Payment.d.ts +2 -0
  626. package/dist/api/resources/accounting/types/PaymentMethod.d.ts +42 -0
  627. package/dist/api/resources/accounting/types/PaymentMethod.js +5 -0
  628. package/dist/api/resources/accounting/types/PaymentMethodMethodType.d.ts +14 -0
  629. package/dist/api/resources/accounting/types/PaymentMethodMethodType.js +5 -0
  630. package/dist/api/resources/accounting/types/PaymentPaymentMethod.d.ts +8 -0
  631. package/dist/api/resources/accounting/types/PaymentPaymentMethod.js +5 -0
  632. package/dist/api/resources/accounting/types/PaymentRequest.d.ts +2 -0
  633. package/dist/api/resources/accounting/types/PaymentRequestPaymentMethod.d.ts +8 -0
  634. package/dist/api/resources/accounting/types/PaymentRequestPaymentMethod.js +5 -0
  635. package/dist/api/resources/accounting/types/PaymentTerm.d.ts +39 -0
  636. package/dist/api/resources/accounting/types/PaymentTerm.js +5 -0
  637. package/dist/api/resources/accounting/types/PaymentTermCompany.d.ts +8 -0
  638. package/dist/api/resources/accounting/types/PaymentTermCompany.js +5 -0
  639. package/dist/api/resources/accounting/types/PurchaseOrder.d.ts +2 -0
  640. package/dist/api/resources/accounting/types/PurchaseOrderPaymentTerm.d.ts +8 -0
  641. package/dist/api/resources/accounting/types/PurchaseOrderPaymentTerm.js +5 -0
  642. package/dist/api/resources/accounting/types/PurchaseOrderRequest.d.ts +2 -0
  643. package/dist/api/resources/accounting/types/PurchaseOrderRequestPaymentTerm.d.ts +8 -0
  644. package/dist/api/resources/accounting/types/PurchaseOrderRequestPaymentTerm.js +5 -0
  645. package/dist/api/resources/accounting/types/RemoteField.d.ts +1 -1
  646. package/dist/api/resources/accounting/types/RemoteFieldApiResponse.d.ts +2 -0
  647. package/dist/api/resources/accounting/types/StatusFd5Enum.d.ts +20 -0
  648. package/dist/api/resources/accounting/types/StatusFd5Enum.js +14 -0
  649. package/dist/api/resources/accounting/types/SyncStatus.d.ts +3 -1
  650. package/dist/api/resources/accounting/types/index.d.ts +17 -1
  651. package/dist/api/resources/accounting/types/index.js +17 -1
  652. package/dist/api/resources/ats/resources/accountDetails/client/Client.js +1 -1
  653. package/dist/api/resources/ats/resources/accountToken/client/Client.js +1 -1
  654. package/dist/api/resources/ats/resources/activities/client/Client.js +8 -5
  655. package/dist/api/resources/ats/resources/activities/client/requests/ActivitiesRetrieveRequest.d.ts +4 -0
  656. package/dist/api/resources/ats/resources/applications/client/Client.js +9 -6
  657. package/dist/api/resources/ats/resources/applications/client/requests/ApplicationsRetrieveRequest.d.ts +4 -0
  658. package/dist/api/resources/ats/resources/asyncPassthrough/client/Client.js +2 -2
  659. package/dist/api/resources/ats/resources/attachments/client/Client.js +8 -5
  660. package/dist/api/resources/ats/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +4 -0
  661. package/dist/api/resources/ats/resources/auditTrail/client/Client.js +1 -1
  662. package/dist/api/resources/ats/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
  663. package/dist/api/resources/ats/resources/availableActions/client/Client.js +1 -1
  664. package/dist/api/resources/ats/resources/candidates/client/Client.js +11 -8
  665. package/dist/api/resources/ats/resources/candidates/client/requests/CandidatesRetrieveRequest.d.ts +4 -0
  666. package/dist/api/resources/ats/resources/deleteAccount/client/Client.js +1 -1
  667. package/dist/api/resources/ats/resources/departments/client/Client.js +6 -3
  668. package/dist/api/resources/ats/resources/departments/client/requests/DepartmentsRetrieveRequest.d.ts +4 -0
  669. package/dist/api/resources/ats/resources/eeocs/client/Client.js +6 -3
  670. package/dist/api/resources/ats/resources/eeocs/client/requests/EeocsRetrieveRequest.d.ts +4 -0
  671. package/dist/api/resources/ats/resources/fieldMapping/client/Client.js +6 -6
  672. package/dist/api/resources/ats/resources/forceResync/client/Client.d.ts +1 -1
  673. package/dist/api/resources/ats/resources/forceResync/client/Client.js +2 -2
  674. package/dist/api/resources/ats/resources/generateKey/client/Client.js +1 -1
  675. package/dist/api/resources/ats/resources/interviews/client/Client.js +8 -5
  676. package/dist/api/resources/ats/resources/interviews/client/requests/InterviewsRetrieveRequest.d.ts +4 -0
  677. package/dist/api/resources/ats/resources/issues/client/Client.js +2 -2
  678. package/dist/api/resources/ats/resources/jobInterviewStages/client/Client.js +6 -3
  679. package/dist/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesRetrieveRequest.d.ts +4 -0
  680. package/dist/api/resources/ats/resources/jobPostings/client/Client.js +6 -3
  681. package/dist/api/resources/ats/resources/jobPostings/client/requests/JobPostingsRetrieveRequest.d.ts +4 -0
  682. package/dist/api/resources/ats/resources/jobs/client/Client.js +7 -4
  683. package/dist/api/resources/ats/resources/jobs/client/requests/JobsRetrieveRequest.d.ts +4 -0
  684. package/dist/api/resources/ats/resources/linkToken/client/Client.js +1 -1
  685. package/dist/api/resources/ats/resources/linkedAccounts/client/Client.js +1 -1
  686. package/dist/api/resources/ats/resources/offers/client/Client.js +6 -3
  687. package/dist/api/resources/ats/resources/offers/client/requests/OffersRetrieveRequest.d.ts +4 -0
  688. package/dist/api/resources/ats/resources/offices/client/Client.js +6 -3
  689. package/dist/api/resources/ats/resources/offices/client/requests/OfficesRetrieveRequest.d.ts +4 -0
  690. package/dist/api/resources/ats/resources/passthrough/client/Client.js +1 -1
  691. package/dist/api/resources/ats/resources/regenerateKey/client/Client.js +1 -1
  692. package/dist/api/resources/ats/resources/rejectReasons/client/Client.js +6 -3
  693. package/dist/api/resources/ats/resources/rejectReasons/client/requests/RejectReasonsRetrieveRequest.d.ts +4 -0
  694. package/dist/api/resources/ats/resources/scopes/client/Client.js +3 -3
  695. package/dist/api/resources/ats/resources/scorecards/client/Client.js +6 -3
  696. package/dist/api/resources/ats/resources/scorecards/client/requests/ScorecardsRetrieveRequest.d.ts +4 -0
  697. package/dist/api/resources/ats/resources/syncStatus/client/Client.d.ts +1 -1
  698. package/dist/api/resources/ats/resources/syncStatus/client/Client.js +2 -2
  699. package/dist/api/resources/ats/resources/tags/client/Client.js +1 -1
  700. package/dist/api/resources/ats/resources/users/client/Client.js +6 -3
  701. package/dist/api/resources/ats/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -0
  702. package/dist/api/resources/ats/resources/webhookReceivers/client/Client.js +2 -2
  703. package/dist/api/resources/ats/types/AccountToken.d.ts +1 -0
  704. package/dist/api/resources/ats/types/AuditLogEvent.d.ts +1 -0
  705. package/dist/api/resources/ats/types/AuditLogEventEventType.d.ts +1 -0
  706. package/dist/api/resources/ats/types/EventTypeEnum.d.ts +3 -1
  707. package/dist/api/resources/ats/types/EventTypeEnum.js +1 -0
  708. package/dist/api/resources/ats/types/LastSyncResultEnum.d.ts +20 -0
  709. package/dist/api/resources/ats/types/LastSyncResultEnum.js +14 -0
  710. package/dist/api/resources/ats/types/StatusFd5Enum.d.ts +20 -0
  711. package/dist/api/resources/ats/types/StatusFd5Enum.js +14 -0
  712. package/dist/api/resources/ats/types/SyncStatus.d.ts +3 -1
  713. package/dist/api/resources/ats/types/index.d.ts +2 -1
  714. package/dist/api/resources/ats/types/index.js +2 -1
  715. package/dist/api/resources/crm/resources/accountDetails/client/Client.js +1 -1
  716. package/dist/api/resources/crm/resources/accountToken/client/Client.js +1 -1
  717. package/dist/api/resources/crm/resources/accounts/client/Client.js +11 -8
  718. package/dist/api/resources/crm/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +4 -0
  719. package/dist/api/resources/crm/resources/associationTypes/client/Client.js +8 -5
  720. package/dist/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesRetrieveRequest.d.ts +4 -0
  721. package/dist/api/resources/crm/resources/associations/client/Client.js +2 -2
  722. package/dist/api/resources/crm/resources/asyncPassthrough/client/Client.js +2 -2
  723. package/dist/api/resources/crm/resources/auditTrail/client/Client.js +1 -1
  724. package/dist/api/resources/crm/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
  725. package/dist/api/resources/crm/resources/availableActions/client/Client.js +1 -1
  726. package/dist/api/resources/crm/resources/contacts/client/Client.js +12 -9
  727. package/dist/api/resources/crm/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +4 -0
  728. package/dist/api/resources/crm/resources/customObjectClasses/client/Client.js +6 -3
  729. package/dist/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesRetrieveRequest.d.ts +4 -0
  730. package/dist/api/resources/crm/resources/customObjects/client/Client.js +9 -6
  731. package/dist/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsRetrieveRequest.d.ts +4 -0
  732. package/dist/api/resources/crm/resources/deleteAccount/client/Client.js +1 -1
  733. package/dist/api/resources/crm/resources/engagementTypes/client/Client.js +7 -4
  734. package/dist/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRetrieveRequest.d.ts +4 -0
  735. package/dist/api/resources/crm/resources/engagements/client/Client.js +11 -8
  736. package/dist/api/resources/crm/resources/engagements/client/requests/EngagementsRetrieveRequest.d.ts +4 -0
  737. package/dist/api/resources/crm/resources/fieldMapping/client/Client.js +6 -6
  738. package/dist/api/resources/crm/resources/forceResync/client/Client.d.ts +1 -1
  739. package/dist/api/resources/crm/resources/forceResync/client/Client.js +2 -2
  740. package/dist/api/resources/crm/resources/generateKey/client/Client.js +1 -1
  741. package/dist/api/resources/crm/resources/issues/client/Client.js +2 -2
  742. package/dist/api/resources/crm/resources/leads/client/Client.js +9 -6
  743. package/dist/api/resources/crm/resources/leads/client/requests/LeadsRetrieveRequest.d.ts +4 -0
  744. package/dist/api/resources/crm/resources/linkToken/client/Client.js +1 -1
  745. package/dist/api/resources/crm/resources/linkedAccounts/client/Client.js +1 -1
  746. package/dist/api/resources/crm/resources/notes/client/Client.js +9 -6
  747. package/dist/api/resources/crm/resources/notes/client/requests/NotesRetrieveRequest.d.ts +4 -0
  748. package/dist/api/resources/crm/resources/opportunities/client/Client.js +11 -8
  749. package/dist/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRetrieveRequest.d.ts +4 -0
  750. package/dist/api/resources/crm/resources/passthrough/client/Client.js +1 -1
  751. package/dist/api/resources/crm/resources/regenerateKey/client/Client.js +1 -1
  752. package/dist/api/resources/crm/resources/scopes/client/Client.js +3 -3
  753. package/dist/api/resources/crm/resources/stages/client/Client.js +7 -4
  754. package/dist/api/resources/crm/resources/stages/client/requests/StagesRetrieveRequest.d.ts +4 -0
  755. package/dist/api/resources/crm/resources/syncStatus/client/Client.js +1 -1
  756. package/dist/api/resources/crm/resources/tasks/client/Client.js +11 -8
  757. package/dist/api/resources/crm/resources/tasks/client/requests/TasksRetrieveRequest.d.ts +4 -0
  758. package/dist/api/resources/crm/resources/users/client/Client.js +8 -5
  759. package/dist/api/resources/crm/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -0
  760. package/dist/api/resources/crm/resources/webhookReceivers/client/Client.js +2 -2
  761. package/dist/api/resources/crm/types/AccountToken.d.ts +1 -0
  762. package/dist/api/resources/crm/types/AuditLogEvent.d.ts +1 -0
  763. package/dist/api/resources/crm/types/AuditLogEventEventType.d.ts +1 -0
  764. package/dist/api/resources/crm/types/EventTypeEnum.d.ts +3 -1
  765. package/dist/api/resources/crm/types/EventTypeEnum.js +1 -0
  766. package/dist/api/resources/crm/types/LastSyncResultEnum.d.ts +20 -0
  767. package/dist/api/resources/crm/types/LastSyncResultEnum.js +14 -0
  768. package/dist/api/resources/crm/types/RemoteField.d.ts +1 -1
  769. package/dist/api/resources/crm/types/StatusFd5Enum.d.ts +20 -0
  770. package/dist/api/resources/crm/types/StatusFd5Enum.js +14 -0
  771. package/dist/api/resources/crm/types/SyncStatus.d.ts +3 -1
  772. package/{api/resources/ticketing/types/CollectionTeamsItem.d.ts → dist/api/resources/crm/types/SyncStatusLastSyncResult.d.ts} +1 -1
  773. package/dist/api/resources/crm/types/SyncStatusLastSyncResult.js +5 -0
  774. package/dist/api/resources/crm/types/index.d.ts +3 -1
  775. package/dist/api/resources/crm/types/index.js +3 -1
  776. package/dist/api/resources/filestorage/resources/accountDetails/client/Client.js +1 -1
  777. package/dist/api/resources/filestorage/resources/accountToken/client/Client.js +1 -1
  778. package/dist/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +2 -2
  779. package/dist/api/resources/filestorage/resources/auditTrail/client/Client.js +1 -1
  780. package/dist/api/resources/filestorage/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
  781. package/dist/api/resources/filestorage/resources/availableActions/client/Client.js +1 -1
  782. package/dist/api/resources/filestorage/resources/deleteAccount/client/Client.js +1 -1
  783. package/dist/api/resources/filestorage/resources/drives/client/Client.js +6 -3
  784. package/dist/api/resources/filestorage/resources/drives/client/requests/DrivesRetrieveRequest.d.ts +4 -0
  785. package/dist/api/resources/filestorage/resources/fieldMapping/client/Client.js +6 -6
  786. package/dist/api/resources/filestorage/resources/files/client/Client.d.ts +21 -0
  787. package/dist/api/resources/filestorage/resources/files/client/Client.js +143 -7
  788. package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaListRequest.d.ts +25 -0
  789. package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaListRequest.js +5 -0
  790. package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaRetrieveRequest.d.ts +13 -0
  791. package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaRetrieveRequest.js +5 -0
  792. package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRetrieveRequest.d.ts +5 -0
  793. package/dist/api/resources/filestorage/resources/files/client/requests/FilesRetrieveRequest.d.ts +4 -0
  794. package/dist/api/resources/filestorage/resources/files/client/requests/index.d.ts +2 -0
  795. package/dist/api/resources/filestorage/resources/folders/client/Client.js +8 -5
  796. package/dist/api/resources/filestorage/resources/folders/client/requests/FoldersRetrieveRequest.d.ts +4 -0
  797. package/dist/api/resources/filestorage/resources/forceResync/client/Client.d.ts +1 -1
  798. package/dist/api/resources/filestorage/resources/forceResync/client/Client.js +2 -2
  799. package/dist/api/resources/filestorage/resources/generateKey/client/Client.js +1 -1
  800. package/dist/api/resources/filestorage/resources/groups/client/Client.js +6 -3
  801. package/dist/api/resources/filestorage/resources/groups/client/requests/GroupsRetrieveRequest.d.ts +4 -0
  802. package/dist/api/resources/filestorage/resources/issues/client/Client.js +2 -2
  803. package/dist/api/resources/filestorage/resources/linkToken/client/Client.js +1 -1
  804. package/dist/api/resources/filestorage/resources/linkedAccounts/client/Client.js +1 -1
  805. package/dist/api/resources/filestorage/resources/passthrough/client/Client.js +1 -1
  806. package/dist/api/resources/filestorage/resources/regenerateKey/client/Client.js +1 -1
  807. package/dist/api/resources/filestorage/resources/scopes/client/Client.js +3 -3
  808. package/dist/api/resources/filestorage/resources/syncStatus/client/Client.js +1 -1
  809. package/dist/api/resources/filestorage/resources/users/client/Client.js +6 -3
  810. package/dist/api/resources/filestorage/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -0
  811. package/dist/api/resources/filestorage/resources/webhookReceivers/client/Client.js +2 -2
  812. package/dist/api/resources/filestorage/types/AccountToken.d.ts +1 -0
  813. package/dist/api/resources/filestorage/types/AuditLogEvent.d.ts +1 -0
  814. package/dist/api/resources/filestorage/types/AuditLogEventEventType.d.ts +1 -0
  815. package/dist/api/resources/filestorage/types/DownloadRequestMeta.d.ts +10 -0
  816. package/dist/api/resources/filestorage/types/DownloadRequestMeta.js +5 -0
  817. package/dist/api/resources/filestorage/types/EventTypeEnum.d.ts +3 -1
  818. package/dist/api/resources/filestorage/types/EventTypeEnum.js +1 -0
  819. package/dist/api/resources/filestorage/types/LastSyncResultEnum.d.ts +20 -0
  820. package/dist/api/resources/filestorage/types/LastSyncResultEnum.js +14 -0
  821. package/dist/api/resources/filestorage/types/PaginatedDownloadRequestMetaList.d.ts +9 -0
  822. package/dist/api/resources/filestorage/types/PaginatedDownloadRequestMetaList.js +5 -0
  823. package/dist/api/resources/filestorage/types/StatusFd5Enum.d.ts +20 -0
  824. package/dist/api/resources/filestorage/types/StatusFd5Enum.js +14 -0
  825. package/dist/api/resources/filestorage/types/SyncStatus.d.ts +3 -1
  826. package/dist/api/resources/filestorage/types/SyncStatusLastSyncResult.d.ts +5 -0
  827. package/dist/api/resources/filestorage/types/SyncStatusLastSyncResult.js +5 -0
  828. package/dist/api/resources/filestorage/types/index.d.ts +5 -1
  829. package/dist/api/resources/filestorage/types/index.js +5 -1
  830. package/dist/api/resources/hris/resources/accountDetails/client/Client.js +1 -1
  831. package/dist/api/resources/hris/resources/accountToken/client/Client.js +1 -1
  832. package/dist/api/resources/hris/resources/asyncPassthrough/client/Client.js +2 -2
  833. package/dist/api/resources/hris/resources/auditTrail/client/Client.js +1 -1
  834. package/dist/api/resources/hris/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
  835. package/dist/api/resources/hris/resources/availableActions/client/Client.js +1 -1
  836. package/dist/api/resources/hris/resources/bankInfo/client/Client.js +6 -3
  837. package/dist/api/resources/hris/resources/bankInfo/client/requests/BankInfoRetrieveRequest.d.ts +4 -0
  838. package/dist/api/resources/hris/resources/benefits/client/Client.js +6 -3
  839. package/dist/api/resources/hris/resources/benefits/client/requests/BenefitsRetrieveRequest.d.ts +4 -0
  840. package/dist/api/resources/hris/resources/companies/client/Client.js +6 -3
  841. package/dist/api/resources/hris/resources/companies/client/requests/CompaniesRetrieveRequest.d.ts +4 -0
  842. package/dist/api/resources/hris/resources/deleteAccount/client/Client.js +1 -1
  843. package/dist/api/resources/hris/resources/dependents/client/Client.js +6 -3
  844. package/dist/api/resources/hris/resources/dependents/client/requests/DependentsRetrieveRequest.d.ts +4 -0
  845. package/dist/api/resources/hris/resources/employeePayrollRuns/client/Client.js +6 -3
  846. package/dist/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsRetrieveRequest.d.ts +4 -0
  847. package/dist/api/resources/hris/resources/employees/client/Client.js +9 -6
  848. package/dist/api/resources/hris/resources/employees/client/requests/EmployeesRetrieveRequest.d.ts +4 -0
  849. package/dist/api/resources/hris/resources/employerBenefits/client/Client.js +6 -3
  850. package/dist/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsRetrieveRequest.d.ts +4 -0
  851. package/dist/api/resources/hris/resources/employments/client/Client.js +6 -3
  852. package/dist/api/resources/hris/resources/employments/client/requests/EmploymentsRetrieveRequest.d.ts +4 -0
  853. package/dist/api/resources/hris/resources/fieldMapping/client/Client.js +6 -6
  854. package/dist/api/resources/hris/resources/forceResync/client/Client.d.ts +1 -1
  855. package/dist/api/resources/hris/resources/forceResync/client/Client.js +2 -2
  856. package/dist/api/resources/hris/resources/generateKey/client/Client.js +1 -1
  857. package/dist/api/resources/hris/resources/groups/client/Client.js +6 -3
  858. package/dist/api/resources/hris/resources/groups/client/requests/GroupsRetrieveRequest.d.ts +4 -0
  859. package/dist/api/resources/hris/resources/issues/client/Client.js +2 -2
  860. package/dist/api/resources/hris/resources/linkToken/client/Client.js +1 -1
  861. package/dist/api/resources/hris/resources/linkedAccounts/client/Client.js +1 -1
  862. package/dist/api/resources/hris/resources/locations/client/Client.js +6 -3
  863. package/dist/api/resources/hris/resources/locations/client/requests/LocationsRetrieveRequest.d.ts +4 -0
  864. package/dist/api/resources/hris/resources/passthrough/client/Client.js +1 -1
  865. package/dist/api/resources/hris/resources/payGroups/client/Client.js +6 -3
  866. package/dist/api/resources/hris/resources/payGroups/client/requests/PayGroupsRetrieveRequest.d.ts +4 -0
  867. package/dist/api/resources/hris/resources/payrollRuns/client/Client.js +6 -3
  868. package/dist/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsRetrieveRequest.d.ts +4 -0
  869. package/dist/api/resources/hris/resources/regenerateKey/client/Client.js +1 -1
  870. package/dist/api/resources/hris/resources/scopes/client/Client.js +3 -3
  871. package/dist/api/resources/hris/resources/syncStatus/client/Client.d.ts +1 -1
  872. package/dist/api/resources/hris/resources/syncStatus/client/Client.js +2 -2
  873. package/dist/api/resources/hris/resources/teams/client/Client.js +6 -3
  874. package/dist/api/resources/hris/resources/teams/client/requests/TeamsRetrieveRequest.d.ts +4 -0
  875. package/dist/api/resources/hris/resources/timeOff/client/Client.js +8 -5
  876. package/dist/api/resources/hris/resources/timeOff/client/requests/TimeOffRetrieveRequest.d.ts +4 -0
  877. package/dist/api/resources/hris/resources/timeOffBalances/client/Client.js +6 -3
  878. package/dist/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesRetrieveRequest.d.ts +4 -0
  879. package/dist/api/resources/hris/resources/timesheetEntries/client/Client.js +8 -5
  880. package/dist/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesRetrieveRequest.d.ts +4 -0
  881. package/dist/api/resources/hris/resources/webhookReceivers/client/Client.js +2 -2
  882. package/dist/api/resources/hris/types/AccountToken.d.ts +1 -0
  883. package/dist/api/resources/hris/types/AuditLogEvent.d.ts +1 -0
  884. package/dist/api/resources/hris/types/AuditLogEventEventType.d.ts +1 -0
  885. package/dist/api/resources/hris/types/EventTypeEnum.d.ts +3 -1
  886. package/dist/api/resources/hris/types/EventTypeEnum.js +1 -0
  887. package/dist/api/resources/hris/types/Group.d.ts +2 -2
  888. package/dist/api/resources/hris/types/LastSyncResultEnum.d.ts +20 -0
  889. package/dist/api/resources/hris/types/LastSyncResultEnum.js +14 -0
  890. package/dist/api/resources/hris/types/StatusFd5Enum.d.ts +20 -0
  891. package/dist/api/resources/hris/types/StatusFd5Enum.js +14 -0
  892. package/dist/api/resources/hris/types/SyncStatus.d.ts +3 -1
  893. package/dist/api/resources/hris/types/SyncStatusLastSyncResult.d.ts +5 -0
  894. package/dist/api/resources/hris/types/SyncStatusLastSyncResult.js +5 -0
  895. package/dist/api/resources/hris/types/index.d.ts +3 -1
  896. package/dist/api/resources/hris/types/index.js +3 -1
  897. package/dist/api/resources/ticketing/resources/accountDetails/client/Client.js +1 -1
  898. package/dist/api/resources/ticketing/resources/accountToken/client/Client.js +1 -1
  899. package/dist/api/resources/ticketing/resources/accounts/client/Client.js +6 -3
  900. package/dist/api/resources/ticketing/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +4 -0
  901. package/dist/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +2 -2
  902. package/dist/api/resources/ticketing/resources/attachments/client/Client.js +13 -7
  903. package/dist/api/resources/ticketing/resources/attachments/client/requests/AttachmentsDownloadRetrieveRequest.d.ts +5 -0
  904. package/dist/api/resources/ticketing/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +4 -0
  905. package/dist/api/resources/ticketing/resources/auditTrail/client/Client.js +1 -1
  906. package/dist/api/resources/ticketing/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +1 -1
  907. package/dist/api/resources/ticketing/resources/availableActions/client/Client.js +1 -1
  908. package/dist/api/resources/ticketing/resources/collections/client/Client.d.ts +11 -0
  909. package/dist/api/resources/ticketing/resources/collections/client/Client.js +82 -3
  910. package/dist/api/resources/ticketing/resources/collections/client/requests/CollectionsListRequest.d.ts +1 -2
  911. package/dist/api/resources/ticketing/resources/collections/client/requests/CollectionsRetrieveRequest.d.ts +5 -2
  912. package/dist/api/resources/ticketing/resources/collections/client/requests/CollectionsViewersListRequest.d.ts +34 -0
  913. package/dist/api/resources/ticketing/resources/collections/client/requests/CollectionsViewersListRequest.js +5 -0
  914. package/dist/api/resources/ticketing/resources/collections/client/requests/index.d.ts +1 -0
  915. package/dist/api/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpand.d.ts +9 -0
  916. package/dist/api/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpand.js +11 -0
  917. package/dist/api/resources/ticketing/resources/collections/types/index.d.ts +1 -2
  918. package/dist/api/resources/ticketing/resources/collections/types/index.js +1 -2
  919. package/dist/api/resources/ticketing/resources/comments/client/Client.js +8 -5
  920. package/dist/api/resources/ticketing/resources/comments/client/requests/CommentsRetrieveRequest.d.ts +4 -0
  921. package/dist/api/resources/ticketing/resources/contacts/client/Client.js +8 -5
  922. package/dist/api/resources/ticketing/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +4 -0
  923. package/dist/api/resources/ticketing/resources/deleteAccount/client/Client.js +1 -1
  924. package/dist/api/resources/ticketing/resources/fieldMapping/client/Client.js +6 -6
  925. package/dist/api/resources/ticketing/resources/forceResync/client/Client.d.ts +1 -1
  926. package/dist/api/resources/ticketing/resources/forceResync/client/Client.js +2 -2
  927. package/dist/api/resources/ticketing/resources/generateKey/client/Client.js +1 -1
  928. package/dist/api/resources/ticketing/resources/issues/client/Client.js +2 -2
  929. package/dist/api/resources/ticketing/resources/linkToken/client/Client.js +1 -1
  930. package/dist/api/resources/ticketing/resources/linkedAccounts/client/Client.js +1 -1
  931. package/dist/api/resources/ticketing/resources/passthrough/client/Client.js +1 -1
  932. package/dist/api/resources/ticketing/resources/projects/client/Client.js +7 -4
  933. package/dist/api/resources/ticketing/resources/projects/client/requests/ProjectsRetrieveRequest.d.ts +4 -0
  934. package/dist/api/resources/ticketing/resources/regenerateKey/client/Client.js +1 -1
  935. package/dist/api/resources/ticketing/resources/roles/client/Client.js +6 -3
  936. package/dist/api/resources/ticketing/resources/roles/client/requests/RolesRetrieveRequest.d.ts +4 -0
  937. package/dist/api/resources/ticketing/resources/scopes/client/Client.js +3 -3
  938. package/dist/api/resources/ticketing/resources/syncStatus/client/Client.d.ts +1 -1
  939. package/dist/api/resources/ticketing/resources/syncStatus/client/Client.js +2 -2
  940. package/dist/api/resources/ticketing/resources/tags/client/Client.js +6 -3
  941. package/dist/api/resources/ticketing/resources/tags/client/requests/TagsRetrieveRequest.d.ts +4 -0
  942. package/dist/api/resources/ticketing/resources/teams/client/Client.js +6 -3
  943. package/dist/api/resources/ticketing/resources/teams/client/requests/TeamsRetrieveRequest.d.ts +4 -0
  944. package/dist/api/resources/ticketing/resources/tickets/client/Client.d.ts +1 -1
  945. package/dist/api/resources/ticketing/resources/tickets/client/Client.js +13 -10
  946. package/dist/api/resources/ticketing/resources/tickets/client/requests/TicketsRetrieveRequest.d.ts +4 -0
  947. package/dist/api/resources/ticketing/resources/users/client/Client.js +10 -4
  948. package/dist/api/resources/ticketing/resources/users/client/requests/UsersListRequest.d.ts +4 -0
  949. package/dist/api/resources/ticketing/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -0
  950. package/dist/api/resources/ticketing/resources/webhookReceivers/client/Client.js +2 -2
  951. package/dist/api/resources/ticketing/types/AccountToken.d.ts +1 -0
  952. package/dist/api/resources/ticketing/types/AuditLogEvent.d.ts +1 -0
  953. package/dist/api/resources/ticketing/types/AuditLogEventEventType.d.ts +1 -0
  954. package/dist/api/resources/ticketing/types/Collection.d.ts +0 -1
  955. package/dist/api/resources/ticketing/types/EventTypeEnum.d.ts +3 -1
  956. package/dist/api/resources/ticketing/types/EventTypeEnum.js +1 -0
  957. package/dist/api/resources/ticketing/types/LastSyncResultEnum.d.ts +20 -0
  958. package/dist/api/resources/ticketing/types/LastSyncResultEnum.js +14 -0
  959. package/dist/api/resources/ticketing/types/PatchedTicketRequest.d.ts +2 -2
  960. package/dist/api/resources/ticketing/types/RemoteField.d.ts +1 -1
  961. package/dist/api/resources/ticketing/types/RemoteFieldRequest.d.ts +1 -1
  962. package/dist/api/resources/ticketing/types/StatusFd5Enum.d.ts +20 -0
  963. package/dist/api/resources/ticketing/types/StatusFd5Enum.js +14 -0
  964. package/dist/api/resources/ticketing/types/SyncStatus.d.ts +3 -1
  965. package/dist/api/resources/ticketing/types/Ticket.d.ts +2 -2
  966. package/dist/api/resources/ticketing/types/TicketRequest.d.ts +2 -2
  967. package/dist/api/resources/ticketing/types/index.d.ts +2 -2
  968. package/dist/api/resources/ticketing/types/index.js +2 -2
  969. package/dist/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.d.ts +1 -1
  970. package/dist/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.js +2048 -0
  971. package/dist/serialization/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.d.ts +1 -1
  972. package/dist/serialization/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.js +2048 -0
  973. package/dist/serialization/resources/accounting/resources/payments/types/PaymentsListRequestExpand.d.ts +1 -1
  974. package/dist/serialization/resources/accounting/resources/payments/types/PaymentsListRequestExpand.js +64 -0
  975. package/dist/serialization/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.d.ts +1 -1
  976. package/dist/serialization/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.js +64 -0
  977. package/dist/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.d.ts +1 -1
  978. package/dist/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.js +64 -0
  979. package/dist/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.d.ts +1 -1
  980. package/dist/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.js +64 -0
  981. package/dist/serialization/resources/accounting/types/AccountToken.d.ts +1 -0
  982. package/dist/serialization/resources/accounting/types/AccountToken.js +1 -0
  983. package/dist/serialization/resources/accounting/types/EventTypeEnum.d.ts +1 -1
  984. package/dist/serialization/resources/accounting/types/EventTypeEnum.js +1 -0
  985. package/dist/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.d.ts +2 -0
  986. package/dist/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.js +2 -0
  987. package/dist/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.d.ts +2 -0
  988. package/dist/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.js +2 -0
  989. package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLine.d.ts +2 -2
  990. package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLine.js +2 -2
  991. package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLineTrackingCategoriesItem.d.ts +11 -0
  992. package/dist/serialization/resources/accounting/types/GeneralLedgerTransactionLineTrackingCategoriesItem.js +32 -0
  993. package/dist/serialization/resources/accounting/types/Invoice.d.ts +2 -0
  994. package/dist/serialization/resources/accounting/types/Invoice.js +2 -0
  995. package/dist/serialization/resources/accounting/types/InvoicePaymentTerm.d.ts +11 -0
  996. package/dist/serialization/resources/accounting/types/InvoicePaymentTerm.js +32 -0
  997. package/dist/serialization/resources/accounting/types/InvoiceRequest.d.ts +2 -0
  998. package/dist/serialization/resources/accounting/types/InvoiceRequest.js +2 -0
  999. package/dist/serialization/resources/accounting/types/InvoiceRequestPaymentTerm.d.ts +11 -0
  1000. package/dist/serialization/resources/accounting/types/InvoiceRequestPaymentTerm.js +32 -0
  1001. package/dist/serialization/resources/accounting/types/LastSyncResultEnum.d.ts +10 -0
  1002. package/dist/serialization/resources/accounting/types/{SyncStatusStatusEnum.js → LastSyncResultEnum.js} +2 -2
  1003. package/dist/serialization/resources/accounting/types/MethodTypeEnum.d.ts +10 -0
  1004. package/dist/serialization/resources/{ats/types/SyncStatusStatusEnum.js → accounting/types/MethodTypeEnum.js} +2 -2
  1005. package/dist/serialization/resources/accounting/types/PaginatedPaymentMethodList.d.ts +15 -0
  1006. package/dist/serialization/resources/accounting/types/PaginatedPaymentMethodList.js +36 -0
  1007. package/dist/serialization/resources/accounting/types/PaginatedPaymentTermList.d.ts +15 -0
  1008. package/dist/serialization/resources/accounting/types/PaginatedPaymentTermList.js +36 -0
  1009. package/dist/serialization/resources/accounting/types/PatchedPaymentRequest.d.ts +2 -0
  1010. package/dist/serialization/resources/accounting/types/PatchedPaymentRequest.js +2 -0
  1011. package/dist/serialization/resources/accounting/types/PatchedPaymentRequestPaymentMethod.d.ts +11 -0
  1012. package/dist/serialization/resources/accounting/types/PatchedPaymentRequestPaymentMethod.js +32 -0
  1013. package/dist/serialization/resources/accounting/types/Payment.d.ts +2 -0
  1014. package/dist/serialization/resources/accounting/types/Payment.js +2 -0
  1015. package/dist/serialization/resources/accounting/types/PaymentMethod.d.ts +23 -0
  1016. package/dist/serialization/resources/accounting/types/PaymentMethod.js +44 -0
  1017. package/dist/serialization/resources/accounting/types/PaymentMethodMethodType.d.ts +11 -0
  1018. package/dist/serialization/resources/accounting/types/PaymentMethodMethodType.js +32 -0
  1019. package/dist/serialization/resources/accounting/types/PaymentPaymentMethod.d.ts +11 -0
  1020. package/dist/serialization/resources/accounting/types/PaymentPaymentMethod.js +32 -0
  1021. package/dist/serialization/resources/accounting/types/PaymentRequest.d.ts +2 -0
  1022. package/dist/serialization/resources/accounting/types/PaymentRequest.js +2 -0
  1023. package/dist/serialization/resources/accounting/types/PaymentRequestPaymentMethod.d.ts +11 -0
  1024. package/dist/serialization/resources/accounting/types/PaymentRequestPaymentMethod.js +32 -0
  1025. package/dist/serialization/resources/accounting/types/PaymentTerm.d.ts +25 -0
  1026. package/dist/serialization/resources/accounting/types/PaymentTerm.js +46 -0
  1027. package/dist/serialization/resources/accounting/types/PaymentTermCompany.d.ts +11 -0
  1028. package/dist/serialization/resources/accounting/types/PaymentTermCompany.js +32 -0
  1029. package/dist/serialization/resources/accounting/types/PurchaseOrder.d.ts +2 -0
  1030. package/dist/serialization/resources/accounting/types/PurchaseOrder.js +2 -0
  1031. package/dist/serialization/resources/accounting/types/PurchaseOrderPaymentTerm.d.ts +11 -0
  1032. package/dist/serialization/resources/accounting/types/PurchaseOrderPaymentTerm.js +32 -0
  1033. package/dist/serialization/resources/accounting/types/PurchaseOrderRequest.d.ts +2 -0
  1034. package/dist/serialization/resources/accounting/types/PurchaseOrderRequest.js +2 -0
  1035. package/dist/serialization/resources/accounting/types/PurchaseOrderRequestPaymentTerm.d.ts +11 -0
  1036. package/dist/serialization/resources/accounting/types/PurchaseOrderRequestPaymentTerm.js +32 -0
  1037. package/dist/serialization/resources/accounting/types/RemoteField.d.ts +1 -1
  1038. package/dist/serialization/resources/accounting/types/RemoteField.js +1 -1
  1039. package/dist/serialization/resources/accounting/types/RemoteFieldApiResponse.d.ts +2 -0
  1040. package/dist/serialization/resources/accounting/types/RemoteFieldApiResponse.js +2 -0
  1041. package/{serialization/resources/ats/types/SyncStatusStatusEnum.d.ts → dist/serialization/resources/accounting/types/StatusFd5Enum.d.ts} +2 -2
  1042. package/dist/serialization/resources/{crm/types/SyncStatusStatusEnum.js → accounting/types/StatusFd5Enum.js} +2 -2
  1043. package/dist/serialization/resources/accounting/types/SyncStatus.d.ts +5 -2
  1044. package/dist/serialization/resources/accounting/types/SyncStatus.js +5 -2
  1045. package/dist/serialization/resources/accounting/types/index.d.ts +17 -1
  1046. package/dist/serialization/resources/accounting/types/index.js +17 -1
  1047. package/dist/serialization/resources/ats/types/AccountToken.d.ts +1 -0
  1048. package/dist/serialization/resources/ats/types/AccountToken.js +1 -0
  1049. package/dist/serialization/resources/ats/types/EventTypeEnum.d.ts +1 -1
  1050. package/dist/serialization/resources/ats/types/EventTypeEnum.js +1 -0
  1051. package/dist/serialization/resources/ats/types/{SyncStatusStatusEnum.d.ts → LastSyncResultEnum.d.ts} +2 -2
  1052. package/dist/serialization/resources/{filestorage/types/SyncStatusStatusEnum.js → ats/types/LastSyncResultEnum.js} +2 -2
  1053. package/dist/serialization/resources/{crm/types/SyncStatusStatusEnum.d.ts → ats/types/StatusFd5Enum.d.ts} +2 -2
  1054. package/dist/serialization/resources/ats/types/StatusFd5Enum.js +31 -0
  1055. package/dist/serialization/resources/ats/types/SyncStatus.d.ts +5 -2
  1056. package/dist/serialization/resources/ats/types/SyncStatus.js +5 -2
  1057. package/dist/serialization/resources/ats/types/index.d.ts +2 -1
  1058. package/dist/serialization/resources/ats/types/index.js +2 -1
  1059. package/dist/serialization/resources/crm/types/AccountToken.d.ts +1 -0
  1060. package/dist/serialization/resources/crm/types/AccountToken.js +1 -0
  1061. package/dist/serialization/resources/crm/types/EventTypeEnum.d.ts +1 -1
  1062. package/dist/serialization/resources/crm/types/EventTypeEnum.js +1 -0
  1063. package/{serialization/resources/crm/types/SyncStatusStatusEnum.d.ts → dist/serialization/resources/crm/types/LastSyncResultEnum.d.ts} +2 -2
  1064. package/dist/serialization/resources/crm/types/LastSyncResultEnum.js +31 -0
  1065. package/dist/serialization/resources/crm/types/RemoteField.d.ts +1 -1
  1066. package/dist/serialization/resources/crm/types/RemoteField.js +1 -1
  1067. package/dist/serialization/resources/crm/types/StatusFd5Enum.d.ts +10 -0
  1068. package/dist/serialization/resources/crm/types/StatusFd5Enum.js +31 -0
  1069. package/dist/serialization/resources/crm/types/SyncStatus.d.ts +5 -2
  1070. package/dist/serialization/resources/crm/types/SyncStatus.js +5 -2
  1071. package/dist/serialization/resources/crm/types/SyncStatusLastSyncResult.d.ts +11 -0
  1072. package/dist/serialization/resources/crm/types/SyncStatusLastSyncResult.js +32 -0
  1073. package/dist/serialization/resources/crm/types/index.d.ts +3 -1
  1074. package/dist/serialization/resources/crm/types/index.js +3 -1
  1075. package/dist/serialization/resources/filestorage/types/AccountToken.d.ts +1 -0
  1076. package/dist/serialization/resources/filestorage/types/AccountToken.js +1 -0
  1077. package/dist/serialization/resources/filestorage/types/DownloadRequestMeta.d.ts +16 -0
  1078. package/dist/serialization/resources/filestorage/types/DownloadRequestMeta.js +37 -0
  1079. package/dist/serialization/resources/filestorage/types/EventTypeEnum.d.ts +1 -1
  1080. package/dist/serialization/resources/filestorage/types/EventTypeEnum.js +1 -0
  1081. package/dist/serialization/resources/filestorage/types/LastSyncResultEnum.d.ts +10 -0
  1082. package/dist/serialization/resources/filestorage/types/LastSyncResultEnum.js +31 -0
  1083. package/dist/serialization/resources/filestorage/types/PaginatedDownloadRequestMetaList.d.ts +15 -0
  1084. package/dist/serialization/resources/filestorage/types/PaginatedDownloadRequestMetaList.js +36 -0
  1085. package/dist/serialization/resources/filestorage/types/StatusFd5Enum.d.ts +10 -0
  1086. package/dist/serialization/resources/filestorage/types/StatusFd5Enum.js +31 -0
  1087. package/dist/serialization/resources/filestorage/types/SyncStatus.d.ts +5 -2
  1088. package/dist/serialization/resources/filestorage/types/SyncStatus.js +5 -2
  1089. package/dist/serialization/resources/filestorage/types/SyncStatusLastSyncResult.d.ts +11 -0
  1090. package/dist/serialization/resources/filestorage/types/SyncStatusLastSyncResult.js +32 -0
  1091. package/dist/serialization/resources/filestorage/types/index.d.ts +5 -1
  1092. package/dist/serialization/resources/filestorage/types/index.js +5 -1
  1093. package/dist/serialization/resources/hris/types/AccountToken.d.ts +1 -0
  1094. package/dist/serialization/resources/hris/types/AccountToken.js +1 -0
  1095. package/dist/serialization/resources/hris/types/EventTypeEnum.d.ts +1 -1
  1096. package/dist/serialization/resources/hris/types/EventTypeEnum.js +1 -0
  1097. package/dist/serialization/resources/hris/types/Group.d.ts +1 -1
  1098. package/dist/serialization/resources/hris/types/Group.js +1 -1
  1099. package/dist/serialization/resources/hris/types/LastSyncResultEnum.d.ts +10 -0
  1100. package/dist/serialization/resources/hris/types/LastSyncResultEnum.js +31 -0
  1101. package/dist/serialization/resources/hris/types/StatusFd5Enum.d.ts +10 -0
  1102. package/dist/serialization/resources/hris/types/StatusFd5Enum.js +31 -0
  1103. package/dist/serialization/resources/hris/types/SyncStatus.d.ts +5 -2
  1104. package/dist/serialization/resources/hris/types/SyncStatus.js +5 -2
  1105. package/dist/serialization/resources/hris/types/SyncStatusLastSyncResult.d.ts +11 -0
  1106. package/dist/serialization/resources/hris/types/SyncStatusLastSyncResult.js +32 -0
  1107. package/dist/serialization/resources/hris/types/index.d.ts +3 -1
  1108. package/dist/serialization/resources/hris/types/index.js +3 -1
  1109. package/dist/serialization/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpand.d.ts +10 -0
  1110. package/dist/serialization/resources/ticketing/resources/collections/types/{CollectionsListRequestExpand.js → CollectionsViewersListRequestExpand.js} +2 -2
  1111. package/dist/serialization/resources/ticketing/resources/collections/types/index.d.ts +1 -2
  1112. package/dist/serialization/resources/ticketing/resources/collections/types/index.js +1 -2
  1113. package/dist/serialization/resources/ticketing/types/AccountToken.d.ts +1 -0
  1114. package/dist/serialization/resources/ticketing/types/AccountToken.js +1 -0
  1115. package/dist/serialization/resources/ticketing/types/Collection.d.ts +0 -2
  1116. package/dist/serialization/resources/ticketing/types/Collection.js +0 -2
  1117. package/dist/serialization/resources/ticketing/types/EventTypeEnum.d.ts +1 -1
  1118. package/dist/serialization/resources/ticketing/types/EventTypeEnum.js +1 -0
  1119. package/dist/serialization/resources/{hris/types/SyncStatusStatusEnum.d.ts → ticketing/types/LastSyncResultEnum.d.ts} +2 -2
  1120. package/dist/serialization/resources/ticketing/types/LastSyncResultEnum.js +31 -0
  1121. package/dist/serialization/resources/ticketing/types/RemoteField.d.ts +1 -1
  1122. package/dist/serialization/resources/ticketing/types/RemoteField.js +1 -1
  1123. package/dist/serialization/resources/ticketing/types/RemoteFieldRequest.d.ts +1 -1
  1124. package/dist/serialization/resources/ticketing/types/RemoteFieldRequest.js +1 -1
  1125. package/dist/serialization/resources/ticketing/types/StatusFd5Enum.d.ts +10 -0
  1126. package/dist/serialization/resources/ticketing/types/StatusFd5Enum.js +31 -0
  1127. package/dist/serialization/resources/ticketing/types/SyncStatus.d.ts +5 -2
  1128. package/dist/serialization/resources/ticketing/types/SyncStatus.js +5 -2
  1129. package/dist/serialization/resources/ticketing/types/index.d.ts +2 -2
  1130. package/dist/serialization/resources/ticketing/types/index.js +2 -2
  1131. package/dist/version.d.ts +1 -1
  1132. package/dist/version.js +1 -1
  1133. package/package.json +1 -1
  1134. package/reference.md +490 -11
  1135. package/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.d.ts +1 -1
  1136. package/serialization/resources/accounting/resources/invoices/types/InvoicesListRequestExpand.js +2048 -0
  1137. package/serialization/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.d.ts +1 -1
  1138. package/serialization/resources/accounting/resources/invoices/types/InvoicesRetrieveRequestExpand.js +2048 -0
  1139. package/serialization/resources/accounting/resources/payments/types/PaymentsListRequestExpand.d.ts +1 -1
  1140. package/serialization/resources/accounting/resources/payments/types/PaymentsListRequestExpand.js +64 -0
  1141. package/serialization/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.d.ts +1 -1
  1142. package/serialization/resources/accounting/resources/payments/types/PaymentsRetrieveRequestExpand.js +64 -0
  1143. package/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.d.ts +1 -1
  1144. package/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersListRequestExpand.js +64 -0
  1145. package/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.d.ts +1 -1
  1146. package/serialization/resources/accounting/resources/purchaseOrders/types/PurchaseOrdersRetrieveRequestExpand.js +64 -0
  1147. package/serialization/resources/accounting/types/AccountToken.d.ts +1 -0
  1148. package/serialization/resources/accounting/types/AccountToken.js +1 -0
  1149. package/serialization/resources/accounting/types/EventTypeEnum.d.ts +1 -1
  1150. package/serialization/resources/accounting/types/EventTypeEnum.js +1 -0
  1151. package/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.d.ts +2 -0
  1152. package/serialization/resources/accounting/types/ExternalTargetFieldApiResponse.js +2 -0
  1153. package/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.d.ts +2 -0
  1154. package/serialization/resources/accounting/types/FieldMappingApiInstanceResponse.js +2 -0
  1155. package/serialization/resources/accounting/types/GeneralLedgerTransactionLine.d.ts +2 -2
  1156. package/serialization/resources/accounting/types/GeneralLedgerTransactionLine.js +2 -2
  1157. package/serialization/resources/accounting/types/GeneralLedgerTransactionLineTrackingCategoriesItem.d.ts +11 -0
  1158. package/serialization/resources/accounting/types/GeneralLedgerTransactionLineTrackingCategoriesItem.js +32 -0
  1159. package/serialization/resources/accounting/types/Invoice.d.ts +2 -0
  1160. package/serialization/resources/accounting/types/Invoice.js +2 -0
  1161. package/serialization/resources/accounting/types/InvoicePaymentTerm.d.ts +11 -0
  1162. package/serialization/resources/accounting/types/InvoicePaymentTerm.js +32 -0
  1163. package/serialization/resources/accounting/types/InvoiceRequest.d.ts +2 -0
  1164. package/serialization/resources/accounting/types/InvoiceRequest.js +2 -0
  1165. package/serialization/resources/accounting/types/InvoiceRequestPaymentTerm.d.ts +11 -0
  1166. package/serialization/resources/accounting/types/InvoiceRequestPaymentTerm.js +32 -0
  1167. package/serialization/resources/accounting/types/LastSyncResultEnum.d.ts +10 -0
  1168. package/serialization/resources/accounting/types/LastSyncResultEnum.js +31 -0
  1169. package/serialization/resources/accounting/types/MethodTypeEnum.d.ts +10 -0
  1170. package/serialization/resources/accounting/types/MethodTypeEnum.js +31 -0
  1171. package/serialization/resources/accounting/types/PaginatedPaymentMethodList.d.ts +15 -0
  1172. package/serialization/resources/accounting/types/PaginatedPaymentMethodList.js +36 -0
  1173. package/serialization/resources/accounting/types/PaginatedPaymentTermList.d.ts +15 -0
  1174. package/serialization/resources/accounting/types/PaginatedPaymentTermList.js +36 -0
  1175. package/serialization/resources/accounting/types/PatchedPaymentRequest.d.ts +2 -0
  1176. package/serialization/resources/accounting/types/PatchedPaymentRequest.js +2 -0
  1177. package/serialization/resources/accounting/types/PatchedPaymentRequestPaymentMethod.d.ts +11 -0
  1178. package/serialization/resources/accounting/types/PatchedPaymentRequestPaymentMethod.js +32 -0
  1179. package/serialization/resources/accounting/types/Payment.d.ts +2 -0
  1180. package/serialization/resources/accounting/types/Payment.js +2 -0
  1181. package/serialization/resources/accounting/types/PaymentMethod.d.ts +23 -0
  1182. package/serialization/resources/accounting/types/PaymentMethod.js +44 -0
  1183. package/serialization/resources/accounting/types/PaymentMethodMethodType.d.ts +11 -0
  1184. package/serialization/resources/accounting/types/PaymentMethodMethodType.js +32 -0
  1185. package/serialization/resources/accounting/types/PaymentPaymentMethod.d.ts +11 -0
  1186. package/serialization/resources/accounting/types/PaymentPaymentMethod.js +32 -0
  1187. package/serialization/resources/accounting/types/PaymentRequest.d.ts +2 -0
  1188. package/serialization/resources/accounting/types/PaymentRequest.js +2 -0
  1189. package/serialization/resources/accounting/types/PaymentRequestPaymentMethod.d.ts +11 -0
  1190. package/serialization/resources/accounting/types/PaymentRequestPaymentMethod.js +32 -0
  1191. package/serialization/resources/accounting/types/PaymentTerm.d.ts +25 -0
  1192. package/serialization/resources/accounting/types/PaymentTerm.js +46 -0
  1193. package/serialization/resources/accounting/types/PaymentTermCompany.d.ts +11 -0
  1194. package/serialization/resources/accounting/types/PaymentTermCompany.js +32 -0
  1195. package/serialization/resources/accounting/types/PurchaseOrder.d.ts +2 -0
  1196. package/serialization/resources/accounting/types/PurchaseOrder.js +2 -0
  1197. package/serialization/resources/accounting/types/PurchaseOrderPaymentTerm.d.ts +11 -0
  1198. package/serialization/resources/accounting/types/PurchaseOrderPaymentTerm.js +32 -0
  1199. package/serialization/resources/accounting/types/PurchaseOrderRequest.d.ts +2 -0
  1200. package/serialization/resources/accounting/types/PurchaseOrderRequest.js +2 -0
  1201. package/serialization/resources/accounting/types/PurchaseOrderRequestPaymentTerm.d.ts +11 -0
  1202. package/serialization/resources/accounting/types/PurchaseOrderRequestPaymentTerm.js +32 -0
  1203. package/serialization/resources/accounting/types/RemoteField.d.ts +1 -1
  1204. package/serialization/resources/accounting/types/RemoteField.js +1 -1
  1205. package/serialization/resources/accounting/types/RemoteFieldApiResponse.d.ts +2 -0
  1206. package/serialization/resources/accounting/types/RemoteFieldApiResponse.js +2 -0
  1207. package/serialization/resources/accounting/types/StatusFd5Enum.d.ts +10 -0
  1208. package/serialization/resources/accounting/types/StatusFd5Enum.js +31 -0
  1209. package/serialization/resources/accounting/types/SyncStatus.d.ts +5 -2
  1210. package/serialization/resources/accounting/types/SyncStatus.js +5 -2
  1211. package/serialization/resources/accounting/types/index.d.ts +17 -1
  1212. package/serialization/resources/accounting/types/index.js +17 -1
  1213. package/serialization/resources/ats/types/AccountToken.d.ts +1 -0
  1214. package/serialization/resources/ats/types/AccountToken.js +1 -0
  1215. package/serialization/resources/ats/types/EventTypeEnum.d.ts +1 -1
  1216. package/serialization/resources/ats/types/EventTypeEnum.js +1 -0
  1217. package/serialization/resources/ats/types/LastSyncResultEnum.d.ts +10 -0
  1218. package/serialization/resources/ats/types/LastSyncResultEnum.js +31 -0
  1219. package/serialization/resources/ats/types/StatusFd5Enum.d.ts +10 -0
  1220. package/serialization/resources/ats/types/StatusFd5Enum.js +31 -0
  1221. package/serialization/resources/ats/types/SyncStatus.d.ts +5 -2
  1222. package/serialization/resources/ats/types/SyncStatus.js +5 -2
  1223. package/serialization/resources/ats/types/index.d.ts +2 -1
  1224. package/serialization/resources/ats/types/index.js +2 -1
  1225. package/serialization/resources/crm/types/AccountToken.d.ts +1 -0
  1226. package/serialization/resources/crm/types/AccountToken.js +1 -0
  1227. package/serialization/resources/crm/types/EventTypeEnum.d.ts +1 -1
  1228. package/serialization/resources/crm/types/EventTypeEnum.js +1 -0
  1229. package/serialization/resources/crm/types/LastSyncResultEnum.d.ts +10 -0
  1230. package/serialization/resources/crm/types/LastSyncResultEnum.js +31 -0
  1231. package/serialization/resources/crm/types/RemoteField.d.ts +1 -1
  1232. package/serialization/resources/crm/types/RemoteField.js +1 -1
  1233. package/serialization/resources/crm/types/StatusFd5Enum.d.ts +10 -0
  1234. package/serialization/resources/crm/types/StatusFd5Enum.js +31 -0
  1235. package/serialization/resources/crm/types/SyncStatus.d.ts +5 -2
  1236. package/serialization/resources/crm/types/SyncStatus.js +5 -2
  1237. package/serialization/resources/crm/types/SyncStatusLastSyncResult.d.ts +11 -0
  1238. package/serialization/resources/crm/types/SyncStatusLastSyncResult.js +32 -0
  1239. package/serialization/resources/crm/types/index.d.ts +3 -1
  1240. package/serialization/resources/crm/types/index.js +3 -1
  1241. package/serialization/resources/filestorage/types/AccountToken.d.ts +1 -0
  1242. package/serialization/resources/filestorage/types/AccountToken.js +1 -0
  1243. package/serialization/resources/filestorage/types/DownloadRequestMeta.d.ts +16 -0
  1244. package/serialization/resources/filestorage/types/DownloadRequestMeta.js +37 -0
  1245. package/serialization/resources/filestorage/types/EventTypeEnum.d.ts +1 -1
  1246. package/serialization/resources/filestorage/types/EventTypeEnum.js +1 -0
  1247. package/serialization/resources/filestorage/types/LastSyncResultEnum.d.ts +10 -0
  1248. package/serialization/resources/filestorage/types/LastSyncResultEnum.js +31 -0
  1249. package/serialization/resources/filestorage/types/PaginatedDownloadRequestMetaList.d.ts +15 -0
  1250. package/serialization/resources/filestorage/types/PaginatedDownloadRequestMetaList.js +36 -0
  1251. package/serialization/resources/filestorage/types/StatusFd5Enum.d.ts +10 -0
  1252. package/serialization/resources/filestorage/types/StatusFd5Enum.js +31 -0
  1253. package/serialization/resources/filestorage/types/SyncStatus.d.ts +5 -2
  1254. package/serialization/resources/filestorage/types/SyncStatus.js +5 -2
  1255. package/serialization/resources/filestorage/types/SyncStatusLastSyncResult.d.ts +11 -0
  1256. package/serialization/resources/filestorage/types/SyncStatusLastSyncResult.js +32 -0
  1257. package/serialization/resources/filestorage/types/index.d.ts +5 -1
  1258. package/serialization/resources/filestorage/types/index.js +5 -1
  1259. package/serialization/resources/hris/types/AccountToken.d.ts +1 -0
  1260. package/serialization/resources/hris/types/AccountToken.js +1 -0
  1261. package/serialization/resources/hris/types/EventTypeEnum.d.ts +1 -1
  1262. package/serialization/resources/hris/types/EventTypeEnum.js +1 -0
  1263. package/serialization/resources/hris/types/Group.d.ts +1 -1
  1264. package/serialization/resources/hris/types/Group.js +1 -1
  1265. package/serialization/resources/hris/types/LastSyncResultEnum.d.ts +10 -0
  1266. package/serialization/resources/hris/types/LastSyncResultEnum.js +31 -0
  1267. package/serialization/resources/hris/types/StatusFd5Enum.d.ts +10 -0
  1268. package/serialization/resources/hris/types/StatusFd5Enum.js +31 -0
  1269. package/serialization/resources/hris/types/SyncStatus.d.ts +5 -2
  1270. package/serialization/resources/hris/types/SyncStatus.js +5 -2
  1271. package/serialization/resources/hris/types/SyncStatusLastSyncResult.d.ts +11 -0
  1272. package/serialization/resources/hris/types/SyncStatusLastSyncResult.js +32 -0
  1273. package/serialization/resources/hris/types/index.d.ts +3 -1
  1274. package/serialization/resources/hris/types/index.js +3 -1
  1275. package/serialization/resources/ticketing/resources/collections/types/CollectionsViewersListRequestExpand.d.ts +10 -0
  1276. package/serialization/resources/ticketing/resources/collections/types/{CollectionsListRequestExpand.js → CollectionsViewersListRequestExpand.js} +2 -2
  1277. package/serialization/resources/ticketing/resources/collections/types/index.d.ts +1 -2
  1278. package/serialization/resources/ticketing/resources/collections/types/index.js +1 -2
  1279. package/serialization/resources/ticketing/types/AccountToken.d.ts +1 -0
  1280. package/serialization/resources/ticketing/types/AccountToken.js +1 -0
  1281. package/serialization/resources/ticketing/types/Collection.d.ts +0 -2
  1282. package/serialization/resources/ticketing/types/Collection.js +0 -2
  1283. package/serialization/resources/ticketing/types/EventTypeEnum.d.ts +1 -1
  1284. package/serialization/resources/ticketing/types/EventTypeEnum.js +1 -0
  1285. package/serialization/resources/ticketing/types/LastSyncResultEnum.d.ts +10 -0
  1286. package/serialization/resources/ticketing/types/LastSyncResultEnum.js +31 -0
  1287. package/serialization/resources/ticketing/types/RemoteField.d.ts +1 -1
  1288. package/serialization/resources/ticketing/types/RemoteField.js +1 -1
  1289. package/serialization/resources/ticketing/types/RemoteFieldRequest.d.ts +1 -1
  1290. package/serialization/resources/ticketing/types/RemoteFieldRequest.js +1 -1
  1291. package/serialization/resources/ticketing/types/StatusFd5Enum.d.ts +10 -0
  1292. package/serialization/resources/ticketing/types/StatusFd5Enum.js +31 -0
  1293. package/serialization/resources/ticketing/types/SyncStatus.d.ts +5 -2
  1294. package/serialization/resources/ticketing/types/SyncStatus.js +5 -2
  1295. package/serialization/resources/ticketing/types/index.d.ts +2 -2
  1296. package/serialization/resources/ticketing/types/index.js +2 -2
  1297. package/version.d.ts +1 -1
  1298. package/version.js +1 -1
  1299. package/api/resources/hris/types/SyncStatusStatusEnum.d.ts +0 -20
  1300. package/api/resources/hris/types/SyncStatusStatusEnum.js +0 -14
  1301. package/api/resources/ticketing/resources/collections/types/CollectionsListRequestExpand.d.ts +0 -9
  1302. package/api/resources/ticketing/resources/collections/types/CollectionsListRequestExpand.js +0 -11
  1303. package/api/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.d.ts +0 -9
  1304. package/api/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.js +0 -11
  1305. package/api/resources/ticketing/types/SyncStatusStatusEnum.d.ts +0 -20
  1306. package/api/resources/ticketing/types/SyncStatusStatusEnum.js +0 -14
  1307. package/dist/api/resources/accounting/types/SyncStatusStatusEnum.d.ts +0 -20
  1308. package/dist/api/resources/accounting/types/SyncStatusStatusEnum.js +0 -14
  1309. package/dist/api/resources/ats/types/SyncStatusStatusEnum.d.ts +0 -20
  1310. package/dist/api/resources/ats/types/SyncStatusStatusEnum.js +0 -14
  1311. package/dist/api/resources/crm/types/SyncStatusStatusEnum.d.ts +0 -20
  1312. package/dist/api/resources/crm/types/SyncStatusStatusEnum.js +0 -14
  1313. package/dist/api/resources/filestorage/types/SyncStatusStatusEnum.d.ts +0 -20
  1314. package/dist/api/resources/filestorage/types/SyncStatusStatusEnum.js +0 -14
  1315. package/dist/api/resources/hris/types/SyncStatusStatusEnum.d.ts +0 -20
  1316. package/dist/api/resources/hris/types/SyncStatusStatusEnum.js +0 -14
  1317. package/dist/api/resources/ticketing/resources/collections/types/CollectionsListRequestExpand.d.ts +0 -9
  1318. package/dist/api/resources/ticketing/resources/collections/types/CollectionsListRequestExpand.js +0 -11
  1319. package/dist/api/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.d.ts +0 -9
  1320. package/dist/api/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.js +0 -11
  1321. package/dist/api/resources/ticketing/types/SyncStatusStatusEnum.d.ts +0 -20
  1322. package/dist/api/resources/ticketing/types/SyncStatusStatusEnum.js +0 -14
  1323. package/dist/serialization/resources/accounting/types/SyncStatusStatusEnum.d.ts +0 -10
  1324. package/dist/serialization/resources/filestorage/types/SyncStatusStatusEnum.d.ts +0 -10
  1325. package/dist/serialization/resources/hris/types/SyncStatusStatusEnum.js +0 -31
  1326. package/dist/serialization/resources/ticketing/resources/collections/types/CollectionsListRequestExpand.d.ts +0 -10
  1327. package/dist/serialization/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.d.ts +0 -10
  1328. package/dist/serialization/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.js +0 -31
  1329. package/dist/serialization/resources/ticketing/types/CollectionTeamsItem.d.ts +0 -11
  1330. package/dist/serialization/resources/ticketing/types/CollectionTeamsItem.js +0 -32
  1331. package/dist/serialization/resources/ticketing/types/SyncStatusStatusEnum.d.ts +0 -10
  1332. package/dist/serialization/resources/ticketing/types/SyncStatusStatusEnum.js +0 -31
  1333. package/serialization/resources/accounting/types/SyncStatusStatusEnum.d.ts +0 -10
  1334. package/serialization/resources/accounting/types/SyncStatusStatusEnum.js +0 -31
  1335. package/serialization/resources/ats/types/SyncStatusStatusEnum.js +0 -31
  1336. package/serialization/resources/crm/types/SyncStatusStatusEnum.js +0 -31
  1337. package/serialization/resources/filestorage/types/SyncStatusStatusEnum.d.ts +0 -10
  1338. package/serialization/resources/filestorage/types/SyncStatusStatusEnum.js +0 -31
  1339. package/serialization/resources/hris/types/SyncStatusStatusEnum.d.ts +0 -10
  1340. package/serialization/resources/hris/types/SyncStatusStatusEnum.js +0 -31
  1341. package/serialization/resources/ticketing/resources/collections/types/CollectionsListRequestExpand.d.ts +0 -10
  1342. package/serialization/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.d.ts +0 -10
  1343. package/serialization/resources/ticketing/resources/collections/types/CollectionsRetrieveRequestExpand.js +0 -31
  1344. package/serialization/resources/ticketing/types/CollectionTeamsItem.d.ts +0 -11
  1345. package/serialization/resources/ticketing/types/CollectionTeamsItem.js +0 -32
  1346. package/serialization/resources/ticketing/types/SyncStatusStatusEnum.d.ts +0 -10
  1347. package/serialization/resources/ticketing/types/SyncStatusStatusEnum.js +0 -31
  1348. /package/api/resources/{ticketing/types/CollectionTeamsItem.js → accounting/resources/paymentMethods/client/requests/PaymentMethodsListRequest.js} +0 -0
  1349. /package/{dist/api/resources/ticketing/types/CollectionTeamsItem.js → api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsRetrieveRequest.js} +0 -0
@@ -123,7 +123,7 @@ class Files {
123
123
  method: "GET",
124
124
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
125
125
  ? 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.4", "User-Agent": "@mergeapi/merge-node-client/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
126
+ : 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
127
  contentType: "application/json",
128
128
  queryParameters: _queryParams,
129
129
  requestType: "json",
@@ -188,7 +188,7 @@ class Files {
188
188
  method: "POST",
189
189
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
190
190
  ? 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.4", "User-Agent": "@mergeapi/merge-node-client/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
191
+ : 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
192
  contentType: "application/json",
193
193
  queryParameters: _queryParams,
194
194
  requestType: "json",
@@ -242,7 +242,7 @@ class Files {
242
242
  retrieve(id, request = {}, requestOptions) {
243
243
  var _a, _b;
244
244
  return __awaiter(this, void 0, void 0, function* () {
245
- const { expand, includeRemoteData } = request;
245
+ const { expand, includeRemoteData, includeShellData } = request;
246
246
  const _queryParams = {};
247
247
  if (expand != null) {
248
248
  _queryParams["expand"] = expand;
@@ -250,12 +250,15 @@ class Files {
250
250
  if (includeRemoteData != null) {
251
251
  _queryParams["include_remote_data"] = includeRemoteData.toString();
252
252
  }
253
+ if (includeShellData != null) {
254
+ _queryParams["include_shell_data"] = includeShellData.toString();
255
+ }
253
256
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
254
257
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, `filestorage/v1/files/${encodeURIComponent(id)}`),
255
258
  method: "GET",
256
259
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
257
260
  ? yield core.Supplier.get(this._options.accountToken)
258
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "@mergeapi/merge-node-client/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
261
+ : 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),
259
262
  contentType: "application/json",
260
263
  queryParameters: _queryParams,
261
264
  requestType: "json",
@@ -299,8 +302,11 @@ class Files {
299
302
  downloadRetrieve(id, request = {}, requestOptions) {
300
303
  var _a, _b;
301
304
  return __awaiter(this, void 0, void 0, function* () {
302
- const { mimeType } = request;
305
+ const { includeShellData, mimeType } = request;
303
306
  const _queryParams = {};
307
+ if (includeShellData != null) {
308
+ _queryParams["include_shell_data"] = includeShellData.toString();
309
+ }
304
310
  if (mimeType != null) {
305
311
  _queryParams["mime_type"] = mimeType;
306
312
  }
@@ -309,7 +315,7 @@ class Files {
309
315
  method: "GET",
310
316
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
311
317
  ? yield core.Supplier.get(this._options.accountToken)
312
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "@mergeapi/merge-node-client/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
318
+ : 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),
313
319
  contentType: "application/json",
314
320
  queryParameters: _queryParams,
315
321
  requestType: "json",
@@ -342,6 +348,136 @@ class Files {
342
348
  }
343
349
  });
344
350
  }
351
+ /**
352
+ * Returns metadata to construct an authenticated file download request for a singular file, allowing you to download file directly from the third-party.
353
+ *
354
+ * @param {string} id
355
+ * @param {Merge.filestorage.FilesDownloadRequestMetaRetrieveRequest} request
356
+ * @param {Files.RequestOptions} requestOptions - Request-specific configuration.
357
+ *
358
+ * @example
359
+ * await client.filestorage.files.downloadRequestMetaRetrieve("id")
360
+ */
361
+ downloadRequestMetaRetrieve(id, request = {}, requestOptions) {
362
+ var _a, _b;
363
+ return __awaiter(this, void 0, void 0, function* () {
364
+ const { mimeType } = request;
365
+ const _queryParams = {};
366
+ if (mimeType != null) {
367
+ _queryParams["mime_type"] = mimeType;
368
+ }
369
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
370
+ url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, `filestorage/v1/files/${encodeURIComponent(id)}/download/request-meta`),
371
+ method: "GET",
372
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
373
+ ? yield core.Supplier.get(this._options.accountToken)
374
+ : 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),
375
+ contentType: "application/json",
376
+ queryParameters: _queryParams,
377
+ requestType: "json",
378
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
379
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
380
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
381
+ });
382
+ if (_response.ok) {
383
+ return serializers.filestorage.DownloadRequestMeta.parseOrThrow(_response.body, {
384
+ unrecognizedObjectKeys: "passthrough",
385
+ allowUnrecognizedUnionMembers: true,
386
+ allowUnrecognizedEnumValues: true,
387
+ skipValidation: true,
388
+ breadcrumbsPrefix: ["response"],
389
+ });
390
+ }
391
+ if (_response.error.reason === "status-code") {
392
+ throw new errors.MergeError({
393
+ statusCode: _response.error.statusCode,
394
+ body: _response.error.body,
395
+ });
396
+ }
397
+ switch (_response.error.reason) {
398
+ case "non-json":
399
+ throw new errors.MergeError({
400
+ statusCode: _response.error.statusCode,
401
+ body: _response.error.rawBody,
402
+ });
403
+ case "timeout":
404
+ throw new errors.MergeTimeoutError("Timeout exceeded when calling GET /filestorage/v1/files/{id}/download/request-meta.");
405
+ case "unknown":
406
+ throw new errors.MergeError({
407
+ message: _response.error.errorMessage,
408
+ });
409
+ }
410
+ });
411
+ }
412
+ /**
413
+ * Returns metadata to construct authenticated file download requests, allowing you to download files directly from the third-party.
414
+ *
415
+ * @param {Merge.filestorage.FilesDownloadRequestMetaListRequest} request
416
+ * @param {Files.RequestOptions} requestOptions - Request-specific configuration.
417
+ *
418
+ * @example
419
+ * await client.filestorage.files.downloadRequestMetaList()
420
+ */
421
+ downloadRequestMetaList(request = {}, requestOptions) {
422
+ var _a, _b;
423
+ return __awaiter(this, void 0, void 0, function* () {
424
+ const { cursor, includeDeletedData, mimeType, pageSize } = request;
425
+ const _queryParams = {};
426
+ if (cursor != null) {
427
+ _queryParams["cursor"] = cursor;
428
+ }
429
+ if (includeDeletedData != null) {
430
+ _queryParams["include_deleted_data"] = includeDeletedData.toString();
431
+ }
432
+ if (mimeType != null) {
433
+ _queryParams["mime_type"] = mimeType;
434
+ }
435
+ if (pageSize != null) {
436
+ _queryParams["page_size"] = pageSize.toString();
437
+ }
438
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
439
+ url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, "filestorage/v1/files/download/request-meta"),
440
+ method: "GET",
441
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
442
+ ? yield core.Supplier.get(this._options.accountToken)
443
+ : 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),
444
+ contentType: "application/json",
445
+ queryParameters: _queryParams,
446
+ requestType: "json",
447
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
448
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
449
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
450
+ });
451
+ if (_response.ok) {
452
+ return serializers.filestorage.PaginatedDownloadRequestMetaList.parseOrThrow(_response.body, {
453
+ unrecognizedObjectKeys: "passthrough",
454
+ allowUnrecognizedUnionMembers: true,
455
+ allowUnrecognizedEnumValues: true,
456
+ skipValidation: true,
457
+ breadcrumbsPrefix: ["response"],
458
+ });
459
+ }
460
+ if (_response.error.reason === "status-code") {
461
+ throw new errors.MergeError({
462
+ statusCode: _response.error.statusCode,
463
+ body: _response.error.body,
464
+ });
465
+ }
466
+ switch (_response.error.reason) {
467
+ case "non-json":
468
+ throw new errors.MergeError({
469
+ statusCode: _response.error.statusCode,
470
+ body: _response.error.rawBody,
471
+ });
472
+ case "timeout":
473
+ throw new errors.MergeTimeoutError("Timeout exceeded when calling GET /filestorage/v1/files/download/request-meta.");
474
+ case "unknown":
475
+ throw new errors.MergeError({
476
+ message: _response.error.errorMessage,
477
+ });
478
+ }
479
+ });
480
+ }
345
481
  /**
346
482
  * Returns metadata for `FileStorageFile` POSTs.
347
483
  *
@@ -358,7 +494,7 @@ class Files {
358
494
  method: "GET",
359
495
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
360
496
  ? yield core.Supplier.get(this._options.accountToken)
361
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "@mergeapi/merge-node-client/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
497
+ : 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),
362
498
  contentType: "application/json",
363
499
  requestType: "json",
364
500
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -0,0 +1,25 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {}
7
+ */
8
+ export interface FilesDownloadRequestMetaListRequest {
9
+ /**
10
+ * The pagination cursor value.
11
+ */
12
+ cursor?: string;
13
+ /**
14
+ * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
15
+ */
16
+ includeDeletedData?: boolean;
17
+ /**
18
+ * If provided, specifies the export format of the files to be downloaded. For information on supported export formats, please refer to our <a href='https://help.merge.dev/en/articles/8615316-file-export-and-download-specification' target='_blank'>export format help center article</a>.
19
+ */
20
+ mimeType?: string;
21
+ /**
22
+ * Number of results to return per page.
23
+ */
24
+ pageSize?: number;
25
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {}
7
+ */
8
+ export interface FilesDownloadRequestMetaRetrieveRequest {
9
+ /**
10
+ * If provided, specifies the export format of the file to be downloaded. For information on supported export formats, please refer to our <a href='https://help.merge.dev/en/articles/8615316-file-export-and-download-specification' target='_blank'>export format help center article</a>.
11
+ */
12
+ mimeType?: string;
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -4,10 +4,15 @@
4
4
  /**
5
5
  * @example
6
6
  * {
7
+ * includeShellData: true,
7
8
  * mimeType: "string"
8
9
  * }
9
10
  */
10
11
  export interface FilesDownloadRetrieveRequest {
12
+ /**
13
+ * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
14
+ */
15
+ includeShellData?: boolean;
11
16
  /**
12
17
  * If provided, specifies the export format of the file to be downloaded. For information on supported export formats, please refer to our <a href='https://help.merge.dev/en/articles/8615316-file-export-and-download-specification' target='_blank'>export format help center article</a>.
13
18
  */
@@ -15,4 +15,8 @@ export interface FilesRetrieveRequest {
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
  }
@@ -2,3 +2,5 @@ export { type FilesListRequest } from "./FilesListRequest";
2
2
  export { type FileStorageFileEndpointRequest } from "./FileStorageFileEndpointRequest";
3
3
  export { type FilesRetrieveRequest } from "./FilesRetrieveRequest";
4
4
  export { type FilesDownloadRetrieveRequest } from "./FilesDownloadRetrieveRequest";
5
+ export { type FilesDownloadRequestMetaRetrieveRequest } from "./FilesDownloadRequestMetaRetrieveRequest";
6
+ export { type FilesDownloadRequestMetaListRequest } from "./FilesDownloadRequestMetaListRequest";
@@ -120,7 +120,7 @@ class Folders {
120
120
  method: "GET",
121
121
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
122
122
  ? yield core.Supplier.get(this._options.accountToken)
123
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "@mergeapi/merge-node-client/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
123
+ : 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),
124
124
  contentType: "application/json",
125
125
  queryParameters: _queryParams,
126
126
  requestType: "json",
@@ -185,7 +185,7 @@ class Folders {
185
185
  method: "POST",
186
186
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
187
187
  ? yield core.Supplier.get(this._options.accountToken)
188
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "@mergeapi/merge-node-client/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
188
+ : 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),
189
189
  contentType: "application/json",
190
190
  queryParameters: _queryParams,
191
191
  requestType: "json",
@@ -239,7 +239,7 @@ class Folders {
239
239
  retrieve(id, request = {}, requestOptions) {
240
240
  var _a, _b;
241
241
  return __awaiter(this, void 0, void 0, function* () {
242
- const { expand, includeRemoteData } = request;
242
+ const { expand, includeRemoteData, includeShellData } = request;
243
243
  const _queryParams = {};
244
244
  if (expand != null) {
245
245
  _queryParams["expand"] = expand;
@@ -247,12 +247,15 @@ class Folders {
247
247
  if (includeRemoteData != null) {
248
248
  _queryParams["include_remote_data"] = includeRemoteData.toString();
249
249
  }
250
+ if (includeShellData != null) {
251
+ _queryParams["include_shell_data"] = includeShellData.toString();
252
+ }
250
253
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
251
254
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, `filestorage/v1/folders/${encodeURIComponent(id)}`),
252
255
  method: "GET",
253
256
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
254
257
  ? yield core.Supplier.get(this._options.accountToken)
255
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "@mergeapi/merge-node-client/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
258
+ : 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),
256
259
  contentType: "application/json",
257
260
  queryParameters: _queryParams,
258
261
  requestType: "json",
@@ -306,7 +309,7 @@ class Folders {
306
309
  method: "GET",
307
310
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
308
311
  ? yield core.Supplier.get(this._options.accountToken)
309
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "@mergeapi/merge-node-client/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
312
+ : 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),
310
313
  contentType: "application/json",
311
314
  requestType: "json",
312
315
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -15,4 +15,8 @@ export interface FoldersRetrieveRequest {
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
  }
@@ -29,7 +29,7 @@ export declare class ForceResync {
29
29
  protected readonly _options: ForceResync.Options;
30
30
  constructor(_options: ForceResync.Options);
31
31
  /**
32
- * Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account.
32
+ * Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers.
33
33
  *
34
34
  * @param {ForceResync.RequestOptions} requestOptions - Request-specific configuration.
35
35
  *
@@ -49,7 +49,7 @@ class ForceResync {
49
49
  this._options = _options;
50
50
  }
51
51
  /**
52
- * Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account.
52
+ * Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers.
53
53
  *
54
54
  * @param {ForceResync.RequestOptions} requestOptions - Request-specific configuration.
55
55
  *
@@ -64,7 +64,7 @@ class ForceResync {
64
64
  method: "POST",
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.4", "User-Agent": "@mergeapi/merge-node-client/1.1.4", "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,
@@ -67,7 +67,7 @@ class GenerateKey {
67
67
  method: "POST",
68
68
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
69
69
  ? yield core.Supplier.get(this._options.accountToken)
70
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "@mergeapi/merge-node-client/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
70
+ : 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),
71
71
  contentType: "application/json",
72
72
  requestType: "json",
73
73
  body: serializers.filestorage.GenerateRemoteKeyRequest.jsonOrThrow(request, {
@@ -100,7 +100,7 @@ class Groups {
100
100
  method: "GET",
101
101
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
102
102
  ? yield core.Supplier.get(this._options.accountToken)
103
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "@mergeapi/merge-node-client/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
103
+ : 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),
104
104
  contentType: "application/json",
105
105
  queryParameters: _queryParams,
106
106
  requestType: "json",
@@ -151,7 +151,7 @@ class Groups {
151
151
  retrieve(id, request = {}, requestOptions) {
152
152
  var _a, _b;
153
153
  return __awaiter(this, void 0, void 0, function* () {
154
- const { expand, includeRemoteData } = request;
154
+ const { expand, includeRemoteData, includeShellData } = request;
155
155
  const _queryParams = {};
156
156
  if (expand != null) {
157
157
  _queryParams["expand"] = expand;
@@ -159,12 +159,15 @@ class Groups {
159
159
  if (includeRemoteData != null) {
160
160
  _queryParams["include_remote_data"] = includeRemoteData.toString();
161
161
  }
162
+ if (includeShellData != null) {
163
+ _queryParams["include_shell_data"] = includeShellData.toString();
164
+ }
162
165
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
163
166
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, `filestorage/v1/groups/${encodeURIComponent(id)}`),
164
167
  method: "GET",
165
168
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
166
169
  ? yield core.Supplier.get(this._options.accountToken)
167
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "@mergeapi/merge-node-client/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
170
+ : 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),
168
171
  contentType: "application/json",
169
172
  queryParameters: _queryParams,
170
173
  requestType: "json",
@@ -14,4 +14,8 @@ export interface GroupsRetrieveRequest {
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
  }
@@ -109,7 +109,7 @@ class Issues {
109
109
  method: "GET",
110
110
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
111
111
  ? yield core.Supplier.get(this._options.accountToken)
112
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "@mergeapi/merge-node-client/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
112
+ : 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),
113
113
  contentType: "application/json",
114
114
  queryParameters: _queryParams,
115
115
  requestType: "json",
@@ -164,7 +164,7 @@ class Issues {
164
164
  method: "GET",
165
165
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
166
166
  ? yield core.Supplier.get(this._options.accountToken)
167
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "@mergeapi/merge-node-client/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
167
+ : 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),
168
168
  contentType: "application/json",
169
169
  requestType: "json",
170
170
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -70,7 +70,7 @@ class LinkToken {
70
70
  method: "POST",
71
71
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
72
72
  ? yield core.Supplier.get(this._options.accountToken)
73
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "@mergeapi/merge-node-client/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
73
+ : 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),
74
74
  contentType: "application/json",
75
75
  requestType: "json",
76
76
  body: serializers.filestorage.EndUserDetailsRequest.jsonOrThrow(request, {
@@ -106,7 +106,7 @@ class LinkedAccounts {
106
106
  method: "GET",
107
107
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
108
108
  ? yield core.Supplier.get(this._options.accountToken)
109
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "@mergeapi/merge-node-client/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
109
+ : 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),
110
110
  contentType: "application/json",
111
111
  queryParameters: _queryParams,
112
112
  requestType: "json",
@@ -68,7 +68,7 @@ class Passthrough {
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.4", "User-Agent": "@mergeapi/merge-node-client/1.1.4", "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.filestorage.DataPassthroughRequest.jsonOrThrow(request, {
@@ -67,7 +67,7 @@ class RegenerateKey {
67
67
  method: "POST",
68
68
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
69
69
  ? yield core.Supplier.get(this._options.accountToken)
70
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "@mergeapi/merge-node-client/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
70
+ : 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),
71
71
  contentType: "application/json",
72
72
  requestType: "json",
73
73
  body: serializers.filestorage.RemoteKeyForRegenerationRequest.jsonOrThrow(request, {
@@ -64,7 +64,7 @@ class Scopes {
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.4", "User-Agent": "@mergeapi/merge-node-client/1.1.4", "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,
@@ -117,7 +117,7 @@ class Scopes {
117
117
  method: "GET",
118
118
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
119
119
  ? yield core.Supplier.get(this._options.accountToken)
120
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "@mergeapi/merge-node-client/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
120
+ : 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),
121
121
  contentType: "application/json",
122
122
  requestType: "json",
123
123
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -194,7 +194,7 @@ class Scopes {
194
194
  method: "POST",
195
195
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
196
196
  ? yield core.Supplier.get(this._options.accountToken)
197
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "@mergeapi/merge-node-client/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
197
+ : 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),
198
198
  contentType: "application/json",
199
199
  requestType: "json",
200
200
  body: serializers.filestorage.LinkedAccountCommonModelScopeDeserializerRequest.jsonOrThrow(request, {
@@ -73,7 +73,7 @@ class SyncStatus {
73
73
  method: "GET",
74
74
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
75
75
  ? yield core.Supplier.get(this._options.accountToken)
76
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.4", "User-Agent": "@mergeapi/merge-node-client/1.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
+ : 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),
77
77
  contentType: "application/json",
78
78
  queryParameters: _queryParams,
79
79
  requestType: "json",