@mergeapi/merge-node-client 0.1.8 → 1.0.1

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 (571) hide show
  1. package/Client.d.ts +3 -3
  2. package/Client.js +6 -6
  3. package/api/resources/accounting/resources/accountDetails/client/Client.js +1 -1
  4. package/api/resources/accounting/resources/accountToken/client/Client.js +1 -1
  5. package/api/resources/accounting/resources/accountingPeriods/client/Client.js +2 -2
  6. package/api/resources/accounting/resources/accounts/client/Client.js +4 -4
  7. package/api/resources/accounting/resources/addresses/client/Client.js +1 -1
  8. package/api/resources/accounting/resources/asyncPassthrough/client/Client.js +2 -2
  9. package/api/resources/accounting/resources/attachments/client/Client.js +4 -4
  10. package/api/resources/accounting/resources/auditTrail/client/Client.js +1 -1
  11. package/api/resources/accounting/resources/availableActions/client/Client.js +1 -1
  12. package/api/resources/accounting/resources/balanceSheets/client/Client.js +2 -2
  13. package/api/resources/accounting/resources/cashFlowStatements/client/Client.js +2 -2
  14. package/api/resources/accounting/resources/companyInfo/client/Client.js +2 -2
  15. package/api/resources/accounting/resources/contacts/client/Client.js +4 -4
  16. package/api/resources/accounting/resources/creditNotes/client/Client.js +2 -2
  17. package/api/resources/accounting/resources/deleteAccount/client/Client.js +1 -1
  18. package/api/resources/accounting/resources/expenses/client/Client.js +4 -4
  19. package/api/resources/accounting/resources/forceResync/client/Client.js +1 -1
  20. package/api/resources/accounting/resources/generateKey/client/Client.js +1 -1
  21. package/api/resources/accounting/resources/incomeStatements/client/Client.js +2 -2
  22. package/api/resources/accounting/resources/invoices/client/Client.js +4 -4
  23. package/api/resources/accounting/resources/issues/client/Client.js +2 -2
  24. package/api/resources/accounting/resources/items/client/Client.js +2 -2
  25. package/api/resources/accounting/resources/journalEntries/client/Client.js +4 -4
  26. package/api/resources/accounting/resources/linkToken/client/Client.js +1 -1
  27. package/api/resources/accounting/resources/linkedAccounts/client/Client.js +1 -1
  28. package/api/resources/accounting/resources/passthrough/client/Client.js +1 -1
  29. package/api/resources/accounting/resources/payments/client/Client.js +4 -4
  30. package/api/resources/accounting/resources/phoneNumbers/client/Client.js +1 -1
  31. package/api/resources/accounting/resources/purchaseOrders/client/Client.js +4 -4
  32. package/api/resources/accounting/resources/regenerateKey/client/Client.js +1 -1
  33. package/api/resources/accounting/resources/selectiveSync/client/Client.js +3 -3
  34. package/api/resources/accounting/resources/syncStatus/client/Client.js +1 -1
  35. package/api/resources/accounting/resources/taxRates/client/Client.js +2 -2
  36. package/api/resources/accounting/resources/trackingCategories/client/Client.js +2 -2
  37. package/api/resources/accounting/resources/transactions/client/Client.js +2 -2
  38. package/api/resources/accounting/resources/vendorCredits/client/Client.js +2 -2
  39. package/api/resources/accounting/resources/webhookReceivers/client/Client.js +2 -2
  40. package/api/resources/accounting/types/CreditNote.d.ts +2 -0
  41. package/api/resources/accounting/types/CreditNoteAppliedPaymentsItem.d.ts +5 -0
  42. package/api/resources/accounting/types/CreditNoteAppliedPaymentsItem.js +5 -0
  43. package/api/resources/accounting/types/CreditNoteLineItem.d.ts +2 -0
  44. package/api/resources/accounting/types/CreditNotesListRequestExpand.d.ts +65 -1
  45. package/api/resources/accounting/types/CreditNotesListRequestExpand.js +64 -0
  46. package/api/resources/accounting/types/CreditNotesRetrieveRequestExpand.d.ts +65 -1
  47. package/api/resources/accounting/types/CreditNotesRetrieveRequestExpand.js +64 -0
  48. package/api/resources/accounting/types/ExpenseLineRequest.d.ts +1 -1
  49. package/api/resources/accounting/types/ExpenseLineRequestCurrency.d.ts +315 -0
  50. package/api/resources/accounting/types/ExpenseLineRequestCurrency.js +5 -0
  51. package/api/resources/accounting/types/Invoice.d.ts +3 -1
  52. package/api/resources/accounting/types/InvoiceAppliedPaymentsItem.d.ts +5 -0
  53. package/api/resources/accounting/types/InvoiceAppliedPaymentsItem.js +5 -0
  54. package/api/resources/accounting/types/InvoiceStatus.d.ts +15 -0
  55. package/api/resources/accounting/types/InvoiceStatus.js +5 -0
  56. package/api/resources/accounting/types/InvoicesListRequestExpand.d.ts +129 -1
  57. package/api/resources/accounting/types/InvoicesListRequestExpand.js +128 -0
  58. package/api/resources/accounting/types/InvoicesRetrieveRequestExpand.d.ts +129 -1
  59. package/api/resources/accounting/types/InvoicesRetrieveRequestExpand.js +128 -0
  60. package/api/resources/accounting/types/JournalEntriesListRequestExpand.d.ts +33 -1
  61. package/api/resources/accounting/types/JournalEntriesListRequestExpand.js +32 -0
  62. package/api/resources/accounting/types/JournalEntriesRetrieveRequestExpand.d.ts +33 -1
  63. package/api/resources/accounting/types/JournalEntriesRetrieveRequestExpand.js +32 -0
  64. package/api/resources/accounting/types/JournalEntry.d.ts +2 -0
  65. package/api/resources/accounting/types/JournalEntryAppliedPaymentsItem.d.ts +5 -0
  66. package/api/resources/accounting/types/JournalEntryAppliedPaymentsItem.js +5 -0
  67. package/api/resources/accounting/types/JournalLine.d.ts +2 -0
  68. package/api/resources/accounting/types/JournalLineRequest.d.ts +2 -0
  69. package/api/resources/accounting/types/Payment.d.ts +1 -0
  70. package/api/resources/accounting/types/PaymentAppliedToLinesItem.d.ts +5 -0
  71. package/api/resources/accounting/types/PaymentAppliedToLinesItem.js +5 -0
  72. package/api/resources/accounting/types/PaymentLineItem.d.ts +28 -0
  73. package/api/resources/accounting/types/PaymentLineItem.js +5 -0
  74. package/api/resources/accounting/types/PaymentLineItemRequest.d.ts +26 -0
  75. package/api/resources/accounting/types/PaymentLineItemRequest.js +5 -0
  76. package/api/resources/accounting/types/PaymentRequest.d.ts +1 -0
  77. package/api/resources/accounting/types/PaymentRequestAppliedToLinesItem.d.ts +5 -0
  78. package/api/resources/accounting/types/PaymentRequestAppliedToLinesItem.js +5 -0
  79. package/api/resources/accounting/types/PaymentsListRequestExpand.d.ts +33 -1
  80. package/api/resources/accounting/types/PaymentsListRequestExpand.js +32 -0
  81. package/api/resources/accounting/types/PaymentsRetrieveRequestExpand.d.ts +33 -1
  82. package/api/resources/accounting/types/PaymentsRetrieveRequestExpand.js +32 -0
  83. package/api/resources/accounting/types/VendorCreditLine.d.ts +2 -0
  84. package/api/resources/accounting/types/index.d.ts +9 -0
  85. package/api/resources/accounting/types/index.js +9 -0
  86. package/api/resources/ats/resources/accountDetails/client/Client.js +1 -1
  87. package/api/resources/ats/resources/accountToken/client/Client.js +1 -1
  88. package/api/resources/ats/resources/activities/client/Client.js +4 -4
  89. package/api/resources/ats/resources/applications/client/Client.js +5 -5
  90. package/api/resources/ats/resources/asyncPassthrough/client/Client.js +2 -2
  91. package/api/resources/ats/resources/attachments/client/Client.js +4 -4
  92. package/api/resources/ats/resources/auditTrail/client/Client.js +1 -1
  93. package/api/resources/ats/resources/availableActions/client/Client.js +1 -1
  94. package/api/resources/ats/resources/candidates/client/Client.js +7 -7
  95. package/api/resources/ats/resources/deleteAccount/client/Client.js +1 -1
  96. package/api/resources/ats/resources/departments/client/Client.js +2 -2
  97. package/api/resources/ats/resources/eeocs/client/Client.js +2 -2
  98. package/api/resources/ats/resources/forceResync/client/Client.js +1 -1
  99. package/api/resources/ats/resources/generateKey/client/Client.js +1 -1
  100. package/api/resources/ats/resources/interviews/client/Client.js +4 -4
  101. package/api/resources/ats/resources/issues/client/Client.js +2 -2
  102. package/api/resources/ats/resources/jobInterviewStages/client/Client.js +2 -2
  103. package/api/resources/ats/resources/jobs/client/Client.js +3 -3
  104. package/api/resources/ats/resources/linkToken/client/Client.js +1 -1
  105. package/api/resources/ats/resources/linkedAccounts/client/Client.js +1 -1
  106. package/api/resources/ats/resources/offers/client/Client.js +2 -2
  107. package/api/resources/ats/resources/offices/client/Client.js +2 -2
  108. package/api/resources/ats/resources/passthrough/client/Client.js +1 -1
  109. package/api/resources/ats/resources/regenerateKey/client/Client.js +1 -1
  110. package/api/resources/ats/resources/rejectReasons/client/Client.js +2 -2
  111. package/api/resources/ats/resources/scorecards/client/Client.js +2 -2
  112. package/api/resources/ats/resources/selectiveSync/client/Client.js +3 -3
  113. package/api/resources/ats/resources/syncStatus/client/Client.js +1 -1
  114. package/api/resources/ats/resources/tags/client/Client.js +1 -1
  115. package/api/resources/ats/resources/users/client/Client.js +2 -2
  116. package/api/resources/ats/resources/webhookReceivers/client/Client.js +2 -2
  117. package/api/resources/crm/resources/accountDetails/client/Client.js +1 -1
  118. package/api/resources/crm/resources/accountToken/client/Client.js +1 -1
  119. package/api/resources/crm/resources/accounts/client/Client.js +7 -7
  120. package/api/resources/crm/resources/associationTypes/client/Client.js +4 -4
  121. package/api/resources/crm/resources/associations/client/Client.js +2 -2
  122. package/api/resources/crm/resources/asyncPassthrough/client/Client.js +2 -2
  123. package/api/resources/crm/resources/auditTrail/client/Client.js +1 -1
  124. package/api/resources/crm/resources/availableActions/client/Client.js +1 -1
  125. package/api/resources/crm/resources/contacts/client/Client.js +8 -8
  126. package/api/resources/crm/resources/customObjectClasses/client/Client.js +2 -2
  127. package/api/resources/crm/resources/customObjects/client/Client.js +5 -5
  128. package/api/resources/crm/resources/deleteAccount/client/Client.js +1 -1
  129. package/api/resources/crm/resources/engagementTypes/client/Client.js +3 -3
  130. package/api/resources/crm/resources/engagements/client/Client.js +7 -7
  131. package/api/resources/crm/resources/forceResync/client/Client.js +1 -1
  132. package/api/resources/crm/resources/generateKey/client/Client.js +1 -1
  133. package/api/resources/crm/resources/issues/client/Client.js +2 -2
  134. package/api/resources/crm/resources/leads/client/Client.js +5 -5
  135. package/api/resources/crm/resources/linkToken/client/Client.js +1 -1
  136. package/api/resources/crm/resources/linkedAccounts/client/Client.js +1 -1
  137. package/api/resources/crm/resources/notes/client/Client.js +5 -5
  138. package/api/resources/crm/resources/opportunities/client/Client.js +7 -7
  139. package/api/resources/crm/resources/passthrough/client/Client.js +1 -1
  140. package/api/resources/crm/resources/regenerateKey/client/Client.js +1 -1
  141. package/api/resources/crm/resources/selectiveSync/client/Client.js +3 -3
  142. package/api/resources/crm/resources/stages/client/Client.js +3 -3
  143. package/api/resources/crm/resources/syncStatus/client/Client.js +1 -1
  144. package/api/resources/crm/resources/tasks/client/Client.js +7 -7
  145. package/api/resources/crm/resources/users/client/Client.js +4 -4
  146. package/api/resources/crm/resources/webhookReceivers/client/Client.js +2 -2
  147. package/api/resources/filestorage/resources/accountDetails/client/Client.js +1 -1
  148. package/api/resources/filestorage/resources/accountToken/client/Client.js +1 -1
  149. package/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +2 -2
  150. package/api/resources/filestorage/resources/auditTrail/client/Client.js +1 -1
  151. package/api/resources/filestorage/resources/availableActions/client/Client.js +1 -1
  152. package/api/resources/filestorage/resources/deleteAccount/client/Client.js +1 -1
  153. package/api/resources/filestorage/resources/drives/client/Client.js +2 -2
  154. package/api/resources/filestorage/resources/files/client/Client.js +5 -5
  155. package/api/resources/filestorage/resources/folders/client/Client.js +4 -4
  156. package/api/resources/filestorage/resources/forceResync/client/Client.js +1 -1
  157. package/api/resources/filestorage/resources/generateKey/client/Client.js +1 -1
  158. package/api/resources/filestorage/resources/groups/client/Client.js +2 -2
  159. package/api/resources/filestorage/resources/issues/client/Client.js +2 -2
  160. package/api/resources/filestorage/resources/linkToken/client/Client.js +1 -1
  161. package/api/resources/filestorage/resources/linkedAccounts/client/Client.js +1 -1
  162. package/api/resources/filestorage/resources/passthrough/client/Client.js +1 -1
  163. package/api/resources/filestorage/resources/regenerateKey/client/Client.js +1 -1
  164. package/api/resources/filestorage/resources/selectiveSync/client/Client.js +3 -3
  165. package/api/resources/filestorage/resources/syncStatus/client/Client.js +1 -1
  166. package/api/resources/filestorage/resources/users/client/Client.js +2 -2
  167. package/api/resources/filestorage/resources/webhookReceivers/client/Client.js +2 -2
  168. package/api/resources/hris/resources/accountDetails/client/Client.js +1 -1
  169. package/api/resources/hris/resources/accountToken/client/Client.js +1 -1
  170. package/api/resources/hris/resources/asyncPassthrough/client/Client.js +2 -2
  171. package/api/resources/hris/resources/auditTrail/client/Client.js +1 -1
  172. package/api/resources/hris/resources/availableActions/client/Client.js +1 -1
  173. package/api/resources/hris/resources/bankInfo/client/Client.js +2 -2
  174. package/api/resources/hris/resources/benefits/client/Client.js +2 -2
  175. package/api/resources/hris/resources/companies/client/Client.js +2 -2
  176. package/api/resources/hris/resources/deleteAccount/client/Client.js +1 -1
  177. package/api/resources/hris/resources/dependents/client/Client.js +2 -2
  178. package/api/resources/hris/resources/employeePayrollRuns/client/Client.js +2 -2
  179. package/api/resources/hris/resources/employees/client/Client.js +5 -5
  180. package/api/resources/hris/resources/employerBenefits/client/Client.js +2 -2
  181. package/api/resources/hris/resources/employments/client/Client.js +2 -2
  182. package/api/resources/hris/resources/forceResync/client/Client.js +1 -1
  183. package/api/resources/hris/resources/generateKey/client/Client.js +1 -1
  184. package/api/resources/hris/resources/groups/client/Client.js +2 -2
  185. package/api/resources/hris/resources/issues/client/Client.js +2 -2
  186. package/api/resources/hris/resources/linkToken/client/Client.js +1 -1
  187. package/api/resources/hris/resources/linkedAccounts/client/Client.js +1 -1
  188. package/api/resources/hris/resources/locations/client/Client.js +2 -2
  189. package/api/resources/hris/resources/passthrough/client/Client.js +1 -1
  190. package/api/resources/hris/resources/payGroups/client/Client.js +2 -2
  191. package/api/resources/hris/resources/payrollRuns/client/Client.js +2 -2
  192. package/api/resources/hris/resources/regenerateKey/client/Client.js +1 -1
  193. package/api/resources/hris/resources/selectiveSync/client/Client.js +3 -3
  194. package/api/resources/hris/resources/syncStatus/client/Client.js +1 -1
  195. package/api/resources/hris/resources/teams/client/Client.js +2 -2
  196. package/api/resources/hris/resources/timeOff/client/Client.js +4 -4
  197. package/api/resources/hris/resources/timeOffBalances/client/Client.js +2 -2
  198. package/api/resources/hris/resources/timesheetEntries/client/Client.js +4 -4
  199. package/api/resources/hris/resources/webhookReceivers/client/Client.js +2 -2
  200. package/api/resources/index.d.ts +1 -1
  201. package/api/resources/index.js +2 -2
  202. package/api/resources/ticketing/resources/accountDetails/client/Client.js +1 -1
  203. package/api/resources/ticketing/resources/accountToken/client/Client.js +1 -1
  204. package/api/resources/ticketing/resources/accounts/client/Client.js +2 -2
  205. package/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +2 -2
  206. package/api/resources/ticketing/resources/attachments/client/Client.js +5 -5
  207. package/api/resources/ticketing/resources/auditTrail/client/Client.js +1 -1
  208. package/api/resources/ticketing/resources/availableActions/client/Client.js +1 -1
  209. package/api/resources/ticketing/resources/collections/client/Client.js +3 -3
  210. package/api/resources/ticketing/resources/comments/client/Client.js +4 -4
  211. package/api/resources/ticketing/resources/contacts/client/Client.js +2 -2
  212. package/api/resources/ticketing/resources/deleteAccount/client/Client.js +1 -1
  213. package/api/resources/ticketing/resources/forceResync/client/Client.js +1 -1
  214. package/api/resources/ticketing/resources/generateKey/client/Client.js +1 -1
  215. package/api/resources/ticketing/resources/issues/client/Client.js +2 -2
  216. package/api/resources/ticketing/resources/linkToken/client/Client.js +1 -1
  217. package/api/resources/ticketing/resources/linkedAccounts/client/Client.js +1 -1
  218. package/api/resources/ticketing/resources/passthrough/client/Client.js +1 -1
  219. package/api/resources/ticketing/resources/projects/client/Client.js +3 -3
  220. package/api/resources/ticketing/resources/regenerateKey/client/Client.js +1 -1
  221. package/api/resources/ticketing/resources/selectiveSync/client/Client.js +3 -3
  222. package/api/resources/ticketing/resources/syncStatus/client/Client.js +1 -1
  223. package/api/resources/ticketing/resources/tags/client/Client.js +2 -2
  224. package/api/resources/ticketing/resources/teams/client/Client.js +2 -2
  225. package/api/resources/ticketing/resources/tickets/client/Client.js +8 -8
  226. package/api/resources/ticketing/resources/users/client/Client.js +2 -2
  227. package/api/resources/ticketing/resources/webhookReceivers/client/Client.js +2 -2
  228. package/dist/Client.d.ts +3 -3
  229. package/dist/Client.js +6 -6
  230. package/dist/api/resources/accounting/resources/accountDetails/client/Client.js +1 -1
  231. package/dist/api/resources/accounting/resources/accountToken/client/Client.js +1 -1
  232. package/dist/api/resources/accounting/resources/accountingPeriods/client/Client.js +2 -2
  233. package/dist/api/resources/accounting/resources/accounts/client/Client.js +4 -4
  234. package/dist/api/resources/accounting/resources/addresses/client/Client.js +1 -1
  235. package/dist/api/resources/accounting/resources/asyncPassthrough/client/Client.js +2 -2
  236. package/dist/api/resources/accounting/resources/attachments/client/Client.js +4 -4
  237. package/dist/api/resources/accounting/resources/auditTrail/client/Client.js +1 -1
  238. package/dist/api/resources/accounting/resources/availableActions/client/Client.js +1 -1
  239. package/dist/api/resources/accounting/resources/balanceSheets/client/Client.js +2 -2
  240. package/dist/api/resources/accounting/resources/cashFlowStatements/client/Client.js +2 -2
  241. package/dist/api/resources/accounting/resources/companyInfo/client/Client.js +2 -2
  242. package/dist/api/resources/accounting/resources/contacts/client/Client.js +4 -4
  243. package/dist/api/resources/accounting/resources/creditNotes/client/Client.js +2 -2
  244. package/dist/api/resources/accounting/resources/deleteAccount/client/Client.js +1 -1
  245. package/dist/api/resources/accounting/resources/expenses/client/Client.js +4 -4
  246. package/dist/api/resources/accounting/resources/forceResync/client/Client.js +1 -1
  247. package/dist/api/resources/accounting/resources/generateKey/client/Client.js +1 -1
  248. package/dist/api/resources/accounting/resources/incomeStatements/client/Client.js +2 -2
  249. package/dist/api/resources/accounting/resources/invoices/client/Client.js +4 -4
  250. package/dist/api/resources/accounting/resources/issues/client/Client.js +2 -2
  251. package/dist/api/resources/accounting/resources/items/client/Client.js +2 -2
  252. package/dist/api/resources/accounting/resources/journalEntries/client/Client.js +4 -4
  253. package/dist/api/resources/accounting/resources/linkToken/client/Client.js +1 -1
  254. package/dist/api/resources/accounting/resources/linkedAccounts/client/Client.js +1 -1
  255. package/dist/api/resources/accounting/resources/passthrough/client/Client.js +1 -1
  256. package/dist/api/resources/accounting/resources/payments/client/Client.js +4 -4
  257. package/dist/api/resources/accounting/resources/phoneNumbers/client/Client.js +1 -1
  258. package/dist/api/resources/accounting/resources/purchaseOrders/client/Client.js +4 -4
  259. package/dist/api/resources/accounting/resources/regenerateKey/client/Client.js +1 -1
  260. package/dist/api/resources/accounting/resources/selectiveSync/client/Client.js +3 -3
  261. package/dist/api/resources/accounting/resources/syncStatus/client/Client.js +1 -1
  262. package/dist/api/resources/accounting/resources/taxRates/client/Client.js +2 -2
  263. package/dist/api/resources/accounting/resources/trackingCategories/client/Client.js +2 -2
  264. package/dist/api/resources/accounting/resources/transactions/client/Client.js +2 -2
  265. package/dist/api/resources/accounting/resources/vendorCredits/client/Client.js +2 -2
  266. package/dist/api/resources/accounting/resources/webhookReceivers/client/Client.js +2 -2
  267. package/dist/api/resources/accounting/types/CreditNote.d.ts +2 -0
  268. package/dist/api/resources/accounting/types/CreditNoteAppliedPaymentsItem.d.ts +5 -0
  269. package/dist/api/resources/accounting/types/CreditNoteAppliedPaymentsItem.js +5 -0
  270. package/dist/api/resources/accounting/types/CreditNoteLineItem.d.ts +2 -0
  271. package/dist/api/resources/accounting/types/CreditNotesListRequestExpand.d.ts +65 -1
  272. package/dist/api/resources/accounting/types/CreditNotesListRequestExpand.js +64 -0
  273. package/dist/api/resources/accounting/types/CreditNotesRetrieveRequestExpand.d.ts +65 -1
  274. package/dist/api/resources/accounting/types/CreditNotesRetrieveRequestExpand.js +64 -0
  275. package/dist/api/resources/accounting/types/ExpenseLineRequest.d.ts +1 -1
  276. package/dist/api/resources/accounting/types/ExpenseLineRequestCurrency.d.ts +315 -0
  277. package/dist/api/resources/accounting/types/ExpenseLineRequestCurrency.js +5 -0
  278. package/dist/api/resources/accounting/types/Invoice.d.ts +3 -1
  279. package/dist/api/resources/accounting/types/InvoiceAppliedPaymentsItem.d.ts +5 -0
  280. package/dist/api/resources/accounting/types/InvoiceAppliedPaymentsItem.js +5 -0
  281. package/dist/api/resources/accounting/types/InvoiceStatus.d.ts +15 -0
  282. package/dist/api/resources/accounting/types/InvoiceStatus.js +5 -0
  283. package/dist/api/resources/accounting/types/InvoicesListRequestExpand.d.ts +129 -1
  284. package/dist/api/resources/accounting/types/InvoicesListRequestExpand.js +128 -0
  285. package/dist/api/resources/accounting/types/InvoicesRetrieveRequestExpand.d.ts +129 -1
  286. package/dist/api/resources/accounting/types/InvoicesRetrieveRequestExpand.js +128 -0
  287. package/dist/api/resources/accounting/types/JournalEntriesListRequestExpand.d.ts +33 -1
  288. package/dist/api/resources/accounting/types/JournalEntriesListRequestExpand.js +32 -0
  289. package/dist/api/resources/accounting/types/JournalEntriesRetrieveRequestExpand.d.ts +33 -1
  290. package/dist/api/resources/accounting/types/JournalEntriesRetrieveRequestExpand.js +32 -0
  291. package/dist/api/resources/accounting/types/JournalEntry.d.ts +2 -0
  292. package/dist/api/resources/accounting/types/JournalEntryAppliedPaymentsItem.d.ts +5 -0
  293. package/dist/api/resources/accounting/types/JournalEntryAppliedPaymentsItem.js +5 -0
  294. package/dist/api/resources/accounting/types/JournalLine.d.ts +2 -0
  295. package/dist/api/resources/accounting/types/JournalLineRequest.d.ts +2 -0
  296. package/dist/api/resources/accounting/types/Payment.d.ts +1 -0
  297. package/dist/api/resources/accounting/types/PaymentAppliedToLinesItem.d.ts +5 -0
  298. package/dist/api/resources/accounting/types/PaymentAppliedToLinesItem.js +5 -0
  299. package/dist/api/resources/accounting/types/PaymentLineItem.d.ts +28 -0
  300. package/dist/api/resources/accounting/types/PaymentLineItem.js +5 -0
  301. package/dist/api/resources/accounting/types/PaymentLineItemRequest.d.ts +26 -0
  302. package/dist/api/resources/accounting/types/PaymentLineItemRequest.js +5 -0
  303. package/dist/api/resources/accounting/types/PaymentRequest.d.ts +1 -0
  304. package/dist/api/resources/accounting/types/PaymentRequestAppliedToLinesItem.d.ts +5 -0
  305. package/dist/api/resources/accounting/types/PaymentRequestAppliedToLinesItem.js +5 -0
  306. package/dist/api/resources/accounting/types/PaymentsListRequestExpand.d.ts +33 -1
  307. package/dist/api/resources/accounting/types/PaymentsListRequestExpand.js +32 -0
  308. package/dist/api/resources/accounting/types/PaymentsRetrieveRequestExpand.d.ts +33 -1
  309. package/dist/api/resources/accounting/types/PaymentsRetrieveRequestExpand.js +32 -0
  310. package/dist/api/resources/accounting/types/VendorCreditLine.d.ts +2 -0
  311. package/dist/api/resources/accounting/types/index.d.ts +9 -0
  312. package/dist/api/resources/accounting/types/index.js +9 -0
  313. package/dist/api/resources/ats/resources/accountDetails/client/Client.js +1 -1
  314. package/dist/api/resources/ats/resources/accountToken/client/Client.js +1 -1
  315. package/dist/api/resources/ats/resources/activities/client/Client.js +4 -4
  316. package/dist/api/resources/ats/resources/applications/client/Client.js +5 -5
  317. package/dist/api/resources/ats/resources/asyncPassthrough/client/Client.js +2 -2
  318. package/dist/api/resources/ats/resources/attachments/client/Client.js +4 -4
  319. package/dist/api/resources/ats/resources/auditTrail/client/Client.js +1 -1
  320. package/dist/api/resources/ats/resources/availableActions/client/Client.js +1 -1
  321. package/dist/api/resources/ats/resources/candidates/client/Client.js +7 -7
  322. package/dist/api/resources/ats/resources/deleteAccount/client/Client.js +1 -1
  323. package/dist/api/resources/ats/resources/departments/client/Client.js +2 -2
  324. package/dist/api/resources/ats/resources/eeocs/client/Client.js +2 -2
  325. package/dist/api/resources/ats/resources/forceResync/client/Client.js +1 -1
  326. package/dist/api/resources/ats/resources/generateKey/client/Client.js +1 -1
  327. package/dist/api/resources/ats/resources/interviews/client/Client.js +4 -4
  328. package/dist/api/resources/ats/resources/issues/client/Client.js +2 -2
  329. package/dist/api/resources/ats/resources/jobInterviewStages/client/Client.js +2 -2
  330. package/dist/api/resources/ats/resources/jobs/client/Client.js +3 -3
  331. package/dist/api/resources/ats/resources/linkToken/client/Client.js +1 -1
  332. package/dist/api/resources/ats/resources/linkedAccounts/client/Client.js +1 -1
  333. package/dist/api/resources/ats/resources/offers/client/Client.js +2 -2
  334. package/dist/api/resources/ats/resources/offices/client/Client.js +2 -2
  335. package/dist/api/resources/ats/resources/passthrough/client/Client.js +1 -1
  336. package/dist/api/resources/ats/resources/regenerateKey/client/Client.js +1 -1
  337. package/dist/api/resources/ats/resources/rejectReasons/client/Client.js +2 -2
  338. package/dist/api/resources/ats/resources/scorecards/client/Client.js +2 -2
  339. package/dist/api/resources/ats/resources/selectiveSync/client/Client.js +3 -3
  340. package/dist/api/resources/ats/resources/syncStatus/client/Client.js +1 -1
  341. package/dist/api/resources/ats/resources/tags/client/Client.js +1 -1
  342. package/dist/api/resources/ats/resources/users/client/Client.js +2 -2
  343. package/dist/api/resources/ats/resources/webhookReceivers/client/Client.js +2 -2
  344. package/dist/api/resources/crm/resources/accountDetails/client/Client.js +1 -1
  345. package/dist/api/resources/crm/resources/accountToken/client/Client.js +1 -1
  346. package/dist/api/resources/crm/resources/accounts/client/Client.js +7 -7
  347. package/dist/api/resources/crm/resources/associationTypes/client/Client.js +4 -4
  348. package/dist/api/resources/crm/resources/associations/client/Client.js +2 -2
  349. package/dist/api/resources/crm/resources/asyncPassthrough/client/Client.js +2 -2
  350. package/dist/api/resources/crm/resources/auditTrail/client/Client.js +1 -1
  351. package/dist/api/resources/crm/resources/availableActions/client/Client.js +1 -1
  352. package/dist/api/resources/crm/resources/contacts/client/Client.js +8 -8
  353. package/dist/api/resources/crm/resources/customObjectClasses/client/Client.js +2 -2
  354. package/dist/api/resources/crm/resources/customObjects/client/Client.js +5 -5
  355. package/dist/api/resources/crm/resources/deleteAccount/client/Client.js +1 -1
  356. package/dist/api/resources/crm/resources/engagementTypes/client/Client.js +3 -3
  357. package/dist/api/resources/crm/resources/engagements/client/Client.js +7 -7
  358. package/dist/api/resources/crm/resources/forceResync/client/Client.js +1 -1
  359. package/dist/api/resources/crm/resources/generateKey/client/Client.js +1 -1
  360. package/dist/api/resources/crm/resources/issues/client/Client.js +2 -2
  361. package/dist/api/resources/crm/resources/leads/client/Client.js +5 -5
  362. package/dist/api/resources/crm/resources/linkToken/client/Client.js +1 -1
  363. package/dist/api/resources/crm/resources/linkedAccounts/client/Client.js +1 -1
  364. package/dist/api/resources/crm/resources/notes/client/Client.js +5 -5
  365. package/dist/api/resources/crm/resources/opportunities/client/Client.js +7 -7
  366. package/dist/api/resources/crm/resources/passthrough/client/Client.js +1 -1
  367. package/dist/api/resources/crm/resources/regenerateKey/client/Client.js +1 -1
  368. package/dist/api/resources/crm/resources/selectiveSync/client/Client.js +3 -3
  369. package/dist/api/resources/crm/resources/stages/client/Client.js +3 -3
  370. package/dist/api/resources/crm/resources/syncStatus/client/Client.js +1 -1
  371. package/dist/api/resources/crm/resources/tasks/client/Client.js +7 -7
  372. package/dist/api/resources/crm/resources/users/client/Client.js +4 -4
  373. package/dist/api/resources/crm/resources/webhookReceivers/client/Client.js +2 -2
  374. package/dist/api/resources/filestorage/resources/accountDetails/client/Client.js +1 -1
  375. package/dist/api/resources/filestorage/resources/accountToken/client/Client.js +1 -1
  376. package/dist/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +2 -2
  377. package/dist/api/resources/filestorage/resources/auditTrail/client/Client.js +1 -1
  378. package/dist/api/resources/filestorage/resources/availableActions/client/Client.js +1 -1
  379. package/dist/api/resources/filestorage/resources/deleteAccount/client/Client.js +1 -1
  380. package/dist/api/resources/filestorage/resources/drives/client/Client.js +2 -2
  381. package/dist/api/resources/filestorage/resources/files/client/Client.js +5 -5
  382. package/dist/api/resources/filestorage/resources/folders/client/Client.js +4 -4
  383. package/dist/api/resources/filestorage/resources/forceResync/client/Client.js +1 -1
  384. package/dist/api/resources/filestorage/resources/generateKey/client/Client.js +1 -1
  385. package/dist/api/resources/filestorage/resources/groups/client/Client.js +2 -2
  386. package/dist/api/resources/filestorage/resources/issues/client/Client.js +2 -2
  387. package/dist/api/resources/filestorage/resources/linkToken/client/Client.js +1 -1
  388. package/dist/api/resources/filestorage/resources/linkedAccounts/client/Client.js +1 -1
  389. package/dist/api/resources/filestorage/resources/passthrough/client/Client.js +1 -1
  390. package/dist/api/resources/filestorage/resources/regenerateKey/client/Client.js +1 -1
  391. package/dist/api/resources/filestorage/resources/selectiveSync/client/Client.js +3 -3
  392. package/dist/api/resources/filestorage/resources/syncStatus/client/Client.js +1 -1
  393. package/dist/api/resources/filestorage/resources/users/client/Client.js +2 -2
  394. package/dist/api/resources/filestorage/resources/webhookReceivers/client/Client.js +2 -2
  395. package/dist/api/resources/hris/resources/accountDetails/client/Client.js +1 -1
  396. package/dist/api/resources/hris/resources/accountToken/client/Client.js +1 -1
  397. package/dist/api/resources/hris/resources/asyncPassthrough/client/Client.js +2 -2
  398. package/dist/api/resources/hris/resources/auditTrail/client/Client.js +1 -1
  399. package/dist/api/resources/hris/resources/availableActions/client/Client.js +1 -1
  400. package/dist/api/resources/hris/resources/bankInfo/client/Client.js +2 -2
  401. package/dist/api/resources/hris/resources/benefits/client/Client.js +2 -2
  402. package/dist/api/resources/hris/resources/companies/client/Client.js +2 -2
  403. package/dist/api/resources/hris/resources/deleteAccount/client/Client.js +1 -1
  404. package/dist/api/resources/hris/resources/dependents/client/Client.js +2 -2
  405. package/dist/api/resources/hris/resources/employeePayrollRuns/client/Client.js +2 -2
  406. package/dist/api/resources/hris/resources/employees/client/Client.js +5 -5
  407. package/dist/api/resources/hris/resources/employerBenefits/client/Client.js +2 -2
  408. package/dist/api/resources/hris/resources/employments/client/Client.js +2 -2
  409. package/dist/api/resources/hris/resources/forceResync/client/Client.js +1 -1
  410. package/dist/api/resources/hris/resources/generateKey/client/Client.js +1 -1
  411. package/dist/api/resources/hris/resources/groups/client/Client.js +2 -2
  412. package/dist/api/resources/hris/resources/issues/client/Client.js +2 -2
  413. package/dist/api/resources/hris/resources/linkToken/client/Client.js +1 -1
  414. package/dist/api/resources/hris/resources/linkedAccounts/client/Client.js +1 -1
  415. package/dist/api/resources/hris/resources/locations/client/Client.js +2 -2
  416. package/dist/api/resources/hris/resources/passthrough/client/Client.js +1 -1
  417. package/dist/api/resources/hris/resources/payGroups/client/Client.js +2 -2
  418. package/dist/api/resources/hris/resources/payrollRuns/client/Client.js +2 -2
  419. package/dist/api/resources/hris/resources/regenerateKey/client/Client.js +1 -1
  420. package/dist/api/resources/hris/resources/selectiveSync/client/Client.js +3 -3
  421. package/dist/api/resources/hris/resources/syncStatus/client/Client.js +1 -1
  422. package/dist/api/resources/hris/resources/teams/client/Client.js +2 -2
  423. package/dist/api/resources/hris/resources/timeOff/client/Client.js +4 -4
  424. package/dist/api/resources/hris/resources/timeOffBalances/client/Client.js +2 -2
  425. package/dist/api/resources/hris/resources/timesheetEntries/client/Client.js +4 -4
  426. package/dist/api/resources/hris/resources/webhookReceivers/client/Client.js +2 -2
  427. package/dist/api/resources/index.d.ts +1 -1
  428. package/dist/api/resources/index.js +2 -2
  429. package/dist/api/resources/ticketing/resources/accountDetails/client/Client.js +1 -1
  430. package/dist/api/resources/ticketing/resources/accountToken/client/Client.js +1 -1
  431. package/dist/api/resources/ticketing/resources/accounts/client/Client.js +2 -2
  432. package/dist/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +2 -2
  433. package/dist/api/resources/ticketing/resources/attachments/client/Client.js +5 -5
  434. package/dist/api/resources/ticketing/resources/auditTrail/client/Client.js +1 -1
  435. package/dist/api/resources/ticketing/resources/availableActions/client/Client.js +1 -1
  436. package/dist/api/resources/ticketing/resources/collections/client/Client.js +3 -3
  437. package/dist/api/resources/ticketing/resources/comments/client/Client.js +4 -4
  438. package/dist/api/resources/ticketing/resources/contacts/client/Client.js +2 -2
  439. package/dist/api/resources/ticketing/resources/deleteAccount/client/Client.js +1 -1
  440. package/dist/api/resources/ticketing/resources/forceResync/client/Client.js +1 -1
  441. package/dist/api/resources/ticketing/resources/generateKey/client/Client.js +1 -1
  442. package/dist/api/resources/ticketing/resources/issues/client/Client.js +2 -2
  443. package/dist/api/resources/ticketing/resources/linkToken/client/Client.js +1 -1
  444. package/dist/api/resources/ticketing/resources/linkedAccounts/client/Client.js +1 -1
  445. package/dist/api/resources/ticketing/resources/passthrough/client/Client.js +1 -1
  446. package/dist/api/resources/ticketing/resources/projects/client/Client.js +3 -3
  447. package/dist/api/resources/ticketing/resources/regenerateKey/client/Client.js +1 -1
  448. package/dist/api/resources/ticketing/resources/selectiveSync/client/Client.js +3 -3
  449. package/dist/api/resources/ticketing/resources/syncStatus/client/Client.js +1 -1
  450. package/dist/api/resources/ticketing/resources/tags/client/Client.js +2 -2
  451. package/dist/api/resources/ticketing/resources/teams/client/Client.js +2 -2
  452. package/dist/api/resources/ticketing/resources/tickets/client/Client.js +8 -8
  453. package/dist/api/resources/ticketing/resources/users/client/Client.js +2 -2
  454. package/dist/api/resources/ticketing/resources/webhookReceivers/client/Client.js +2 -2
  455. package/dist/serialization/resources/accounting/types/CreditNote.d.ts +1 -0
  456. package/dist/serialization/resources/accounting/types/CreditNote.js +5 -0
  457. package/dist/serialization/resources/accounting/types/CreditNoteAppliedPaymentsItem.d.ts +10 -0
  458. package/dist/serialization/resources/accounting/types/CreditNoteAppliedPaymentsItem.js +43 -0
  459. package/dist/serialization/resources/accounting/types/CreditNoteLineItem.d.ts +1 -0
  460. package/dist/serialization/resources/accounting/types/CreditNoteLineItem.js +1 -0
  461. package/dist/serialization/resources/accounting/types/CreditNotesListRequestExpand.d.ts +1 -1
  462. package/dist/serialization/resources/accounting/types/CreditNotesListRequestExpand.js +64 -0
  463. package/dist/serialization/resources/accounting/types/CreditNotesRetrieveRequestExpand.d.ts +1 -1
  464. package/dist/serialization/resources/accounting/types/CreditNotesRetrieveRequestExpand.js +64 -0
  465. package/dist/serialization/resources/accounting/types/ExpenseLineRequest.d.ts +1 -1
  466. package/dist/serialization/resources/accounting/types/ExpenseLineRequest.js +3 -1
  467. package/dist/serialization/resources/accounting/types/ExpenseLineRequestCurrency.d.ts +10 -0
  468. package/dist/serialization/resources/accounting/types/ExpenseLineRequestCurrency.js +43 -0
  469. package/dist/serialization/resources/accounting/types/Invoice.d.ts +2 -1
  470. package/dist/serialization/resources/accounting/types/Invoice.js +6 -1
  471. package/dist/serialization/resources/accounting/types/InvoiceAppliedPaymentsItem.d.ts +10 -0
  472. package/dist/serialization/resources/accounting/types/InvoiceAppliedPaymentsItem.js +43 -0
  473. package/dist/serialization/resources/accounting/types/InvoiceStatus.d.ts +10 -0
  474. package/dist/serialization/resources/accounting/types/InvoiceStatus.js +43 -0
  475. package/dist/serialization/resources/accounting/types/InvoicesListRequestExpand.d.ts +1 -1
  476. package/dist/serialization/resources/accounting/types/InvoicesListRequestExpand.js +128 -0
  477. package/dist/serialization/resources/accounting/types/InvoicesRetrieveRequestExpand.d.ts +1 -1
  478. package/dist/serialization/resources/accounting/types/InvoicesRetrieveRequestExpand.js +128 -0
  479. package/dist/serialization/resources/accounting/types/JournalEntriesListRequestExpand.d.ts +1 -1
  480. package/dist/serialization/resources/accounting/types/JournalEntriesListRequestExpand.js +32 -0
  481. package/dist/serialization/resources/accounting/types/JournalEntriesRetrieveRequestExpand.d.ts +1 -1
  482. package/dist/serialization/resources/accounting/types/JournalEntriesRetrieveRequestExpand.js +32 -0
  483. package/dist/serialization/resources/accounting/types/JournalEntry.d.ts +1 -0
  484. package/dist/serialization/resources/accounting/types/JournalEntry.js +5 -0
  485. package/dist/serialization/resources/accounting/types/JournalEntryAppliedPaymentsItem.d.ts +10 -0
  486. package/dist/serialization/resources/accounting/types/JournalEntryAppliedPaymentsItem.js +43 -0
  487. package/dist/serialization/resources/accounting/types/JournalLine.d.ts +1 -0
  488. package/dist/serialization/resources/accounting/types/JournalLine.js +1 -0
  489. package/dist/serialization/resources/accounting/types/JournalLineRequest.d.ts +1 -0
  490. package/dist/serialization/resources/accounting/types/JournalLineRequest.js +1 -0
  491. package/dist/serialization/resources/accounting/types/Payment.d.ts +1 -0
  492. package/dist/serialization/resources/accounting/types/Payment.js +3 -0
  493. package/dist/serialization/resources/accounting/types/PaymentAppliedToLinesItem.d.ts +10 -0
  494. package/dist/serialization/resources/accounting/types/PaymentAppliedToLinesItem.js +43 -0
  495. package/dist/serialization/resources/accounting/types/PaymentLineItem.d.ts +19 -0
  496. package/dist/serialization/resources/accounting/types/PaymentLineItem.js +40 -0
  497. package/dist/serialization/resources/accounting/types/PaymentLineItemRequest.d.ts +18 -0
  498. package/dist/serialization/resources/accounting/types/PaymentLineItemRequest.js +39 -0
  499. package/dist/serialization/resources/accounting/types/PaymentRequest.d.ts +1 -0
  500. package/dist/serialization/resources/accounting/types/PaymentRequest.js +3 -0
  501. package/dist/serialization/resources/accounting/types/PaymentRequestAppliedToLinesItem.d.ts +10 -0
  502. package/dist/serialization/resources/accounting/types/PaymentRequestAppliedToLinesItem.js +43 -0
  503. package/dist/serialization/resources/accounting/types/PaymentsListRequestExpand.d.ts +1 -1
  504. package/dist/serialization/resources/accounting/types/PaymentsListRequestExpand.js +32 -0
  505. package/dist/serialization/resources/accounting/types/PaymentsRetrieveRequestExpand.d.ts +1 -1
  506. package/dist/serialization/resources/accounting/types/PaymentsRetrieveRequestExpand.js +32 -0
  507. package/dist/serialization/resources/accounting/types/VendorCreditLine.d.ts +1 -0
  508. package/dist/serialization/resources/accounting/types/VendorCreditLine.js +1 -0
  509. package/dist/serialization/resources/accounting/types/index.d.ts +9 -0
  510. package/dist/serialization/resources/accounting/types/index.js +9 -0
  511. package/dist/serialization/resources/index.d.ts +1 -1
  512. package/dist/serialization/resources/index.js +2 -2
  513. package/package.json +1 -1
  514. package/serialization/resources/accounting/types/CreditNote.d.ts +1 -0
  515. package/serialization/resources/accounting/types/CreditNote.js +5 -0
  516. package/serialization/resources/accounting/types/CreditNoteAppliedPaymentsItem.d.ts +10 -0
  517. package/serialization/resources/accounting/types/CreditNoteAppliedPaymentsItem.js +43 -0
  518. package/serialization/resources/accounting/types/CreditNoteLineItem.d.ts +1 -0
  519. package/serialization/resources/accounting/types/CreditNoteLineItem.js +1 -0
  520. package/serialization/resources/accounting/types/CreditNotesListRequestExpand.d.ts +1 -1
  521. package/serialization/resources/accounting/types/CreditNotesListRequestExpand.js +64 -0
  522. package/serialization/resources/accounting/types/CreditNotesRetrieveRequestExpand.d.ts +1 -1
  523. package/serialization/resources/accounting/types/CreditNotesRetrieveRequestExpand.js +64 -0
  524. package/serialization/resources/accounting/types/ExpenseLineRequest.d.ts +1 -1
  525. package/serialization/resources/accounting/types/ExpenseLineRequest.js +3 -1
  526. package/serialization/resources/accounting/types/ExpenseLineRequestCurrency.d.ts +10 -0
  527. package/serialization/resources/accounting/types/ExpenseLineRequestCurrency.js +43 -0
  528. package/serialization/resources/accounting/types/Invoice.d.ts +2 -1
  529. package/serialization/resources/accounting/types/Invoice.js +6 -1
  530. package/serialization/resources/accounting/types/InvoiceAppliedPaymentsItem.d.ts +10 -0
  531. package/serialization/resources/accounting/types/InvoiceAppliedPaymentsItem.js +43 -0
  532. package/serialization/resources/accounting/types/InvoiceStatus.d.ts +10 -0
  533. package/serialization/resources/accounting/types/InvoiceStatus.js +43 -0
  534. package/serialization/resources/accounting/types/InvoicesListRequestExpand.d.ts +1 -1
  535. package/serialization/resources/accounting/types/InvoicesListRequestExpand.js +128 -0
  536. package/serialization/resources/accounting/types/InvoicesRetrieveRequestExpand.d.ts +1 -1
  537. package/serialization/resources/accounting/types/InvoicesRetrieveRequestExpand.js +128 -0
  538. package/serialization/resources/accounting/types/JournalEntriesListRequestExpand.d.ts +1 -1
  539. package/serialization/resources/accounting/types/JournalEntriesListRequestExpand.js +32 -0
  540. package/serialization/resources/accounting/types/JournalEntriesRetrieveRequestExpand.d.ts +1 -1
  541. package/serialization/resources/accounting/types/JournalEntriesRetrieveRequestExpand.js +32 -0
  542. package/serialization/resources/accounting/types/JournalEntry.d.ts +1 -0
  543. package/serialization/resources/accounting/types/JournalEntry.js +5 -0
  544. package/serialization/resources/accounting/types/JournalEntryAppliedPaymentsItem.d.ts +10 -0
  545. package/serialization/resources/accounting/types/JournalEntryAppliedPaymentsItem.js +43 -0
  546. package/serialization/resources/accounting/types/JournalLine.d.ts +1 -0
  547. package/serialization/resources/accounting/types/JournalLine.js +1 -0
  548. package/serialization/resources/accounting/types/JournalLineRequest.d.ts +1 -0
  549. package/serialization/resources/accounting/types/JournalLineRequest.js +1 -0
  550. package/serialization/resources/accounting/types/Payment.d.ts +1 -0
  551. package/serialization/resources/accounting/types/Payment.js +3 -0
  552. package/serialization/resources/accounting/types/PaymentAppliedToLinesItem.d.ts +10 -0
  553. package/serialization/resources/accounting/types/PaymentAppliedToLinesItem.js +43 -0
  554. package/serialization/resources/accounting/types/PaymentLineItem.d.ts +19 -0
  555. package/serialization/resources/accounting/types/PaymentLineItem.js +40 -0
  556. package/serialization/resources/accounting/types/PaymentLineItemRequest.d.ts +18 -0
  557. package/serialization/resources/accounting/types/PaymentLineItemRequest.js +39 -0
  558. package/serialization/resources/accounting/types/PaymentRequest.d.ts +1 -0
  559. package/serialization/resources/accounting/types/PaymentRequest.js +3 -0
  560. package/serialization/resources/accounting/types/PaymentRequestAppliedToLinesItem.d.ts +10 -0
  561. package/serialization/resources/accounting/types/PaymentRequestAppliedToLinesItem.js +43 -0
  562. package/serialization/resources/accounting/types/PaymentsListRequestExpand.d.ts +1 -1
  563. package/serialization/resources/accounting/types/PaymentsListRequestExpand.js +32 -0
  564. package/serialization/resources/accounting/types/PaymentsRetrieveRequestExpand.d.ts +1 -1
  565. package/serialization/resources/accounting/types/PaymentsRetrieveRequestExpand.js +32 -0
  566. package/serialization/resources/accounting/types/VendorCreditLine.d.ts +1 -0
  567. package/serialization/resources/accounting/types/VendorCreditLine.js +1 -0
  568. package/serialization/resources/accounting/types/index.d.ts +9 -0
  569. package/serialization/resources/accounting/types/index.js +9 -0
  570. package/serialization/resources/index.d.ts +1 -1
  571. package/serialization/resources/index.js +2 -2
