@mergeapi/merge-node-client 2.1.2 → 2.2.0

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 (1555) hide show
  1. package/.mock/definition/accounting/__package__.yml +77 -0
  2. package/.mock/definition/accounting/accountDetails.yml +2 -1
  3. package/.mock/definition/accounting/accountToken.yml +2 -0
  4. package/.mock/definition/accounting/accountingPeriods.yml +6 -2
  5. package/.mock/definition/accounting/accounts.yml +10 -4
  6. package/.mock/definition/accounting/addresses.yml +2 -1
  7. package/.mock/definition/accounting/asyncPassthrough.yml +4 -2
  8. package/.mock/definition/accounting/asyncTasks.yml +2 -1
  9. package/.mock/definition/accounting/attachments.yml +10 -4
  10. package/.mock/definition/accounting/auditTrail.yml +5 -1
  11. package/.mock/definition/accounting/availableActions.yml +2 -1
  12. package/.mock/definition/accounting/balanceSheets.yml +6 -2
  13. package/.mock/definition/accounting/bankFeedAccounts.yml +10 -4
  14. package/.mock/definition/accounting/bankFeedTransactions.yml +10 -4
  15. package/.mock/definition/accounting/cashFlowStatements.yml +6 -2
  16. package/.mock/definition/accounting/companyInfo.yml +6 -2
  17. package/.mock/definition/accounting/contacts.yml +294 -5
  18. package/.mock/definition/accounting/creditNotes.yml +10 -5
  19. package/.mock/definition/accounting/deleteAccount.yml +2 -1
  20. package/.mock/definition/accounting/employees.yml +6 -2
  21. package/.mock/definition/accounting/expenseReports.yml +22 -7
  22. package/.mock/definition/accounting/expenses.yml +18 -8
  23. package/.mock/definition/accounting/fieldMapping.yml +12 -6
  24. package/.mock/definition/accounting/forceResync.yml +2 -1
  25. package/.mock/definition/accounting/generalLedgerTransactions.yml +6 -2
  26. package/.mock/definition/accounting/generateKey.yml +3 -1
  27. package/.mock/definition/accounting/incomeStatements.yml +6 -2
  28. package/.mock/definition/accounting/invoices.yml +22 -9
  29. package/.mock/definition/accounting/issues.yml +7 -1
  30. package/.mock/definition/accounting/items.yml +14 -6
  31. package/.mock/definition/accounting/journalEntries.yml +18 -8
  32. package/.mock/definition/accounting/linkToken.yml +3 -1
  33. package/.mock/definition/accounting/linkedAccounts.yml +5 -1
  34. package/.mock/definition/accounting/passthrough.yml +2 -1
  35. package/.mock/definition/accounting/paymentMethods.yml +6 -2
  36. package/.mock/definition/accounting/paymentTerms.yml +6 -2
  37. package/.mock/definition/accounting/payments.yml +22 -8
  38. package/.mock/definition/accounting/phoneNumbers.yml +2 -1
  39. package/.mock/definition/accounting/projects.yml +6 -2
  40. package/.mock/definition/accounting/purchaseOrders.yml +18 -8
  41. package/.mock/definition/accounting/regenerateKey.yml +3 -1
  42. package/.mock/definition/accounting/scopes.yml +7 -3
  43. package/.mock/definition/accounting/syncStatus.yml +4 -1
  44. package/.mock/definition/accounting/taxRates.yml +6 -2
  45. package/.mock/definition/accounting/trackingCategories.yml +6 -2
  46. package/.mock/definition/accounting/transactions.yml +134 -4
  47. package/.mock/definition/accounting/vendorCredits.yml +10 -6
  48. package/.mock/definition/accounting/webhookReceivers.yml +4 -2
  49. package/.mock/definition/ats/__package__.yml +1 -0
  50. package/.mock/definition/ats/accountDetails.yml +2 -1
  51. package/.mock/definition/ats/accountToken.yml +2 -0
  52. package/.mock/definition/ats/activities.yml +10 -4
  53. package/.mock/definition/ats/applications.yml +12 -5
  54. package/.mock/definition/ats/asyncPassthrough.yml +4 -2
  55. package/.mock/definition/ats/attachments.yml +10 -4
  56. package/.mock/definition/ats/auditTrail.yml +5 -1
  57. package/.mock/definition/ats/availableActions.yml +2 -1
  58. package/.mock/definition/ats/candidates.yml +16 -7
  59. package/.mock/definition/ats/deleteAccount.yml +2 -1
  60. package/.mock/definition/ats/departments.yml +6 -2
  61. package/.mock/definition/ats/eeocs.yml +6 -2
  62. package/.mock/definition/ats/fieldMapping.yml +12 -6
  63. package/.mock/definition/ats/forceResync.yml +2 -1
  64. package/.mock/definition/ats/generateKey.yml +3 -1
  65. package/.mock/definition/ats/interviews.yml +10 -4
  66. package/.mock/definition/ats/issues.yml +7 -1
  67. package/.mock/definition/ats/jobInterviewStages.yml +6 -2
  68. package/.mock/definition/ats/jobPostings.yml +6 -2
  69. package/.mock/definition/ats/jobs.yml +10 -3
  70. package/.mock/definition/ats/linkToken.yml +3 -1
  71. package/.mock/definition/ats/linkedAccounts.yml +5 -1
  72. package/.mock/definition/ats/offers.yml +6 -2
  73. package/.mock/definition/ats/offices.yml +6 -2
  74. package/.mock/definition/ats/passthrough.yml +2 -1
  75. package/.mock/definition/ats/regenerateKey.yml +3 -1
  76. package/.mock/definition/ats/rejectReasons.yml +6 -2
  77. package/.mock/definition/ats/scopes.yml +7 -3
  78. package/.mock/definition/ats/scorecards.yml +6 -2
  79. package/.mock/definition/ats/syncStatus.yml +4 -1
  80. package/.mock/definition/ats/tags.yml +4 -1
  81. package/.mock/definition/ats/users.yml +6 -2
  82. package/.mock/definition/ats/webhookReceivers.yml +4 -2
  83. package/.mock/definition/crm/accountDetails.yml +2 -1
  84. package/.mock/definition/crm/accountToken.yml +2 -0
  85. package/.mock/definition/crm/accounts.yml +18 -7
  86. package/.mock/definition/crm/associationTypes.yml +10 -4
  87. package/.mock/definition/crm/associations.yml +6 -2
  88. package/.mock/definition/crm/asyncPassthrough.yml +4 -2
  89. package/.mock/definition/crm/auditTrail.yml +5 -1
  90. package/.mock/definition/crm/availableActions.yml +2 -1
  91. package/.mock/definition/crm/contacts.yml +20 -8
  92. package/.mock/definition/crm/customObjectClasses.yml +6 -2
  93. package/.mock/definition/crm/customObjects.yml +14 -5
  94. package/.mock/definition/crm/deleteAccount.yml +2 -1
  95. package/.mock/definition/crm/engagementTypes.yml +10 -3
  96. package/.mock/definition/crm/engagements.yml +18 -7
  97. package/.mock/definition/crm/fieldMapping.yml +12 -6
  98. package/.mock/definition/crm/forceResync.yml +2 -1
  99. package/.mock/definition/crm/generateKey.yml +3 -1
  100. package/.mock/definition/crm/issues.yml +7 -1
  101. package/.mock/definition/crm/leads.yml +14 -5
  102. package/.mock/definition/crm/linkToken.yml +3 -1
  103. package/.mock/definition/crm/linkedAccounts.yml +5 -1
  104. package/.mock/definition/crm/notes.yml +14 -5
  105. package/.mock/definition/crm/opportunities.yml +18 -7
  106. package/.mock/definition/crm/passthrough.yml +2 -1
  107. package/.mock/definition/crm/regenerateKey.yml +3 -1
  108. package/.mock/definition/crm/scopes.yml +7 -3
  109. package/.mock/definition/crm/stages.yml +10 -3
  110. package/.mock/definition/crm/syncStatus.yml +4 -1
  111. package/.mock/definition/crm/tasks.yml +18 -7
  112. package/.mock/definition/crm/users.yml +12 -4
  113. package/.mock/definition/crm/webhookReceivers.yml +4 -2
  114. package/.mock/definition/filestorage/accountDetails.yml +2 -1
  115. package/.mock/definition/filestorage/accountToken.yml +2 -0
  116. package/.mock/definition/filestorage/asyncPassthrough.yml +4 -2
  117. package/.mock/definition/filestorage/auditTrail.yml +5 -1
  118. package/.mock/definition/filestorage/availableActions.yml +2 -1
  119. package/.mock/definition/filestorage/deleteAccount.yml +2 -1
  120. package/.mock/definition/filestorage/drives.yml +6 -2
  121. package/.mock/definition/filestorage/fieldMapping.yml +12 -6
  122. package/.mock/definition/filestorage/files.yml +32 -6
  123. package/.mock/definition/filestorage/folders.yml +10 -4
  124. package/.mock/definition/filestorage/forceResync.yml +2 -1
  125. package/.mock/definition/filestorage/generateKey.yml +3 -1
  126. package/.mock/definition/filestorage/groups.yml +6 -2
  127. package/.mock/definition/filestorage/issues.yml +7 -1
  128. package/.mock/definition/filestorage/linkToken.yml +3 -1
  129. package/.mock/definition/filestorage/linkedAccounts.yml +5 -1
  130. package/.mock/definition/filestorage/passthrough.yml +2 -1
  131. package/.mock/definition/filestorage/regenerateKey.yml +3 -1
  132. package/.mock/definition/filestorage/scopes.yml +7 -3
  133. package/.mock/definition/filestorage/syncStatus.yml +4 -1
  134. package/.mock/definition/filestorage/users.yml +6 -2
  135. package/.mock/definition/filestorage/webhookReceivers.yml +4 -2
  136. package/.mock/definition/hris/__package__.yml +5 -5
  137. package/.mock/definition/hris/accountDetails.yml +2 -1
  138. package/.mock/definition/hris/accountToken.yml +2 -0
  139. package/.mock/definition/hris/asyncPassthrough.yml +4 -2
  140. package/.mock/definition/hris/auditTrail.yml +5 -1
  141. package/.mock/definition/hris/availableActions.yml +2 -1
  142. package/.mock/definition/hris/bankInfo.yml +6 -2
  143. package/.mock/definition/hris/benefits.yml +8 -6
  144. package/.mock/definition/hris/companies.yml +6 -2
  145. package/.mock/definition/hris/deleteAccount.yml +2 -1
  146. package/.mock/definition/hris/dependents.yml +6 -2
  147. package/.mock/definition/hris/employeePayrollRuns.yml +6 -2
  148. package/.mock/definition/hris/employees.yml +12 -11
  149. package/.mock/definition/hris/employerBenefits.yml +6 -2
  150. package/.mock/definition/hris/employments.yml +6 -2
  151. package/.mock/definition/hris/fieldMapping.yml +12 -6
  152. package/.mock/definition/hris/forceResync.yml +2 -1
  153. package/.mock/definition/hris/generateKey.yml +3 -1
  154. package/.mock/definition/hris/groups.yml +6 -2
  155. package/.mock/definition/hris/issues.yml +7 -1
  156. package/.mock/definition/hris/linkToken.yml +3 -1
  157. package/.mock/definition/hris/linkedAccounts.yml +5 -1
  158. package/.mock/definition/hris/locations.yml +6 -2
  159. package/.mock/definition/hris/passthrough.yml +2 -1
  160. package/.mock/definition/hris/payGroups.yml +6 -2
  161. package/.mock/definition/hris/payrollRuns.yml +6 -2
  162. package/.mock/definition/hris/regenerateKey.yml +3 -1
  163. package/.mock/definition/hris/scopes.yml +7 -3
  164. package/.mock/definition/hris/syncStatus.yml +4 -1
  165. package/.mock/definition/hris/teams.yml +6 -2
  166. package/.mock/definition/hris/timeOff.yml +10 -4
  167. package/.mock/definition/hris/timeOffBalances.yml +6 -2
  168. package/.mock/definition/hris/timesheetEntries.yml +10 -4
  169. package/.mock/definition/hris/webhookReceivers.yml +4 -2
  170. package/.mock/definition/ticketing/__package__.yml +3 -3
  171. package/.mock/definition/ticketing/accountDetails.yml +2 -1
  172. package/.mock/definition/ticketing/accountToken.yml +2 -0
  173. package/.mock/definition/ticketing/accounts.yml +6 -2
  174. package/.mock/definition/ticketing/asyncPassthrough.yml +4 -2
  175. package/.mock/definition/ticketing/attachments.yml +10 -4
  176. package/.mock/definition/ticketing/auditTrail.yml +5 -1
  177. package/.mock/definition/ticketing/availableActions.yml +2 -1
  178. package/.mock/definition/ticketing/collections.yml +10 -3
  179. package/.mock/definition/ticketing/comments.yml +10 -4
  180. package/.mock/definition/ticketing/contacts.yml +10 -4
  181. package/.mock/definition/ticketing/deleteAccount.yml +2 -1
  182. package/.mock/definition/ticketing/fieldMapping.yml +12 -6
  183. package/.mock/definition/ticketing/forceResync.yml +2 -1
  184. package/.mock/definition/ticketing/generateKey.yml +3 -1
  185. package/.mock/definition/ticketing/issues.yml +7 -1
  186. package/.mock/definition/ticketing/linkToken.yml +3 -1
  187. package/.mock/definition/ticketing/linkedAccounts.yml +5 -1
  188. package/.mock/definition/ticketing/passthrough.yml +2 -1
  189. package/.mock/definition/ticketing/projects.yml +10 -3
  190. package/.mock/definition/ticketing/regenerateKey.yml +3 -1
  191. package/.mock/definition/ticketing/roles.yml +6 -2
  192. package/.mock/definition/ticketing/scopes.yml +7 -3
  193. package/.mock/definition/ticketing/syncStatus.yml +4 -1
  194. package/.mock/definition/ticketing/tags.yml +6 -2
  195. package/.mock/definition/ticketing/teams.yml +6 -2
  196. package/.mock/definition/ticketing/tickets.yml +25 -8
  197. package/.mock/definition/ticketing/users.yml +6 -2
  198. package/.mock/definition/ticketing/webhookReceivers.yml +4 -2
  199. package/.mock/fern.config.json +1 -1
  200. package/Client.d.ts +3 -3
  201. package/Client.js +8 -8
  202. package/api/resources/accounting/resources/accountDetails/client/Client.js +8 -7
  203. package/api/resources/accounting/resources/accountToken/client/Client.js +8 -7
  204. package/api/resources/accounting/resources/accountingPeriods/client/Client.d.ts +3 -1
  205. package/api/resources/accounting/resources/accountingPeriods/client/Client.js +19 -15
  206. package/api/resources/accounting/resources/accountingPeriods/client/requests/AccountingPeriodsListRequest.d.ts +8 -16
  207. package/api/resources/accounting/resources/accountingPeriods/client/requests/AccountingPeriodsRetrieveRequest.d.ts +2 -6
  208. package/api/resources/accounting/resources/accounts/client/Client.d.ts +3 -1
  209. package/api/resources/accounting/resources/accounts/client/Client.js +35 -29
  210. package/api/resources/accounting/resources/accounts/client/requests/AccountEndpointRequest.d.ts +2 -6
  211. package/api/resources/accounting/resources/accounts/client/requests/AccountsListRequest.d.ts +21 -55
  212. package/api/resources/accounting/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +5 -15
  213. package/api/resources/accounting/resources/addresses/client/Client.js +8 -7
  214. package/api/resources/accounting/resources/addresses/client/requests/AddressesRetrieveRequest.d.ts +4 -12
  215. package/api/resources/accounting/resources/asyncPassthrough/client/Client.js +16 -14
  216. package/api/resources/accounting/resources/asyncTasks/client/Client.js +8 -7
  217. package/api/resources/accounting/resources/attachments/client/Client.d.ts +3 -1
  218. package/api/resources/accounting/resources/attachments/client/Client.js +35 -29
  219. package/api/resources/accounting/resources/attachments/client/requests/AccountingAttachmentEndpointRequest.d.ts +2 -6
  220. package/api/resources/accounting/resources/attachments/client/requests/AttachmentsListRequest.d.ts +14 -34
  221. package/api/resources/accounting/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +2 -6
  222. package/api/resources/accounting/resources/auditTrail/client/Client.d.ts +3 -1
  223. package/api/resources/accounting/resources/auditTrail/client/Client.js +11 -8
  224. package/api/resources/accounting/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
  225. package/api/resources/accounting/resources/availableActions/client/Client.js +8 -7
  226. package/api/resources/accounting/resources/balanceSheets/client/Client.d.ts +3 -1
  227. package/api/resources/accounting/resources/balanceSheets/client/Client.js +19 -15
  228. package/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsListRequest.d.ts +15 -37
  229. package/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsRetrieveRequest.d.ts +3 -9
  230. package/api/resources/accounting/resources/bankFeedAccounts/client/Client.d.ts +3 -1
  231. package/api/resources/accounting/resources/bankFeedAccounts/client/Client.js +35 -29
  232. package/api/resources/accounting/resources/bankFeedAccounts/client/requests/BankFeedAccountEndpointRequest.d.ts +2 -6
  233. package/api/resources/accounting/resources/bankFeedAccounts/client/requests/BankFeedAccountsListRequest.d.ts +8 -16
  234. package/api/resources/accounting/resources/bankFeedAccounts/client/requests/BankFeedAccountsRetrieveRequest.d.ts +2 -6
  235. package/api/resources/accounting/resources/bankFeedTransactions/client/Client.d.ts +3 -1
  236. package/api/resources/accounting/resources/bankFeedTransactions/client/Client.js +35 -29
  237. package/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionEndpointRequest.d.ts +2 -6
  238. package/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionsListRequest.d.ts +15 -37
  239. package/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionsRetrieveRequest.d.ts +3 -9
  240. package/api/resources/accounting/resources/cashFlowStatements/client/Client.d.ts +3 -1
  241. package/api/resources/accounting/resources/cashFlowStatements/client/Client.js +19 -15
  242. package/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsListRequest.d.ts +15 -37
  243. package/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsRetrieveRequest.d.ts +3 -9
  244. package/api/resources/accounting/resources/companyInfo/client/Client.d.ts +3 -1
  245. package/api/resources/accounting/resources/companyInfo/client/Client.js +19 -15
  246. package/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoListRequest.d.ts +14 -34
  247. package/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoRetrieveRequest.d.ts +3 -9
  248. package/api/resources/accounting/resources/contacts/client/Client.d.ts +31 -2
  249. package/api/resources/accounting/resources/contacts/client/Client.js +190 -37
  250. package/api/resources/accounting/resources/contacts/client/requests/ContactEndpointRequest.d.ts +2 -6
  251. package/api/resources/accounting/resources/contacts/client/requests/ContactsListRequest.d.ts +23 -61
  252. package/api/resources/accounting/resources/contacts/client/requests/ContactsRemoteFieldClassesListRequest.d.ts +10 -22
  253. package/api/resources/accounting/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +6 -18
  254. package/api/resources/accounting/resources/contacts/client/requests/PatchedContactEndpointRequest.d.ts +17 -0
  255. package/api/resources/accounting/resources/contacts/client/requests/PatchedContactEndpointRequest.js +5 -0
  256. package/api/resources/accounting/resources/contacts/client/requests/index.d.ts +1 -0
  257. package/api/resources/accounting/resources/creditNotes/client/Client.d.ts +3 -1
  258. package/api/resources/accounting/resources/creditNotes/client/Client.js +35 -29
  259. package/api/resources/accounting/resources/creditNotes/client/requests/CreditNoteEndpointRequest.d.ts +2 -6
  260. package/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesListRequest.d.ts +19 -49
  261. package/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesRetrieveRequest.d.ts +5 -15
  262. package/api/resources/accounting/resources/deleteAccount/client/Client.js +8 -7
  263. package/api/resources/accounting/resources/employees/client/Client.d.ts +3 -1
  264. package/api/resources/accounting/resources/employees/client/Client.js +19 -15
  265. package/api/resources/accounting/resources/employees/client/requests/EmployeesListRequest.d.ts +15 -37
  266. package/api/resources/accounting/resources/employees/client/requests/EmployeesRetrieveRequest.d.ts +3 -9
  267. package/api/resources/accounting/resources/expenseReports/client/Client.d.ts +12 -4
  268. package/api/resources/accounting/resources/expenseReports/client/Client.js +68 -53
  269. package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportEndpointRequest.d.ts +2 -6
  270. package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsLinesListRequest.d.ts +10 -22
  271. package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsLinesRemoteFieldClassesListRequest.d.ts +10 -22
  272. package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsListRequest.d.ts +16 -40
  273. package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsRemoteFieldClassesListRequest.d.ts +10 -22
  274. package/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsRetrieveRequest.d.ts +4 -12
  275. package/api/resources/accounting/resources/expenses/client/Client.d.ts +9 -3
  276. package/api/resources/accounting/resources/expenses/client/Client.js +57 -45
  277. package/api/resources/accounting/resources/expenses/client/requests/ExpenseEndpointRequest.d.ts +2 -6
  278. package/api/resources/accounting/resources/expenses/client/requests/ExpensesLinesRemoteFieldClassesListRequest.d.ts +10 -22
  279. package/api/resources/accounting/resources/expenses/client/requests/ExpensesListRequest.d.ts +18 -46
  280. package/api/resources/accounting/resources/expenses/client/requests/ExpensesRemoteFieldClassesListRequest.d.ts +10 -22
  281. package/api/resources/accounting/resources/expenses/client/requests/ExpensesRetrieveRequest.d.ts +4 -12
  282. package/api/resources/accounting/resources/fieldMapping/client/Client.js +48 -42
  283. package/api/resources/accounting/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
  284. package/api/resources/accounting/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
  285. package/api/resources/accounting/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
  286. package/api/resources/accounting/resources/forceResync/client/Client.js +8 -7
  287. package/api/resources/accounting/resources/generalLedgerTransactions/client/Client.d.ts +3 -1
  288. package/api/resources/accounting/resources/generalLedgerTransactions/client/Client.js +19 -15
  289. package/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsListRequest.d.ts +17 -43
  290. package/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsRetrieveRequest.d.ts +3 -9
  291. package/api/resources/accounting/resources/generateKey/client/Client.js +8 -7
  292. package/api/resources/accounting/resources/incomeStatements/client/Client.d.ts +3 -1
  293. package/api/resources/accounting/resources/incomeStatements/client/Client.js +19 -15
  294. package/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsListRequest.d.ts +15 -37
  295. package/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsRetrieveRequest.d.ts +3 -9
  296. package/api/resources/accounting/resources/invoices/client/Client.d.ts +9 -3
  297. package/api/resources/accounting/resources/invoices/client/Client.js +73 -59
  298. package/api/resources/accounting/resources/invoices/client/requests/InvoiceEndpointRequest.d.ts +2 -6
  299. package/api/resources/accounting/resources/invoices/client/requests/InvoicesLineItemsRemoteFieldClassesListRequest.d.ts +10 -22
  300. package/api/resources/accounting/resources/invoices/client/requests/InvoicesListRequest.d.ts +22 -58
  301. package/api/resources/accounting/resources/invoices/client/requests/InvoicesRemoteFieldClassesListRequest.d.ts +10 -22
  302. package/api/resources/accounting/resources/invoices/client/requests/InvoicesRetrieveRequest.d.ts +6 -18
  303. package/api/resources/accounting/resources/invoices/client/requests/PatchedInvoiceEndpointRequest.d.ts +2 -6
  304. package/api/resources/accounting/resources/issues/client/Client.d.ts +3 -1
  305. package/api/resources/accounting/resources/issues/client/Client.js +19 -15
  306. package/api/resources/accounting/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
  307. package/api/resources/accounting/resources/items/client/Client.d.ts +3 -1
  308. package/api/resources/accounting/resources/items/client/Client.js +51 -43
  309. package/api/resources/accounting/resources/items/client/requests/ItemEndpointRequest.d.ts +2 -6
  310. package/api/resources/accounting/resources/items/client/requests/ItemsListRequest.d.ts +17 -43
  311. package/api/resources/accounting/resources/items/client/requests/ItemsRetrieveRequest.d.ts +5 -15
  312. package/api/resources/accounting/resources/items/client/requests/PatchedItemEndpointRequest.d.ts +2 -6
  313. package/api/resources/accounting/resources/journalEntries/client/Client.d.ts +9 -3
  314. package/api/resources/accounting/resources/journalEntries/client/Client.js +57 -45
  315. package/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesLinesRemoteFieldClassesListRequest.d.ts +10 -22
  316. package/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesListRequest.d.ts +18 -46
  317. package/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRemoteFieldClassesListRequest.d.ts +10 -22
  318. package/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRetrieveRequest.d.ts +4 -12
  319. package/api/resources/accounting/resources/journalEntries/client/requests/JournalEntryEndpointRequest.d.ts +2 -6
  320. package/api/resources/accounting/resources/linkToken/client/Client.js +8 -7
  321. package/api/resources/accounting/resources/linkedAccounts/client/Client.d.ts +3 -1
  322. package/api/resources/accounting/resources/linkedAccounts/client/Client.js +11 -8
  323. package/api/resources/accounting/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
  324. package/api/resources/accounting/resources/passthrough/client/Client.js +8 -7
  325. package/api/resources/accounting/resources/paymentMethods/client/Client.d.ts +3 -1
  326. package/api/resources/accounting/resources/paymentMethods/client/Client.js +19 -15
  327. package/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsListRequest.d.ts +8 -16
  328. package/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsRetrieveRequest.d.ts +2 -6
  329. package/api/resources/accounting/resources/paymentTerms/client/Client.d.ts +3 -1
  330. package/api/resources/accounting/resources/paymentTerms/client/Client.js +19 -15
  331. package/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsListRequest.d.ts +9 -19
  332. package/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsRetrieveRequest.d.ts +3 -9
  333. package/api/resources/accounting/resources/payments/client/Client.d.ts +9 -3
  334. package/api/resources/accounting/resources/payments/client/Client.js +73 -59
  335. package/api/resources/accounting/resources/payments/client/requests/PatchedPaymentEndpointRequest.d.ts +2 -6
  336. package/api/resources/accounting/resources/payments/client/requests/PaymentEndpointRequest.d.ts +2 -6
  337. package/api/resources/accounting/resources/payments/client/requests/PaymentsLineItemsRemoteFieldClassesListRequest.d.ts +10 -22
  338. package/api/resources/accounting/resources/payments/client/requests/PaymentsListRequest.d.ts +20 -52
  339. package/api/resources/accounting/resources/payments/client/requests/PaymentsRemoteFieldClassesListRequest.d.ts +10 -22
  340. package/api/resources/accounting/resources/payments/client/requests/PaymentsRetrieveRequest.d.ts +4 -12
  341. package/api/resources/accounting/resources/phoneNumbers/client/Client.js +8 -7
  342. package/api/resources/accounting/resources/phoneNumbers/client/requests/PhoneNumbersRetrieveRequest.d.ts +2 -6
  343. package/api/resources/accounting/resources/projects/client/Client.d.ts +3 -1
  344. package/api/resources/accounting/resources/projects/client/Client.js +19 -15
  345. package/api/resources/accounting/resources/projects/client/requests/ProjectsListRequest.d.ts +15 -37
  346. package/api/resources/accounting/resources/projects/client/requests/ProjectsRetrieveRequest.d.ts +3 -9
  347. package/api/resources/accounting/resources/purchaseOrders/client/Client.d.ts +9 -3
  348. package/api/resources/accounting/resources/purchaseOrders/client/Client.js +57 -45
  349. package/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrderEndpointRequest.d.ts +2 -6
  350. package/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersLineItemsRemoteFieldClassesListRequest.d.ts +10 -22
  351. package/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersListRequest.d.ts +20 -52
  352. package/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRemoteFieldClassesListRequest.d.ts +10 -22
  353. package/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRetrieveRequest.d.ts +6 -18
  354. package/api/resources/accounting/resources/regenerateKey/client/Client.js +8 -7
  355. package/api/resources/accounting/resources/scopes/client/Client.js +24 -21
  356. package/api/resources/accounting/resources/syncStatus/client/Client.d.ts +3 -1
  357. package/api/resources/accounting/resources/syncStatus/client/Client.js +11 -8
  358. package/api/resources/accounting/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
  359. package/api/resources/accounting/resources/taxRates/client/Client.d.ts +3 -1
  360. package/api/resources/accounting/resources/taxRates/client/Client.js +19 -15
  361. package/api/resources/accounting/resources/taxRates/client/requests/TaxRatesListRequest.d.ts +16 -40
  362. package/api/resources/accounting/resources/taxRates/client/requests/TaxRatesRetrieveRequest.d.ts +3 -9
  363. package/api/resources/accounting/resources/trackingCategories/client/Client.d.ts +3 -1
  364. package/api/resources/accounting/resources/trackingCategories/client/Client.js +19 -15
  365. package/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesListRequest.d.ts +20 -52
  366. package/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesRetrieveRequest.d.ts +5 -15
  367. package/api/resources/accounting/resources/transactions/client/Client.d.ts +3 -1
  368. package/api/resources/accounting/resources/transactions/client/Client.js +19 -15
  369. package/api/resources/accounting/resources/transactions/client/requests/TransactionsListRequest.d.ts +17 -43
  370. package/api/resources/accounting/resources/transactions/client/requests/TransactionsRetrieveRequest.d.ts +3 -9
  371. package/api/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.d.ts +33 -1
  372. package/api/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.js +32 -0
  373. package/api/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.d.ts +33 -1
  374. package/api/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.js +32 -0
  375. package/api/resources/accounting/resources/vendorCredits/client/Client.d.ts +3 -1
  376. package/api/resources/accounting/resources/vendorCredits/client/Client.js +35 -29
  377. package/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditEndpointRequest.d.ts +2 -6
  378. package/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsListRequest.d.ts +17 -43
  379. package/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsRetrieveRequest.d.ts +3 -9
  380. package/api/resources/accounting/resources/webhookReceivers/client/Client.js +16 -14
  381. package/api/resources/accounting/types/PatchedContactRequest.d.ts +44 -0
  382. package/api/resources/accounting/types/PatchedContactRequest.js +5 -0
  383. package/api/resources/accounting/types/PatchedContactRequestAddressesItem.d.ts +5 -0
  384. package/api/resources/accounting/types/PatchedContactRequestAddressesItem.js +5 -0
  385. package/api/resources/accounting/types/index.d.ts +2 -0
  386. package/api/resources/accounting/types/index.js +2 -0
  387. package/api/resources/ats/resources/accountDetails/client/Client.js +8 -7
  388. package/api/resources/ats/resources/accountToken/client/Client.js +8 -7
  389. package/api/resources/ats/resources/activities/client/Client.d.ts +3 -1
  390. package/api/resources/ats/resources/activities/client/Client.js +35 -29
  391. package/api/resources/ats/resources/activities/client/requests/ActivitiesListRequest.d.ts +17 -43
  392. package/api/resources/ats/resources/activities/client/requests/ActivitiesRetrieveRequest.d.ts +5 -15
  393. package/api/resources/ats/resources/activities/client/requests/ActivityEndpointRequest.d.ts +2 -6
  394. package/api/resources/ats/resources/applications/client/Client.d.ts +3 -1
  395. package/api/resources/ats/resources/applications/client/Client.js +43 -36
  396. package/api/resources/ats/resources/applications/client/requests/ApplicationEndpointRequest.d.ts +2 -6
  397. package/api/resources/ats/resources/applications/client/requests/ApplicationsListRequest.d.ts +20 -52
  398. package/api/resources/ats/resources/applications/client/requests/ApplicationsMetaPostRetrieveRequest.d.ts +1 -3
  399. package/api/resources/ats/resources/applications/client/requests/ApplicationsRetrieveRequest.d.ts +3 -9
  400. package/api/resources/ats/resources/applications/client/requests/UpdateApplicationStageRequest.d.ts +2 -6
  401. package/api/resources/ats/resources/asyncPassthrough/client/Client.js +16 -14
  402. package/api/resources/ats/resources/attachments/client/Client.d.ts +3 -1
  403. package/api/resources/ats/resources/attachments/client/Client.js +35 -29
  404. package/api/resources/ats/resources/attachments/client/requests/AttachmentEndpointRequest.d.ts +2 -6
  405. package/api/resources/ats/resources/attachments/client/requests/AttachmentsListRequest.d.ts +17 -43
  406. package/api/resources/ats/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +5 -15
  407. package/api/resources/ats/resources/auditTrail/client/Client.d.ts +3 -1
  408. package/api/resources/ats/resources/auditTrail/client/Client.js +11 -8
  409. package/api/resources/ats/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
  410. package/api/resources/ats/resources/availableActions/client/Client.js +8 -7
  411. package/api/resources/ats/resources/candidates/client/Client.d.ts +3 -1
  412. package/api/resources/ats/resources/candidates/client/Client.js +59 -50
  413. package/api/resources/ats/resources/candidates/client/requests/CandidateEndpointRequest.d.ts +2 -6
  414. package/api/resources/ats/resources/candidates/client/requests/CandidatesListRequest.d.ts +18 -46
  415. package/api/resources/ats/resources/candidates/client/requests/CandidatesRetrieveRequest.d.ts +3 -9
  416. package/api/resources/ats/resources/candidates/client/requests/PatchedCandidateEndpointRequest.d.ts +2 -6
  417. package/api/resources/ats/resources/deleteAccount/client/Client.js +8 -7
  418. package/api/resources/ats/resources/departments/client/Client.d.ts +3 -1
  419. package/api/resources/ats/resources/departments/client/Client.js +19 -15
  420. package/api/resources/ats/resources/departments/client/requests/DepartmentsListRequest.d.ts +13 -31
  421. package/api/resources/ats/resources/departments/client/requests/DepartmentsRetrieveRequest.d.ts +2 -6
  422. package/api/resources/ats/resources/eeocs/client/Client.d.ts +3 -1
  423. package/api/resources/ats/resources/eeocs/client/Client.js +19 -15
  424. package/api/resources/ats/resources/eeocs/client/requests/EeocsListRequest.d.ts +17 -43
  425. package/api/resources/ats/resources/eeocs/client/requests/EeocsRetrieveRequest.d.ts +5 -15
  426. package/api/resources/ats/resources/fieldMapping/client/Client.js +48 -42
  427. package/api/resources/ats/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
  428. package/api/resources/ats/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
  429. package/api/resources/ats/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
  430. package/api/resources/ats/resources/forceResync/client/Client.js +8 -7
  431. package/api/resources/ats/resources/generateKey/client/Client.js +8 -7
  432. package/api/resources/ats/resources/interviews/client/Client.d.ts +3 -1
  433. package/api/resources/ats/resources/interviews/client/Client.js +35 -29
  434. package/api/resources/ats/resources/interviews/client/requests/InterviewsListRequest.d.ts +20 -52
  435. package/api/resources/ats/resources/interviews/client/requests/InterviewsRetrieveRequest.d.ts +5 -15
  436. package/api/resources/ats/resources/interviews/client/requests/ScheduledInterviewEndpointRequest.d.ts +2 -6
  437. package/api/resources/ats/resources/issues/client/Client.d.ts +3 -1
  438. package/api/resources/ats/resources/issues/client/Client.js +19 -15
  439. package/api/resources/ats/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
  440. package/api/resources/ats/resources/jobInterviewStages/client/Client.d.ts +3 -1
  441. package/api/resources/ats/resources/jobInterviewStages/client/Client.js +19 -15
  442. package/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesListRequest.d.ts +15 -37
  443. package/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesRetrieveRequest.d.ts +3 -9
  444. package/api/resources/ats/resources/jobPostings/client/Client.d.ts +3 -1
  445. package/api/resources/ats/resources/jobPostings/client/Client.js +19 -15
  446. package/api/resources/ats/resources/jobPostings/client/requests/JobPostingsListRequest.d.ts +14 -34
  447. package/api/resources/ats/resources/jobPostings/client/requests/JobPostingsRetrieveRequest.d.ts +3 -9
  448. package/api/resources/ats/resources/jobs/client/Client.d.ts +6 -2
  449. package/api/resources/ats/resources/jobs/client/Client.js +30 -23
  450. package/api/resources/ats/resources/jobs/client/requests/JobsListRequest.d.ts +18 -46
  451. package/api/resources/ats/resources/jobs/client/requests/JobsRetrieveRequest.d.ts +5 -15
  452. package/api/resources/ats/resources/jobs/client/requests/JobsScreeningQuestionsListRequest.d.ts +9 -19
  453. package/api/resources/ats/resources/linkToken/client/Client.js +8 -7
  454. package/api/resources/ats/resources/linkedAccounts/client/Client.d.ts +3 -1
  455. package/api/resources/ats/resources/linkedAccounts/client/Client.js +11 -8
  456. package/api/resources/ats/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
  457. package/api/resources/ats/resources/offers/client/Client.d.ts +3 -1
  458. package/api/resources/ats/resources/offers/client/Client.js +19 -15
  459. package/api/resources/ats/resources/offers/client/requests/OffersListRequest.d.ts +18 -46
  460. package/api/resources/ats/resources/offers/client/requests/OffersRetrieveRequest.d.ts +5 -15
  461. package/api/resources/ats/resources/offices/client/Client.d.ts +3 -1
  462. package/api/resources/ats/resources/offices/client/Client.js +19 -15
  463. package/api/resources/ats/resources/offices/client/requests/OfficesListRequest.d.ts +13 -31
  464. package/api/resources/ats/resources/offices/client/requests/OfficesRetrieveRequest.d.ts +2 -6
  465. package/api/resources/ats/resources/passthrough/client/Client.js +8 -7
  466. package/api/resources/ats/resources/regenerateKey/client/Client.js +8 -7
  467. package/api/resources/ats/resources/rejectReasons/client/Client.d.ts +3 -1
  468. package/api/resources/ats/resources/rejectReasons/client/Client.js +19 -15
  469. package/api/resources/ats/resources/rejectReasons/client/requests/RejectReasonsListRequest.d.ts +13 -31
  470. package/api/resources/ats/resources/rejectReasons/client/requests/RejectReasonsRetrieveRequest.d.ts +2 -6
  471. package/api/resources/ats/resources/scopes/client/Client.js +24 -21
  472. package/api/resources/ats/resources/scorecards/client/Client.d.ts +3 -1
  473. package/api/resources/ats/resources/scorecards/client/Client.js +19 -15
  474. package/api/resources/ats/resources/scorecards/client/requests/ScorecardsListRequest.d.ts +19 -49
  475. package/api/resources/ats/resources/scorecards/client/requests/ScorecardsRetrieveRequest.d.ts +5 -15
  476. package/api/resources/ats/resources/syncStatus/client/Client.d.ts +3 -1
  477. package/api/resources/ats/resources/syncStatus/client/Client.js +11 -8
  478. package/api/resources/ats/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
  479. package/api/resources/ats/resources/tags/client/Client.d.ts +3 -1
  480. package/api/resources/ats/resources/tags/client/Client.js +11 -8
  481. package/api/resources/ats/resources/tags/client/requests/TagsListRequest.d.ts +13 -31
  482. package/api/resources/ats/resources/users/client/Client.d.ts +3 -1
  483. package/api/resources/ats/resources/users/client/Client.js +19 -15
  484. package/api/resources/ats/resources/users/client/requests/UsersListRequest.d.ts +16 -40
  485. package/api/resources/ats/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -12
  486. package/api/resources/ats/resources/webhookReceivers/client/Client.js +16 -14
  487. package/api/resources/ats/types/EventTypeEnum.d.ts +2 -1
  488. package/api/resources/ats/types/EventTypeEnum.js +1 -0
  489. package/api/resources/crm/resources/accountDetails/client/Client.js +8 -7
  490. package/api/resources/crm/resources/accountToken/client/Client.js +8 -7
  491. package/api/resources/crm/resources/accounts/client/Client.d.ts +6 -2
  492. package/api/resources/crm/resources/accounts/client/Client.js +62 -51
  493. package/api/resources/crm/resources/accounts/client/requests/AccountsListRequest.d.ts +17 -43
  494. package/api/resources/crm/resources/accounts/client/requests/AccountsRemoteFieldClassesListRequest.d.ts +11 -25
  495. package/api/resources/crm/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +4 -12
  496. package/api/resources/crm/resources/accounts/client/requests/CrmAccountEndpointRequest.d.ts +2 -6
  497. package/api/resources/crm/resources/accounts/client/requests/PatchedCrmAccountEndpointRequest.d.ts +2 -6
  498. package/api/resources/crm/resources/associationTypes/client/Client.d.ts +3 -1
  499. package/api/resources/crm/resources/associationTypes/client/Client.js +35 -29
  500. package/api/resources/crm/resources/associationTypes/client/requests/CrmAssociationTypeEndpointRequest.d.ts +2 -6
  501. package/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesListRequest.d.ts +14 -34
  502. package/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesRetrieveRequest.d.ts +3 -9
  503. package/api/resources/crm/resources/associations/client/Client.d.ts +3 -1
  504. package/api/resources/crm/resources/associations/client/Client.js +19 -15
  505. package/api/resources/crm/resources/associations/client/requests/CustomObjectClassesCustomObjectsAssociationsListRequest.d.ts +15 -37
  506. package/api/resources/crm/resources/associations/client/requests/CustomObjectClassesCustomObjectsAssociationsUpdateRequest.d.ts +2 -6
  507. package/api/resources/crm/resources/asyncPassthrough/client/Client.js +16 -14
  508. package/api/resources/crm/resources/auditTrail/client/Client.d.ts +3 -1
  509. package/api/resources/crm/resources/auditTrail/client/Client.js +11 -8
  510. package/api/resources/crm/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
  511. package/api/resources/crm/resources/availableActions/client/Client.js +8 -7
  512. package/api/resources/crm/resources/contacts/client/Client.d.ts +6 -2
  513. package/api/resources/crm/resources/contacts/client/Client.js +70 -58
  514. package/api/resources/crm/resources/contacts/client/requests/ContactsListRequest.d.ts +18 -46
  515. package/api/resources/crm/resources/contacts/client/requests/ContactsRemoteFieldClassesListRequest.d.ts +11 -25
  516. package/api/resources/crm/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +4 -12
  517. package/api/resources/crm/resources/contacts/client/requests/CrmContactEndpointRequest.d.ts +2 -6
  518. package/api/resources/crm/resources/contacts/client/requests/PatchedCrmContactEndpointRequest.d.ts +2 -6
  519. package/api/resources/crm/resources/customObjectClasses/client/Client.d.ts +3 -1
  520. package/api/resources/crm/resources/customObjectClasses/client/Client.js +19 -15
  521. package/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesListRequest.d.ts +14 -34
  522. package/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesRetrieveRequest.d.ts +3 -9
  523. package/api/resources/crm/resources/customObjects/client/Client.d.ts +6 -2
  524. package/api/resources/crm/resources/customObjects/client/Client.js +46 -37
  525. package/api/resources/crm/resources/customObjects/client/requests/CrmCustomObjectEndpointRequest.d.ts +2 -6
  526. package/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsListRequest.d.ts +14 -34
  527. package/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsRemoteFieldClassesListRequest.d.ts +11 -25
  528. package/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsRetrieveRequest.d.ts +3 -9
  529. package/api/resources/crm/resources/deleteAccount/client/Client.js +8 -7
  530. package/api/resources/crm/resources/engagementTypes/client/Client.d.ts +6 -2
  531. package/api/resources/crm/resources/engagementTypes/client/Client.js +30 -23
  532. package/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesListRequest.d.ts +14 -34
  533. package/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRemoteFieldClassesListRequest.d.ts +11 -25
  534. package/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRetrieveRequest.d.ts +3 -9
  535. package/api/resources/crm/resources/engagements/client/Client.d.ts +6 -2
  536. package/api/resources/crm/resources/engagements/client/Client.js +62 -51
  537. package/api/resources/crm/resources/engagements/client/requests/EngagementEndpointRequest.d.ts +2 -6
  538. package/api/resources/crm/resources/engagements/client/requests/EngagementsListRequest.d.ts +17 -43
  539. package/api/resources/crm/resources/engagements/client/requests/EngagementsRemoteFieldClassesListRequest.d.ts +11 -25
  540. package/api/resources/crm/resources/engagements/client/requests/EngagementsRetrieveRequest.d.ts +4 -12
  541. package/api/resources/crm/resources/engagements/client/requests/PatchedEngagementEndpointRequest.d.ts +2 -6
  542. package/api/resources/crm/resources/fieldMapping/client/Client.js +48 -42
  543. package/api/resources/crm/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
  544. package/api/resources/crm/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
  545. package/api/resources/crm/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
  546. package/api/resources/crm/resources/forceResync/client/Client.js +8 -7
  547. package/api/resources/crm/resources/generateKey/client/Client.js +8 -7
  548. package/api/resources/crm/resources/issues/client/Client.d.ts +3 -1
  549. package/api/resources/crm/resources/issues/client/Client.js +19 -15
  550. package/api/resources/crm/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
  551. package/api/resources/crm/resources/leads/client/Client.d.ts +6 -2
  552. package/api/resources/crm/resources/leads/client/Client.js +46 -37
  553. package/api/resources/crm/resources/leads/client/requests/LeadEndpointRequest.d.ts +2 -6
  554. package/api/resources/crm/resources/leads/client/requests/LeadsListRequest.d.ts +20 -52
  555. package/api/resources/crm/resources/leads/client/requests/LeadsRemoteFieldClassesListRequest.d.ts +11 -25
  556. package/api/resources/crm/resources/leads/client/requests/LeadsRetrieveRequest.d.ts +4 -12
  557. package/api/resources/crm/resources/linkToken/client/Client.js +8 -7
  558. package/api/resources/crm/resources/linkedAccounts/client/Client.d.ts +3 -1
  559. package/api/resources/crm/resources/linkedAccounts/client/Client.js +11 -8
  560. package/api/resources/crm/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
  561. package/api/resources/crm/resources/notes/client/Client.d.ts +6 -2
  562. package/api/resources/crm/resources/notes/client/Client.js +46 -37
  563. package/api/resources/crm/resources/notes/client/requests/NoteEndpointRequest.d.ts +2 -6
  564. package/api/resources/crm/resources/notes/client/requests/NotesListRequest.d.ts +19 -49
  565. package/api/resources/crm/resources/notes/client/requests/NotesRemoteFieldClassesListRequest.d.ts +11 -25
  566. package/api/resources/crm/resources/notes/client/requests/NotesRetrieveRequest.d.ts +4 -12
  567. package/api/resources/crm/resources/opportunities/client/Client.d.ts +6 -2
  568. package/api/resources/crm/resources/opportunities/client/Client.js +62 -51
  569. package/api/resources/crm/resources/opportunities/client/requests/OpportunitiesListRequest.d.ts +21 -55
  570. package/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRemoteFieldClassesListRequest.d.ts +11 -25
  571. package/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRetrieveRequest.d.ts +6 -18
  572. package/api/resources/crm/resources/opportunities/client/requests/OpportunityEndpointRequest.d.ts +2 -6
  573. package/api/resources/crm/resources/opportunities/client/requests/PatchedOpportunityEndpointRequest.d.ts +2 -6
  574. package/api/resources/crm/resources/passthrough/client/Client.js +8 -7
  575. package/api/resources/crm/resources/regenerateKey/client/Client.js +8 -7
  576. package/api/resources/crm/resources/scopes/client/Client.js +24 -21
  577. package/api/resources/crm/resources/stages/client/Client.d.ts +6 -2
  578. package/api/resources/crm/resources/stages/client/Client.js +30 -23
  579. package/api/resources/crm/resources/stages/client/requests/StagesListRequest.d.ts +14 -34
  580. package/api/resources/crm/resources/stages/client/requests/StagesRemoteFieldClassesListRequest.d.ts +11 -25
  581. package/api/resources/crm/resources/stages/client/requests/StagesRetrieveRequest.d.ts +3 -9
  582. package/api/resources/crm/resources/syncStatus/client/Client.d.ts +3 -1
  583. package/api/resources/crm/resources/syncStatus/client/Client.js +11 -8
  584. package/api/resources/crm/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
  585. package/api/resources/crm/resources/tasks/client/Client.d.ts +6 -2
  586. package/api/resources/crm/resources/tasks/client/Client.js +62 -51
  587. package/api/resources/crm/resources/tasks/client/requests/PatchedTaskEndpointRequest.d.ts +2 -6
  588. package/api/resources/crm/resources/tasks/client/requests/TaskEndpointRequest.d.ts +2 -6
  589. package/api/resources/crm/resources/tasks/client/requests/TasksListRequest.d.ts +15 -37
  590. package/api/resources/crm/resources/tasks/client/requests/TasksRemoteFieldClassesListRequest.d.ts +11 -25
  591. package/api/resources/crm/resources/tasks/client/requests/TasksRetrieveRequest.d.ts +4 -12
  592. package/api/resources/crm/resources/users/client/Client.d.ts +6 -2
  593. package/api/resources/crm/resources/users/client/Client.js +38 -30
  594. package/api/resources/crm/resources/users/client/requests/UsersListRequest.d.ts +15 -37
  595. package/api/resources/crm/resources/users/client/requests/UsersRemoteFieldClassesListRequest.d.ts +11 -25
  596. package/api/resources/crm/resources/users/client/requests/UsersRetrieveRequest.d.ts +3 -9
  597. package/api/resources/crm/resources/webhookReceivers/client/Client.js +16 -14
  598. package/api/resources/filestorage/resources/accountDetails/client/Client.js +8 -7
  599. package/api/resources/filestorage/resources/accountToken/client/Client.js +8 -7
  600. package/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +16 -14
  601. package/api/resources/filestorage/resources/auditTrail/client/Client.d.ts +3 -1
  602. package/api/resources/filestorage/resources/auditTrail/client/Client.js +11 -8
  603. package/api/resources/filestorage/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
  604. package/api/resources/filestorage/resources/availableActions/client/Client.js +8 -7
  605. package/api/resources/filestorage/resources/deleteAccount/client/Client.js +8 -7
  606. package/api/resources/filestorage/resources/drives/client/Client.d.ts +3 -1
  607. package/api/resources/filestorage/resources/drives/client/Client.js +19 -15
  608. package/api/resources/filestorage/resources/drives/client/requests/DrivesListRequest.d.ts +14 -34
  609. package/api/resources/filestorage/resources/drives/client/requests/DrivesRetrieveRequest.d.ts +2 -6
  610. package/api/resources/filestorage/resources/fieldMapping/client/Client.js +48 -42
  611. package/api/resources/filestorage/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
  612. package/api/resources/filestorage/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
  613. package/api/resources/filestorage/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
  614. package/api/resources/filestorage/resources/files/client/Client.d.ts +6 -2
  615. package/api/resources/filestorage/resources/files/client/Client.js +78 -53
  616. package/api/resources/filestorage/resources/files/client/requests/FileStorageFileEndpointRequest.d.ts +2 -6
  617. package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaListRequest.d.ts +14 -28
  618. package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaRetrieveRequest.d.ts +1 -3
  619. package/api/resources/filestorage/resources/files/client/requests/FilesDownloadRetrieveRequest.d.ts +2 -6
  620. package/api/resources/filestorage/resources/files/client/requests/FilesListRequest.d.ts +23 -49
  621. package/api/resources/filestorage/resources/files/client/requests/FilesRetrieveRequest.d.ts +3 -9
  622. package/api/resources/filestorage/resources/folders/client/Client.d.ts +3 -1
  623. package/api/resources/filestorage/resources/folders/client/Client.js +35 -29
  624. package/api/resources/filestorage/resources/folders/client/requests/FileStorageFolderEndpointRequest.d.ts +2 -6
  625. package/api/resources/filestorage/resources/folders/client/requests/FoldersListRequest.d.ts +17 -43
  626. package/api/resources/filestorage/resources/folders/client/requests/FoldersRetrieveRequest.d.ts +3 -9
  627. package/api/resources/filestorage/resources/forceResync/client/Client.js +8 -7
  628. package/api/resources/filestorage/resources/generateKey/client/Client.js +8 -7
  629. package/api/resources/filestorage/resources/groups/client/Client.d.ts +3 -1
  630. package/api/resources/filestorage/resources/groups/client/Client.js +19 -15
  631. package/api/resources/filestorage/resources/groups/client/requests/GroupsListRequest.d.ts +14 -34
  632. package/api/resources/filestorage/resources/groups/client/requests/GroupsRetrieveRequest.d.ts +3 -9
  633. package/api/resources/filestorage/resources/issues/client/Client.d.ts +3 -1
  634. package/api/resources/filestorage/resources/issues/client/Client.js +19 -15
  635. package/api/resources/filestorage/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
  636. package/api/resources/filestorage/resources/linkToken/client/Client.js +8 -7
  637. package/api/resources/filestorage/resources/linkedAccounts/client/Client.d.ts +3 -1
  638. package/api/resources/filestorage/resources/linkedAccounts/client/Client.js +11 -8
  639. package/api/resources/filestorage/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
  640. package/api/resources/filestorage/resources/passthrough/client/Client.js +8 -7
  641. package/api/resources/filestorage/resources/regenerateKey/client/Client.js +8 -7
  642. package/api/resources/filestorage/resources/scopes/client/Client.js +24 -21
  643. package/api/resources/filestorage/resources/syncStatus/client/Client.d.ts +3 -1
  644. package/api/resources/filestorage/resources/syncStatus/client/Client.js +11 -8
  645. package/api/resources/filestorage/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
  646. package/api/resources/filestorage/resources/users/client/Client.d.ts +3 -1
  647. package/api/resources/filestorage/resources/users/client/Client.js +19 -15
  648. package/api/resources/filestorage/resources/users/client/requests/UsersListRequest.d.ts +14 -34
  649. package/api/resources/filestorage/resources/users/client/requests/UsersRetrieveRequest.d.ts +2 -6
  650. package/api/resources/filestorage/resources/webhookReceivers/client/Client.js +16 -14
  651. package/api/resources/hris/resources/accountDetails/client/Client.js +8 -7
  652. package/api/resources/hris/resources/accountToken/client/Client.js +8 -7
  653. package/api/resources/hris/resources/asyncPassthrough/client/Client.js +16 -14
  654. package/api/resources/hris/resources/auditTrail/client/Client.d.ts +3 -1
  655. package/api/resources/hris/resources/auditTrail/client/Client.js +11 -8
  656. package/api/resources/hris/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
  657. package/api/resources/hris/resources/availableActions/client/Client.js +8 -7
  658. package/api/resources/hris/resources/bankInfo/client/Client.d.ts +3 -1
  659. package/api/resources/hris/resources/bankInfo/client/Client.js +19 -15
  660. package/api/resources/hris/resources/bankInfo/client/requests/BankInfoListRequest.d.ts +19 -49
  661. package/api/resources/hris/resources/bankInfo/client/requests/BankInfoRetrieveRequest.d.ts +5 -15
  662. package/api/resources/hris/resources/benefits/client/Client.d.ts +3 -1
  663. package/api/resources/hris/resources/benefits/client/Client.js +19 -15
  664. package/api/resources/hris/resources/benefits/client/requests/BenefitsListRequest.d.ts +15 -37
  665. package/api/resources/hris/resources/benefits/client/requests/BenefitsRetrieveRequest.d.ts +3 -9
  666. package/api/resources/hris/resources/companies/client/Client.d.ts +3 -1
  667. package/api/resources/hris/resources/companies/client/Client.js +19 -15
  668. package/api/resources/hris/resources/companies/client/requests/CompaniesListRequest.d.ts +13 -31
  669. package/api/resources/hris/resources/companies/client/requests/CompaniesRetrieveRequest.d.ts +2 -6
  670. package/api/resources/hris/resources/deleteAccount/client/Client.js +8 -7
  671. package/api/resources/hris/resources/dependents/client/Client.d.ts +3 -1
  672. package/api/resources/hris/resources/dependents/client/Client.js +19 -15
  673. package/api/resources/hris/resources/dependents/client/requests/DependentsListRequest.d.ts +14 -34
  674. package/api/resources/hris/resources/dependents/client/requests/DependentsRetrieveRequest.d.ts +3 -9
  675. package/api/resources/hris/resources/employeePayrollRuns/client/Client.d.ts +3 -1
  676. package/api/resources/hris/resources/employeePayrollRuns/client/Client.js +19 -15
  677. package/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsListRequest.d.ts +20 -52
  678. package/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsRetrieveRequest.d.ts +3 -9
  679. package/api/resources/hris/resources/employees/client/Client.d.ts +3 -1
  680. package/api/resources/hris/resources/employees/client/Client.js +43 -36
  681. package/api/resources/hris/resources/employees/client/requests/EmployeeEndpointRequest.d.ts +2 -6
  682. package/api/resources/hris/resources/employees/client/requests/EmployeesListRequest.d.ts +35 -97
  683. package/api/resources/hris/resources/employees/client/requests/EmployeesRetrieveRequest.d.ts +6 -18
  684. package/api/resources/hris/resources/employerBenefits/client/Client.d.ts +3 -1
  685. package/api/resources/hris/resources/employerBenefits/client/Client.js +19 -15
  686. package/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsListRequest.d.ts +13 -31
  687. package/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsRetrieveRequest.d.ts +2 -6
  688. package/api/resources/hris/resources/employments/client/Client.d.ts +3 -1
  689. package/api/resources/hris/resources/employments/client/Client.js +19 -15
  690. package/api/resources/hris/resources/employments/client/requests/EmploymentsListRequest.d.ts +18 -46
  691. package/api/resources/hris/resources/employments/client/requests/EmploymentsRetrieveRequest.d.ts +5 -15
  692. package/api/resources/hris/resources/fieldMapping/client/Client.js +48 -42
  693. package/api/resources/hris/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
  694. package/api/resources/hris/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
  695. package/api/resources/hris/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
  696. package/api/resources/hris/resources/forceResync/client/Client.js +8 -7
  697. package/api/resources/hris/resources/generateKey/client/Client.js +8 -7
  698. package/api/resources/hris/resources/groups/client/Client.d.ts +3 -1
  699. package/api/resources/hris/resources/groups/client/Client.js +19 -15
  700. package/api/resources/hris/resources/groups/client/requests/GroupsListRequest.d.ts +18 -46
  701. package/api/resources/hris/resources/groups/client/requests/GroupsRetrieveRequest.d.ts +4 -12
  702. package/api/resources/hris/resources/issues/client/Client.d.ts +3 -1
  703. package/api/resources/hris/resources/issues/client/Client.js +19 -15
  704. package/api/resources/hris/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
  705. package/api/resources/hris/resources/linkToken/client/Client.js +8 -7
  706. package/api/resources/hris/resources/linkedAccounts/client/Client.d.ts +3 -1
  707. package/api/resources/hris/resources/linkedAccounts/client/Client.js +11 -8
  708. package/api/resources/hris/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
  709. package/api/resources/hris/resources/locations/client/Client.d.ts +3 -1
  710. package/api/resources/hris/resources/locations/client/Client.js +19 -15
  711. package/api/resources/hris/resources/locations/client/requests/LocationsListRequest.d.ts +15 -37
  712. package/api/resources/hris/resources/locations/client/requests/LocationsRetrieveRequest.d.ts +4 -12
  713. package/api/resources/hris/resources/passthrough/client/Client.js +8 -7
  714. package/api/resources/hris/resources/payGroups/client/Client.d.ts +3 -1
  715. package/api/resources/hris/resources/payGroups/client/Client.js +19 -15
  716. package/api/resources/hris/resources/payGroups/client/requests/PayGroupsListRequest.d.ts +13 -31
  717. package/api/resources/hris/resources/payGroups/client/requests/PayGroupsRetrieveRequest.d.ts +2 -6
  718. package/api/resources/hris/resources/payrollRuns/client/Client.d.ts +3 -1
  719. package/api/resources/hris/resources/payrollRuns/client/Client.js +19 -15
  720. package/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsListRequest.d.ts +19 -49
  721. package/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsRetrieveRequest.d.ts +4 -12
  722. package/api/resources/hris/resources/regenerateKey/client/Client.js +8 -7
  723. package/api/resources/hris/resources/scopes/client/Client.js +24 -21
  724. package/api/resources/hris/resources/syncStatus/client/Client.d.ts +3 -1
  725. package/api/resources/hris/resources/syncStatus/client/Client.js +11 -8
  726. package/api/resources/hris/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
  727. package/api/resources/hris/resources/teams/client/Client.d.ts +3 -1
  728. package/api/resources/hris/resources/teams/client/Client.js +19 -15
  729. package/api/resources/hris/resources/teams/client/requests/TeamsListRequest.d.ts +15 -37
  730. package/api/resources/hris/resources/teams/client/requests/TeamsRetrieveRequest.d.ts +3 -9
  731. package/api/resources/hris/resources/timeOff/client/Client.d.ts +3 -1
  732. package/api/resources/hris/resources/timeOff/client/Client.js +35 -29
  733. package/api/resources/hris/resources/timeOff/client/requests/TimeOffEndpointRequest.d.ts +2 -6
  734. package/api/resources/hris/resources/timeOff/client/requests/TimeOffListRequest.d.ts +22 -58
  735. package/api/resources/hris/resources/timeOff/client/requests/TimeOffRetrieveRequest.d.ts +5 -15
  736. package/api/resources/hris/resources/timeOffBalances/client/Client.d.ts +3 -1
  737. package/api/resources/hris/resources/timeOffBalances/client/Client.js +19 -15
  738. package/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesListRequest.d.ts +17 -43
  739. package/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesRetrieveRequest.d.ts +5 -15
  740. package/api/resources/hris/resources/timesheetEntries/client/Client.d.ts +3 -1
  741. package/api/resources/hris/resources/timesheetEntries/client/Client.js +35 -29
  742. package/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesListRequest.d.ts +20 -52
  743. package/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesRetrieveRequest.d.ts +3 -9
  744. package/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntryEndpointRequest.d.ts +2 -6
  745. package/api/resources/hris/resources/webhookReceivers/client/Client.js +16 -14
  746. package/api/resources/hris/types/Benefit.d.ts +2 -2
  747. package/api/resources/index.d.ts +1 -1
  748. package/api/resources/index.js +2 -2
  749. package/api/resources/ticketing/resources/accountDetails/client/Client.js +8 -7
  750. package/api/resources/ticketing/resources/accountToken/client/Client.js +8 -7
  751. package/api/resources/ticketing/resources/accounts/client/Client.d.ts +3 -1
  752. package/api/resources/ticketing/resources/accounts/client/Client.js +19 -15
  753. package/api/resources/ticketing/resources/accounts/client/requests/AccountsListRequest.d.ts +13 -31
  754. package/api/resources/ticketing/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +2 -6
  755. package/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +16 -14
  756. package/api/resources/ticketing/resources/attachments/client/Client.d.ts +3 -1
  757. package/api/resources/ticketing/resources/attachments/client/Client.js +43 -36
  758. package/api/resources/ticketing/resources/attachments/client/requests/AttachmentsDownloadRetrieveRequest.d.ts +2 -6
  759. package/api/resources/ticketing/resources/attachments/client/requests/AttachmentsListRequest.d.ts +16 -40
  760. package/api/resources/ticketing/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +3 -9
  761. package/api/resources/ticketing/resources/attachments/client/requests/TicketingAttachmentEndpointRequest.d.ts +2 -6
  762. package/api/resources/ticketing/resources/auditTrail/client/Client.d.ts +3 -1
  763. package/api/resources/ticketing/resources/auditTrail/client/Client.js +11 -8
  764. package/api/resources/ticketing/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
  765. package/api/resources/ticketing/resources/availableActions/client/Client.js +8 -7
  766. package/api/resources/ticketing/resources/collections/client/Client.d.ts +6 -2
  767. package/api/resources/ticketing/resources/collections/client/Client.js +30 -23
  768. package/api/resources/ticketing/resources/collections/client/requests/CollectionsListRequest.d.ts +18 -46
  769. package/api/resources/ticketing/resources/collections/client/requests/CollectionsRetrieveRequest.d.ts +5 -15
  770. package/api/resources/ticketing/resources/collections/client/requests/CollectionsViewersListRequest.d.ts +9 -19
  771. package/api/resources/ticketing/resources/comments/client/Client.d.ts +3 -1
  772. package/api/resources/ticketing/resources/comments/client/Client.js +35 -29
  773. package/api/resources/ticketing/resources/comments/client/requests/CommentEndpointRequest.d.ts +2 -6
  774. package/api/resources/ticketing/resources/comments/client/requests/CommentsListRequest.d.ts +16 -40
  775. package/api/resources/ticketing/resources/comments/client/requests/CommentsRetrieveRequest.d.ts +3 -9
  776. package/api/resources/ticketing/resources/contacts/client/Client.d.ts +3 -1
  777. package/api/resources/ticketing/resources/contacts/client/Client.js +35 -29
  778. package/api/resources/ticketing/resources/contacts/client/requests/ContactsListRequest.d.ts +14 -34
  779. package/api/resources/ticketing/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +3 -9
  780. package/api/resources/ticketing/resources/contacts/client/requests/TicketingContactEndpointRequest.d.ts +2 -6
  781. package/api/resources/ticketing/resources/deleteAccount/client/Client.js +8 -7
  782. package/api/resources/ticketing/resources/fieldMapping/client/Client.js +48 -42
  783. package/api/resources/ticketing/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
  784. package/api/resources/ticketing/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
  785. package/api/resources/ticketing/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
  786. package/api/resources/ticketing/resources/forceResync/client/Client.js +8 -7
  787. package/api/resources/ticketing/resources/generateKey/client/Client.js +8 -7
  788. package/api/resources/ticketing/resources/issues/client/Client.d.ts +3 -1
  789. package/api/resources/ticketing/resources/issues/client/Client.js +19 -15
  790. package/api/resources/ticketing/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
  791. package/api/resources/ticketing/resources/linkToken/client/Client.js +8 -7
  792. package/api/resources/ticketing/resources/linkedAccounts/client/Client.d.ts +3 -1
  793. package/api/resources/ticketing/resources/linkedAccounts/client/Client.js +11 -8
  794. package/api/resources/ticketing/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
  795. package/api/resources/ticketing/resources/passthrough/client/Client.js +8 -7
  796. package/api/resources/ticketing/resources/projects/client/Client.d.ts +6 -2
  797. package/api/resources/ticketing/resources/projects/client/Client.js +30 -23
  798. package/api/resources/ticketing/resources/projects/client/requests/ProjectsListRequest.d.ts +13 -31
  799. package/api/resources/ticketing/resources/projects/client/requests/ProjectsRetrieveRequest.d.ts +2 -6
  800. package/api/resources/ticketing/resources/projects/client/requests/ProjectsUsersListRequest.d.ts +9 -19
  801. package/api/resources/ticketing/resources/regenerateKey/client/Client.js +8 -7
  802. package/api/resources/ticketing/resources/roles/client/Client.d.ts +3 -1
  803. package/api/resources/ticketing/resources/roles/client/Client.js +19 -15
  804. package/api/resources/ticketing/resources/roles/client/requests/RolesListRequest.d.ts +13 -31
  805. package/api/resources/ticketing/resources/roles/client/requests/RolesRetrieveRequest.d.ts +2 -6
  806. package/api/resources/ticketing/resources/scopes/client/Client.js +24 -21
  807. package/api/resources/ticketing/resources/syncStatus/client/Client.d.ts +3 -1
  808. package/api/resources/ticketing/resources/syncStatus/client/Client.js +11 -8
  809. package/api/resources/ticketing/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
  810. package/api/resources/ticketing/resources/tags/client/Client.d.ts +3 -1
  811. package/api/resources/ticketing/resources/tags/client/Client.js +19 -15
  812. package/api/resources/ticketing/resources/tags/client/requests/TagsListRequest.d.ts +13 -31
  813. package/api/resources/ticketing/resources/tags/client/requests/TagsRetrieveRequest.d.ts +2 -6
  814. package/api/resources/ticketing/resources/teams/client/Client.d.ts +3 -1
  815. package/api/resources/ticketing/resources/teams/client/Client.js +19 -15
  816. package/api/resources/ticketing/resources/teams/client/requests/TeamsListRequest.d.ts +13 -31
  817. package/api/resources/ticketing/resources/teams/client/requests/TeamsRetrieveRequest.d.ts +2 -6
  818. package/api/resources/ticketing/resources/tickets/client/Client.d.ts +9 -3
  819. package/api/resources/ticketing/resources/tickets/client/Client.js +77 -60
  820. package/api/resources/ticketing/resources/tickets/client/requests/PatchedTicketEndpointRequest.d.ts +2 -6
  821. package/api/resources/ticketing/resources/tickets/client/requests/TicketEndpointRequest.d.ts +2 -6
  822. package/api/resources/ticketing/resources/tickets/client/requests/TicketsListRequest.d.ts +36 -94
  823. package/api/resources/ticketing/resources/tickets/client/requests/TicketsMetaPostRetrieveRequest.d.ts +2 -6
  824. package/api/resources/ticketing/resources/tickets/client/requests/TicketsRemoteFieldClassesListRequest.d.ts +11 -25
  825. package/api/resources/ticketing/resources/tickets/client/requests/TicketsRetrieveRequest.d.ts +6 -18
  826. package/api/resources/ticketing/resources/tickets/client/requests/TicketsViewersListRequest.d.ts +9 -19
  827. package/api/resources/ticketing/resources/users/client/Client.d.ts +3 -1
  828. package/api/resources/ticketing/resources/users/client/Client.js +19 -15
  829. package/api/resources/ticketing/resources/users/client/requests/UsersListRequest.d.ts +16 -40
  830. package/api/resources/ticketing/resources/users/client/requests/UsersRetrieveRequest.d.ts +3 -9
  831. package/api/resources/ticketing/resources/webhookReceivers/client/Client.js +16 -14
  832. package/api/resources/ticketing/types/PatchedTicketRequest.d.ts +2 -2
  833. package/core/auth/AuthProvider.d.ts +4 -0
  834. package/core/auth/AuthProvider.js +2 -0
  835. package/core/auth/AuthRequest.d.ts +9 -0
  836. package/core/auth/AuthRequest.js +2 -0
  837. package/core/auth/index.d.ts +2 -0
  838. package/core/fetcher/Fetcher.js +2 -2
  839. package/core/fetcher/index.d.ts +5 -5
  840. package/core/fetcher/index.js +5 -5
  841. package/core/schemas/builders/lazy/index.d.ts +1 -1
  842. package/core/schemas/builders/literals/index.d.ts +1 -1
  843. package/core/schemas/builders/literals/index.js +3 -3
  844. package/core/schemas/builders/object/index.d.ts +2 -2
  845. package/core/schemas/builders/object/object.d.ts +1 -1
  846. package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +1 -1
  847. package/core/schemas/builders/object/types.d.ts +1 -1
  848. package/core/schemas/builders/schema-utils/index.d.ts +1 -1
  849. package/core/schemas/builders/undiscriminated-union/types.d.ts +1 -1
  850. package/core/schemas/builders/union/index.d.ts +1 -1
  851. package/core/schemas/builders/union/types.d.ts +1 -1
  852. package/core/schemas/builders/union/union.d.ts +1 -1
  853. package/dist/Client.d.ts +3 -3
  854. package/dist/Client.js +8 -8
  855. package/dist/api/resources/accounting/resources/accountDetails/client/Client.js +8 -7
  856. package/dist/api/resources/accounting/resources/accountToken/client/Client.js +8 -7
  857. package/dist/api/resources/accounting/resources/accountingPeriods/client/Client.d.ts +3 -1
  858. package/dist/api/resources/accounting/resources/accountingPeriods/client/Client.js +19 -15
  859. package/dist/api/resources/accounting/resources/accountingPeriods/client/requests/AccountingPeriodsListRequest.d.ts +8 -16
  860. package/dist/api/resources/accounting/resources/accountingPeriods/client/requests/AccountingPeriodsRetrieveRequest.d.ts +2 -6
  861. package/dist/api/resources/accounting/resources/accounts/client/Client.d.ts +3 -1
  862. package/dist/api/resources/accounting/resources/accounts/client/Client.js +35 -29
  863. package/dist/api/resources/accounting/resources/accounts/client/requests/AccountEndpointRequest.d.ts +2 -6
  864. package/dist/api/resources/accounting/resources/accounts/client/requests/AccountsListRequest.d.ts +21 -55
  865. package/dist/api/resources/accounting/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +5 -15
  866. package/dist/api/resources/accounting/resources/addresses/client/Client.js +8 -7
  867. package/dist/api/resources/accounting/resources/addresses/client/requests/AddressesRetrieveRequest.d.ts +4 -12
  868. package/dist/api/resources/accounting/resources/asyncPassthrough/client/Client.js +16 -14
  869. package/dist/api/resources/accounting/resources/asyncTasks/client/Client.js +8 -7
  870. package/dist/api/resources/accounting/resources/attachments/client/Client.d.ts +3 -1
  871. package/dist/api/resources/accounting/resources/attachments/client/Client.js +35 -29
  872. package/dist/api/resources/accounting/resources/attachments/client/requests/AccountingAttachmentEndpointRequest.d.ts +2 -6
  873. package/dist/api/resources/accounting/resources/attachments/client/requests/AttachmentsListRequest.d.ts +14 -34
  874. package/dist/api/resources/accounting/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +2 -6
  875. package/dist/api/resources/accounting/resources/auditTrail/client/Client.d.ts +3 -1
  876. package/dist/api/resources/accounting/resources/auditTrail/client/Client.js +11 -8
  877. package/dist/api/resources/accounting/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
  878. package/dist/api/resources/accounting/resources/availableActions/client/Client.js +8 -7
  879. package/dist/api/resources/accounting/resources/balanceSheets/client/Client.d.ts +3 -1
  880. package/dist/api/resources/accounting/resources/balanceSheets/client/Client.js +19 -15
  881. package/dist/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsListRequest.d.ts +15 -37
  882. package/dist/api/resources/accounting/resources/balanceSheets/client/requests/BalanceSheetsRetrieveRequest.d.ts +3 -9
  883. package/dist/api/resources/accounting/resources/bankFeedAccounts/client/Client.d.ts +3 -1
  884. package/dist/api/resources/accounting/resources/bankFeedAccounts/client/Client.js +35 -29
  885. package/dist/api/resources/accounting/resources/bankFeedAccounts/client/requests/BankFeedAccountEndpointRequest.d.ts +2 -6
  886. package/dist/api/resources/accounting/resources/bankFeedAccounts/client/requests/BankFeedAccountsListRequest.d.ts +8 -16
  887. package/dist/api/resources/accounting/resources/bankFeedAccounts/client/requests/BankFeedAccountsRetrieveRequest.d.ts +2 -6
  888. package/dist/api/resources/accounting/resources/bankFeedTransactions/client/Client.d.ts +3 -1
  889. package/dist/api/resources/accounting/resources/bankFeedTransactions/client/Client.js +35 -29
  890. package/dist/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionEndpointRequest.d.ts +2 -6
  891. package/dist/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionsListRequest.d.ts +15 -37
  892. package/dist/api/resources/accounting/resources/bankFeedTransactions/client/requests/BankFeedTransactionsRetrieveRequest.d.ts +3 -9
  893. package/dist/api/resources/accounting/resources/cashFlowStatements/client/Client.d.ts +3 -1
  894. package/dist/api/resources/accounting/resources/cashFlowStatements/client/Client.js +19 -15
  895. package/dist/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsListRequest.d.ts +15 -37
  896. package/dist/api/resources/accounting/resources/cashFlowStatements/client/requests/CashFlowStatementsRetrieveRequest.d.ts +3 -9
  897. package/dist/api/resources/accounting/resources/companyInfo/client/Client.d.ts +3 -1
  898. package/dist/api/resources/accounting/resources/companyInfo/client/Client.js +19 -15
  899. package/dist/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoListRequest.d.ts +14 -34
  900. package/dist/api/resources/accounting/resources/companyInfo/client/requests/CompanyInfoRetrieveRequest.d.ts +3 -9
  901. package/dist/api/resources/accounting/resources/contacts/client/Client.d.ts +31 -2
  902. package/dist/api/resources/accounting/resources/contacts/client/Client.js +190 -37
  903. package/dist/api/resources/accounting/resources/contacts/client/requests/ContactEndpointRequest.d.ts +2 -6
  904. package/dist/api/resources/accounting/resources/contacts/client/requests/ContactsListRequest.d.ts +23 -61
  905. package/dist/api/resources/accounting/resources/contacts/client/requests/ContactsRemoteFieldClassesListRequest.d.ts +10 -22
  906. package/dist/api/resources/accounting/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +6 -18
  907. package/dist/api/resources/accounting/resources/contacts/client/requests/PatchedContactEndpointRequest.d.ts +17 -0
  908. package/dist/api/resources/accounting/resources/contacts/client/requests/PatchedContactEndpointRequest.js +5 -0
  909. package/dist/api/resources/accounting/resources/contacts/client/requests/index.d.ts +1 -0
  910. package/dist/api/resources/accounting/resources/creditNotes/client/Client.d.ts +3 -1
  911. package/dist/api/resources/accounting/resources/creditNotes/client/Client.js +35 -29
  912. package/dist/api/resources/accounting/resources/creditNotes/client/requests/CreditNoteEndpointRequest.d.ts +2 -6
  913. package/dist/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesListRequest.d.ts +19 -49
  914. package/dist/api/resources/accounting/resources/creditNotes/client/requests/CreditNotesRetrieveRequest.d.ts +5 -15
  915. package/dist/api/resources/accounting/resources/deleteAccount/client/Client.js +8 -7
  916. package/dist/api/resources/accounting/resources/employees/client/Client.d.ts +3 -1
  917. package/dist/api/resources/accounting/resources/employees/client/Client.js +19 -15
  918. package/dist/api/resources/accounting/resources/employees/client/requests/EmployeesListRequest.d.ts +15 -37
  919. package/dist/api/resources/accounting/resources/employees/client/requests/EmployeesRetrieveRequest.d.ts +3 -9
  920. package/dist/api/resources/accounting/resources/expenseReports/client/Client.d.ts +12 -4
  921. package/dist/api/resources/accounting/resources/expenseReports/client/Client.js +68 -53
  922. package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportEndpointRequest.d.ts +2 -6
  923. package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsLinesListRequest.d.ts +10 -22
  924. package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsLinesRemoteFieldClassesListRequest.d.ts +10 -22
  925. package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsListRequest.d.ts +16 -40
  926. package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsRemoteFieldClassesListRequest.d.ts +10 -22
  927. package/dist/api/resources/accounting/resources/expenseReports/client/requests/ExpenseReportsRetrieveRequest.d.ts +4 -12
  928. package/dist/api/resources/accounting/resources/expenses/client/Client.d.ts +9 -3
  929. package/dist/api/resources/accounting/resources/expenses/client/Client.js +57 -45
  930. package/dist/api/resources/accounting/resources/expenses/client/requests/ExpenseEndpointRequest.d.ts +2 -6
  931. package/dist/api/resources/accounting/resources/expenses/client/requests/ExpensesLinesRemoteFieldClassesListRequest.d.ts +10 -22
  932. package/dist/api/resources/accounting/resources/expenses/client/requests/ExpensesListRequest.d.ts +18 -46
  933. package/dist/api/resources/accounting/resources/expenses/client/requests/ExpensesRemoteFieldClassesListRequest.d.ts +10 -22
  934. package/dist/api/resources/accounting/resources/expenses/client/requests/ExpensesRetrieveRequest.d.ts +4 -12
  935. package/dist/api/resources/accounting/resources/fieldMapping/client/Client.js +48 -42
  936. package/dist/api/resources/accounting/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
  937. package/dist/api/resources/accounting/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
  938. package/dist/api/resources/accounting/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
  939. package/dist/api/resources/accounting/resources/forceResync/client/Client.js +8 -7
  940. package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/Client.d.ts +3 -1
  941. package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/Client.js +19 -15
  942. package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsListRequest.d.ts +17 -43
  943. package/dist/api/resources/accounting/resources/generalLedgerTransactions/client/requests/GeneralLedgerTransactionsRetrieveRequest.d.ts +3 -9
  944. package/dist/api/resources/accounting/resources/generateKey/client/Client.js +8 -7
  945. package/dist/api/resources/accounting/resources/incomeStatements/client/Client.d.ts +3 -1
  946. package/dist/api/resources/accounting/resources/incomeStatements/client/Client.js +19 -15
  947. package/dist/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsListRequest.d.ts +15 -37
  948. package/dist/api/resources/accounting/resources/incomeStatements/client/requests/IncomeStatementsRetrieveRequest.d.ts +3 -9
  949. package/dist/api/resources/accounting/resources/invoices/client/Client.d.ts +9 -3
  950. package/dist/api/resources/accounting/resources/invoices/client/Client.js +73 -59
  951. package/dist/api/resources/accounting/resources/invoices/client/requests/InvoiceEndpointRequest.d.ts +2 -6
  952. package/dist/api/resources/accounting/resources/invoices/client/requests/InvoicesLineItemsRemoteFieldClassesListRequest.d.ts +10 -22
  953. package/dist/api/resources/accounting/resources/invoices/client/requests/InvoicesListRequest.d.ts +22 -58
  954. package/dist/api/resources/accounting/resources/invoices/client/requests/InvoicesRemoteFieldClassesListRequest.d.ts +10 -22
  955. package/dist/api/resources/accounting/resources/invoices/client/requests/InvoicesRetrieveRequest.d.ts +6 -18
  956. package/dist/api/resources/accounting/resources/invoices/client/requests/PatchedInvoiceEndpointRequest.d.ts +2 -6
  957. package/dist/api/resources/accounting/resources/issues/client/Client.d.ts +3 -1
  958. package/dist/api/resources/accounting/resources/issues/client/Client.js +19 -15
  959. package/dist/api/resources/accounting/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
  960. package/dist/api/resources/accounting/resources/items/client/Client.d.ts +3 -1
  961. package/dist/api/resources/accounting/resources/items/client/Client.js +51 -43
  962. package/dist/api/resources/accounting/resources/items/client/requests/ItemEndpointRequest.d.ts +2 -6
  963. package/dist/api/resources/accounting/resources/items/client/requests/ItemsListRequest.d.ts +17 -43
  964. package/dist/api/resources/accounting/resources/items/client/requests/ItemsRetrieveRequest.d.ts +5 -15
  965. package/dist/api/resources/accounting/resources/items/client/requests/PatchedItemEndpointRequest.d.ts +2 -6
  966. package/dist/api/resources/accounting/resources/journalEntries/client/Client.d.ts +9 -3
  967. package/dist/api/resources/accounting/resources/journalEntries/client/Client.js +57 -45
  968. package/dist/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesLinesRemoteFieldClassesListRequest.d.ts +10 -22
  969. package/dist/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesListRequest.d.ts +18 -46
  970. package/dist/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRemoteFieldClassesListRequest.d.ts +10 -22
  971. package/dist/api/resources/accounting/resources/journalEntries/client/requests/JournalEntriesRetrieveRequest.d.ts +4 -12
  972. package/dist/api/resources/accounting/resources/journalEntries/client/requests/JournalEntryEndpointRequest.d.ts +2 -6
  973. package/dist/api/resources/accounting/resources/linkToken/client/Client.js +8 -7
  974. package/dist/api/resources/accounting/resources/linkedAccounts/client/Client.d.ts +3 -1
  975. package/dist/api/resources/accounting/resources/linkedAccounts/client/Client.js +11 -8
  976. package/dist/api/resources/accounting/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
  977. package/dist/api/resources/accounting/resources/passthrough/client/Client.js +8 -7
  978. package/dist/api/resources/accounting/resources/paymentMethods/client/Client.d.ts +3 -1
  979. package/dist/api/resources/accounting/resources/paymentMethods/client/Client.js +19 -15
  980. package/dist/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsListRequest.d.ts +8 -16
  981. package/dist/api/resources/accounting/resources/paymentMethods/client/requests/PaymentMethodsRetrieveRequest.d.ts +2 -6
  982. package/dist/api/resources/accounting/resources/paymentTerms/client/Client.d.ts +3 -1
  983. package/dist/api/resources/accounting/resources/paymentTerms/client/Client.js +19 -15
  984. package/dist/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsListRequest.d.ts +9 -19
  985. package/dist/api/resources/accounting/resources/paymentTerms/client/requests/PaymentTermsRetrieveRequest.d.ts +3 -9
  986. package/dist/api/resources/accounting/resources/payments/client/Client.d.ts +9 -3
  987. package/dist/api/resources/accounting/resources/payments/client/Client.js +73 -59
  988. package/dist/api/resources/accounting/resources/payments/client/requests/PatchedPaymentEndpointRequest.d.ts +2 -6
  989. package/dist/api/resources/accounting/resources/payments/client/requests/PaymentEndpointRequest.d.ts +2 -6
  990. package/dist/api/resources/accounting/resources/payments/client/requests/PaymentsLineItemsRemoteFieldClassesListRequest.d.ts +10 -22
  991. package/dist/api/resources/accounting/resources/payments/client/requests/PaymentsListRequest.d.ts +20 -52
  992. package/dist/api/resources/accounting/resources/payments/client/requests/PaymentsRemoteFieldClassesListRequest.d.ts +10 -22
  993. package/dist/api/resources/accounting/resources/payments/client/requests/PaymentsRetrieveRequest.d.ts +4 -12
  994. package/dist/api/resources/accounting/resources/phoneNumbers/client/Client.js +8 -7
  995. package/dist/api/resources/accounting/resources/phoneNumbers/client/requests/PhoneNumbersRetrieveRequest.d.ts +2 -6
  996. package/dist/api/resources/accounting/resources/projects/client/Client.d.ts +3 -1
  997. package/dist/api/resources/accounting/resources/projects/client/Client.js +19 -15
  998. package/dist/api/resources/accounting/resources/projects/client/requests/ProjectsListRequest.d.ts +15 -37
  999. package/dist/api/resources/accounting/resources/projects/client/requests/ProjectsRetrieveRequest.d.ts +3 -9
  1000. package/dist/api/resources/accounting/resources/purchaseOrders/client/Client.d.ts +9 -3
  1001. package/dist/api/resources/accounting/resources/purchaseOrders/client/Client.js +57 -45
  1002. package/dist/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrderEndpointRequest.d.ts +2 -6
  1003. package/dist/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersLineItemsRemoteFieldClassesListRequest.d.ts +10 -22
  1004. package/dist/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersListRequest.d.ts +20 -52
  1005. package/dist/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRemoteFieldClassesListRequest.d.ts +10 -22
  1006. package/dist/api/resources/accounting/resources/purchaseOrders/client/requests/PurchaseOrdersRetrieveRequest.d.ts +6 -18
  1007. package/dist/api/resources/accounting/resources/regenerateKey/client/Client.js +8 -7
  1008. package/dist/api/resources/accounting/resources/scopes/client/Client.js +24 -21
  1009. package/dist/api/resources/accounting/resources/syncStatus/client/Client.d.ts +3 -1
  1010. package/dist/api/resources/accounting/resources/syncStatus/client/Client.js +11 -8
  1011. package/dist/api/resources/accounting/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
  1012. package/dist/api/resources/accounting/resources/taxRates/client/Client.d.ts +3 -1
  1013. package/dist/api/resources/accounting/resources/taxRates/client/Client.js +19 -15
  1014. package/dist/api/resources/accounting/resources/taxRates/client/requests/TaxRatesListRequest.d.ts +16 -40
  1015. package/dist/api/resources/accounting/resources/taxRates/client/requests/TaxRatesRetrieveRequest.d.ts +3 -9
  1016. package/dist/api/resources/accounting/resources/trackingCategories/client/Client.d.ts +3 -1
  1017. package/dist/api/resources/accounting/resources/trackingCategories/client/Client.js +19 -15
  1018. package/dist/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesListRequest.d.ts +20 -52
  1019. package/dist/api/resources/accounting/resources/trackingCategories/client/requests/TrackingCategoriesRetrieveRequest.d.ts +5 -15
  1020. package/dist/api/resources/accounting/resources/transactions/client/Client.d.ts +3 -1
  1021. package/dist/api/resources/accounting/resources/transactions/client/Client.js +19 -15
  1022. package/dist/api/resources/accounting/resources/transactions/client/requests/TransactionsListRequest.d.ts +17 -43
  1023. package/dist/api/resources/accounting/resources/transactions/client/requests/TransactionsRetrieveRequest.d.ts +3 -9
  1024. package/dist/api/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.d.ts +33 -1
  1025. package/dist/api/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.js +32 -0
  1026. package/dist/api/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.d.ts +33 -1
  1027. package/dist/api/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.js +32 -0
  1028. package/dist/api/resources/accounting/resources/vendorCredits/client/Client.d.ts +3 -1
  1029. package/dist/api/resources/accounting/resources/vendorCredits/client/Client.js +35 -29
  1030. package/dist/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditEndpointRequest.d.ts +2 -6
  1031. package/dist/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsListRequest.d.ts +17 -43
  1032. package/dist/api/resources/accounting/resources/vendorCredits/client/requests/VendorCreditsRetrieveRequest.d.ts +3 -9
  1033. package/dist/api/resources/accounting/resources/webhookReceivers/client/Client.js +16 -14
  1034. package/dist/api/resources/accounting/types/PatchedContactRequest.d.ts +44 -0
  1035. package/dist/api/resources/accounting/types/PatchedContactRequest.js +5 -0
  1036. package/dist/api/resources/accounting/types/PatchedContactRequestAddressesItem.d.ts +5 -0
  1037. package/dist/api/resources/accounting/types/PatchedContactRequestAddressesItem.js +5 -0
  1038. package/dist/api/resources/accounting/types/index.d.ts +2 -0
  1039. package/dist/api/resources/accounting/types/index.js +2 -0
  1040. package/dist/api/resources/ats/resources/accountDetails/client/Client.js +8 -7
  1041. package/dist/api/resources/ats/resources/accountToken/client/Client.js +8 -7
  1042. package/dist/api/resources/ats/resources/activities/client/Client.d.ts +3 -1
  1043. package/dist/api/resources/ats/resources/activities/client/Client.js +35 -29
  1044. package/dist/api/resources/ats/resources/activities/client/requests/ActivitiesListRequest.d.ts +17 -43
  1045. package/dist/api/resources/ats/resources/activities/client/requests/ActivitiesRetrieveRequest.d.ts +5 -15
  1046. package/dist/api/resources/ats/resources/activities/client/requests/ActivityEndpointRequest.d.ts +2 -6
  1047. package/dist/api/resources/ats/resources/applications/client/Client.d.ts +3 -1
  1048. package/dist/api/resources/ats/resources/applications/client/Client.js +43 -36
  1049. package/dist/api/resources/ats/resources/applications/client/requests/ApplicationEndpointRequest.d.ts +2 -6
  1050. package/dist/api/resources/ats/resources/applications/client/requests/ApplicationsListRequest.d.ts +20 -52
  1051. package/dist/api/resources/ats/resources/applications/client/requests/ApplicationsMetaPostRetrieveRequest.d.ts +1 -3
  1052. package/dist/api/resources/ats/resources/applications/client/requests/ApplicationsRetrieveRequest.d.ts +3 -9
  1053. package/dist/api/resources/ats/resources/applications/client/requests/UpdateApplicationStageRequest.d.ts +2 -6
  1054. package/dist/api/resources/ats/resources/asyncPassthrough/client/Client.js +16 -14
  1055. package/dist/api/resources/ats/resources/attachments/client/Client.d.ts +3 -1
  1056. package/dist/api/resources/ats/resources/attachments/client/Client.js +35 -29
  1057. package/dist/api/resources/ats/resources/attachments/client/requests/AttachmentEndpointRequest.d.ts +2 -6
  1058. package/dist/api/resources/ats/resources/attachments/client/requests/AttachmentsListRequest.d.ts +17 -43
  1059. package/dist/api/resources/ats/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +5 -15
  1060. package/dist/api/resources/ats/resources/auditTrail/client/Client.d.ts +3 -1
  1061. package/dist/api/resources/ats/resources/auditTrail/client/Client.js +11 -8
  1062. package/dist/api/resources/ats/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
  1063. package/dist/api/resources/ats/resources/availableActions/client/Client.js +8 -7
  1064. package/dist/api/resources/ats/resources/candidates/client/Client.d.ts +3 -1
  1065. package/dist/api/resources/ats/resources/candidates/client/Client.js +59 -50
  1066. package/dist/api/resources/ats/resources/candidates/client/requests/CandidateEndpointRequest.d.ts +2 -6
  1067. package/dist/api/resources/ats/resources/candidates/client/requests/CandidatesListRequest.d.ts +18 -46
  1068. package/dist/api/resources/ats/resources/candidates/client/requests/CandidatesRetrieveRequest.d.ts +3 -9
  1069. package/dist/api/resources/ats/resources/candidates/client/requests/PatchedCandidateEndpointRequest.d.ts +2 -6
  1070. package/dist/api/resources/ats/resources/deleteAccount/client/Client.js +8 -7
  1071. package/dist/api/resources/ats/resources/departments/client/Client.d.ts +3 -1
  1072. package/dist/api/resources/ats/resources/departments/client/Client.js +19 -15
  1073. package/dist/api/resources/ats/resources/departments/client/requests/DepartmentsListRequest.d.ts +13 -31
  1074. package/dist/api/resources/ats/resources/departments/client/requests/DepartmentsRetrieveRequest.d.ts +2 -6
  1075. package/dist/api/resources/ats/resources/eeocs/client/Client.d.ts +3 -1
  1076. package/dist/api/resources/ats/resources/eeocs/client/Client.js +19 -15
  1077. package/dist/api/resources/ats/resources/eeocs/client/requests/EeocsListRequest.d.ts +17 -43
  1078. package/dist/api/resources/ats/resources/eeocs/client/requests/EeocsRetrieveRequest.d.ts +5 -15
  1079. package/dist/api/resources/ats/resources/fieldMapping/client/Client.js +48 -42
  1080. package/dist/api/resources/ats/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
  1081. package/dist/api/resources/ats/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
  1082. package/dist/api/resources/ats/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
  1083. package/dist/api/resources/ats/resources/forceResync/client/Client.js +8 -7
  1084. package/dist/api/resources/ats/resources/generateKey/client/Client.js +8 -7
  1085. package/dist/api/resources/ats/resources/interviews/client/Client.d.ts +3 -1
  1086. package/dist/api/resources/ats/resources/interviews/client/Client.js +35 -29
  1087. package/dist/api/resources/ats/resources/interviews/client/requests/InterviewsListRequest.d.ts +20 -52
  1088. package/dist/api/resources/ats/resources/interviews/client/requests/InterviewsRetrieveRequest.d.ts +5 -15
  1089. package/dist/api/resources/ats/resources/interviews/client/requests/ScheduledInterviewEndpointRequest.d.ts +2 -6
  1090. package/dist/api/resources/ats/resources/issues/client/Client.d.ts +3 -1
  1091. package/dist/api/resources/ats/resources/issues/client/Client.js +19 -15
  1092. package/dist/api/resources/ats/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
  1093. package/dist/api/resources/ats/resources/jobInterviewStages/client/Client.d.ts +3 -1
  1094. package/dist/api/resources/ats/resources/jobInterviewStages/client/Client.js +19 -15
  1095. package/dist/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesListRequest.d.ts +15 -37
  1096. package/dist/api/resources/ats/resources/jobInterviewStages/client/requests/JobInterviewStagesRetrieveRequest.d.ts +3 -9
  1097. package/dist/api/resources/ats/resources/jobPostings/client/Client.d.ts +3 -1
  1098. package/dist/api/resources/ats/resources/jobPostings/client/Client.js +19 -15
  1099. package/dist/api/resources/ats/resources/jobPostings/client/requests/JobPostingsListRequest.d.ts +14 -34
  1100. package/dist/api/resources/ats/resources/jobPostings/client/requests/JobPostingsRetrieveRequest.d.ts +3 -9
  1101. package/dist/api/resources/ats/resources/jobs/client/Client.d.ts +6 -2
  1102. package/dist/api/resources/ats/resources/jobs/client/Client.js +30 -23
  1103. package/dist/api/resources/ats/resources/jobs/client/requests/JobsListRequest.d.ts +18 -46
  1104. package/dist/api/resources/ats/resources/jobs/client/requests/JobsRetrieveRequest.d.ts +5 -15
  1105. package/dist/api/resources/ats/resources/jobs/client/requests/JobsScreeningQuestionsListRequest.d.ts +9 -19
  1106. package/dist/api/resources/ats/resources/linkToken/client/Client.js +8 -7
  1107. package/dist/api/resources/ats/resources/linkedAccounts/client/Client.d.ts +3 -1
  1108. package/dist/api/resources/ats/resources/linkedAccounts/client/Client.js +11 -8
  1109. package/dist/api/resources/ats/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
  1110. package/dist/api/resources/ats/resources/offers/client/Client.d.ts +3 -1
  1111. package/dist/api/resources/ats/resources/offers/client/Client.js +19 -15
  1112. package/dist/api/resources/ats/resources/offers/client/requests/OffersListRequest.d.ts +18 -46
  1113. package/dist/api/resources/ats/resources/offers/client/requests/OffersRetrieveRequest.d.ts +5 -15
  1114. package/dist/api/resources/ats/resources/offices/client/Client.d.ts +3 -1
  1115. package/dist/api/resources/ats/resources/offices/client/Client.js +19 -15
  1116. package/dist/api/resources/ats/resources/offices/client/requests/OfficesListRequest.d.ts +13 -31
  1117. package/dist/api/resources/ats/resources/offices/client/requests/OfficesRetrieveRequest.d.ts +2 -6
  1118. package/dist/api/resources/ats/resources/passthrough/client/Client.js +8 -7
  1119. package/dist/api/resources/ats/resources/regenerateKey/client/Client.js +8 -7
  1120. package/dist/api/resources/ats/resources/rejectReasons/client/Client.d.ts +3 -1
  1121. package/dist/api/resources/ats/resources/rejectReasons/client/Client.js +19 -15
  1122. package/dist/api/resources/ats/resources/rejectReasons/client/requests/RejectReasonsListRequest.d.ts +13 -31
  1123. package/dist/api/resources/ats/resources/rejectReasons/client/requests/RejectReasonsRetrieveRequest.d.ts +2 -6
  1124. package/dist/api/resources/ats/resources/scopes/client/Client.js +24 -21
  1125. package/dist/api/resources/ats/resources/scorecards/client/Client.d.ts +3 -1
  1126. package/dist/api/resources/ats/resources/scorecards/client/Client.js +19 -15
  1127. package/dist/api/resources/ats/resources/scorecards/client/requests/ScorecardsListRequest.d.ts +19 -49
  1128. package/dist/api/resources/ats/resources/scorecards/client/requests/ScorecardsRetrieveRequest.d.ts +5 -15
  1129. package/dist/api/resources/ats/resources/syncStatus/client/Client.d.ts +3 -1
  1130. package/dist/api/resources/ats/resources/syncStatus/client/Client.js +11 -8
  1131. package/dist/api/resources/ats/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
  1132. package/dist/api/resources/ats/resources/tags/client/Client.d.ts +3 -1
  1133. package/dist/api/resources/ats/resources/tags/client/Client.js +11 -8
  1134. package/dist/api/resources/ats/resources/tags/client/requests/TagsListRequest.d.ts +13 -31
  1135. package/dist/api/resources/ats/resources/users/client/Client.d.ts +3 -1
  1136. package/dist/api/resources/ats/resources/users/client/Client.js +19 -15
  1137. package/dist/api/resources/ats/resources/users/client/requests/UsersListRequest.d.ts +16 -40
  1138. package/dist/api/resources/ats/resources/users/client/requests/UsersRetrieveRequest.d.ts +4 -12
  1139. package/dist/api/resources/ats/resources/webhookReceivers/client/Client.js +16 -14
  1140. package/dist/api/resources/ats/types/EventTypeEnum.d.ts +2 -1
  1141. package/dist/api/resources/ats/types/EventTypeEnum.js +1 -0
  1142. package/dist/api/resources/crm/resources/accountDetails/client/Client.js +8 -7
  1143. package/dist/api/resources/crm/resources/accountToken/client/Client.js +8 -7
  1144. package/dist/api/resources/crm/resources/accounts/client/Client.d.ts +6 -2
  1145. package/dist/api/resources/crm/resources/accounts/client/Client.js +62 -51
  1146. package/dist/api/resources/crm/resources/accounts/client/requests/AccountsListRequest.d.ts +17 -43
  1147. package/dist/api/resources/crm/resources/accounts/client/requests/AccountsRemoteFieldClassesListRequest.d.ts +11 -25
  1148. package/dist/api/resources/crm/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +4 -12
  1149. package/dist/api/resources/crm/resources/accounts/client/requests/CrmAccountEndpointRequest.d.ts +2 -6
  1150. package/dist/api/resources/crm/resources/accounts/client/requests/PatchedCrmAccountEndpointRequest.d.ts +2 -6
  1151. package/dist/api/resources/crm/resources/associationTypes/client/Client.d.ts +3 -1
  1152. package/dist/api/resources/crm/resources/associationTypes/client/Client.js +35 -29
  1153. package/dist/api/resources/crm/resources/associationTypes/client/requests/CrmAssociationTypeEndpointRequest.d.ts +2 -6
  1154. package/dist/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesListRequest.d.ts +14 -34
  1155. package/dist/api/resources/crm/resources/associationTypes/client/requests/CustomObjectClassesAssociationTypesRetrieveRequest.d.ts +3 -9
  1156. package/dist/api/resources/crm/resources/associations/client/Client.d.ts +3 -1
  1157. package/dist/api/resources/crm/resources/associations/client/Client.js +19 -15
  1158. package/dist/api/resources/crm/resources/associations/client/requests/CustomObjectClassesCustomObjectsAssociationsListRequest.d.ts +15 -37
  1159. package/dist/api/resources/crm/resources/associations/client/requests/CustomObjectClassesCustomObjectsAssociationsUpdateRequest.d.ts +2 -6
  1160. package/dist/api/resources/crm/resources/asyncPassthrough/client/Client.js +16 -14
  1161. package/dist/api/resources/crm/resources/auditTrail/client/Client.d.ts +3 -1
  1162. package/dist/api/resources/crm/resources/auditTrail/client/Client.js +11 -8
  1163. package/dist/api/resources/crm/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
  1164. package/dist/api/resources/crm/resources/availableActions/client/Client.js +8 -7
  1165. package/dist/api/resources/crm/resources/contacts/client/Client.d.ts +6 -2
  1166. package/dist/api/resources/crm/resources/contacts/client/Client.js +70 -58
  1167. package/dist/api/resources/crm/resources/contacts/client/requests/ContactsListRequest.d.ts +18 -46
  1168. package/dist/api/resources/crm/resources/contacts/client/requests/ContactsRemoteFieldClassesListRequest.d.ts +11 -25
  1169. package/dist/api/resources/crm/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +4 -12
  1170. package/dist/api/resources/crm/resources/contacts/client/requests/CrmContactEndpointRequest.d.ts +2 -6
  1171. package/dist/api/resources/crm/resources/contacts/client/requests/PatchedCrmContactEndpointRequest.d.ts +2 -6
  1172. package/dist/api/resources/crm/resources/customObjectClasses/client/Client.d.ts +3 -1
  1173. package/dist/api/resources/crm/resources/customObjectClasses/client/Client.js +19 -15
  1174. package/dist/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesListRequest.d.ts +14 -34
  1175. package/dist/api/resources/crm/resources/customObjectClasses/client/requests/CustomObjectClassesRetrieveRequest.d.ts +3 -9
  1176. package/dist/api/resources/crm/resources/customObjects/client/Client.d.ts +6 -2
  1177. package/dist/api/resources/crm/resources/customObjects/client/Client.js +46 -37
  1178. package/dist/api/resources/crm/resources/customObjects/client/requests/CrmCustomObjectEndpointRequest.d.ts +2 -6
  1179. package/dist/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsListRequest.d.ts +14 -34
  1180. package/dist/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsRemoteFieldClassesListRequest.d.ts +11 -25
  1181. package/dist/api/resources/crm/resources/customObjects/client/requests/CustomObjectClassesCustomObjectsRetrieveRequest.d.ts +3 -9
  1182. package/dist/api/resources/crm/resources/deleteAccount/client/Client.js +8 -7
  1183. package/dist/api/resources/crm/resources/engagementTypes/client/Client.d.ts +6 -2
  1184. package/dist/api/resources/crm/resources/engagementTypes/client/Client.js +30 -23
  1185. package/dist/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesListRequest.d.ts +14 -34
  1186. package/dist/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRemoteFieldClassesListRequest.d.ts +11 -25
  1187. package/dist/api/resources/crm/resources/engagementTypes/client/requests/EngagementTypesRetrieveRequest.d.ts +3 -9
  1188. package/dist/api/resources/crm/resources/engagements/client/Client.d.ts +6 -2
  1189. package/dist/api/resources/crm/resources/engagements/client/Client.js +62 -51
  1190. package/dist/api/resources/crm/resources/engagements/client/requests/EngagementEndpointRequest.d.ts +2 -6
  1191. package/dist/api/resources/crm/resources/engagements/client/requests/EngagementsListRequest.d.ts +17 -43
  1192. package/dist/api/resources/crm/resources/engagements/client/requests/EngagementsRemoteFieldClassesListRequest.d.ts +11 -25
  1193. package/dist/api/resources/crm/resources/engagements/client/requests/EngagementsRetrieveRequest.d.ts +4 -12
  1194. package/dist/api/resources/crm/resources/engagements/client/requests/PatchedEngagementEndpointRequest.d.ts +2 -6
  1195. package/dist/api/resources/crm/resources/fieldMapping/client/Client.js +48 -42
  1196. package/dist/api/resources/crm/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
  1197. package/dist/api/resources/crm/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
  1198. package/dist/api/resources/crm/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
  1199. package/dist/api/resources/crm/resources/forceResync/client/Client.js +8 -7
  1200. package/dist/api/resources/crm/resources/generateKey/client/Client.js +8 -7
  1201. package/dist/api/resources/crm/resources/issues/client/Client.d.ts +3 -1
  1202. package/dist/api/resources/crm/resources/issues/client/Client.js +19 -15
  1203. package/dist/api/resources/crm/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
  1204. package/dist/api/resources/crm/resources/leads/client/Client.d.ts +6 -2
  1205. package/dist/api/resources/crm/resources/leads/client/Client.js +46 -37
  1206. package/dist/api/resources/crm/resources/leads/client/requests/LeadEndpointRequest.d.ts +2 -6
  1207. package/dist/api/resources/crm/resources/leads/client/requests/LeadsListRequest.d.ts +20 -52
  1208. package/dist/api/resources/crm/resources/leads/client/requests/LeadsRemoteFieldClassesListRequest.d.ts +11 -25
  1209. package/dist/api/resources/crm/resources/leads/client/requests/LeadsRetrieveRequest.d.ts +4 -12
  1210. package/dist/api/resources/crm/resources/linkToken/client/Client.js +8 -7
  1211. package/dist/api/resources/crm/resources/linkedAccounts/client/Client.d.ts +3 -1
  1212. package/dist/api/resources/crm/resources/linkedAccounts/client/Client.js +11 -8
  1213. package/dist/api/resources/crm/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
  1214. package/dist/api/resources/crm/resources/notes/client/Client.d.ts +6 -2
  1215. package/dist/api/resources/crm/resources/notes/client/Client.js +46 -37
  1216. package/dist/api/resources/crm/resources/notes/client/requests/NoteEndpointRequest.d.ts +2 -6
  1217. package/dist/api/resources/crm/resources/notes/client/requests/NotesListRequest.d.ts +19 -49
  1218. package/dist/api/resources/crm/resources/notes/client/requests/NotesRemoteFieldClassesListRequest.d.ts +11 -25
  1219. package/dist/api/resources/crm/resources/notes/client/requests/NotesRetrieveRequest.d.ts +4 -12
  1220. package/dist/api/resources/crm/resources/opportunities/client/Client.d.ts +6 -2
  1221. package/dist/api/resources/crm/resources/opportunities/client/Client.js +62 -51
  1222. package/dist/api/resources/crm/resources/opportunities/client/requests/OpportunitiesListRequest.d.ts +21 -55
  1223. package/dist/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRemoteFieldClassesListRequest.d.ts +11 -25
  1224. package/dist/api/resources/crm/resources/opportunities/client/requests/OpportunitiesRetrieveRequest.d.ts +6 -18
  1225. package/dist/api/resources/crm/resources/opportunities/client/requests/OpportunityEndpointRequest.d.ts +2 -6
  1226. package/dist/api/resources/crm/resources/opportunities/client/requests/PatchedOpportunityEndpointRequest.d.ts +2 -6
  1227. package/dist/api/resources/crm/resources/passthrough/client/Client.js +8 -7
  1228. package/dist/api/resources/crm/resources/regenerateKey/client/Client.js +8 -7
  1229. package/dist/api/resources/crm/resources/scopes/client/Client.js +24 -21
  1230. package/dist/api/resources/crm/resources/stages/client/Client.d.ts +6 -2
  1231. package/dist/api/resources/crm/resources/stages/client/Client.js +30 -23
  1232. package/dist/api/resources/crm/resources/stages/client/requests/StagesListRequest.d.ts +14 -34
  1233. package/dist/api/resources/crm/resources/stages/client/requests/StagesRemoteFieldClassesListRequest.d.ts +11 -25
  1234. package/dist/api/resources/crm/resources/stages/client/requests/StagesRetrieveRequest.d.ts +3 -9
  1235. package/dist/api/resources/crm/resources/syncStatus/client/Client.d.ts +3 -1
  1236. package/dist/api/resources/crm/resources/syncStatus/client/Client.js +11 -8
  1237. package/dist/api/resources/crm/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
  1238. package/dist/api/resources/crm/resources/tasks/client/Client.d.ts +6 -2
  1239. package/dist/api/resources/crm/resources/tasks/client/Client.js +62 -51
  1240. package/dist/api/resources/crm/resources/tasks/client/requests/PatchedTaskEndpointRequest.d.ts +2 -6
  1241. package/dist/api/resources/crm/resources/tasks/client/requests/TaskEndpointRequest.d.ts +2 -6
  1242. package/dist/api/resources/crm/resources/tasks/client/requests/TasksListRequest.d.ts +15 -37
  1243. package/dist/api/resources/crm/resources/tasks/client/requests/TasksRemoteFieldClassesListRequest.d.ts +11 -25
  1244. package/dist/api/resources/crm/resources/tasks/client/requests/TasksRetrieveRequest.d.ts +4 -12
  1245. package/dist/api/resources/crm/resources/users/client/Client.d.ts +6 -2
  1246. package/dist/api/resources/crm/resources/users/client/Client.js +38 -30
  1247. package/dist/api/resources/crm/resources/users/client/requests/UsersListRequest.d.ts +15 -37
  1248. package/dist/api/resources/crm/resources/users/client/requests/UsersRemoteFieldClassesListRequest.d.ts +11 -25
  1249. package/dist/api/resources/crm/resources/users/client/requests/UsersRetrieveRequest.d.ts +3 -9
  1250. package/dist/api/resources/crm/resources/webhookReceivers/client/Client.js +16 -14
  1251. package/dist/api/resources/filestorage/resources/accountDetails/client/Client.js +8 -7
  1252. package/dist/api/resources/filestorage/resources/accountToken/client/Client.js +8 -7
  1253. package/dist/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +16 -14
  1254. package/dist/api/resources/filestorage/resources/auditTrail/client/Client.d.ts +3 -1
  1255. package/dist/api/resources/filestorage/resources/auditTrail/client/Client.js +11 -8
  1256. package/dist/api/resources/filestorage/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
  1257. package/dist/api/resources/filestorage/resources/availableActions/client/Client.js +8 -7
  1258. package/dist/api/resources/filestorage/resources/deleteAccount/client/Client.js +8 -7
  1259. package/dist/api/resources/filestorage/resources/drives/client/Client.d.ts +3 -1
  1260. package/dist/api/resources/filestorage/resources/drives/client/Client.js +19 -15
  1261. package/dist/api/resources/filestorage/resources/drives/client/requests/DrivesListRequest.d.ts +14 -34
  1262. package/dist/api/resources/filestorage/resources/drives/client/requests/DrivesRetrieveRequest.d.ts +2 -6
  1263. package/dist/api/resources/filestorage/resources/fieldMapping/client/Client.js +48 -42
  1264. package/dist/api/resources/filestorage/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
  1265. package/dist/api/resources/filestorage/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
  1266. package/dist/api/resources/filestorage/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
  1267. package/dist/api/resources/filestorage/resources/files/client/Client.d.ts +6 -2
  1268. package/dist/api/resources/filestorage/resources/files/client/Client.js +78 -53
  1269. package/dist/api/resources/filestorage/resources/files/client/requests/FileStorageFileEndpointRequest.d.ts +2 -6
  1270. package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaListRequest.d.ts +14 -28
  1271. package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRequestMetaRetrieveRequest.d.ts +1 -3
  1272. package/dist/api/resources/filestorage/resources/files/client/requests/FilesDownloadRetrieveRequest.d.ts +2 -6
  1273. package/dist/api/resources/filestorage/resources/files/client/requests/FilesListRequest.d.ts +23 -49
  1274. package/dist/api/resources/filestorage/resources/files/client/requests/FilesRetrieveRequest.d.ts +3 -9
  1275. package/dist/api/resources/filestorage/resources/folders/client/Client.d.ts +3 -1
  1276. package/dist/api/resources/filestorage/resources/folders/client/Client.js +35 -29
  1277. package/dist/api/resources/filestorage/resources/folders/client/requests/FileStorageFolderEndpointRequest.d.ts +2 -6
  1278. package/dist/api/resources/filestorage/resources/folders/client/requests/FoldersListRequest.d.ts +17 -43
  1279. package/dist/api/resources/filestorage/resources/folders/client/requests/FoldersRetrieveRequest.d.ts +3 -9
  1280. package/dist/api/resources/filestorage/resources/forceResync/client/Client.js +8 -7
  1281. package/dist/api/resources/filestorage/resources/generateKey/client/Client.js +8 -7
  1282. package/dist/api/resources/filestorage/resources/groups/client/Client.d.ts +3 -1
  1283. package/dist/api/resources/filestorage/resources/groups/client/Client.js +19 -15
  1284. package/dist/api/resources/filestorage/resources/groups/client/requests/GroupsListRequest.d.ts +14 -34
  1285. package/dist/api/resources/filestorage/resources/groups/client/requests/GroupsRetrieveRequest.d.ts +3 -9
  1286. package/dist/api/resources/filestorage/resources/issues/client/Client.d.ts +3 -1
  1287. package/dist/api/resources/filestorage/resources/issues/client/Client.js +19 -15
  1288. package/dist/api/resources/filestorage/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
  1289. package/dist/api/resources/filestorage/resources/linkToken/client/Client.js +8 -7
  1290. package/dist/api/resources/filestorage/resources/linkedAccounts/client/Client.d.ts +3 -1
  1291. package/dist/api/resources/filestorage/resources/linkedAccounts/client/Client.js +11 -8
  1292. package/dist/api/resources/filestorage/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
  1293. package/dist/api/resources/filestorage/resources/passthrough/client/Client.js +8 -7
  1294. package/dist/api/resources/filestorage/resources/regenerateKey/client/Client.js +8 -7
  1295. package/dist/api/resources/filestorage/resources/scopes/client/Client.js +24 -21
  1296. package/dist/api/resources/filestorage/resources/syncStatus/client/Client.d.ts +3 -1
  1297. package/dist/api/resources/filestorage/resources/syncStatus/client/Client.js +11 -8
  1298. package/dist/api/resources/filestorage/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
  1299. package/dist/api/resources/filestorage/resources/users/client/Client.d.ts +3 -1
  1300. package/dist/api/resources/filestorage/resources/users/client/Client.js +19 -15
  1301. package/dist/api/resources/filestorage/resources/users/client/requests/UsersListRequest.d.ts +14 -34
  1302. package/dist/api/resources/filestorage/resources/users/client/requests/UsersRetrieveRequest.d.ts +2 -6
  1303. package/dist/api/resources/filestorage/resources/webhookReceivers/client/Client.js +16 -14
  1304. package/dist/api/resources/hris/resources/accountDetails/client/Client.js +8 -7
  1305. package/dist/api/resources/hris/resources/accountToken/client/Client.js +8 -7
  1306. package/dist/api/resources/hris/resources/asyncPassthrough/client/Client.js +16 -14
  1307. package/dist/api/resources/hris/resources/auditTrail/client/Client.d.ts +3 -1
  1308. package/dist/api/resources/hris/resources/auditTrail/client/Client.js +11 -8
  1309. package/dist/api/resources/hris/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
  1310. package/dist/api/resources/hris/resources/availableActions/client/Client.js +8 -7
  1311. package/dist/api/resources/hris/resources/bankInfo/client/Client.d.ts +3 -1
  1312. package/dist/api/resources/hris/resources/bankInfo/client/Client.js +19 -15
  1313. package/dist/api/resources/hris/resources/bankInfo/client/requests/BankInfoListRequest.d.ts +19 -49
  1314. package/dist/api/resources/hris/resources/bankInfo/client/requests/BankInfoRetrieveRequest.d.ts +5 -15
  1315. package/dist/api/resources/hris/resources/benefits/client/Client.d.ts +3 -1
  1316. package/dist/api/resources/hris/resources/benefits/client/Client.js +19 -15
  1317. package/dist/api/resources/hris/resources/benefits/client/requests/BenefitsListRequest.d.ts +15 -37
  1318. package/dist/api/resources/hris/resources/benefits/client/requests/BenefitsRetrieveRequest.d.ts +3 -9
  1319. package/dist/api/resources/hris/resources/companies/client/Client.d.ts +3 -1
  1320. package/dist/api/resources/hris/resources/companies/client/Client.js +19 -15
  1321. package/dist/api/resources/hris/resources/companies/client/requests/CompaniesListRequest.d.ts +13 -31
  1322. package/dist/api/resources/hris/resources/companies/client/requests/CompaniesRetrieveRequest.d.ts +2 -6
  1323. package/dist/api/resources/hris/resources/deleteAccount/client/Client.js +8 -7
  1324. package/dist/api/resources/hris/resources/dependents/client/Client.d.ts +3 -1
  1325. package/dist/api/resources/hris/resources/dependents/client/Client.js +19 -15
  1326. package/dist/api/resources/hris/resources/dependents/client/requests/DependentsListRequest.d.ts +14 -34
  1327. package/dist/api/resources/hris/resources/dependents/client/requests/DependentsRetrieveRequest.d.ts +3 -9
  1328. package/dist/api/resources/hris/resources/employeePayrollRuns/client/Client.d.ts +3 -1
  1329. package/dist/api/resources/hris/resources/employeePayrollRuns/client/Client.js +19 -15
  1330. package/dist/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsListRequest.d.ts +20 -52
  1331. package/dist/api/resources/hris/resources/employeePayrollRuns/client/requests/EmployeePayrollRunsRetrieveRequest.d.ts +3 -9
  1332. package/dist/api/resources/hris/resources/employees/client/Client.d.ts +3 -1
  1333. package/dist/api/resources/hris/resources/employees/client/Client.js +43 -36
  1334. package/dist/api/resources/hris/resources/employees/client/requests/EmployeeEndpointRequest.d.ts +2 -6
  1335. package/dist/api/resources/hris/resources/employees/client/requests/EmployeesListRequest.d.ts +35 -97
  1336. package/dist/api/resources/hris/resources/employees/client/requests/EmployeesRetrieveRequest.d.ts +6 -18
  1337. package/dist/api/resources/hris/resources/employerBenefits/client/Client.d.ts +3 -1
  1338. package/dist/api/resources/hris/resources/employerBenefits/client/Client.js +19 -15
  1339. package/dist/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsListRequest.d.ts +13 -31
  1340. package/dist/api/resources/hris/resources/employerBenefits/client/requests/EmployerBenefitsRetrieveRequest.d.ts +2 -6
  1341. package/dist/api/resources/hris/resources/employments/client/Client.d.ts +3 -1
  1342. package/dist/api/resources/hris/resources/employments/client/Client.js +19 -15
  1343. package/dist/api/resources/hris/resources/employments/client/requests/EmploymentsListRequest.d.ts +18 -46
  1344. package/dist/api/resources/hris/resources/employments/client/requests/EmploymentsRetrieveRequest.d.ts +5 -15
  1345. package/dist/api/resources/hris/resources/fieldMapping/client/Client.js +48 -42
  1346. package/dist/api/resources/hris/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
  1347. package/dist/api/resources/hris/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
  1348. package/dist/api/resources/hris/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
  1349. package/dist/api/resources/hris/resources/forceResync/client/Client.js +8 -7
  1350. package/dist/api/resources/hris/resources/generateKey/client/Client.js +8 -7
  1351. package/dist/api/resources/hris/resources/groups/client/Client.d.ts +3 -1
  1352. package/dist/api/resources/hris/resources/groups/client/Client.js +19 -15
  1353. package/dist/api/resources/hris/resources/groups/client/requests/GroupsListRequest.d.ts +18 -46
  1354. package/dist/api/resources/hris/resources/groups/client/requests/GroupsRetrieveRequest.d.ts +4 -12
  1355. package/dist/api/resources/hris/resources/issues/client/Client.d.ts +3 -1
  1356. package/dist/api/resources/hris/resources/issues/client/Client.js +19 -15
  1357. package/dist/api/resources/hris/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
  1358. package/dist/api/resources/hris/resources/linkToken/client/Client.js +8 -7
  1359. package/dist/api/resources/hris/resources/linkedAccounts/client/Client.d.ts +3 -1
  1360. package/dist/api/resources/hris/resources/linkedAccounts/client/Client.js +11 -8
  1361. package/dist/api/resources/hris/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
  1362. package/dist/api/resources/hris/resources/locations/client/Client.d.ts +3 -1
  1363. package/dist/api/resources/hris/resources/locations/client/Client.js +19 -15
  1364. package/dist/api/resources/hris/resources/locations/client/requests/LocationsListRequest.d.ts +15 -37
  1365. package/dist/api/resources/hris/resources/locations/client/requests/LocationsRetrieveRequest.d.ts +4 -12
  1366. package/dist/api/resources/hris/resources/passthrough/client/Client.js +8 -7
  1367. package/dist/api/resources/hris/resources/payGroups/client/Client.d.ts +3 -1
  1368. package/dist/api/resources/hris/resources/payGroups/client/Client.js +19 -15
  1369. package/dist/api/resources/hris/resources/payGroups/client/requests/PayGroupsListRequest.d.ts +13 -31
  1370. package/dist/api/resources/hris/resources/payGroups/client/requests/PayGroupsRetrieveRequest.d.ts +2 -6
  1371. package/dist/api/resources/hris/resources/payrollRuns/client/Client.d.ts +3 -1
  1372. package/dist/api/resources/hris/resources/payrollRuns/client/Client.js +19 -15
  1373. package/dist/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsListRequest.d.ts +19 -49
  1374. package/dist/api/resources/hris/resources/payrollRuns/client/requests/PayrollRunsRetrieveRequest.d.ts +4 -12
  1375. package/dist/api/resources/hris/resources/regenerateKey/client/Client.js +8 -7
  1376. package/dist/api/resources/hris/resources/scopes/client/Client.js +24 -21
  1377. package/dist/api/resources/hris/resources/syncStatus/client/Client.d.ts +3 -1
  1378. package/dist/api/resources/hris/resources/syncStatus/client/Client.js +11 -8
  1379. package/dist/api/resources/hris/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
  1380. package/dist/api/resources/hris/resources/teams/client/Client.d.ts +3 -1
  1381. package/dist/api/resources/hris/resources/teams/client/Client.js +19 -15
  1382. package/dist/api/resources/hris/resources/teams/client/requests/TeamsListRequest.d.ts +15 -37
  1383. package/dist/api/resources/hris/resources/teams/client/requests/TeamsRetrieveRequest.d.ts +3 -9
  1384. package/dist/api/resources/hris/resources/timeOff/client/Client.d.ts +3 -1
  1385. package/dist/api/resources/hris/resources/timeOff/client/Client.js +35 -29
  1386. package/dist/api/resources/hris/resources/timeOff/client/requests/TimeOffEndpointRequest.d.ts +2 -6
  1387. package/dist/api/resources/hris/resources/timeOff/client/requests/TimeOffListRequest.d.ts +22 -58
  1388. package/dist/api/resources/hris/resources/timeOff/client/requests/TimeOffRetrieveRequest.d.ts +5 -15
  1389. package/dist/api/resources/hris/resources/timeOffBalances/client/Client.d.ts +3 -1
  1390. package/dist/api/resources/hris/resources/timeOffBalances/client/Client.js +19 -15
  1391. package/dist/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesListRequest.d.ts +17 -43
  1392. package/dist/api/resources/hris/resources/timeOffBalances/client/requests/TimeOffBalancesRetrieveRequest.d.ts +5 -15
  1393. package/dist/api/resources/hris/resources/timesheetEntries/client/Client.d.ts +3 -1
  1394. package/dist/api/resources/hris/resources/timesheetEntries/client/Client.js +35 -29
  1395. package/dist/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesListRequest.d.ts +20 -52
  1396. package/dist/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntriesRetrieveRequest.d.ts +3 -9
  1397. package/dist/api/resources/hris/resources/timesheetEntries/client/requests/TimesheetEntryEndpointRequest.d.ts +2 -6
  1398. package/dist/api/resources/hris/resources/webhookReceivers/client/Client.js +16 -14
  1399. package/dist/api/resources/hris/types/Benefit.d.ts +2 -2
  1400. package/dist/api/resources/index.d.ts +1 -1
  1401. package/dist/api/resources/index.js +2 -2
  1402. package/dist/api/resources/ticketing/resources/accountDetails/client/Client.js +8 -7
  1403. package/dist/api/resources/ticketing/resources/accountToken/client/Client.js +8 -7
  1404. package/dist/api/resources/ticketing/resources/accounts/client/Client.d.ts +3 -1
  1405. package/dist/api/resources/ticketing/resources/accounts/client/Client.js +19 -15
  1406. package/dist/api/resources/ticketing/resources/accounts/client/requests/AccountsListRequest.d.ts +13 -31
  1407. package/dist/api/resources/ticketing/resources/accounts/client/requests/AccountsRetrieveRequest.d.ts +2 -6
  1408. package/dist/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +16 -14
  1409. package/dist/api/resources/ticketing/resources/attachments/client/Client.d.ts +3 -1
  1410. package/dist/api/resources/ticketing/resources/attachments/client/Client.js +43 -36
  1411. package/dist/api/resources/ticketing/resources/attachments/client/requests/AttachmentsDownloadRetrieveRequest.d.ts +2 -6
  1412. package/dist/api/resources/ticketing/resources/attachments/client/requests/AttachmentsListRequest.d.ts +16 -40
  1413. package/dist/api/resources/ticketing/resources/attachments/client/requests/AttachmentsRetrieveRequest.d.ts +3 -9
  1414. package/dist/api/resources/ticketing/resources/attachments/client/requests/TicketingAttachmentEndpointRequest.d.ts +2 -6
  1415. package/dist/api/resources/ticketing/resources/auditTrail/client/Client.d.ts +3 -1
  1416. package/dist/api/resources/ticketing/resources/auditTrail/client/Client.js +11 -8
  1417. package/dist/api/resources/ticketing/resources/auditTrail/client/requests/AuditTrailListRequest.d.ts +9 -19
  1418. package/dist/api/resources/ticketing/resources/availableActions/client/Client.js +8 -7
  1419. package/dist/api/resources/ticketing/resources/collections/client/Client.d.ts +6 -2
  1420. package/dist/api/resources/ticketing/resources/collections/client/Client.js +30 -23
  1421. package/dist/api/resources/ticketing/resources/collections/client/requests/CollectionsListRequest.d.ts +18 -46
  1422. package/dist/api/resources/ticketing/resources/collections/client/requests/CollectionsRetrieveRequest.d.ts +5 -15
  1423. package/dist/api/resources/ticketing/resources/collections/client/requests/CollectionsViewersListRequest.d.ts +9 -19
  1424. package/dist/api/resources/ticketing/resources/comments/client/Client.d.ts +3 -1
  1425. package/dist/api/resources/ticketing/resources/comments/client/Client.js +35 -29
  1426. package/dist/api/resources/ticketing/resources/comments/client/requests/CommentEndpointRequest.d.ts +2 -6
  1427. package/dist/api/resources/ticketing/resources/comments/client/requests/CommentsListRequest.d.ts +16 -40
  1428. package/dist/api/resources/ticketing/resources/comments/client/requests/CommentsRetrieveRequest.d.ts +3 -9
  1429. package/dist/api/resources/ticketing/resources/contacts/client/Client.d.ts +3 -1
  1430. package/dist/api/resources/ticketing/resources/contacts/client/Client.js +35 -29
  1431. package/dist/api/resources/ticketing/resources/contacts/client/requests/ContactsListRequest.d.ts +14 -34
  1432. package/dist/api/resources/ticketing/resources/contacts/client/requests/ContactsRetrieveRequest.d.ts +3 -9
  1433. package/dist/api/resources/ticketing/resources/contacts/client/requests/TicketingContactEndpointRequest.d.ts +2 -6
  1434. package/dist/api/resources/ticketing/resources/deleteAccount/client/Client.js +8 -7
  1435. package/dist/api/resources/ticketing/resources/fieldMapping/client/Client.js +48 -42
  1436. package/dist/api/resources/ticketing/resources/fieldMapping/client/requests/CreateFieldMappingRequest.d.ts +1 -3
  1437. package/dist/api/resources/ticketing/resources/fieldMapping/client/requests/FieldMappingsRetrieveRequest.d.ts +1 -3
  1438. package/dist/api/resources/ticketing/resources/fieldMapping/client/requests/RemoteFieldsRetrieveRequest.d.ts +2 -6
  1439. package/dist/api/resources/ticketing/resources/forceResync/client/Client.js +8 -7
  1440. package/dist/api/resources/ticketing/resources/generateKey/client/Client.js +8 -7
  1441. package/dist/api/resources/ticketing/resources/issues/client/Client.d.ts +3 -1
  1442. package/dist/api/resources/ticketing/resources/issues/client/Client.js +19 -15
  1443. package/dist/api/resources/ticketing/resources/issues/client/requests/IssuesListRequest.d.ts +13 -31
  1444. package/dist/api/resources/ticketing/resources/linkToken/client/Client.js +8 -7
  1445. package/dist/api/resources/ticketing/resources/linkedAccounts/client/Client.d.ts +3 -1
  1446. package/dist/api/resources/ticketing/resources/linkedAccounts/client/Client.js +11 -8
  1447. package/dist/api/resources/ticketing/resources/linkedAccounts/client/requests/LinkedAccountsListRequest.d.ts +14 -34
  1448. package/dist/api/resources/ticketing/resources/passthrough/client/Client.js +8 -7
  1449. package/dist/api/resources/ticketing/resources/projects/client/Client.d.ts +6 -2
  1450. package/dist/api/resources/ticketing/resources/projects/client/Client.js +30 -23
  1451. package/dist/api/resources/ticketing/resources/projects/client/requests/ProjectsListRequest.d.ts +13 -31
  1452. package/dist/api/resources/ticketing/resources/projects/client/requests/ProjectsRetrieveRequest.d.ts +2 -6
  1453. package/dist/api/resources/ticketing/resources/projects/client/requests/ProjectsUsersListRequest.d.ts +9 -19
  1454. package/dist/api/resources/ticketing/resources/regenerateKey/client/Client.js +8 -7
  1455. package/dist/api/resources/ticketing/resources/roles/client/Client.d.ts +3 -1
  1456. package/dist/api/resources/ticketing/resources/roles/client/Client.js +19 -15
  1457. package/dist/api/resources/ticketing/resources/roles/client/requests/RolesListRequest.d.ts +13 -31
  1458. package/dist/api/resources/ticketing/resources/roles/client/requests/RolesRetrieveRequest.d.ts +2 -6
  1459. package/dist/api/resources/ticketing/resources/scopes/client/Client.js +24 -21
  1460. package/dist/api/resources/ticketing/resources/syncStatus/client/Client.d.ts +3 -1
  1461. package/dist/api/resources/ticketing/resources/syncStatus/client/Client.js +11 -8
  1462. package/dist/api/resources/ticketing/resources/syncStatus/client/requests/SyncStatusListRequest.d.ts +5 -7
  1463. package/dist/api/resources/ticketing/resources/tags/client/Client.d.ts +3 -1
  1464. package/dist/api/resources/ticketing/resources/tags/client/Client.js +19 -15
  1465. package/dist/api/resources/ticketing/resources/tags/client/requests/TagsListRequest.d.ts +13 -31
  1466. package/dist/api/resources/ticketing/resources/tags/client/requests/TagsRetrieveRequest.d.ts +2 -6
  1467. package/dist/api/resources/ticketing/resources/teams/client/Client.d.ts +3 -1
  1468. package/dist/api/resources/ticketing/resources/teams/client/Client.js +19 -15
  1469. package/dist/api/resources/ticketing/resources/teams/client/requests/TeamsListRequest.d.ts +13 -31
  1470. package/dist/api/resources/ticketing/resources/teams/client/requests/TeamsRetrieveRequest.d.ts +2 -6
  1471. package/dist/api/resources/ticketing/resources/tickets/client/Client.d.ts +9 -3
  1472. package/dist/api/resources/ticketing/resources/tickets/client/Client.js +77 -60
  1473. package/dist/api/resources/ticketing/resources/tickets/client/requests/PatchedTicketEndpointRequest.d.ts +2 -6
  1474. package/dist/api/resources/ticketing/resources/tickets/client/requests/TicketEndpointRequest.d.ts +2 -6
  1475. package/dist/api/resources/ticketing/resources/tickets/client/requests/TicketsListRequest.d.ts +36 -94
  1476. package/dist/api/resources/ticketing/resources/tickets/client/requests/TicketsMetaPostRetrieveRequest.d.ts +2 -6
  1477. package/dist/api/resources/ticketing/resources/tickets/client/requests/TicketsRemoteFieldClassesListRequest.d.ts +11 -25
  1478. package/dist/api/resources/ticketing/resources/tickets/client/requests/TicketsRetrieveRequest.d.ts +6 -18
  1479. package/dist/api/resources/ticketing/resources/tickets/client/requests/TicketsViewersListRequest.d.ts +9 -19
  1480. package/dist/api/resources/ticketing/resources/users/client/Client.d.ts +3 -1
  1481. package/dist/api/resources/ticketing/resources/users/client/Client.js +19 -15
  1482. package/dist/api/resources/ticketing/resources/users/client/requests/UsersListRequest.d.ts +16 -40
  1483. package/dist/api/resources/ticketing/resources/users/client/requests/UsersRetrieveRequest.d.ts +3 -9
  1484. package/dist/api/resources/ticketing/resources/webhookReceivers/client/Client.js +16 -14
  1485. package/dist/api/resources/ticketing/types/PatchedTicketRequest.d.ts +2 -2
  1486. package/dist/core/auth/AuthProvider.d.ts +4 -0
  1487. package/dist/core/auth/AuthProvider.js +2 -0
  1488. package/dist/core/auth/AuthRequest.d.ts +9 -0
  1489. package/dist/core/auth/AuthRequest.js +2 -0
  1490. package/dist/core/auth/index.d.ts +2 -0
  1491. package/dist/core/fetcher/Fetcher.js +2 -2
  1492. package/dist/core/fetcher/index.d.ts +5 -5
  1493. package/dist/core/fetcher/index.js +5 -5
  1494. package/dist/core/schemas/builders/lazy/index.d.ts +1 -1
  1495. package/dist/core/schemas/builders/literals/index.d.ts +1 -1
  1496. package/dist/core/schemas/builders/literals/index.js +3 -3
  1497. package/dist/core/schemas/builders/object/index.d.ts +2 -2
  1498. package/dist/core/schemas/builders/object/object.d.ts +1 -1
  1499. package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +1 -1
  1500. package/dist/core/schemas/builders/object/types.d.ts +1 -1
  1501. package/dist/core/schemas/builders/schema-utils/index.d.ts +1 -1
  1502. package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +1 -1
  1503. package/dist/core/schemas/builders/union/index.d.ts +1 -1
  1504. package/dist/core/schemas/builders/union/types.d.ts +1 -1
  1505. package/dist/core/schemas/builders/union/union.d.ts +1 -1
  1506. package/dist/serialization/resources/accounting/resources/contacts/client/requests/PatchedContactEndpointRequest.d.ts +13 -0
  1507. package/dist/serialization/resources/accounting/resources/contacts/client/requests/PatchedContactEndpointRequest.js +44 -0
  1508. package/dist/serialization/resources/accounting/resources/contacts/client/requests/index.d.ts +1 -0
  1509. package/dist/serialization/resources/accounting/resources/contacts/client/requests/index.js +3 -1
  1510. package/dist/serialization/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.d.ts +1 -1
  1511. package/dist/serialization/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.js +32 -0
  1512. package/dist/serialization/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.d.ts +1 -1
  1513. package/dist/serialization/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.js +32 -0
  1514. package/dist/serialization/resources/accounting/types/PatchedContactRequest.d.ts +27 -0
  1515. package/dist/serialization/resources/accounting/types/PatchedContactRequest.js +58 -0
  1516. package/dist/serialization/resources/accounting/types/PatchedContactRequestAddressesItem.d.ts +11 -0
  1517. package/dist/serialization/resources/accounting/types/PatchedContactRequestAddressesItem.js +42 -0
  1518. package/dist/serialization/resources/accounting/types/index.d.ts +2 -0
  1519. package/dist/serialization/resources/accounting/types/index.js +2 -0
  1520. package/dist/serialization/resources/ats/types/EventTypeEnum.d.ts +1 -1
  1521. package/dist/serialization/resources/ats/types/EventTypeEnum.js +1 -0
  1522. package/dist/serialization/resources/hris/types/Benefit.d.ts +1 -1
  1523. package/dist/serialization/resources/hris/types/Benefit.js +1 -1
  1524. package/dist/serialization/resources/index.d.ts +1 -1
  1525. package/dist/serialization/resources/index.js +2 -2
  1526. package/dist/serialization/resources/ticketing/types/PatchedTicketRequest.d.ts +1 -1
  1527. package/dist/serialization/resources/ticketing/types/PatchedTicketRequest.js +1 -1
  1528. package/dist/version.d.ts +1 -1
  1529. package/dist/version.js +1 -1
  1530. package/package.json +1 -1
  1531. package/reference.md +1829 -1405
  1532. package/serialization/resources/accounting/resources/contacts/client/requests/PatchedContactEndpointRequest.d.ts +13 -0
  1533. package/serialization/resources/accounting/resources/contacts/client/requests/PatchedContactEndpointRequest.js +44 -0
  1534. package/serialization/resources/accounting/resources/contacts/client/requests/index.d.ts +1 -0
  1535. package/serialization/resources/accounting/resources/contacts/client/requests/index.js +3 -1
  1536. package/serialization/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.d.ts +1 -1
  1537. package/serialization/resources/accounting/resources/transactions/types/TransactionsListRequestExpand.js +32 -0
  1538. package/serialization/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.d.ts +1 -1
  1539. package/serialization/resources/accounting/resources/transactions/types/TransactionsRetrieveRequestExpand.js +32 -0
  1540. package/serialization/resources/accounting/types/PatchedContactRequest.d.ts +27 -0
  1541. package/serialization/resources/accounting/types/PatchedContactRequest.js +58 -0
  1542. package/serialization/resources/accounting/types/PatchedContactRequestAddressesItem.d.ts +11 -0
  1543. package/serialization/resources/accounting/types/PatchedContactRequestAddressesItem.js +42 -0
  1544. package/serialization/resources/accounting/types/index.d.ts +2 -0
  1545. package/serialization/resources/accounting/types/index.js +2 -0
  1546. package/serialization/resources/ats/types/EventTypeEnum.d.ts +1 -1
  1547. package/serialization/resources/ats/types/EventTypeEnum.js +1 -0
  1548. package/serialization/resources/hris/types/Benefit.d.ts +1 -1
  1549. package/serialization/resources/hris/types/Benefit.js +1 -1
  1550. package/serialization/resources/index.d.ts +1 -1
  1551. package/serialization/resources/index.js +2 -2
  1552. package/serialization/resources/ticketing/types/PatchedTicketRequest.d.ts +1 -1
  1553. package/serialization/resources/ticketing/types/PatchedTicketRequest.js +1 -1
  1554. package/version.d.ts +1 -1
  1555. package/version.js +1 -1
