@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
@@ -57,6 +57,9 @@ exports.Payment = core.serialization.object({
57
57
  accountingPeriod: core.serialization.property("accounting_period", core.serialization
58
58
  .lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.PaymentAccountingPeriod; }))
59
59
  .optional()),
60
+ appliedToLines: core.serialization.property("applied_to_lines", core.serialization
61
+ .list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.PaymentAppliedToLinesItem; })))
62
+ .optional()),
60
63
  createdAt: core.serialization.property("created_at", core.serialization.date().optional()),
61
64
  modifiedAt: core.serialization.property("modified_at", core.serialization.date().optional()),
62
65
  fieldMappings: core.serialization.property("field_mappings", core.serialization.record(core.serialization.string(), core.serialization.unknown()).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 PaymentAppliedToLinesItem: core.serialization.Schema<serializers.accounting.PaymentAppliedToLinesItem.Raw, Merge.accounting.PaymentAppliedToLinesItem>;
8
+ export declare namespace PaymentAppliedToLinesItem {
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.PaymentAppliedToLinesItem = void 0;
39
+ const core = __importStar(require("../../../../core"));
40
+ exports.PaymentAppliedToLinesItem = 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
+ ]);
@@ -0,0 +1,19 @@
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 PaymentLineItem: core.serialization.ObjectSchema<serializers.accounting.PaymentLineItem.Raw, Merge.accounting.PaymentLineItem>;
8
+ export declare namespace PaymentLineItem {
9
+ interface Raw {
10
+ applied_amount?: string | null;
11
+ applied_date?: string | null;
12
+ remote_id?: string | null;
13
+ related_object_id?: string | null;
14
+ related_object_type?: string | null;
15
+ id?: string | null;
16
+ created_at?: string | null;
17
+ modified_at?: string | null;
18
+ }
19
+ }
@@ -0,0 +1,40 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PaymentLineItem = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.PaymentLineItem = core.serialization.object({
32
+ appliedAmount: core.serialization.property("applied_amount", core.serialization.string().optional()),
33
+ appliedDate: core.serialization.property("applied_date", core.serialization.date().optional()),
34
+ remoteId: core.serialization.property("remote_id", core.serialization.string().optional()),
35
+ relatedObjectId: core.serialization.property("related_object_id", core.serialization.string().optional()),
36
+ relatedObjectType: core.serialization.property("related_object_type", core.serialization.string().optional()),
37
+ id: core.serialization.string().optional(),
38
+ createdAt: core.serialization.property("created_at", core.serialization.date().optional()),
39
+ modifiedAt: core.serialization.property("modified_at", core.serialization.date().optional()),
40
+ });
@@ -0,0 +1,18 @@
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 PaymentLineItemRequest: core.serialization.ObjectSchema<serializers.accounting.PaymentLineItemRequest.Raw, Merge.accounting.PaymentLineItemRequest>;
8
+ export declare namespace PaymentLineItemRequest {
9
+ interface Raw {
10
+ applied_amount?: string | null;
11
+ applied_date?: string | null;
12
+ remote_id?: string | null;
13
+ related_object_id?: string | null;
14
+ related_object_type?: string | null;
15
+ integration_params?: Record<string, unknown> | null;
16
+ linked_account_params?: Record<string, unknown> | null;
17
+ }
18
+ }
@@ -0,0 +1,39 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.PaymentLineItemRequest = void 0;
30
+ const core = __importStar(require("../../../../core"));
31
+ exports.PaymentLineItemRequest = core.serialization.object({
32
+ appliedAmount: core.serialization.property("applied_amount", core.serialization.string().optional()),
33
+ appliedDate: core.serialization.property("applied_date", core.serialization.date().optional()),
34
+ remoteId: core.serialization.property("remote_id", core.serialization.string().optional()),
35
+ relatedObjectId: core.serialization.property("related_object_id", core.serialization.string().optional()),
36
+ relatedObjectType: core.serialization.property("related_object_type", core.serialization.string().optional()),
37
+ integrationParams: core.serialization.property("integration_params", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
38
+ linkedAccountParams: core.serialization.property("linked_account_params", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
39
+ });
@@ -16,6 +16,7 @@ export declare namespace PaymentRequest {
16
16
  total_amount?: number | null;
17
17
  tracking_categories?: (serializers.accounting.PaymentRequestTrackingCategoriesItem.Raw | null | undefined)[] | null;
18
18
  accounting_period?: serializers.accounting.PaymentRequestAccountingPeriod.Raw | null;
19
+ applied_to_lines?: serializers.accounting.PaymentRequestAppliedToLinesItem.Raw[] | null;
19
20
  integration_params?: Record<string, unknown> | null;
20
21
  linked_account_params?: Record<string, unknown> | null;
21
22
  }
@@ -61,6 +61,9 @@ exports.PaymentRequest = core.serialization.object({
61
61
  accountingPeriod: core.serialization.property("accounting_period", core.serialization
62
62
  .lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.PaymentRequestAccountingPeriod; }))
63
63
  .optional()),
64
+ appliedToLines: core.serialization.property("applied_to_lines", core.serialization
65
+ .list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../..")))).accounting.PaymentRequestAppliedToLinesItem; })))
66
+ .optional()),
64
67
  integrationParams: core.serialization.property("integration_params", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
65
68
  linkedAccountParams: core.serialization.property("linked_account_params", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
66
69
  });
@@ -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 PaymentRequestAppliedToLinesItem: core.serialization.Schema<serializers.accounting.PaymentRequestAppliedToLinesItem.Raw, Merge.accounting.PaymentRequestAppliedToLinesItem>;
8
+ export declare namespace PaymentRequestAppliedToLinesItem {
9
+ type Raw = string | serializers.accounting.PaymentLineItemRequest.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.PaymentRequestAppliedToLinesItem = void 0;
39
+ const core = __importStar(require("../../../../core"));
40
+ exports.PaymentRequestAppliedToLinesItem = 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.PaymentLineItemRequest; })),
43
+ ]);
@@ -6,5 +6,5 @@ import * as Merge from "../../../../api";
6
6
  import * as core from "../../../../core";