@@ -23,10 +23,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.accounting = exports.ticketing = exports.hris = exports.filestorage = exports.crm = exports.ats = void 0;
26
+ exports.accounting = exports.ticketing = exports.filestorage = exports.hris = exports.crm = exports.ats = void 0;
27
27
  exports.ats = __importStar(require("./ats"));
28
28
  exports.crm = __importStar(require("./crm"));
29
- exports.filestorage = __importStar(require("./filestorage"));
30
29
  exports.hris = __importStar(require("./hris"));
30
+ exports.filestorage = __importStar(require("./filestorage"));
31
31
  exports.ticketing = __importStar(require("./ticketing"));
32
32
  exports.accounting = __importStar(require("./accounting"));
@@ -64,7 +64,7 @@ class AccountDetails {
64
64
  : undefined,
65
65
  "X-Fern-Language": "JavaScript",
66
66
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
67
- "X-Fern-SDK-Version": "0.1.8",
67
+ "X-Fern-SDK-Version": "1.0.1",
68
68
  },
69
69
  contentType: "application/json",
70
70
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -64,7 +64,7 @@ class AccountToken {
64
64
  : undefined,
65
65
  "X-Fern-Language": "JavaScript",
66
66
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
67
- "X-Fern-SDK-Version": "0.1.8",
67
+ "X-Fern-SDK-Version": "1.0.1",
68
68
  },