@@ -80,19 +80,20 @@ class FieldMapping {
80
80
  }
81
81
  __fieldMappingsRetrieve() {
82
82
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
83
- var _a, _b, _c, _d;
83
+ var _a, _b, _c, _d, _e, _f;
84
84
  const { excludeRemoteFieldMetadata } = request;
85
85
  const _queryParams = {};
86
86
  if (excludeRemoteFieldMetadata != null) {
87
87
  _queryParams["exclude_remote_field_metadata"] = excludeRemoteFieldMetadata.toString();
88
88
  }
89
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
90
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, "accounting/v1/field-mappings"),
89
+ let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
90
+ Authorization: yield this._getAuthorizationHeader(),
91
+ "X-Account-Token": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.accountToken,
92
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
93
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
94
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.MergeEnvironment.Production, "accounting/v1/field-mappings"),
91
95
  method: "GET",
92
- headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
93
- Authorization: yield this._getAuthorizationHeader(),
94
- "X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
95
- }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
96
+ headers: _headers,
96
97
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
97
98
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
98
99
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -155,19 +156,20 @@ class FieldMapping {
155
156
  }
156
157
  __fieldMappingsCreate(request, requestOptions) {
157
158
  return __awaiter(this, void 0, void 0, function* () {
158
- var _a, _b, _c, _d;
159
+ var _a, _b, _c, _d, _e, _f;
159
160
  const { excludeRemoteFieldMetadata } = request, _body = __rest(request, ["excludeRemoteFieldMetadata"]);
160
161
  const _queryParams = {};
161
162
  if (excludeRemoteFieldMetadata != null) {
162
163
  _queryParams["exclude_remote_field_metadata"] = excludeRemoteFieldMetadata.toString();
163
164
  }
164
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
165
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, "accounting/v1/field-mappings"),
165
+ let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
166
+ Authorization: yield this._getAuthorizationHeader(),
167
+ "X-Account-Token": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.accountToken,
168
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
169
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
170
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.MergeEnvironment.Production, "accounting/v1/field-mappings"),
166
171
  method: "POST",
167
- headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
168
- Authorization: yield this._getAuthorizationHeader(),
169
- "X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
170
- }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
172
+ headers: _headers,
171
173
  contentType: "application/json",