7
7
  export declare const PaymentsListRequestExpand: core.serialization.Schema<serializers.accounting.PaymentsListRequestExpand.Raw, Merge.accounting.PaymentsListRequestExpand>;
8
8
  export declare namespace PaymentsListRequestExpand {
9
- type Raw = "account" | "account,accounting_period" | "account,company" | "account,company,accounting_period" | "accounting_period" | "company" | "company,accounting_period" | "contact" | "contact,account" | "contact,account,accounting_period" | "contact,account,company" | "contact,account,company,accounting_period" | "contact,accounting_period" | "contact,company" | "contact,company,accounting_period" | "tracking_categories" | "tracking_categories,account" | "tracking_categories,account,accounting_period" | "tracking_categories,account,company" | "tracking_categories,account,company,accounting_period" | "tracking_categories,accounting_period" | "tracking_categories,company" | "tracking_categories,company,accounting_period" | "tracking_categories,contact" | "tracking_categories,contact,account" | "tracking_categories,contact,account,accounting_period" | "tracking_categories,contact,account,company" | "tracking_categories,contact,account,company,accounting_period" | "tracking_categories,contact,accounting_period" | "tracking_categories,contact,company" | "tracking_categories,contact,company,accounting_period";
9
+ type Raw = "account" | "account,accounting_period" | "account,company" | "account,company,accounting_period" | "accounting_period" | "applied_to_lines" | "applied_to_lines,account" | "applied_to_lines,account,accounting_period" | "applied_to_lines,account,company" | "applied_to_lines,account,company,accounting_period" | "applied_to_lines,accounting_period" | "applied_to_lines,company" | "applied_to_lines,company,accounting_period" | "applied_to_lines,contact" | "applied_to_lines,contact,account" | "applied_to_lines,contact,account,accounting_period" | "applied_to_lines,contact,account,company" | "applied_to_lines,contact,account,company,accounting_period" | "applied_to_lines,contact,accounting_period" | "applied_to_lines,contact,company" | "applied_to_lines,contact,company,accounting_period" | "company" | "company,accounting_period" | "contact" | "contact,account" | "contact,account,accounting_period" | "contact,account,company" | "contact,account,company,accounting_period" | "contact,accounting_period" | "contact,company" | "contact,company,accounting_period" | "tracking_categories" | "tracking_categories,account" | "tracking_categories,account,accounting_period" | "tracking_categories,account,company" | "tracking_categories,account,company,accounting_period" | "tracking_categories,accounting_period" | "tracking_categories,applied_to_lines" | "tracking_categories,applied_to_lines,account" | "tracking_categories,applied_to_lines,account,accounting_period" | "tracking_categories,applied_to_lines,account,company" | "tracking_categories,applied_to_lines,account,company,accounting_period" | "tracking_categories,applied_to_lines,accounting_period" | "tracking_categories,applied_to_lines,company" | "tracking_categories,applied_to_lines,company,accounting_period" | "tracking_categories,applied_to_lines,contact" | "tracking_categories,applied_to_lines,contact,account" | "tracking_categories,applied_to_lines,contact,account,accounting_period" | "tracking_categories,applied_to_lines,contact,account,company" | "tracking_categories,applied_to_lines,contact,account,company,accounting_period" | "tracking_categories,applied_to_lines,contact,accounting_period" | "tracking_categories,applied_to_lines,contact,company" | "tracking_categories,applied_to_lines,contact,company,accounting_period" | "tracking_categories,company" | "tracking_categories,company,accounting_period" | "tracking_categories,contact" | "tracking_categories,contact,account" | "tracking_categories,contact,account,accounting_period" | "tracking_categories,contact,account,company" | "tracking_categories,contact,account,company,accounting_period" | "tracking_categories,contact,accounting_period" | "tracking_categories,contact,company" | "tracking_categories,contact,company,accounting_period";
10
10
  }