69
69
  contentType: "application/json",
70
70
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -94,7 +94,7 @@ class Accounts {
94
94
  : undefined,
95
95
  "X-Fern-Language": "JavaScript",
96
96
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
97
- "X-Fern-SDK-Version": "0.1.8",
97
+ "X-Fern-SDK-Version": "1.0.1",
98
98
  },
99
99
  contentType: "application/json",
100
100
  queryParameters: _queryParams,
@@ -150,7 +150,7 @@ class Accounts {
150
150
  : undefined,
151
151
  "X-Fern-Language": "JavaScript",
152
152
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
153
- "X-Fern-SDK-Version": "0.1.8",
153
+ "X-Fern-SDK-Version": "1.0.1",
154
154
  },
155
155
  contentType: "application/json",
156
156
  queryParameters: _queryParams,
@@ -64,7 +64,7 @@ class AsyncPassthrough {
64
64
  : undefined,
65
65
  "X-Fern-Language": "JavaScript",
66
66
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
67
- "X-Fern-SDK-Version": "0.1.8",
67
+ "X-Fern-SDK-Version": "1.0.1",
68
68
  },
69
69
  contentType: "application/json",
70
70
  body: yield serializers.ticketing.DataPassthroughRequest.jsonOrThrow(request, {
@@ -117,7 +117,7 @@ class AsyncPassthrough {
117
117
  : undefined,
118
118
  "X-Fern-Language": "JavaScript",
119
119
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
120
- "X-Fern-SDK-Version": "0.1.8",
120
+ "X-Fern-SDK-Version": "1.0.1",
121
121
  },
122
122
  contentType: "application/json",
123
123
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -114,7 +114,7 @@ class Attachments {
114
114
  : undefined,
115
115
  "X-Fern-Language": "JavaScript",
116
116
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
117
- "X-Fern-SDK-Version": "0.1.8",
117
+ "X-Fern-SDK-Version": "1.0.1",
118
118
  },
119
119
  contentType: "application/json",
120
120
  queryParameters: _queryParams,
@@ -173,7 +173,7 @@ class Attachments {
173
173
  : undefined,
174
174
  "X-Fern-Language": "JavaScript",
175
175
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
176
- "X-Fern-SDK-Version": "0.1.8",
176
+ "X-Fern-SDK-Version": "1.0.1",
177
177
  },
178
178
  contentType: "application/json",
179
179
  queryParameters: _queryParams,
@@ -235,7 +235,7 @@ class Attachments {
235
235
  : undefined,
236
236
  "X-Fern-Language": "JavaScript",
237
237
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
238
- "X-Fern-SDK-Version": "0.1.8",
238
+ "X-Fern-SDK-Version": "1.0.1",
239
239
  },
240
240
  contentType: "application/json",
241
241
  queryParameters: _queryParams,
@@ -286,7 +286,7 @@ class Attachments {
286
286
  : undefined,
287
287
  "X-Fern-Language": "JavaScript",
288
288
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
289
- "X-Fern-SDK-Version": "0.1.8",
289
+ "X-Fern-SDK-Version": "1.0.1",
290
290
  },
291
291
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
292
292
  onError: (error) => {
@@ -314,7 +314,7 @@ class Attachments {
314
314
  : undefined,
315
315
  "X-Fern-Language": "JavaScript",
316
316
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
317
- "X-Fern-SDK-Version": "0.1.8",
317
+ "X-Fern-SDK-Version": "1.0.1",
318
318
  },
319
319
  contentType: "application/json",
320
320
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -85,7 +85,7 @@ class AuditTrail {
85
85
  : undefined,
86
86
  "X-Fern-Language": "JavaScript",
87
87
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
88
- "X-Fern-SDK-Version": "0.1.8",
88
+ "X-Fern-SDK-Version": "1.0.1",
89
89
  },
90
90
  contentType: "application/json",
91
91
  queryParameters: _queryParams,
@@ -64,7 +64,7 @@ class AvailableActions {
64
64
  : undefined,
65
65
  "X-Fern-Language": "JavaScript",
66
66
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
67
- "X-Fern-SDK-Version": "0.1.8",
67
+ "X-Fern-SDK-Version": "1.0.1",
68
68
  },
69
69
  contentType: "application/json",
70
70
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -109,7 +109,7 @@ class Collections {
109
109
  : undefined,
110
110
  "X-Fern-Language": "JavaScript",
111
111
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
112
- "X-Fern-SDK-Version": "0.1.8",
112
+ "X-Fern-SDK-Version": "1.0.1",
113
113
  },
114
114
  contentType: "application/json",
115
115
  queryParameters: _queryParams,
@@ -174,7 +174,7 @@ class Collections {
174
174
  : undefined,
175
175
  "X-Fern-Language": "JavaScript",
176
176
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
177
- "X-Fern-SDK-Version": "0.1.8",
177
+ "X-Fern-SDK-Version": "1.0.1",
178
178
  },
179
179
  contentType: "application/json",
180
180
  queryParameters: _queryParams,
@@ -242,7 +242,7 @@ class Collections {
242
242
  : undefined,
243
243
  "X-Fern-Language": "JavaScript",
244
244
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
245
- "X-Fern-SDK-Version": "0.1.8",
245
+ "X-Fern-SDK-Version": "1.0.1",
246
246
  },
247
247
  contentType: "application/json",
248
248
  queryParameters: _queryParams,
@@ -114,7 +114,7 @@ class Comments {
114
114
  : undefined,
115
115
  "X-Fern-Language": "JavaScript",
116
116
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
117
- "X-Fern-SDK-Version": "0.1.8",
117
+ "X-Fern-SDK-Version": "1.0.1",
118
118
  },
119
119
  contentType: "application/json",
120
120
  queryParameters: _queryParams,
@@ -173,7 +173,7 @@ class Comments {
173
173
  : undefined,
174
174
  "X-Fern-Language": "JavaScript",
175
175
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
176
- "X-Fern-SDK-Version": "0.1.8",
176
+ "X-Fern-SDK-Version": "1.0.1",
177
177
  },
178
178
  contentType: "application/json",
179
179
  queryParameters: _queryParams,
@@ -235,7 +235,7 @@ class Comments {
235
235
  : undefined,
236
236
  "X-Fern-Language": "JavaScript",
237
237
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
238
- "X-Fern-SDK-Version": "0.1.8",
238
+ "X-Fern-SDK-Version": "1.0.1",
239
239
  },
240
240
  contentType: "application/json",
241
241
  queryParameters: _queryParams,
@@ -286,7 +286,7 @@ class Comments {
286
286
  : undefined,
287
287
  "X-Fern-Language": "JavaScript",
288
288
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
289
- "X-Fern-SDK-Version": "0.1.8",
289
+ "X-Fern-SDK-Version": "1.0.1",
290
290
  },
291
291
  contentType: "application/json",
292
292
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -97,7 +97,7 @@ class Contacts {
97
97
  : undefined,
98
98
  "X-Fern-Language": "JavaScript",
99
99
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
100
- "X-Fern-SDK-Version": "0.1.8",
100
+ "X-Fern-SDK-Version": "1.0.1",
101
101
  },
102
102
  contentType: "application/json",
103
103
  queryParameters: _queryParams,
@@ -156,7 +156,7 @@ class Contacts {
156
156
  : undefined,
157
157
  "X-Fern-Language": "JavaScript",
158
158
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
159
- "X-Fern-SDK-Version": "0.1.8",
159
+ "X-Fern-SDK-Version": "1.0.1",
160
160
  },
161
161
  contentType: "application/json",
162
162
  queryParameters: _queryParams,
@@ -63,7 +63,7 @@ class DeleteAccount {
63
63
  : undefined,
64
64
  "X-Fern-Language": "JavaScript",
65
65
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
66
- "X-Fern-SDK-Version": "0.1.8",
66
+ "X-Fern-SDK-Version": "1.0.1",
67
67
  },
68
68
  contentType: "application/json",
69
69
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -64,7 +64,7 @@ class ForceResync {
64
64
  : undefined,
65
65
  "X-Fern-Language": "JavaScript",
66
66
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
67
- "X-Fern-SDK-Version": "0.1.8",
67
+ "X-Fern-SDK-Version": "1.0.1",
68
68
  },
69
69
  contentType: "application/json",
70
70
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -64,7 +64,7 @@ class GenerateKey {
64
64
  : undefined,
65
65
  "X-Fern-Language": "JavaScript",
66
66
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
67
- "X-Fern-SDK-Version": "0.1.8",
67
+ "X-Fern-SDK-Version": "1.0.1",
68
68
  },
69
69
  contentType: "application/json",
70
70
  body: yield serializers.ticketing.GenerateRemoteKeyRequest.jsonOrThrow(request, {
@@ -106,7 +106,7 @@ class Issues {
106
106
  : undefined,
107
107
  "X-Fern-Language": "JavaScript",
108
108
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
109
- "X-Fern-SDK-Version": "0.1.8",
109
+ "X-Fern-SDK-Version": "1.0.1",
110
110
  },
111
111
  contentType: "application/json",
112
112
  queryParameters: _queryParams,
@@ -157,7 +157,7 @@ class Issues {
157
157
  : undefined,
158
158
  "X-Fern-Language": "JavaScript",
159
159
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
160
- "X-Fern-SDK-Version": "0.1.8",
160
+ "X-Fern-SDK-Version": "1.0.1",
161
161
  },
162
162
  contentType: "application/json",
163
163
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -64,7 +64,7 @@ class LinkToken {
64
64
  : undefined,
65
65
  "X-Fern-Language": "JavaScript",
66
66
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
67
- "X-Fern-SDK-Version": "0.1.8",
67
+ "X-Fern-SDK-Version": "1.0.1",
68
68
  },
69
69
  contentType: "application/json",
70
70
  body: yield serializers.ticketing.EndUserDetailsRequest.jsonOrThrow(request, {
@@ -106,7 +106,7 @@ class LinkedAccounts {
106
106
  : undefined,
107
107
  "X-Fern-Language": "JavaScript",
108
108
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
109
- "X-Fern-SDK-Version": "0.1.8",
109
+ "X-Fern-SDK-Version": "1.0.1",
110
110
  },
111
111
  contentType: "application/json",
112
112
  queryParameters: _queryParams,
@@ -64,7 +64,7 @@ class Passthrough {
64
64
  : undefined,
65
65
  "X-Fern-Language": "JavaScript",
66
66
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
67
- "X-Fern-SDK-Version": "0.1.8",
67
+ "X-Fern-SDK-Version": "1.0.1",
68
68
  },
69
69
  contentType: "application/json",
70
70
  body: yield serializers.ticketing.DataPassthroughRequest.jsonOrThrow(request, {
@@ -94,7 +94,7 @@ class Projects {
94
94
  : undefined,
95
95
  "X-Fern-Language": "JavaScript",
96
96
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
97
- "X-Fern-SDK-Version": "0.1.8",
97
+ "X-Fern-SDK-Version": "1.0.1",
98
98
  },
99
99
  contentType: "application/json",
100
100
  queryParameters: _queryParams,
@@ -150,7 +150,7 @@ class Projects {
150
150
  : undefined,
151
151
  "X-Fern-Language": "JavaScript",
152
152
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
153
- "X-Fern-SDK-Version": "0.1.8",
153
+ "X-Fern-SDK-Version": "1.0.1",
154
154
  },
155
155
  contentType: "application/json",
156
156
  queryParameters: _queryParams,
@@ -218,7 +218,7 @@ class Projects {
218
218
  : undefined,
219
219
  "X-Fern-Language": "JavaScript",
220
220
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
221
- "X-Fern-SDK-Version": "0.1.8",
221
+ "X-Fern-SDK-Version": "1.0.1",
222
222
  },
223
223
  contentType: "application/json",
224
224
  queryParameters: _queryParams,
@@ -64,7 +64,7 @@ class RegenerateKey {
64
64
  : undefined,
65
65
  "X-Fern-Language": "JavaScript",
66
66
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
67
- "X-Fern-SDK-Version": "0.1.8",
67
+ "X-Fern-SDK-Version": "1.0.1",
68
68
  },
69
69
  contentType: "application/json",
70
70
  body: yield serializers.ticketing.RemoteKeyForRegenerationRequest.jsonOrThrow(request, {
@@ -65,7 +65,7 @@ class SelectiveSync {
65
65
  : undefined,
66
66
  "X-Fern-Language": "JavaScript",
67
67
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
68
- "X-Fern-SDK-Version": "0.1.8",
68
+ "X-Fern-SDK-Version": "1.0.1",
69
69
  },
70
70
  contentType: "application/json",
71
71
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -115,7 +115,7 @@ class SelectiveSync {
115
115
  : undefined,
116
116
  "X-Fern-Language": "JavaScript",
117
117
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
118
- "X-Fern-SDK-Version": "0.1.8",
118
+ "X-Fern-SDK-Version": "1.0.1",
119
119
  },
120
120
  contentType: "application/json",
121
121
  body: yield serializers.ticketing.LinkedAccountSelectiveSyncConfigurationListRequest.jsonOrThrow(request, {
@@ -179,7 +179,7 @@ class SelectiveSync {
179
179
  : undefined,
180
180
  "X-Fern-Language": "JavaScript",
181
181
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
182
- "X-Fern-SDK-Version": "0.1.8",
182
+ "X-Fern-SDK-Version": "1.0.1",
183
183
  },
184
184
  contentType: "application/json",
185
185
  queryParameters: _queryParams,
@@ -73,7 +73,7 @@ class SyncStatus {
73
73
  : undefined,
74
74
  "X-Fern-Language": "JavaScript",
75
75
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
76
- "X-Fern-SDK-Version": "0.1.8",
76
+ "X-Fern-SDK-Version": "1.0.1",
77
77
  },
78
78
  contentType: "application/json",
79
79
  queryParameters: _queryParams,
@@ -94,7 +94,7 @@ class Tags {
94
94
  : undefined,
95
95
  "X-Fern-Language": "JavaScript",
96
96
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
97
- "X-Fern-SDK-Version": "0.1.8",
97
+ "X-Fern-SDK-Version": "1.0.1",
98
98
  },
99
99
  contentType: "application/json",
100
100
  queryParameters: _queryParams,
@@ -150,7 +150,7 @@ class Tags {
150
150
  : undefined,
151
151
  "X-Fern-Language": "JavaScript",
152
152
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
153
- "X-Fern-SDK-Version": "0.1.8",
153
+ "X-Fern-SDK-Version": "1.0.1",
154
154
  },
155
155
  contentType: "application/json",
156
156
  queryParameters: _queryParams,
@@ -94,7 +94,7 @@ class Teams {
94
94
  : undefined,
95
95
  "X-Fern-Language": "JavaScript",
96
96
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
97
- "X-Fern-SDK-Version": "0.1.8",
97
+ "X-Fern-SDK-Version": "1.0.1",
98
98
  },
99
99
  contentType: "application/json",
100
100
  queryParameters: _queryParams,
@@ -150,7 +150,7 @@ class Teams {
150
150
  : undefined,
151
151
  "X-Fern-Language": "JavaScript",
152
152
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
153
- "X-Fern-SDK-Version": "0.1.8",
153
+ "X-Fern-SDK-Version": "1.0.1",
154
154
  },
155
155
  contentType: "application/json",
156
156
  queryParameters: _queryParams,
@@ -171,7 +171,7 @@ class Tickets {
171
171
  : undefined,
172
172
  "X-Fern-Language": "JavaScript",
173
173
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
174
- "X-Fern-SDK-Version": "0.1.8",
174
+ "X-Fern-SDK-Version": "1.0.1",
175
175
  },
176
176
  contentType: "application/json",
177
177
  queryParameters: _queryParams,
@@ -230,7 +230,7 @@ class Tickets {
230
230
  : undefined,
231
231
  "X-Fern-Language": "JavaScript",
232
232
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
233
- "X-Fern-SDK-Version": "0.1.8",
233
+ "X-Fern-SDK-Version": "1.0.1",
234
234
  },
235
235
  contentType: "application/json",
236
236
  queryParameters: _queryParams,
@@ -301,7 +301,7 @@ class Tickets {
301
301
  : undefined,
302
302
  "X-Fern-Language": "JavaScript",
303
303
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
304
- "X-Fern-SDK-Version": "0.1.8",
304
+ "X-Fern-SDK-Version": "1.0.1",
305
305
  },
306
306
  contentType: "application/json",
307
307
  queryParameters: _queryParams,
@@ -360,7 +360,7 @@ class Tickets {
360
360
  : undefined,
361
361
  "X-Fern-Language": "JavaScript",
362
362
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
363
- "X-Fern-SDK-Version": "0.1.8",
363
+ "X-Fern-SDK-Version": "1.0.1",
364
364
  },
365
365
  contentType: "application/json",
366
366
  queryParameters: _queryParams,
@@ -431,7 +431,7 @@ class Tickets {
431
431
  : undefined,
432
432
  "X-Fern-Language": "JavaScript",
433
433
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
434
- "X-Fern-SDK-Version": "0.1.8",
434
+ "X-Fern-SDK-Version": "1.0.1",
435
435
  },
436
436
  contentType: "application/json",
437
437
  queryParameters: _queryParams,
@@ -482,7 +482,7 @@ class Tickets {
482
482
  : undefined,
483
483
  "X-Fern-Language": "JavaScript",
484
484
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
485
- "X-Fern-SDK-Version": "0.1.8",
485
+ "X-Fern-SDK-Version": "1.0.1",
486
486
  },
487
487
  contentType: "application/json",
488
488
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -532,7 +532,7 @@ class Tickets {
532
532
  : undefined,
533
533
  "X-Fern-Language": "JavaScript",
534
534
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
535
- "X-Fern-SDK-Version": "0.1.8",
535
+ "X-Fern-SDK-Version": "1.0.1",
536
536
  },
537
537
  contentType: "application/json",
538
538
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -596,7 +596,7 @@ class Tickets {
596
596
  : undefined,
597
597
  "X-Fern-Language": "JavaScript",
598
598
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
599
- "X-Fern-SDK-Version": "0.1.8",
599
+ "X-Fern-SDK-Version": "1.0.1",
600
600
  },
601
601
  contentType: "application/json",
602
602
  queryParameters: _queryParams,
@@ -100,7 +100,7 @@ class Users {
100
100
  : undefined,
101
101
  "X-Fern-Language": "JavaScript",
102
102
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
103
- "X-Fern-SDK-Version": "0.1.8",
103
+ "X-Fern-SDK-Version": "1.0.1",
104
104
  },
105
105
  contentType: "application/json",
106
106
  queryParameters: _queryParams,
@@ -159,7 +159,7 @@ class Users {
159
159
  : undefined,
160
160
  "X-Fern-Language": "JavaScript",
161
161
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
162
- "X-Fern-SDK-Version": "0.1.8",
162
+ "X-Fern-SDK-Version": "1.0.1",
163
163
  },
164
164
  contentType: "application/json",
165
165
  queryParameters: _queryParams,
@@ -64,7 +64,7 @@ class WebhookReceivers {
64
64
  : undefined,
65
65
  "X-Fern-Language": "JavaScript",
66
66
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
67
- "X-Fern-SDK-Version": "0.1.8",
67
+ "X-Fern-SDK-Version": "1.0.1",
68
68
  },
69
69
  contentType: "application/json",
70
70
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -114,7 +114,7 @@ class WebhookReceivers {
114
114
  : undefined,
115
115
  "X-Fern-Language": "JavaScript",
116
116
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
117
- "X-Fern-SDK-Version": "0.1.8",
117
+ "X-Fern-SDK-Version": "1.0.1",
118
118
  },
119
119
  contentType: "application/json",
120
120
  body: yield serializers.ticketing.WebhookReceiverRequest.jsonOrThrow(request, {
@@ -23,6 +23,7 @@ export declare namespace CreditNote {
23
23
  remote_created_at?: string | null;
24
24
  remote_updated_at?: string | null;
25
25
  payments?: (serializers.accounting.CreditNotePaymentsItem.Raw | null | undefined)[] | null;
26
+ applied_payments?: (serializers.accounting.CreditNoteAppliedPaymentsItem.Raw | null | undefined)[] | null;
26
27
  remote_was_deleted?: boolean | null;
27
28
  accounting_period?: serializers.accounting.CreditNoteAccountingPeriod.Raw | null;
28
29
  created_at?: string | null;
@@ -62,6 +62,11 @@ exports.CreditNote = core.serialization.object({
62
62
  payments: core.serialization
63
63
  .list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.CreditNotePaymentsItem; })).optional())
64
64
  .optional(),
65
+ appliedPayments: core.serialization.property("applied_payments", core.serialization
66
+ .list(core.serialization
67
+ .lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.CreditNoteAppliedPaymentsItem; }))
68
+ .optional())
69
+ .optional()),
65
70
  remoteWasDeleted: core.serialization.property("remote_was_deleted", core.serialization.boolean().optional()),
66
71
  accountingPeriod: core.serialization.property("accounting_period", core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.CreditNoteAccountingPeriod; })).optional()),
67
72
  createdAt: core.serialization.property("created_at", core.serialization.date().optional()),
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../..";
5
+ import * as Merge from "../../../../api";
6
+ import * as core from "../../../../core";
7
+ export declare const CreditNoteAppliedPaymentsItem: core.serialization.Schema<serializers.accounting.CreditNoteAppliedPaymentsItem.Raw, Merge.accounting.CreditNoteAppliedPaymentsItem>;
8
+ export declare namespace CreditNoteAppliedPaymentsItem {
9
+ type Raw = string | serializers.accounting.PaymentLineItem.Raw;
10
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.CreditNoteAppliedPaymentsItem = void 0;
39
+ const core = __importStar(require("../../../../core"));
40
+ exports.CreditNoteAppliedPaymentsItem = core.serialization.undiscriminatedUnion([
41
+ core.serialization.string(),
42
+ core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.PaymentLineItem; })),
43
+ ]);
@@ -20,6 +20,7 @@ export declare namespace CreditNoteLineItem {
20
20
  account?: string | null;
21
21
  company?: serializers.accounting.CreditNoteLineItemCompany.Raw | null;
22
22
  remote_id?: string | null;
23
+ remote_was_deleted?: boolean | null;
23
24
  created_at?: string | null;
24
25
  modified_at?: string | null;
25
26
  }
@@ -53,6 +53,7 @@ exports.CreditNoteLineItem = core.serialization.object({
53
53
  .lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.CreditNoteLineItemCompany; }))
54
54
  .optional(),
55
55
  remoteId: core.serialization.property("remote_id", core.serialization.string().optional()),
56
+ remoteWasDeleted: core.serialization.property("remote_was_deleted", core.serialization.boolean().optional()),
56
57
  createdAt: core.serialization.property("created_at", core.serialization.date().optional()),
57
58
  modifiedAt: core.serialization.property("modified_at", core.serialization.date().optional()),
58
59
  });