172
174
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
173
175
  requestType: "json",
@@ -228,14 +230,15 @@ class FieldMapping {
228
230
  }
229
231
  __fieldMappingsDestroy(fieldMappingId, requestOptions) {
230
232
  return __awaiter(this, void 0, void 0, function* () {
231
- var _a, _b, _c, _d;
232
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
233
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, `accounting/v1/field-mappings/${encodeURIComponent(fieldMappingId)}`),
233
+ var _a, _b, _c, _d, _e, _f;
234
+ let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
235
+ Authorization: yield this._getAuthorizationHeader(),
236
+ "X-Account-Token": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.accountToken,
237
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
238
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
239
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.MergeEnvironment.Production, `accounting/v1/field-mappings/${encodeURIComponent(fieldMappingId)}`),
234
240
  method: "DELETE",
235
- headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
236
- Authorization: yield this._getAuthorizationHeader(),
237
- "X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
238
- }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
241
+ headers: _headers,
239
242
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
240
243
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
241
244
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -292,14 +295,15 @@ class FieldMapping {
292
295
  }
293
296
  __fieldMappingsPartialUpdate(fieldMappingId_1) {
294
297
  return __awaiter(this, arguments, void 0, function* (fieldMappingId, request = {}, requestOptions) {
295
- var _a, _b, _c, _d;
296
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
297
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, `accounting/v1/field-mappings/${encodeURIComponent(fieldMappingId)}`),
298
+ var _a, _b, _c, _d, _e, _f;
299
+ let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
300
+ Authorization: yield this._getAuthorizationHeader(),
301
+ "X-Account-Token": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.accountToken,
302
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
303
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
304
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.MergeEnvironment.Production, `accounting/v1/field-mappings/${encodeURIComponent(fieldMappingId)}`),
298
305
  method: "PATCH",
299
- headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
300
- Authorization: yield this._getAuthorizationHeader(),
301
- "X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
302
- }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
306
+ headers: _headers,
303
307
  contentType: "application/json",