@@ -34,6 +34,22 @@ exports.PaymentsListRequestExpand = core.serialization.enum_([
34
34
  "account,company",
35
35
  "account,company,accounting_period",
36
36
  "accounting_period",
37
+ "applied_to_lines",
38
+ "applied_to_lines,account",
39
+ "applied_to_lines,account,accounting_period",
40
+ "applied_to_lines,account,company",
41
+ "applied_to_lines,account,company,accounting_period",
42
+ "applied_to_lines,accounting_period",
43
+ "applied_to_lines,company",
44
+ "applied_to_lines,company,accounting_period",
45
+ "applied_to_lines,contact",
46
+ "applied_to_lines,contact,account",
47
+ "applied_to_lines,contact,account,accounting_period",
48
+ "applied_to_lines,contact,account,company",
49
+ "applied_to_lines,contact,account,company,accounting_period",
50
+ "applied_to_lines,contact,accounting_period",
51
+ "applied_to_lines,contact,company",
52
+ "applied_to_lines,contact,company,accounting_period",
37
53
  "company",
38
54
  "company,accounting_period",
39
55
  "contact",
@@ -50,6 +66,22 @@ exports.PaymentsListRequestExpand = core.serialization.enum_([
50
66
  "tracking_categories,account,company",
51
67
  "tracking_categories,account,company,accounting_period",
52
68
  "tracking_categories,accounting_period",
69
+ "tracking_categories,applied_to_lines",
70
+ "tracking_categories,applied_to_lines,account",
71
+ "tracking_categories,applied_to_lines,account,accounting_period",
72
+ "tracking_categories,applied_to_lines,account,company",
73
+ "tracking_categories,applied_to_lines,account,company,accounting_period",
74
+ "tracking_categories,applied_to_lines,accounting_period",
75
+ "tracking_categories,applied_to_lines,company",
76
+ "tracking_categories,applied_to_lines,company,accounting_period",
77
+ "tracking_categories,applied_to_lines,contact",
78
+ "tracking_categories,applied_to_lines,contact,account",
79
+ "tracking_categories,applied_to_lines,contact,account,accounting_period",
80
+ "tracking_categories,applied_to_lines,contact,account,company",
81
+ "tracking_categories,applied_to_lines,contact,account,company,accounting_period",
82
+ "tracking_categories,applied_to_lines,contact,accounting_period",
83
+ "tracking_categories,applied_to_lines,contact,company",
84
+ "tracking_categories,applied_to_lines,contact,company,accounting_period",
53
85
  "tracking_categories,company",
54
86
  "tracking_categories,company,accounting_period",
55
87
  "tracking_categories,contact",
@@ -6,5 +6,5 @@ import * as Merge from "../../../../api";
6
6
  import * as core from "../../../../core";
7
7
  export declare const PaymentsRetrieveRequestExpand: core.serialization.Schema<serializers.accounting.PaymentsRetrieveRequestExpand.Raw, Merge.accounting.PaymentsRetrieveRequestExpand>;
8
8
  export declare namespace PaymentsRetrieveRequestExpand {
9
- type Raw = "account" | "account,accounting_period" | "account,company" | "account,company,accounting_period" | "accounting_period" | "company" | "company,accounting_period" | "contact" | "contact,account" | "contact,account,accounting_period" | "contact,account,company" | "contact,account,company,accounting_period" | "contact,accounting_period" | "contact,company" | "contact,company,accounting_period" | "tracking_categories" | "tracking_categories,account" | "tracking_categories,account,accounting_period" | "tracking_categories,account,company" | "tracking_categories,account,company,accounting_period" | "tracking_categories,accounting_period" | "tracking_categories,company" | "tracking_categories,company,accounting_period" | "tracking_categories,contact" | "tracking_categories,contact,account" | "tracking_categories,contact,account,accounting_period" | "tracking_categories,contact,account,company" | "tracking_categories,contact,account,company,accounting_period" | "tracking_categories,contact,accounting_period" | "tracking_categories,contact,company" | "tracking_categories,contact,company,accounting_period";
9
+ type Raw = "account" | "account,accounting_period" | "account,company" | "account,company,accounting_period" | "accounting_period" | "applied_to_lines" | "applied_to_lines,account" | "applied_to_lines,account,accounting_period" | "applied_to_lines,account,company" | "applied_to_lines,account,company,accounting_period" | "applied_to_lines,accounting_period" | "applied_to_lines,company" | "applied_to_lines,company,accounting_period" | "applied_to_lines,contact" | "applied_to_lines,contact,account" | "applied_to_lines,contact,account,accounting_period" | "applied_to_lines,contact,account,company" | "applied_to_lines,contact,account,company,accounting_period" | "applied_to_lines,contact,accounting_period" | "applied_to_lines,contact,company" | "applied_to_lines,contact,company,accounting_period" | "company" | "company,accounting_period" | "contact" | "contact,account" | "contact,account,accounting_period" | "contact,account,company" | "contact,account,company,accounting_period" | "contact,accounting_period" | "contact,company" | "contact,company,accounting_period" | "tracking_categories" | "tracking_categories,account" | "tracking_categories,account,accounting_period" | "tracking_categories,account,company" | "tracking_categories,account,company,accounting_period" | "tracking_categories,accounting_period" | "tracking_categories,applied_to_lines" | "tracking_categories,applied_to_lines,account" | "tracking_categories,applied_to_lines,account,accounting_period" | "tracking_categories,applied_to_lines,account,company" | "tracking_categories,applied_to_lines,account,company,accounting_period" | "tracking_categories,applied_to_lines,accounting_period" | "tracking_categories,applied_to_lines,company" | "tracking_categories,applied_to_lines,company,accounting_period" | "tracking_categories,applied_to_lines,contact" | "tracking_categories,applied_to_lines,contact,account" | "tracking_categories,applied_to_lines,contact,account,accounting_period" | "tracking_categories,applied_to_lines,contact,account,company" | "tracking_categories,applied_to_lines,contact,account,company,accounting_period" | "tracking_categories,applied_to_lines,contact,accounting_period" | "tracking_categories,applied_to_lines,contact,company" | "tracking_categories,applied_to_lines,contact,company,accounting_period" | "tracking_categories,company" | "tracking_categories,company,accounting_period" | "tracking_categories,contact" | "tracking_categories,contact,account" | "tracking_categories,contact,account,accounting_period" | "tracking_categories,contact,account,company" | "tracking_categories,contact,account,company,accounting_period" | "tracking_categories,contact,accounting_period" | "tracking_categories,contact,company" | "tracking_categories,contact,company,accounting_period";
10
10
  }
@@ -34,6 +34,22 @@ exports.PaymentsRetrieveRequestExpand = core.serialization.enum_([
34
34
  "account,company",
35
35
  "account,company,accounting_period",
36
36
  "accounting_period",
37
+ "applied_to_lines",
38
+ "applied_to_lines,account",
39
+ "applied_to_lines,account,accounting_period",
40
+ "applied_to_lines,account,company",
41
+ "applied_to_lines,account,company,accounting_period",
42
+ "applied_to_lines,accounting_period",
43
+ "applied_to_lines,company",
44
+ "applied_to_lines,company,accounting_period",
45
+ "applied_to_lines,contact",
46
+ "applied_to_lines,contact,account",
47
+ "applied_to_lines,contact,account,accounting_period",
48
+ "applied_to_lines,contact,account,company",
49
+ "applied_to_lines,contact,account,company,accounting_period",
50
+ "applied_to_lines,contact,accounting_period",
51
+ "applied_to_lines,contact,company",
52
+ "applied_to_lines,contact,company,accounting_period",
37
53
  "company",
38
54
  "company,accounting_period",
39
55
  "contact",
@@ -50,6 +66,22 @@ exports.PaymentsRetrieveRequestExpand = core.serialization.enum_([
50
66
  "tracking_categories,account,company",
51
67
  "tracking_categories,account,company,accounting_period",
52
68
  "tracking_categories,accounting_period",
69
+ "tracking_categories,applied_to_lines",
70
+ "tracking_categories,applied_to_lines,account",
71
+ "tracking_categories,applied_to_lines,account,accounting_period",
72
+ "tracking_categories,applied_to_lines,account,company",
73
+ "tracking_categories,applied_to_lines,account,company,accounting_period",
74
+ "tracking_categories,applied_to_lines,accounting_period",
75
+ "tracking_categories,applied_to_lines,company",
76
+ "tracking_categories,applied_to_lines,company,accounting_period",
77
+ "tracking_categories,applied_to_lines,contact",
78
+ "tracking_categories,applied_to_lines,contact,account",
79
+ "tracking_categories,applied_to_lines,contact,account,accounting_period",
80
+ "tracking_categories,applied_to_lines,contact,account,company",
81
+ "tracking_categories,applied_to_lines,contact,account,company,accounting_period",
82
+ "tracking_categories,applied_to_lines,contact,accounting_period",
83
+ "tracking_categories,applied_to_lines,contact,company",
84
+ "tracking_categories,applied_to_lines,contact,company,accounting_period",
53
85
  "tracking_categories,company",
54
86
  "tracking_categories,company,accounting_period",
55
87
  "tracking_categories,contact",
@@ -15,6 +15,7 @@ export declare namespace VendorCreditLine {
15
15
  account?: serializers.accounting.VendorCreditLineAccount.Raw | null;
16
16
  company?: string | null;
17
17
  exchange_rate?: string | null;
18
+ remote_was_deleted?: boolean | null;
18
19
  created_at?: string | null;
19
20
  modified_at?: string | null;
20
21
  }
@@ -48,6 +48,7 @@ exports.VendorCreditLine = core.serialization.object({
48
48
  .optional(),
49
49
  company: core.serialization.string().optional(),
50
50
  exchangeRate: core.serialization.property("exchange_rate", core.serialization.string().optional()),
51
+ remoteWasDeleted: core.serialization.property("remote_was_deleted", core.serialization.boolean().optional()),
51
52
  createdAt: core.serialization.property("created_at", core.serialization.date().optional()),
52
53
  modifiedAt: core.serialization.property("modified_at", core.serialization.date().optional()),
53
54
  });
@@ -99,6 +99,7 @@ export * from "./CreditNoteCompany";
99
99
  export * from "./CreditNoteTrackingCategoriesItem";
100
100
  export * from "./CreditNoteCurrency";
101
101
  export * from "./CreditNotePaymentsItem";
102
+ export * from "./CreditNoteAppliedPaymentsItem";
102
103
  export * from "./CreditNoteAccountingPeriod";
103
104
  export * from "./CreditNoteLineItem";
104
105
  export * from "./CreditNoteLineItemItem";
@@ -129,6 +130,7 @@ export * from "./ExpenseLineRequest";
129
130
  export * from "./ExpenseLineRequestItem";
130
131
  export * from "./ExpenseLineRequestTrackingCategory";
131
132
  export * from "./ExpenseLineRequestTrackingCategoriesItem";
133
+ export * from "./ExpenseLineRequestCurrency";
132
134
  export * from "./ExpenseLineRequestAccount";
133
135
  export * from "./ExpenseLineRequestContact";
134
136
  export * from "./ExpenseRequest";
@@ -147,8 +149,10 @@ export * from "./InvoiceType";
147
149
  export * from "./InvoiceContact";
148
150
  export * from "./InvoiceCompany";
149
151
  export * from "./InvoiceCurrency";
152
+ export * from "./InvoiceStatus";
150
153
  export * from "./InvoiceTrackingCategoriesItem";
151
154
  export * from "./InvoicePaymentsItem";
155
+ export * from "./InvoiceAppliedPaymentsItem";
152
156
  export * from "./InvoiceAccountingPeriod";
153
157
  export * from "./InvoicePurchaseOrdersItem";
154
158
  export * from "./InvoiceLineItem";
@@ -184,6 +188,7 @@ export * from "./ItemSalesAccount";
184
188
  export * from "./ItemCompany";
185
189
  export * from "./JournalEntry";
186
190
  export * from "./JournalEntryPaymentsItem";
191
+ export * from "./JournalEntryAppliedPaymentsItem";
187
192
  export * from "./JournalEntryCurrency";
188
193
  export * from "./JournalEntryCompany";
189
194
  export * from "./JournalEntryTrackingCategoriesItem";
@@ -249,6 +254,9 @@ export * from "./PaymentCurrency";
249
254
  export * from "./PaymentCompany";
250
255
  export * from "./PaymentTrackingCategoriesItem";
251
256
  export * from "./PaymentAccountingPeriod";
257
+ export * from "./PaymentAppliedToLinesItem";
258
+ export * from "./PaymentLineItem";
259
+ export * from "./PaymentLineItemRequest";
252
260
  export * from "./PaymentRequest";
253
261
  export * from "./PaymentRequestContact";
254
262
  export * from "./PaymentRequestAccount";
@@ -256,6 +264,7 @@ export * from "./PaymentRequestCurrency";
256
264
  export * from "./PaymentRequestCompany";
257
265
  export * from "./PaymentRequestTrackingCategoriesItem";
258
266
  export * from "./PaymentRequestAccountingPeriod";
267
+ export * from "./PaymentRequestAppliedToLinesItem";
259
268
  export * from "./PaymentResponse";
260
269
  export * from "./PostingStatusEnum";
261
270
  export * from "./PurchaseOrder";
@@ -115,6 +115,7 @@ __exportStar(require("./CreditNoteCompany"), exports);
115
115
  __exportStar(require("./CreditNoteTrackingCategoriesItem"), exports);
116
116
  __exportStar(require("./CreditNoteCurrency"), exports);
117
117
  __exportStar(require("./CreditNotePaymentsItem"), exports);
118
+ __exportStar(require("./CreditNoteAppliedPaymentsItem"), exports);
118
119
  __exportStar(require("./CreditNoteAccountingPeriod"), exports);
119
120
  __exportStar(require("./CreditNoteLineItem"), exports);
120
121
  __exportStar(require("./CreditNoteLineItemItem"), exports);
@@ -145,6 +146,7 @@ __exportStar(require("./ExpenseLineRequest"), exports);
145
146
  __exportStar(require("./ExpenseLineRequestItem"), exports);
146
147
  __exportStar(require("./ExpenseLineRequestTrackingCategory"), exports);
147
148
  __exportStar(require("./ExpenseLineRequestTrackingCategoriesItem"), exports);
149
+ __exportStar(require("./ExpenseLineRequestCurrency"), exports);
148
150
  __exportStar(require("./ExpenseLineRequestAccount"), exports);
149
151
  __exportStar(require("./ExpenseLineRequestContact"), exports);
150
152
  __exportStar(require("./ExpenseRequest"), exports);
@@ -163,8 +165,10 @@ __exportStar(require("./InvoiceType"), exports);
163
165
  __exportStar(require("./InvoiceContact"), exports);
164
166
  __exportStar(require("./InvoiceCompany"), exports);
165
167
  __exportStar(require("./InvoiceCurrency"), exports);
168
+ __exportStar(require("./InvoiceStatus"), exports);
166
169
  __exportStar(require("./InvoiceTrackingCategoriesItem"), exports);
167
170
  __exportStar(require("./InvoicePaymentsItem"), exports);
171
+ __exportStar(require("./InvoiceAppliedPaymentsItem"), exports);
168
172
  __exportStar(require("./InvoiceAccountingPeriod"), exports);
169
173
  __exportStar(require("./InvoicePurchaseOrdersItem"), exports);
170
174
  __exportStar(require("./InvoiceLineItem"), exports);
@@ -200,6 +204,7 @@ __exportStar(require("./ItemSalesAccount"), exports);
200
204
  __exportStar(require("./ItemCompany"), exports);
201
205
  __exportStar(require("./JournalEntry"), exports);
202
206
  __exportStar(require("./JournalEntryPaymentsItem"), exports);
207
+ __exportStar(require("./JournalEntryAppliedPaymentsItem"), exports);
203
208
  __exportStar(require("./JournalEntryCurrency"), exports);
204
209
  __exportStar(require("./JournalEntryCompany"), exports);
205
210
  __exportStar(require("./JournalEntryTrackingCategoriesItem"), exports);
@@ -265,6 +270,9 @@ __exportStar(require("./PaymentCurrency"), exports);
265
270
  __exportStar(require("./PaymentCompany"), exports);
266
271
  __exportStar(require("./PaymentTrackingCategoriesItem"), exports);
267
272
  __exportStar(require("./PaymentAccountingPeriod"), exports);
273
+ __exportStar(require("./PaymentAppliedToLinesItem"), exports);
274
+ __exportStar(require("./PaymentLineItem"), exports);
275
+ __exportStar(require("./PaymentLineItemRequest"), exports);
268
276
  __exportStar(require("./PaymentRequest"), exports);
269
277
  __exportStar(require("./PaymentRequestContact"), exports);
270
278
  __exportStar(require("./PaymentRequestAccount"), exports);
@@ -272,6 +280,7 @@ __exportStar(require("./PaymentRequestCurrency"), exports);
272
280
  __exportStar(require("./PaymentRequestCompany"), exports);
273
281
  __exportStar(require("./PaymentRequestTrackingCategoriesItem"), exports);
274
282
  __exportStar(require("./PaymentRequestAccountingPeriod"), exports);
283
+ __exportStar(require("./PaymentRequestAppliedToLinesItem"), exports);
275
284
  __exportStar(require("./PaymentResponse"), exports);
276
285
  __exportStar(require("./PostingStatusEnum"), exports);
277
286
  __exportStar(require("./PurchaseOrder"), exports);
@@ -1,6 +1,6 @@
1
1
  export * as ats from "./ats";
2
2
  export * as crm from "./crm";
3
- export * as filestorage from "./filestorage";
4
3
  export * as hris from "./hris";
4
+ export * as filestorage from "./filestorage";
5
5
  export * as ticketing from "./ticketing";
6
6
  export * as accounting from "./accounting";
@@ -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"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mergeapi/merge-node-client",
3
- "version": "0.1.8",
3
+ "version": "1.0.1",
4
4
  "private": false,
5
5
  "repository": "https://github.com/merge-api/merge-node-client",
6
6
  "main": "./index.js",
@@ -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
+ ]);