@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
@@ -129,7 +129,7 @@ class Leads {
129
129
  method: "GET",
130
130
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
131
131
  ? yield core.Supplier.get(this._options.accountToken)
132
- : 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),
132
+ : 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),
133
133
  contentType: "application/json",
134
134
  queryParameters: _queryParams,
135
135
  requestType: "json",
@@ -194,7 +194,7 @@ class Leads {
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
  queryParameters: _queryParams,
200
200
  requestType: "json",
@@ -246,7 +246,7 @@ class Leads {
246
246
  retrieve(id, request = {}, requestOptions) {
247
247
  var _a, _b;
248
248
  return __awaiter(this, void 0, void 0, function* () {
249
- const { expand, includeRemoteData, includeRemoteFields } = request;
249
+ const { expand, includeRemoteData, includeRemoteFields, includeShellData } = request;
250
250
  const _queryParams = {};
251
251
  if (expand != null) {
252
252
  _queryParams["expand"] = expand;
@@ -257,12 +257,15 @@ class Leads {
257
257
  if (includeRemoteFields != null) {
258
258
  _queryParams["include_remote_fields"] = includeRemoteFields.toString();
259
259
  }
260
+ if (includeShellData != null) {
261
+ _queryParams["include_shell_data"] = includeShellData.toString();
262
+ }
260
263
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
261
264
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, `crm/v1/leads/${encodeURIComponent(id)}`),
262
265
  method: "GET",
263
266
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
264
267
  ? yield core.Supplier.get(this._options.accountToken)
265
- : 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),
268
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
266
269
  contentType: "application/json",
267
270
  queryParameters: _queryParams,
268
271
  requestType: "json",
@@ -316,7 +319,7 @@ class Leads {
316
319
  method: "GET",
317
320
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
318
321
  ? yield core.Supplier.get(this._options.accountToken)
319
- : 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),
322
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
320
323
  contentType: "application/json",
321
324
  requestType: "json",
322
325
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -393,7 +396,7 @@ class Leads {
393
396
  method: "GET",
394
397
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
395
398
  ? yield core.Supplier.get(this._options.accountToken)
396
- : 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),
399
+ : 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),
397
400
  contentType: "application/json",
398
401
  queryParameters: _queryParams,
399
402
  requestType: "json",
@@ -19,4 +19,8 @@ export interface LeadsRetrieveRequest {
19
19
  * Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
20
20
  */
21
21
  includeRemoteFields?: boolean;
22
+ /**
23
+ * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
24
+ */
25
+ includeShellData?: boolean;
22
26
  }
@@ -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.crm.EndUserDetailsRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -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",
@@ -126,7 +126,7 @@ class Notes {
126
126
  method: "GET",
127
127
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
128
128
  ? yield core.Supplier.get(this._options.accountToken)
129
- : 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),
129
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
130
130
  contentType: "application/json",
131
131
  queryParameters: _queryParams,
132
132
  requestType: "json",
@@ -191,7 +191,7 @@ class Notes {
191
191
  method: "POST",
192
192
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
193
193
  ? yield core.Supplier.get(this._options.accountToken)
194
- : 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),
194
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
195
195
  contentType: "application/json",
196
196
  queryParameters: _queryParams,
197
197
  requestType: "json",
@@ -243,7 +243,7 @@ class Notes {
243
243
  retrieve(id, request = {}, requestOptions) {
244
244
  var _a, _b;
245
245
  return __awaiter(this, void 0, void 0, function* () {
246
- const { expand, includeRemoteData, includeRemoteFields } = request;
246
+ const { expand, includeRemoteData, includeRemoteFields, includeShellData } = request;
247
247
  const _queryParams = {};
248
248
  if (expand != null) {
249
249
  _queryParams["expand"] = expand;
@@ -254,12 +254,15 @@ class Notes {
254
254
  if (includeRemoteFields != null) {
255
255
  _queryParams["include_remote_fields"] = includeRemoteFields.toString();
256
256
  }
257
+ if (includeShellData != null) {
258
+ _queryParams["include_shell_data"] = includeShellData.toString();
259
+ }
257
260
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
258
261
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, `crm/v1/notes/${encodeURIComponent(id)}`),
259
262
  method: "GET",
260
263
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
261
264
  ? yield core.Supplier.get(this._options.accountToken)
262
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.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),
265
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
263
266
  contentType: "application/json",
264
267
  queryParameters: _queryParams,
265
268
  requestType: "json",
@@ -313,7 +316,7 @@ class Notes {
313
316
  method: "GET",
314
317
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
315
318
  ? yield core.Supplier.get(this._options.accountToken)
316
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.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),
319
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
317
320
  contentType: "application/json",
318
321
  requestType: "json",
319
322
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -390,7 +393,7 @@ class Notes {
390
393
  method: "GET",
391
394
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
392
395
  ? yield core.Supplier.get(this._options.accountToken)
393
- : 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),
396
+ : 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),
394
397
  contentType: "application/json",
395
398
  queryParameters: _queryParams,
396
399
  requestType: "json",
@@ -19,4 +19,8 @@ export interface NotesRetrieveRequest {
19
19
  * Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
20
20
  */
21
21
  includeRemoteFields?: boolean;
22
+ /**
23
+ * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
24
+ */
25
+ includeShellData?: boolean;
22
26
  }
@@ -135,7 +135,7 @@ class Opportunities {
135
135
  method: "GET",
136
136
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
137
137
  ? yield core.Supplier.get(this._options.accountToken)
138
- : 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),
138
+ : 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),
139
139
  contentType: "application/json",
140
140
  queryParameters: _queryParams,
141
141
  requestType: "json",
@@ -200,7 +200,7 @@ class Opportunities {
200
200
  method: "POST",
201
201
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
202
202
  ? yield core.Supplier.get(this._options.accountToken)
203
- : 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),
203
+ : 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),
204
204
  contentType: "application/json",
205
205
  queryParameters: _queryParams,
206
206
  requestType: "json",
@@ -252,7 +252,7 @@ class Opportunities {
252
252
  retrieve(id, request = {}, requestOptions) {
253
253
  var _a, _b;
254
254
  return __awaiter(this, void 0, void 0, function* () {
255
- const { expand, includeRemoteData, includeRemoteFields, remoteFields, showEnumOrigins } = request;
255
+ const { expand, includeRemoteData, includeRemoteFields, includeShellData, remoteFields, showEnumOrigins } = request;
256
256
  const _queryParams = {};
257
257
  if (expand != null) {
258
258
  _queryParams["expand"] = expand;
@@ -263,6 +263,9 @@ class Opportunities {
263
263
  if (includeRemoteFields != null) {
264
264
  _queryParams["include_remote_fields"] = includeRemoteFields.toString();
265
265
  }
266
+ if (includeShellData != null) {
267
+ _queryParams["include_shell_data"] = includeShellData.toString();
268
+ }
266
269
  if (remoteFields != null) {
267
270
  _queryParams["remote_fields"] = remoteFields;
268
271
  }
@@ -274,7 +277,7 @@ class Opportunities {
274
277
  method: "GET",
275
278
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
276
279
  ? yield core.Supplier.get(this._options.accountToken)
277
- : 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),
280
+ : 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),
278
281
  contentType: "application/json",
279
282
  queryParameters: _queryParams,
280
283
  requestType: "json",
@@ -340,7 +343,7 @@ class Opportunities {
340
343
  method: "PATCH",
341
344
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
342
345
  ? yield core.Supplier.get(this._options.accountToken)
343
- : 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),
346
+ : 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),
344
347
  contentType: "application/json",
345
348
  queryParameters: _queryParams,
346
349
  requestType: "json",
@@ -398,7 +401,7 @@ class Opportunities {
398
401
  method: "GET",
399
402
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
400
403
  ? yield core.Supplier.get(this._options.accountToken)
401
- : 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),
404
+ : 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),
402
405
  contentType: "application/json",
403
406
  requestType: "json",
404
407
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -451,7 +454,7 @@ class Opportunities {
451
454
  method: "GET",
452
455
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
453
456
  ? yield core.Supplier.get(this._options.accountToken)
454
- : 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),
457
+ : 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),
455
458
  contentType: "application/json",
456
459
  requestType: "json",
457
460
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -528,7 +531,7 @@ class Opportunities {
528
531
  method: "GET",
529
532
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
530
533
  ? yield core.Supplier.get(this._options.accountToken)
531
- : 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),
534
+ : 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),
532
535
  contentType: "application/json",
533
536
  queryParameters: _queryParams,
534
537
  requestType: "json",
@@ -19,6 +19,10 @@ export interface OpportunitiesRetrieveRequest {
19
19
  * Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
20
20
  */
21
21
  includeRemoteFields?: boolean;
22
+ /**
23
+ * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
24
+ */
25
+ includeShellData?: boolean;
22
26
  /**
23
27
  * Deprecated. Use show_enum_origins.
24
28
  */
@@ -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.crm.DataPassthroughRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -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.crm.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.crm.LinkedAccountCommonModelScopeDeserializerRequest.jsonOrThrow(request, {
@@ -100,7 +100,7 @@ class Stages {
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 Stages {
151
151
  retrieve(id, request = {}, requestOptions) {
152
152
  var _a, _b;
153
153
  return __awaiter(this, void 0, void 0, function* () {
154
- const { includeRemoteData, includeRemoteFields } = request;
154
+ const { includeRemoteData, includeRemoteFields, includeShellData } = request;
155
155
  const _queryParams = {};
156
156
  if (includeRemoteData != null) {
157
157
  _queryParams["include_remote_data"] = includeRemoteData.toString();
@@ -159,12 +159,15 @@ class Stages {
159
159
  if (includeRemoteFields != null) {
160
160
  _queryParams["include_remote_fields"] = includeRemoteFields.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, `crm/v1/stages/${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",
@@ -242,7 +245,7 @@ class Stages {
242
245
  method: "GET",
243
246
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
244
247
  ? yield core.Supplier.get(this._options.accountToken)
245
- : 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),
248
+ : 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),
246
249
  contentType: "application/json",
247
250
  queryParameters: _queryParams,
248
251
  requestType: "json",
@@ -14,4 +14,8 @@ export interface StagesRetrieveRequest {
14
14
  * Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
15
15
  */
16
16
  includeRemoteFields?: 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
  }
@@ -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",
@@ -114,7 +114,7 @@ class Tasks {
114
114
  method: "GET",
115
115
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
116
116
  ? yield core.Supplier.get(this._options.accountToken)
117
- : 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),
117
+ : 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),
118
118
  contentType: "application/json",
119
119
  queryParameters: _queryParams,
120
120
  requestType: "json",
@@ -179,7 +179,7 @@ class Tasks {
179
179
  method: "POST",
180
180
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
181
181
  ? yield core.Supplier.get(this._options.accountToken)
182
- : 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),
182
+ : 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),
183
183
  contentType: "application/json",
184
184
  queryParameters: _queryParams,
185
185
  requestType: "json",
@@ -231,7 +231,7 @@ class Tasks {
231
231
  retrieve(id, request = {}, requestOptions) {
232
232
  var _a, _b;
233
233
  return __awaiter(this, void 0, void 0, function* () {
234
- const { expand, includeRemoteData, includeRemoteFields } = request;
234
+ const { expand, includeRemoteData, includeRemoteFields, includeShellData } = request;
235
235
  const _queryParams = {};
236
236
  if (expand != null) {
237
237
  _queryParams["expand"] = expand;
@@ -242,12 +242,15 @@ class Tasks {
242
242
  if (includeRemoteFields != null) {
243
243
  _queryParams["include_remote_fields"] = includeRemoteFields.toString();
244
244
  }
245
+ if (includeShellData != null) {
246
+ _queryParams["include_shell_data"] = includeShellData.toString();
247
+ }
245
248
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
246
249
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, `crm/v1/tasks/${encodeURIComponent(id)}`),
247
250
  method: "GET",
248
251
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
249
252
  ? yield core.Supplier.get(this._options.accountToken)
250
- : 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),
253
+ : 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),
251
254
  contentType: "application/json",
252
255
  queryParameters: _queryParams,
253
256
  requestType: "json",
@@ -313,7 +316,7 @@ class Tasks {
313
316
  method: "PATCH",
314
317
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
315
318
  ? yield core.Supplier.get(this._options.accountToken)
316
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.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),
319
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
317
320
  contentType: "application/json",
318
321
  queryParameters: _queryParams,
319
322
  requestType: "json",
@@ -369,7 +372,7 @@ class Tasks {
369
372
  method: "GET",
370
373
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
371
374
  ? yield core.Supplier.get(this._options.accountToken)
372
- : 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),
375
+ : 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),
373
376
  contentType: "application/json",
374
377
  requestType: "json",
375
378
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -422,7 +425,7 @@ class Tasks {
422
425
  method: "GET",
423
426
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
424
427
  ? yield core.Supplier.get(this._options.accountToken)
425
- : 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),
428
+ : 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),
426
429
  contentType: "application/json",
427
430
  requestType: "json",
428
431
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -499,7 +502,7 @@ class Tasks {
499
502
  method: "GET",
500
503
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
501
504
  ? yield core.Supplier.get(this._options.accountToken)
502
- : 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),
505
+ : 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),
503
506
  contentType: "application/json",
504
507
  queryParameters: _queryParams,
505
508
  requestType: "json",
@@ -19,4 +19,8 @@ export interface TasksRetrieveRequest {
19
19
  * Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
20
20
  */
21
21
  includeRemoteFields?: boolean;
22
+ /**
23
+ * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
24
+ */
25
+ includeShellData?: boolean;
22
26
  }
@@ -103,7 +103,7 @@ class Users {
103
103
  method: "GET",
104
104
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
105
105
  ? yield core.Supplier.get(this._options.accountToken)
106
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.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),
106
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
107
107
  contentType: "application/json",
108
108
  queryParameters: _queryParams,
109
109
  requestType: "json",
@@ -154,7 +154,7 @@ class Users {
154
154
  retrieve(id, request = {}, requestOptions) {
155
155
  var _a, _b;
156
156
  return __awaiter(this, void 0, void 0, function* () {
157
- const { includeRemoteData, includeRemoteFields } = request;
157
+ const { includeRemoteData, includeRemoteFields, includeShellData } = request;
158
158
  const _queryParams = {};
159
159
  if (includeRemoteData != null) {
160
160
  _queryParams["include_remote_data"] = includeRemoteData.toString();
@@ -162,12 +162,15 @@ class Users {
162
162
  if (includeRemoteFields != null) {
163
163
  _queryParams["include_remote_fields"] = includeRemoteFields.toString();
164
164
  }
165
+ if (includeShellData != null) {
166
+ _queryParams["include_shell_data"] = includeShellData.toString();
167
+ }
165
168
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
166
169
  url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MergeEnvironment.Production, `crm/v1/users/${encodeURIComponent(id)}`),
167
170
  method: "GET",
168
171
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
169
172
  ? yield core.Supplier.get(this._options.accountToken)
170
- : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.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),
173
+ : undefined, "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@mergeapi/merge-node-client", "X-Fern-SDK-Version": "1.1.6", "User-Agent": "@mergeapi/merge-node-client/1.1.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
171
174
  contentType: "application/json",
172
175
  queryParameters: _queryParams,
173
176
  requestType: "json",
@@ -225,7 +228,7 @@ class Users {
225
228
  method: "POST",
226
229
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
227
230
  ? yield core.Supplier.get(this._options.accountToken)
228
- : 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),
231
+ : 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),
229
232
  contentType: "application/json",
230
233
  requestType: "json",
231
234
  body: serializers.crm.IgnoreCommonModelRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -297,7 +300,7 @@ class Users {
297
300
  method: "GET",
298
301
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
299
302
  ? yield core.Supplier.get(this._options.accountToken)
300
- : 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),
303
+ : 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),
301
304
  contentType: "application/json",
302
305
  queryParameters: _queryParams,
303
306
  requestType: "json",
@@ -14,4 +14,8 @@ export interface UsersRetrieveRequest {
14
14
  * Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
15
15
  */
16
16
  includeRemoteFields?: 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
  }
@@ -64,7 +64,7 @@ class WebhookReceivers {
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,
@@ -121,7 +121,7 @@ class WebhookReceivers {
121
121
  method: "POST",
122
122
  headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Account-Token": (yield core.Supplier.get(this._options.accountToken)) != null
123
123
  ? yield core.Supplier.get(this._options.accountToken)
124
- : 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),
124
+ : 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),
125
125
  contentType: "application/json",
126
126
  requestType: "json",
127
127
  body: serializers.crm.WebhookReceiverRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),