304
308
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
305
309
  requestType: "json",
@@ -360,7 +364,7 @@ class FieldMapping {
360
364
  }
361
365
  __remoteFieldsRetrieve() {
362
366
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
363
- var _a, _b, _c, _d;
367
+ var _a, _b, _c, _d, _e, _f;
364
368
  const { commonModels, includeExampleValues } = request;
365
369
  const _queryParams = {};
366
370
  if (commonModels != null) {
@@ -369,13 +373,14 @@ class FieldMapping {
369
373
  if (includeExampleValues != null) {
370
374
  _queryParams["include_example_values"] = includeExampleValues;
371
375
  }
372
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
373
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, "accounting/v1/remote-fields"),
376
+ let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
377
+ Authorization: yield this._getAuthorizationHeader(),
378
+ "X-Account-Token": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.accountToken,
379
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
380
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
381
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.MergeEnvironment.Production, "accounting/v1/remote-fields"),
374
382
  method: "GET",
375
- headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
376
- Authorization: yield this._getAuthorizationHeader(),
377
- "X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
378
- }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
383
+ headers: _headers,
379
384
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
380
385
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
381
386
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -430,14 +435,15 @@ class FieldMapping {
430
435
  }
431
436
  __targetFieldsRetrieve(requestOptions) {
432
437
  return __awaiter(this, void 0, void 0, function* () {
433
- var _a, _b, _c, _d;
434
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
435
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, "accounting/v1/target-fields"),
438
+ var _a, _b, _c, _d, _e, _f;
439
+ let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
440
+ Authorization: yield this._getAuthorizationHeader(),
441
+ "X-Account-Token": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.accountToken,
442
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
443
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
444
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.MergeEnvironment.Production, "accounting/v1/target-fields"),
436
445
  method: "GET",
437
- headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
438
- Authorization: yield this._getAuthorizationHeader(),
439
- "X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
440
- }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
446
+ headers: _headers,
441
447
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
442
448
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
443
449
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -13,9 +13,7 @@
13
13
  * }
14
14
  */
15
15
  export interface CreateFieldMappingRequest {
16
- /**
17
- * If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations.
18
- */
16
+ /** If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. */
19
17
  excludeRemoteFieldMetadata?: boolean;
20
18
  /** The name of the target field you want this remote field to map to. */
21
19
  targetFieldName: string;
@@ -6,8 +6,6 @@
6
6
  * {}
7
7
  */
8
8
  export interface FieldMappingsRetrieveRequest {
9
- /**
10
- * If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations.
11
- */
9
+ /** If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. */
12
10
  excludeRemoteFieldMetadata?: boolean;
13
11
  }
@@ -6,12 +6,8 @@
6
6
  * {}
7
7
  */
8
8
  export interface RemoteFieldsRetrieveRequest {
9
- /**
10
- * A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models.
11
- */
9
+ /** A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. */
12
10
  commonModels?: string;
13
- /**
14
- * If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers.
15
- */
11
+ /** If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. */
16
12
  includeExampleValues?: string;
17
13
  }
@@ -68,14 +68,15 @@ class ForceResync {
68
68
  }
69
69
  __syncStatusResyncCreate(requestOptions) {
70
70
  return __awaiter(this, void 0, void 0, function* () {
71
- var _a, _b, _c, _d;
72
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
73
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, "accounting/v1/sync-status/resync"),
71
+ var _a, _b, _c, _d, _e, _f;
72
+ let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
73
+ Authorization: yield this._getAuthorizationHeader(),
74
+ "X-Account-Token": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.accountToken,
75
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
76
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
77
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.MergeEnvironment.Production, "accounting/v1/sync-status/resync"),
74
78
  method: "POST",
75
- headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
76
- Authorization: yield this._getAuthorizationHeader(),
77
- "X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
78
- }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
79
+ headers: _headers,
79
80
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
80
81
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
81
82
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -41,7 +41,9 @@ export declare class GeneralLedgerTransactions {
41
41
  * @param {GeneralLedgerTransactions.RequestOptions} requestOptions - Request-specific configuration.
42
42
  *
43
43
  * @example
44
- * await client.accounting.generalLedgerTransactions.list()
44
+ * await client.accounting.generalLedgerTransactions.list({
45
+ * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
46
+ * })
45
47
  */
46
48
  list(request?: Merge.accounting.GeneralLedgerTransactionsListRequest, requestOptions?: GeneralLedgerTransactions.RequestOptions): core.HttpResponsePromise<Merge.accounting.PaginatedGeneralLedgerTransactionList>;
47
49
  private __list;
@@ -62,14 +62,16 @@ class GeneralLedgerTransactions {
62
62
  * @param {GeneralLedgerTransactions.RequestOptions} requestOptions - Request-specific configuration.
63
63
  *
64
64
  * @example
65
- * await client.accounting.generalLedgerTransactions.list()
65
+ * await client.accounting.generalLedgerTransactions.list({
66
+ * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
67
+ * })
66
68
  */
67
69
  list(request = {}, requestOptions) {
68
70
  return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
69
71
  }
70
72
  __list() {
71
73
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
72
- var _a, _b, _c, _d;
74
+ var _a, _b, _c, _d, _e, _f;
73
75
  const { companyId, createdAfter, createdBefore, cursor, expand, includeDeletedData, includeRemoteData, includeShellData, modifiedAfter, modifiedBefore, pageSize, postedDateAfter, postedDateBefore, remoteId, } = request;
74
76
  const _queryParams = {};
75
77
  if (companyId != null) {
@@ -114,13 +116,14 @@ class GeneralLedgerTransactions {
114
116
  if (remoteId != null) {
115
117
  _queryParams["remote_id"] = remoteId;
116
118
  }
117
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
118
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, "accounting/v1/general-ledger-transactions"),
119
+ let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
120
+ Authorization: yield this._getAuthorizationHeader(),
121
+ "X-Account-Token": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.accountToken,
122
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
123
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
124
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.MergeEnvironment.Production, "accounting/v1/general-ledger-transactions"),
119
125
  method: "GET",
120
- headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
121
- Authorization: yield this._getAuthorizationHeader(),
122
- "X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
123
- }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
126
+ headers: _headers,
124
127
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
125
128
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
126
129
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -177,7 +180,7 @@ class GeneralLedgerTransactions {
177
180
  }
178
181
  __retrieve(id_1) {
179
182
  return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
180
- var _a, _b, _c, _d;
183
+ var _a, _b, _c, _d, _e, _f;
181
184
  const { expand, includeRemoteData, includeShellData } = request;
182
185
  const _queryParams = {};
183
186
  if (expand != null) {
@@ -189,13 +192,14 @@ class GeneralLedgerTransactions {
189
192
  if (includeShellData != null) {
190
193
  _queryParams["include_shell_data"] = includeShellData.toString();
191
194
  }
192
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
193
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, `accounting/v1/general-ledger-transactions/${encodeURIComponent(id)}`),
195
+ let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
196
+ Authorization: yield this._getAuthorizationHeader(),
197
+ "X-Account-Token": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.accountToken,
198
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
199
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
200
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.MergeEnvironment.Production, `accounting/v1/general-ledger-transactions/${encodeURIComponent(id)}`),
194
201
  method: "GET",
195
- headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
196
- Authorization: yield this._getAuthorizationHeader(),
197
- "X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
198
- }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
202
+ headers: _headers,
199
203
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
200
204
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
201
205
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -4,63 +4,37 @@
4
4
  import * as Merge from "../../../../../../index";
5
5
  /**
6
6
  * @example
7
- * {}
7
+ * {
8
+ * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
9
+ * }
8
10
  */
9
11
  export interface GeneralLedgerTransactionsListRequest {
10
- /**
11
- * If provided, will only return general ledger transactions for this company.
12
- */
12
+ /** If provided, will only return general ledger transactions for this company. */
13
13
  companyId?: string;
14
- /**
15
- * If provided, will only return objects created after this datetime.
16
- */
14
+ /** If provided, will only return objects created after this datetime. */
17
15
  createdAfter?: Date;
18
- /**
19
- * If provided, will only return objects created before this datetime.
20
- */
16
+ /** If provided, will only return objects created before this datetime. */
21
17
  createdBefore?: Date;
22
- /**
23
- * The pagination cursor value.
24
- */
18
+ /** The pagination cursor value. */
25
19
  cursor?: string;
26
- /**
27
- * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
28
- */
20
+ /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */
29
21
  expand?: Merge.accounting.GeneralLedgerTransactionsListRequestExpand;
30
- /**
31
- * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
32
- */
22
+ /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */
33
23
  includeDeletedData?: boolean;
34
- /**
35
- * Whether to include the original data Merge fetched from the third-party to produce these models.
36
- */
24
+ /** Whether to include the original data Merge fetched from the third-party to produce these models. */
37
25
  includeRemoteData?: boolean;
38
- /**
39
- * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
40
- */
26
+ /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */
41
27
  includeShellData?: boolean;
42
- /**
43
- * If provided, only objects synced by Merge after this date time will be returned.
44
- */
28
+ /** If provided, only objects synced by Merge after this date time will be returned. */
45
29
  modifiedAfter?: Date;
46
- /**
47
- * If provided, only objects synced by Merge before this date time will be returned.
48
- */
30
+ /** If provided, only objects synced by Merge before this date time will be returned. */
49
31
  modifiedBefore?: Date;
50
- /**
51
- * Number of results to return per page.
52
- */
32
+ /** Number of results to return per page. */
53
33
  pageSize?: number;
54
- /**
55
- * If provided, will only return objects posted after this datetime.
56
- */
34
+ /** If provided, will only return objects posted after this datetime. */
57
35
  postedDateAfter?: Date;
58
- /**
59
- * If provided, will only return objects posted before this datetime.
60
- */
36
+ /** If provided, will only return objects posted before this datetime. */
61
37
  postedDateBefore?: Date;
62
- /**
63
- * The API provider's ID for the given object.
64
- */
38
+ /** The API provider's ID for the given object. */
65
39
  remoteId?: string;
66
40
  }
@@ -7,16 +7,10 @@ import * as Merge from "../../../../../../index";
7
7
  * {}
8
8
  */
9
9
  export interface GeneralLedgerTransactionsRetrieveRequest {
10
- /**
11
- * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
12
- */
10
+ /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */
13
11
  expand?: Merge.accounting.GeneralLedgerTransactionsRetrieveRequestExpand;
14
- /**
15
- * Whether to include the original data Merge fetched from the third-party to produce these models.
16
- */
12
+ /** Whether to include the original data Merge fetched from the third-party to produce these models. */
17
13
  includeRemoteData?: boolean;
18
- /**
19
- * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
20
- */
14
+ /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */
21
15
  includeShellData?: boolean;
22
16
  }
@@ -71,14 +71,15 @@ class GenerateKey {
71
71
  }
72
72
  __create(request, requestOptions) {
73
73
  return __awaiter(this, void 0, void 0, function* () {
74
- var _a, _b, _c, _d;
75
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
76
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, "accounting/v1/generate-key"),
74
+ var _a, _b, _c, _d, _e, _f;
75
+ let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
76
+ Authorization: yield this._getAuthorizationHeader(),
77
+ "X-Account-Token": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.accountToken,
78
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
79
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
80
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.MergeEnvironment.Production, "accounting/v1/generate-key"),
77
81
  method: "POST",
78
- headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
79
- Authorization: yield this._getAuthorizationHeader(),
80
- "X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
81
- }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
82
+ headers: _headers,
82
83
  contentType: "application/json",
83
84
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
84
85
  requestType: "json",
@@ -41,7 +41,9 @@ export declare class IncomeStatements {
41
41
  * @param {IncomeStatements.RequestOptions} requestOptions - Request-specific configuration.
42
42
  *
43
43
  * @example
44
- * await client.accounting.incomeStatements.list()
44
+ * await client.accounting.incomeStatements.list({
45
+ * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
46
+ * })
45
47
  */
46
48
  list(request?: Merge.accounting.IncomeStatementsListRequest, requestOptions?: IncomeStatements.RequestOptions): core.HttpResponsePromise<Merge.accounting.PaginatedIncomeStatementList>;
47
49
  private __list;
@@ -62,14 +62,16 @@ class IncomeStatements {
62
62
  * @param {IncomeStatements.RequestOptions} requestOptions - Request-specific configuration.
63
63
  *
64
64
  * @example
65
- * await client.accounting.incomeStatements.list()
65
+ * await client.accounting.incomeStatements.list({
66
+ * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
67
+ * })
66
68
  */
67
69
  list(request = {}, requestOptions) {
68
70
  return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
69
71
  }
70
72
  __list() {
71
73
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
72
- var _a, _b, _c, _d;
74
+ var _a, _b, _c, _d, _e, _f;
73
75
  const { companyId, createdAfter, createdBefore, cursor, expand, includeDeletedData, includeRemoteData, includeShellData, modifiedAfter, modifiedBefore, pageSize, remoteId, } = request;
74
76
  const _queryParams = {};
75
77
  if (companyId != null) {
@@ -108,13 +110,14 @@ class IncomeStatements {
108
110
  if (remoteId != null) {
109
111
  _queryParams["remote_id"] = remoteId;
110
112
  }
111
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
112
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, "accounting/v1/income-statements"),
113
+ let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
114
+ Authorization: yield this._getAuthorizationHeader(),
115
+ "X-Account-Token": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.accountToken,
116
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
117
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
118
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.MergeEnvironment.Production, "accounting/v1/income-statements"),
113
119
  method: "GET",
114
- headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
115
- Authorization: yield this._getAuthorizationHeader(),
116
- "X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
117
- }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
120
+ headers: _headers,
118
121
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
119
122
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
120
123
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -171,7 +174,7 @@ class IncomeStatements {
171
174
  }
172
175
  __retrieve(id_1) {
173
176
  return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
174
- var _a, _b, _c, _d;
177
+ var _a, _b, _c, _d, _e, _f;
175
178
  const { expand, includeRemoteData, includeShellData } = request;
176
179
  const _queryParams = {};
177
180
  if (expand != null) {
@@ -183,13 +186,14 @@ class IncomeStatements {
183
186
  if (includeShellData != null) {
184
187
  _queryParams["include_shell_data"] = includeShellData.toString();
185
188
  }
186
- const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
187
- url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.MergeEnvironment.Production, `accounting/v1/income-statements/${encodeURIComponent(id)}`),
189
+ let _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
190
+ Authorization: yield this._getAuthorizationHeader(),
191
+ "X-Account-Token": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.accountToken,
192
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
193
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
194
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.MergeEnvironment.Production, `accounting/v1/income-statements/${encodeURIComponent(id)}`),
188
195
  method: "GET",
189
- headers: (0, headers_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
190
- Authorization: yield this._getAuthorizationHeader(),
191
- "X-Account-Token": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.accountToken,
192
- }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
196
+ headers: _headers,
193
197
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
194
198
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
195
199
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
@@ -3,55 +3,33 @@
3
3
  */
4
4
  /**
5
5
  * @example
6
- * {}
6
+ * {
7
+ * cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
8
+ * }
7
9
  */
8
10
  export interface IncomeStatementsListRequest {
9
- /**
10
- * If provided, will only return income statements for this company.
11
- */
11
+ /** If provided, will only return income statements for this company. */
12
12
  companyId?: string;
13
- /**
14
- * If provided, will only return objects created after this datetime.
15
- */
13
+ /** If provided, will only return objects created after this datetime. */
16
14
  createdAfter?: Date;
17
- /**
18
- * If provided, will only return objects created before this datetime.
19
- */
15
+ /** If provided, will only return objects created before this datetime. */
20
16
  createdBefore?: Date;
21
- /**
22
- * The pagination cursor value.
23
- */
17
+ /** The pagination cursor value. */
24
18
  cursor?: string;
25
- /**
26
- * Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
27
- */
19
+ /** Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. */
28
20
  expand?: "company";
29
- /**
30
- * Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
31
- */
21
+ /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */
32
22
  includeDeletedData?: boolean;
33
- /**
34
- * Whether to include the original data Merge fetched from the third-party to produce these models.
35
- */
23
+ /** Whether to include the original data Merge fetched from the third-party to produce these models. */
36
24
  includeRemoteData?: boolean;
37
- /**
38
- * Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
39
- */
25
+ /** Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). */
40
26
  includeShellData?: boolean;
41
- /**
42
- * If provided, only objects synced by Merge after this date time will be returned.
43
- */
27
+ /** If provided, only objects synced by Merge after this date time will be returned. */
44
28
  modifiedAfter?: Date;
45
- /**
46
- * If provided, only objects synced by Merge before this date time will be returned.
47
- */
29
+ /** If provided, only objects synced by Merge before this date time will be returned. */
48
30
  modifiedBefore?: Date;
49
- /**
50
- * Number of results to return per page.
51
- */
31
+ /** Number of results to return per page. */
52
32
  pageSize?: number;
53
- /**
54
- * The API provider's ID for the given object.
55
- */
33
+ /** The API provider's ID for the given object. */
56
34
  remoteId?: string;
57
35
  }