@mergeapi/merge-node-client 0.1.8 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (537) hide show
  1. package/api/resources/accounting/resources/accountDetails/client/Client.js +1 -1
  2. package/api/resources/accounting/resources/accountToken/client/Client.js +1 -1
  3. package/api/resources/accounting/resources/accountingPeriods/client/Client.js +2 -2
  4. package/api/resources/accounting/resources/accounts/client/Client.js +4 -4
  5. package/api/resources/accounting/resources/addresses/client/Client.js +1 -1
  6. package/api/resources/accounting/resources/asyncPassthrough/client/Client.js +2 -2
  7. package/api/resources/accounting/resources/attachments/client/Client.js +4 -4
  8. package/api/resources/accounting/resources/auditTrail/client/Client.js +1 -1
  9. package/api/resources/accounting/resources/availableActions/client/Client.js +1 -1
  10. package/api/resources/accounting/resources/balanceSheets/client/Client.js +2 -2
  11. package/api/resources/accounting/resources/cashFlowStatements/client/Client.js +2 -2
  12. package/api/resources/accounting/resources/companyInfo/client/Client.js +2 -2
  13. package/api/resources/accounting/resources/contacts/client/Client.js +4 -4
  14. package/api/resources/accounting/resources/creditNotes/client/Client.js +2 -2
  15. package/api/resources/accounting/resources/deleteAccount/client/Client.js +1 -1
  16. package/api/resources/accounting/resources/expenses/client/Client.js +4 -4
  17. package/api/resources/accounting/resources/forceResync/client/Client.js +1 -1
  18. package/api/resources/accounting/resources/generateKey/client/Client.js +1 -1
  19. package/api/resources/accounting/resources/incomeStatements/client/Client.js +2 -2
  20. package/api/resources/accounting/resources/invoices/client/Client.js +4 -4
  21. package/api/resources/accounting/resources/issues/client/Client.js +2 -2
  22. package/api/resources/accounting/resources/items/client/Client.js +2 -2
  23. package/api/resources/accounting/resources/journalEntries/client/Client.js +4 -4
  24. package/api/resources/accounting/resources/linkToken/client/Client.js +1 -1
  25. package/api/resources/accounting/resources/linkedAccounts/client/Client.js +1 -1
  26. package/api/resources/accounting/resources/passthrough/client/Client.js +1 -1
  27. package/api/resources/accounting/resources/payments/client/Client.js +4 -4
  28. package/api/resources/accounting/resources/phoneNumbers/client/Client.js +1 -1
  29. package/api/resources/accounting/resources/purchaseOrders/client/Client.js +4 -4
  30. package/api/resources/accounting/resources/regenerateKey/client/Client.js +1 -1
  31. package/api/resources/accounting/resources/selectiveSync/client/Client.js +3 -3
  32. package/api/resources/accounting/resources/syncStatus/client/Client.js +1 -1
  33. package/api/resources/accounting/resources/taxRates/client/Client.js +2 -2
  34. package/api/resources/accounting/resources/trackingCategories/client/Client.js +2 -2
  35. package/api/resources/accounting/resources/transactions/client/Client.js +2 -2
  36. package/api/resources/accounting/resources/vendorCredits/client/Client.js +2 -2
  37. package/api/resources/accounting/resources/webhookReceivers/client/Client.js +2 -2
  38. package/api/resources/accounting/types/CreditNote.d.ts +2 -0
  39. package/api/resources/accounting/types/CreditNoteAppliedPaymentsItem.d.ts +5 -0
  40. package/api/resources/accounting/types/CreditNoteAppliedPaymentsItem.js +5 -0
  41. package/api/resources/accounting/types/CreditNoteLineItem.d.ts +2 -0
  42. package/api/resources/accounting/types/CreditNotesListRequestExpand.d.ts +65 -1
  43. package/api/resources/accounting/types/CreditNotesListRequestExpand.js +64 -0
  44. package/api/resources/accounting/types/CreditNotesRetrieveRequestExpand.d.ts +65 -1
  45. package/api/resources/accounting/types/CreditNotesRetrieveRequestExpand.js +64 -0
  46. package/api/resources/accounting/types/Invoice.d.ts +2 -0
  47. package/api/resources/accounting/types/InvoiceAppliedPaymentsItem.d.ts +5 -0
  48. package/api/resources/accounting/types/InvoiceAppliedPaymentsItem.js +5 -0
  49. package/api/resources/accounting/types/InvoicesListRequestExpand.d.ts +129 -1
  50. package/api/resources/accounting/types/InvoicesListRequestExpand.js +128 -0
  51. package/api/resources/accounting/types/InvoicesRetrieveRequestExpand.d.ts +129 -1
  52. package/api/resources/accounting/types/InvoicesRetrieveRequestExpand.js +128 -0
  53. package/api/resources/accounting/types/JournalEntriesListRequestExpand.d.ts +33 -1
  54. package/api/resources/accounting/types/JournalEntriesListRequestExpand.js +32 -0
  55. package/api/resources/accounting/types/JournalEntriesRetrieveRequestExpand.d.ts +33 -1
  56. package/api/resources/accounting/types/JournalEntriesRetrieveRequestExpand.js +32 -0
  57. package/api/resources/accounting/types/JournalEntry.d.ts +2 -0
  58. package/api/resources/accounting/types/JournalEntryAppliedPaymentsItem.d.ts +5 -0
  59. package/api/resources/accounting/types/JournalEntryAppliedPaymentsItem.js +5 -0
  60. package/api/resources/accounting/types/JournalLine.d.ts +2 -0
  61. package/api/resources/accounting/types/JournalLineRequest.d.ts +2 -0
  62. package/api/resources/accounting/types/Payment.d.ts +1 -0
  63. package/api/resources/accounting/types/PaymentAppliedToLinesItem.d.ts +5 -0
  64. package/api/resources/accounting/types/PaymentAppliedToLinesItem.js +5 -0
  65. package/api/resources/accounting/types/PaymentLineItem.d.ts +28 -0
  66. package/api/resources/accounting/types/PaymentLineItem.js +5 -0
  67. package/api/resources/accounting/types/PaymentLineItemRequest.d.ts +26 -0
  68. package/api/resources/accounting/types/PaymentLineItemRequest.js +5 -0
  69. package/api/resources/accounting/types/PaymentRequest.d.ts +1 -0
  70. package/api/resources/accounting/types/PaymentRequestAppliedToLinesItem.d.ts +5 -0
  71. package/api/resources/accounting/types/PaymentRequestAppliedToLinesItem.js +5 -0
  72. package/api/resources/accounting/types/PaymentsListRequestExpand.d.ts +33 -1
  73. package/api/resources/accounting/types/PaymentsListRequestExpand.js +32 -0
  74. package/api/resources/accounting/types/PaymentsRetrieveRequestExpand.d.ts +33 -1
  75. package/api/resources/accounting/types/PaymentsRetrieveRequestExpand.js +32 -0
  76. package/api/resources/accounting/types/VendorCreditLine.d.ts +2 -0
  77. package/api/resources/accounting/types/index.d.ts +7 -0
  78. package/api/resources/accounting/types/index.js +7 -0
  79. package/api/resources/ats/resources/accountDetails/client/Client.js +1 -1
  80. package/api/resources/ats/resources/accountToken/client/Client.js +1 -1
  81. package/api/resources/ats/resources/activities/client/Client.js +4 -4
  82. package/api/resources/ats/resources/applications/client/Client.js +5 -5
  83. package/api/resources/ats/resources/asyncPassthrough/client/Client.js +2 -2
  84. package/api/resources/ats/resources/attachments/client/Client.js +4 -4
  85. package/api/resources/ats/resources/auditTrail/client/Client.js +1 -1
  86. package/api/resources/ats/resources/availableActions/client/Client.js +1 -1
  87. package/api/resources/ats/resources/candidates/client/Client.js +7 -7
  88. package/api/resources/ats/resources/deleteAccount/client/Client.js +1 -1
  89. package/api/resources/ats/resources/departments/client/Client.js +2 -2
  90. package/api/resources/ats/resources/eeocs/client/Client.js +2 -2
  91. package/api/resources/ats/resources/forceResync/client/Client.js +1 -1
  92. package/api/resources/ats/resources/generateKey/client/Client.js +1 -1
  93. package/api/resources/ats/resources/interviews/client/Client.js +4 -4
  94. package/api/resources/ats/resources/issues/client/Client.js +2 -2
  95. package/api/resources/ats/resources/jobInterviewStages/client/Client.js +2 -2
  96. package/api/resources/ats/resources/jobs/client/Client.js +3 -3
  97. package/api/resources/ats/resources/linkToken/client/Client.js +1 -1
  98. package/api/resources/ats/resources/linkedAccounts/client/Client.js +1 -1
  99. package/api/resources/ats/resources/offers/client/Client.js +2 -2
  100. package/api/resources/ats/resources/offices/client/Client.js +2 -2
  101. package/api/resources/ats/resources/passthrough/client/Client.js +1 -1
  102. package/api/resources/ats/resources/regenerateKey/client/Client.js +1 -1
  103. package/api/resources/ats/resources/rejectReasons/client/Client.js +2 -2
  104. package/api/resources/ats/resources/scorecards/client/Client.js +2 -2
  105. package/api/resources/ats/resources/selectiveSync/client/Client.js +3 -3
  106. package/api/resources/ats/resources/syncStatus/client/Client.js +1 -1
  107. package/api/resources/ats/resources/tags/client/Client.js +1 -1
  108. package/api/resources/ats/resources/users/client/Client.js +2 -2
  109. package/api/resources/ats/resources/webhookReceivers/client/Client.js +2 -2
  110. package/api/resources/crm/resources/accountDetails/client/Client.js +1 -1
  111. package/api/resources/crm/resources/accountToken/client/Client.js +1 -1
  112. package/api/resources/crm/resources/accounts/client/Client.js +7 -7
  113. package/api/resources/crm/resources/associationTypes/client/Client.js +4 -4
  114. package/api/resources/crm/resources/associations/client/Client.js +2 -2
  115. package/api/resources/crm/resources/asyncPassthrough/client/Client.js +2 -2
  116. package/api/resources/crm/resources/auditTrail/client/Client.js +1 -1
  117. package/api/resources/crm/resources/availableActions/client/Client.js +1 -1
  118. package/api/resources/crm/resources/contacts/client/Client.js +8 -8
  119. package/api/resources/crm/resources/customObjectClasses/client/Client.js +2 -2
  120. package/api/resources/crm/resources/customObjects/client/Client.js +5 -5
  121. package/api/resources/crm/resources/deleteAccount/client/Client.js +1 -1
  122. package/api/resources/crm/resources/engagementTypes/client/Client.js +3 -3
  123. package/api/resources/crm/resources/engagements/client/Client.js +7 -7
  124. package/api/resources/crm/resources/forceResync/client/Client.js +1 -1
  125. package/api/resources/crm/resources/generateKey/client/Client.js +1 -1
  126. package/api/resources/crm/resources/issues/client/Client.js +2 -2
  127. package/api/resources/crm/resources/leads/client/Client.js +5 -5
  128. package/api/resources/crm/resources/linkToken/client/Client.js +1 -1
  129. package/api/resources/crm/resources/linkedAccounts/client/Client.js +1 -1
  130. package/api/resources/crm/resources/notes/client/Client.js +5 -5
  131. package/api/resources/crm/resources/opportunities/client/Client.js +7 -7
  132. package/api/resources/crm/resources/passthrough/client/Client.js +1 -1
  133. package/api/resources/crm/resources/regenerateKey/client/Client.js +1 -1
  134. package/api/resources/crm/resources/selectiveSync/client/Client.js +3 -3
  135. package/api/resources/crm/resources/stages/client/Client.js +3 -3
  136. package/api/resources/crm/resources/syncStatus/client/Client.js +1 -1
  137. package/api/resources/crm/resources/tasks/client/Client.js +7 -7
  138. package/api/resources/crm/resources/users/client/Client.js +4 -4
  139. package/api/resources/crm/resources/webhookReceivers/client/Client.js +2 -2
  140. package/api/resources/filestorage/resources/accountDetails/client/Client.js +1 -1
  141. package/api/resources/filestorage/resources/accountToken/client/Client.js +1 -1
  142. package/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +2 -2
  143. package/api/resources/filestorage/resources/auditTrail/client/Client.js +1 -1
  144. package/api/resources/filestorage/resources/availableActions/client/Client.js +1 -1
  145. package/api/resources/filestorage/resources/deleteAccount/client/Client.js +1 -1
  146. package/api/resources/filestorage/resources/drives/client/Client.js +2 -2
  147. package/api/resources/filestorage/resources/files/client/Client.js +5 -5
  148. package/api/resources/filestorage/resources/folders/client/Client.js +4 -4
  149. package/api/resources/filestorage/resources/forceResync/client/Client.js +1 -1
  150. package/api/resources/filestorage/resources/generateKey/client/Client.js +1 -1
  151. package/api/resources/filestorage/resources/groups/client/Client.js +2 -2
  152. package/api/resources/filestorage/resources/issues/client/Client.js +2 -2
  153. package/api/resources/filestorage/resources/linkToken/client/Client.js +1 -1
  154. package/api/resources/filestorage/resources/linkedAccounts/client/Client.js +1 -1
  155. package/api/resources/filestorage/resources/passthrough/client/Client.js +1 -1
  156. package/api/resources/filestorage/resources/regenerateKey/client/Client.js +1 -1
  157. package/api/resources/filestorage/resources/selectiveSync/client/Client.js +3 -3
  158. package/api/resources/filestorage/resources/syncStatus/client/Client.js +1 -1
  159. package/api/resources/filestorage/resources/users/client/Client.js +2 -2
  160. package/api/resources/filestorage/resources/webhookReceivers/client/Client.js +2 -2
  161. package/api/resources/hris/resources/accountDetails/client/Client.js +1 -1
  162. package/api/resources/hris/resources/accountToken/client/Client.js +1 -1
  163. package/api/resources/hris/resources/asyncPassthrough/client/Client.js +2 -2
  164. package/api/resources/hris/resources/auditTrail/client/Client.js +1 -1
  165. package/api/resources/hris/resources/availableActions/client/Client.js +1 -1
  166. package/api/resources/hris/resources/bankInfo/client/Client.js +2 -2
  167. package/api/resources/hris/resources/benefits/client/Client.js +2 -2
  168. package/api/resources/hris/resources/companies/client/Client.js +2 -2
  169. package/api/resources/hris/resources/deleteAccount/client/Client.js +1 -1
  170. package/api/resources/hris/resources/dependents/client/Client.js +2 -2
  171. package/api/resources/hris/resources/employeePayrollRuns/client/Client.js +2 -2
  172. package/api/resources/hris/resources/employees/client/Client.js +5 -5
  173. package/api/resources/hris/resources/employerBenefits/client/Client.js +2 -2
  174. package/api/resources/hris/resources/employments/client/Client.js +2 -2
  175. package/api/resources/hris/resources/forceResync/client/Client.js +1 -1
  176. package/api/resources/hris/resources/generateKey/client/Client.js +1 -1
  177. package/api/resources/hris/resources/groups/client/Client.js +2 -2
  178. package/api/resources/hris/resources/issues/client/Client.js +2 -2
  179. package/api/resources/hris/resources/linkToken/client/Client.js +1 -1
  180. package/api/resources/hris/resources/linkedAccounts/client/Client.js +1 -1
  181. package/api/resources/hris/resources/locations/client/Client.js +2 -2
  182. package/api/resources/hris/resources/passthrough/client/Client.js +1 -1
  183. package/api/resources/hris/resources/payGroups/client/Client.js +2 -2
  184. package/api/resources/hris/resources/payrollRuns/client/Client.js +2 -2
  185. package/api/resources/hris/resources/regenerateKey/client/Client.js +1 -1
  186. package/api/resources/hris/resources/selectiveSync/client/Client.js +3 -3
  187. package/api/resources/hris/resources/syncStatus/client/Client.js +1 -1
  188. package/api/resources/hris/resources/teams/client/Client.js +2 -2
  189. package/api/resources/hris/resources/timeOff/client/Client.js +4 -4
  190. package/api/resources/hris/resources/timeOffBalances/client/Client.js +2 -2
  191. package/api/resources/hris/resources/timesheetEntries/client/Client.js +4 -4
  192. package/api/resources/hris/resources/webhookReceivers/client/Client.js +2 -2
  193. package/api/resources/ticketing/resources/accountDetails/client/Client.js +1 -1
  194. package/api/resources/ticketing/resources/accountToken/client/Client.js +1 -1
  195. package/api/resources/ticketing/resources/accounts/client/Client.js +2 -2
  196. package/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +2 -2
  197. package/api/resources/ticketing/resources/attachments/client/Client.js +5 -5
  198. package/api/resources/ticketing/resources/auditTrail/client/Client.js +1 -1
  199. package/api/resources/ticketing/resources/availableActions/client/Client.js +1 -1
  200. package/api/resources/ticketing/resources/collections/client/Client.js +3 -3
  201. package/api/resources/ticketing/resources/comments/client/Client.js +4 -4
  202. package/api/resources/ticketing/resources/contacts/client/Client.js +2 -2
  203. package/api/resources/ticketing/resources/deleteAccount/client/Client.js +1 -1
  204. package/api/resources/ticketing/resources/forceResync/client/Client.js +1 -1
  205. package/api/resources/ticketing/resources/generateKey/client/Client.js +1 -1
  206. package/api/resources/ticketing/resources/issues/client/Client.js +2 -2
  207. package/api/resources/ticketing/resources/linkToken/client/Client.js +1 -1
  208. package/api/resources/ticketing/resources/linkedAccounts/client/Client.js +1 -1
  209. package/api/resources/ticketing/resources/passthrough/client/Client.js +1 -1
  210. package/api/resources/ticketing/resources/projects/client/Client.js +3 -3
  211. package/api/resources/ticketing/resources/regenerateKey/client/Client.js +1 -1
  212. package/api/resources/ticketing/resources/selectiveSync/client/Client.js +3 -3
  213. package/api/resources/ticketing/resources/syncStatus/client/Client.js +1 -1
  214. package/api/resources/ticketing/resources/tags/client/Client.js +2 -2
  215. package/api/resources/ticketing/resources/teams/client/Client.js +2 -2
  216. package/api/resources/ticketing/resources/tickets/client/Client.js +8 -8
  217. package/api/resources/ticketing/resources/users/client/Client.js +2 -2
  218. package/api/resources/ticketing/resources/webhookReceivers/client/Client.js +2 -2
  219. package/dist/api/resources/accounting/resources/accountDetails/client/Client.js +1 -1
  220. package/dist/api/resources/accounting/resources/accountToken/client/Client.js +1 -1
  221. package/dist/api/resources/accounting/resources/accountingPeriods/client/Client.js +2 -2
  222. package/dist/api/resources/accounting/resources/accounts/client/Client.js +4 -4
  223. package/dist/api/resources/accounting/resources/addresses/client/Client.js +1 -1
  224. package/dist/api/resources/accounting/resources/asyncPassthrough/client/Client.js +2 -2
  225. package/dist/api/resources/accounting/resources/attachments/client/Client.js +4 -4
  226. package/dist/api/resources/accounting/resources/auditTrail/client/Client.js +1 -1
  227. package/dist/api/resources/accounting/resources/availableActions/client/Client.js +1 -1
  228. package/dist/api/resources/accounting/resources/balanceSheets/client/Client.js +2 -2
  229. package/dist/api/resources/accounting/resources/cashFlowStatements/client/Client.js +2 -2
  230. package/dist/api/resources/accounting/resources/companyInfo/client/Client.js +2 -2
  231. package/dist/api/resources/accounting/resources/contacts/client/Client.js +4 -4
  232. package/dist/api/resources/accounting/resources/creditNotes/client/Client.js +2 -2
  233. package/dist/api/resources/accounting/resources/deleteAccount/client/Client.js +1 -1
  234. package/dist/api/resources/accounting/resources/expenses/client/Client.js +4 -4
  235. package/dist/api/resources/accounting/resources/forceResync/client/Client.js +1 -1
  236. package/dist/api/resources/accounting/resources/generateKey/client/Client.js +1 -1
  237. package/dist/api/resources/accounting/resources/incomeStatements/client/Client.js +2 -2
  238. package/dist/api/resources/accounting/resources/invoices/client/Client.js +4 -4
  239. package/dist/api/resources/accounting/resources/issues/client/Client.js +2 -2
  240. package/dist/api/resources/accounting/resources/items/client/Client.js +2 -2
  241. package/dist/api/resources/accounting/resources/journalEntries/client/Client.js +4 -4
  242. package/dist/api/resources/accounting/resources/linkToken/client/Client.js +1 -1
  243. package/dist/api/resources/accounting/resources/linkedAccounts/client/Client.js +1 -1
  244. package/dist/api/resources/accounting/resources/passthrough/client/Client.js +1 -1
  245. package/dist/api/resources/accounting/resources/payments/client/Client.js +4 -4
  246. package/dist/api/resources/accounting/resources/phoneNumbers/client/Client.js +1 -1
  247. package/dist/api/resources/accounting/resources/purchaseOrders/client/Client.js +4 -4
  248. package/dist/api/resources/accounting/resources/regenerateKey/client/Client.js +1 -1
  249. package/dist/api/resources/accounting/resources/selectiveSync/client/Client.js +3 -3
  250. package/dist/api/resources/accounting/resources/syncStatus/client/Client.js +1 -1
  251. package/dist/api/resources/accounting/resources/taxRates/client/Client.js +2 -2
  252. package/dist/api/resources/accounting/resources/trackingCategories/client/Client.js +2 -2
  253. package/dist/api/resources/accounting/resources/transactions/client/Client.js +2 -2
  254. package/dist/api/resources/accounting/resources/vendorCredits/client/Client.js +2 -2
  255. package/dist/api/resources/accounting/resources/webhookReceivers/client/Client.js +2 -2
  256. package/dist/api/resources/accounting/types/CreditNote.d.ts +2 -0
  257. package/dist/api/resources/accounting/types/CreditNoteAppliedPaymentsItem.d.ts +5 -0
  258. package/dist/api/resources/accounting/types/CreditNoteAppliedPaymentsItem.js +5 -0
  259. package/dist/api/resources/accounting/types/CreditNoteLineItem.d.ts +2 -0
  260. package/dist/api/resources/accounting/types/CreditNotesListRequestExpand.d.ts +65 -1
  261. package/dist/api/resources/accounting/types/CreditNotesListRequestExpand.js +64 -0
  262. package/dist/api/resources/accounting/types/CreditNotesRetrieveRequestExpand.d.ts +65 -1
  263. package/dist/api/resources/accounting/types/CreditNotesRetrieveRequestExpand.js +64 -0
  264. package/dist/api/resources/accounting/types/Invoice.d.ts +2 -0
  265. package/dist/api/resources/accounting/types/InvoiceAppliedPaymentsItem.d.ts +5 -0
  266. package/dist/api/resources/accounting/types/InvoiceAppliedPaymentsItem.js +5 -0
  267. package/dist/api/resources/accounting/types/InvoicesListRequestExpand.d.ts +129 -1
  268. package/dist/api/resources/accounting/types/InvoicesListRequestExpand.js +128 -0
  269. package/dist/api/resources/accounting/types/InvoicesRetrieveRequestExpand.d.ts +129 -1
  270. package/dist/api/resources/accounting/types/InvoicesRetrieveRequestExpand.js +128 -0
  271. package/dist/api/resources/accounting/types/JournalEntriesListRequestExpand.d.ts +33 -1
  272. package/dist/api/resources/accounting/types/JournalEntriesListRequestExpand.js +32 -0
  273. package/dist/api/resources/accounting/types/JournalEntriesRetrieveRequestExpand.d.ts +33 -1
  274. package/dist/api/resources/accounting/types/JournalEntriesRetrieveRequestExpand.js +32 -0
  275. package/dist/api/resources/accounting/types/JournalEntry.d.ts +2 -0
  276. package/dist/api/resources/accounting/types/JournalEntryAppliedPaymentsItem.d.ts +5 -0
  277. package/dist/api/resources/accounting/types/JournalEntryAppliedPaymentsItem.js +5 -0
  278. package/dist/api/resources/accounting/types/JournalLine.d.ts +2 -0
  279. package/dist/api/resources/accounting/types/JournalLineRequest.d.ts +2 -0
  280. package/dist/api/resources/accounting/types/Payment.d.ts +1 -0
  281. package/dist/api/resources/accounting/types/PaymentAppliedToLinesItem.d.ts +5 -0
  282. package/dist/api/resources/accounting/types/PaymentAppliedToLinesItem.js +5 -0
  283. package/dist/api/resources/accounting/types/PaymentLineItem.d.ts +28 -0
  284. package/dist/api/resources/accounting/types/PaymentLineItem.js +5 -0
  285. package/dist/api/resources/accounting/types/PaymentLineItemRequest.d.ts +26 -0
  286. package/dist/api/resources/accounting/types/PaymentLineItemRequest.js +5 -0
  287. package/dist/api/resources/accounting/types/PaymentRequest.d.ts +1 -0
  288. package/dist/api/resources/accounting/types/PaymentRequestAppliedToLinesItem.d.ts +5 -0
  289. package/dist/api/resources/accounting/types/PaymentRequestAppliedToLinesItem.js +5 -0
  290. package/dist/api/resources/accounting/types/PaymentsListRequestExpand.d.ts +33 -1
  291. package/dist/api/resources/accounting/types/PaymentsListRequestExpand.js +32 -0
  292. package/dist/api/resources/accounting/types/PaymentsRetrieveRequestExpand.d.ts +33 -1
  293. package/dist/api/resources/accounting/types/PaymentsRetrieveRequestExpand.js +32 -0
  294. package/dist/api/resources/accounting/types/VendorCreditLine.d.ts +2 -0
  295. package/dist/api/resources/accounting/types/index.d.ts +7 -0
  296. package/dist/api/resources/accounting/types/index.js +7 -0
  297. package/dist/api/resources/ats/resources/accountDetails/client/Client.js +1 -1
  298. package/dist/api/resources/ats/resources/accountToken/client/Client.js +1 -1
  299. package/dist/api/resources/ats/resources/activities/client/Client.js +4 -4
  300. package/dist/api/resources/ats/resources/applications/client/Client.js +5 -5
  301. package/dist/api/resources/ats/resources/asyncPassthrough/client/Client.js +2 -2
  302. package/dist/api/resources/ats/resources/attachments/client/Client.js +4 -4
  303. package/dist/api/resources/ats/resources/auditTrail/client/Client.js +1 -1
  304. package/dist/api/resources/ats/resources/availableActions/client/Client.js +1 -1
  305. package/dist/api/resources/ats/resources/candidates/client/Client.js +7 -7
  306. package/dist/api/resources/ats/resources/deleteAccount/client/Client.js +1 -1
  307. package/dist/api/resources/ats/resources/departments/client/Client.js +2 -2
  308. package/dist/api/resources/ats/resources/eeocs/client/Client.js +2 -2
  309. package/dist/api/resources/ats/resources/forceResync/client/Client.js +1 -1
  310. package/dist/api/resources/ats/resources/generateKey/client/Client.js +1 -1
  311. package/dist/api/resources/ats/resources/interviews/client/Client.js +4 -4
  312. package/dist/api/resources/ats/resources/issues/client/Client.js +2 -2
  313. package/dist/api/resources/ats/resources/jobInterviewStages/client/Client.js +2 -2
  314. package/dist/api/resources/ats/resources/jobs/client/Client.js +3 -3
  315. package/dist/api/resources/ats/resources/linkToken/client/Client.js +1 -1
  316. package/dist/api/resources/ats/resources/linkedAccounts/client/Client.js +1 -1
  317. package/dist/api/resources/ats/resources/offers/client/Client.js +2 -2
  318. package/dist/api/resources/ats/resources/offices/client/Client.js +2 -2
  319. package/dist/api/resources/ats/resources/passthrough/client/Client.js +1 -1
  320. package/dist/api/resources/ats/resources/regenerateKey/client/Client.js +1 -1
  321. package/dist/api/resources/ats/resources/rejectReasons/client/Client.js +2 -2
  322. package/dist/api/resources/ats/resources/scorecards/client/Client.js +2 -2
  323. package/dist/api/resources/ats/resources/selectiveSync/client/Client.js +3 -3
  324. package/dist/api/resources/ats/resources/syncStatus/client/Client.js +1 -1
  325. package/dist/api/resources/ats/resources/tags/client/Client.js +1 -1
  326. package/dist/api/resources/ats/resources/users/client/Client.js +2 -2
  327. package/dist/api/resources/ats/resources/webhookReceivers/client/Client.js +2 -2
  328. package/dist/api/resources/crm/resources/accountDetails/client/Client.js +1 -1
  329. package/dist/api/resources/crm/resources/accountToken/client/Client.js +1 -1
  330. package/dist/api/resources/crm/resources/accounts/client/Client.js +7 -7
  331. package/dist/api/resources/crm/resources/associationTypes/client/Client.js +4 -4
  332. package/dist/api/resources/crm/resources/associations/client/Client.js +2 -2
  333. package/dist/api/resources/crm/resources/asyncPassthrough/client/Client.js +2 -2
  334. package/dist/api/resources/crm/resources/auditTrail/client/Client.js +1 -1
  335. package/dist/api/resources/crm/resources/availableActions/client/Client.js +1 -1
  336. package/dist/api/resources/crm/resources/contacts/client/Client.js +8 -8
  337. package/dist/api/resources/crm/resources/customObjectClasses/client/Client.js +2 -2
  338. package/dist/api/resources/crm/resources/customObjects/client/Client.js +5 -5
  339. package/dist/api/resources/crm/resources/deleteAccount/client/Client.js +1 -1
  340. package/dist/api/resources/crm/resources/engagementTypes/client/Client.js +3 -3
  341. package/dist/api/resources/crm/resources/engagements/client/Client.js +7 -7
  342. package/dist/api/resources/crm/resources/forceResync/client/Client.js +1 -1
  343. package/dist/api/resources/crm/resources/generateKey/client/Client.js +1 -1
  344. package/dist/api/resources/crm/resources/issues/client/Client.js +2 -2
  345. package/dist/api/resources/crm/resources/leads/client/Client.js +5 -5
  346. package/dist/api/resources/crm/resources/linkToken/client/Client.js +1 -1
  347. package/dist/api/resources/crm/resources/linkedAccounts/client/Client.js +1 -1
  348. package/dist/api/resources/crm/resources/notes/client/Client.js +5 -5
  349. package/dist/api/resources/crm/resources/opportunities/client/Client.js +7 -7
  350. package/dist/api/resources/crm/resources/passthrough/client/Client.js +1 -1
  351. package/dist/api/resources/crm/resources/regenerateKey/client/Client.js +1 -1
  352. package/dist/api/resources/crm/resources/selectiveSync/client/Client.js +3 -3
  353. package/dist/api/resources/crm/resources/stages/client/Client.js +3 -3
  354. package/dist/api/resources/crm/resources/syncStatus/client/Client.js +1 -1
  355. package/dist/api/resources/crm/resources/tasks/client/Client.js +7 -7
  356. package/dist/api/resources/crm/resources/users/client/Client.js +4 -4
  357. package/dist/api/resources/crm/resources/webhookReceivers/client/Client.js +2 -2
  358. package/dist/api/resources/filestorage/resources/accountDetails/client/Client.js +1 -1
  359. package/dist/api/resources/filestorage/resources/accountToken/client/Client.js +1 -1
  360. package/dist/api/resources/filestorage/resources/asyncPassthrough/client/Client.js +2 -2
  361. package/dist/api/resources/filestorage/resources/auditTrail/client/Client.js +1 -1
  362. package/dist/api/resources/filestorage/resources/availableActions/client/Client.js +1 -1
  363. package/dist/api/resources/filestorage/resources/deleteAccount/client/Client.js +1 -1
  364. package/dist/api/resources/filestorage/resources/drives/client/Client.js +2 -2
  365. package/dist/api/resources/filestorage/resources/files/client/Client.js +5 -5
  366. package/dist/api/resources/filestorage/resources/folders/client/Client.js +4 -4
  367. package/dist/api/resources/filestorage/resources/forceResync/client/Client.js +1 -1
  368. package/dist/api/resources/filestorage/resources/generateKey/client/Client.js +1 -1
  369. package/dist/api/resources/filestorage/resources/groups/client/Client.js +2 -2
  370. package/dist/api/resources/filestorage/resources/issues/client/Client.js +2 -2
  371. package/dist/api/resources/filestorage/resources/linkToken/client/Client.js +1 -1
  372. package/dist/api/resources/filestorage/resources/linkedAccounts/client/Client.js +1 -1
  373. package/dist/api/resources/filestorage/resources/passthrough/client/Client.js +1 -1
  374. package/dist/api/resources/filestorage/resources/regenerateKey/client/Client.js +1 -1
  375. package/dist/api/resources/filestorage/resources/selectiveSync/client/Client.js +3 -3
  376. package/dist/api/resources/filestorage/resources/syncStatus/client/Client.js +1 -1
  377. package/dist/api/resources/filestorage/resources/users/client/Client.js +2 -2
  378. package/dist/api/resources/filestorage/resources/webhookReceivers/client/Client.js +2 -2
  379. package/dist/api/resources/hris/resources/accountDetails/client/Client.js +1 -1
  380. package/dist/api/resources/hris/resources/accountToken/client/Client.js +1 -1
  381. package/dist/api/resources/hris/resources/asyncPassthrough/client/Client.js +2 -2
  382. package/dist/api/resources/hris/resources/auditTrail/client/Client.js +1 -1
  383. package/dist/api/resources/hris/resources/availableActions/client/Client.js +1 -1
  384. package/dist/api/resources/hris/resources/bankInfo/client/Client.js +2 -2
  385. package/dist/api/resources/hris/resources/benefits/client/Client.js +2 -2
  386. package/dist/api/resources/hris/resources/companies/client/Client.js +2 -2
  387. package/dist/api/resources/hris/resources/deleteAccount/client/Client.js +1 -1
  388. package/dist/api/resources/hris/resources/dependents/client/Client.js +2 -2
  389. package/dist/api/resources/hris/resources/employeePayrollRuns/client/Client.js +2 -2
  390. package/dist/api/resources/hris/resources/employees/client/Client.js +5 -5
  391. package/dist/api/resources/hris/resources/employerBenefits/client/Client.js +2 -2
  392. package/dist/api/resources/hris/resources/employments/client/Client.js +2 -2
  393. package/dist/api/resources/hris/resources/forceResync/client/Client.js +1 -1
  394. package/dist/api/resources/hris/resources/generateKey/client/Client.js +1 -1
  395. package/dist/api/resources/hris/resources/groups/client/Client.js +2 -2
  396. package/dist/api/resources/hris/resources/issues/client/Client.js +2 -2
  397. package/dist/api/resources/hris/resources/linkToken/client/Client.js +1 -1
  398. package/dist/api/resources/hris/resources/linkedAccounts/client/Client.js +1 -1
  399. package/dist/api/resources/hris/resources/locations/client/Client.js +2 -2
  400. package/dist/api/resources/hris/resources/passthrough/client/Client.js +1 -1
  401. package/dist/api/resources/hris/resources/payGroups/client/Client.js +2 -2
  402. package/dist/api/resources/hris/resources/payrollRuns/client/Client.js +2 -2
  403. package/dist/api/resources/hris/resources/regenerateKey/client/Client.js +1 -1
  404. package/dist/api/resources/hris/resources/selectiveSync/client/Client.js +3 -3
  405. package/dist/api/resources/hris/resources/syncStatus/client/Client.js +1 -1
  406. package/dist/api/resources/hris/resources/teams/client/Client.js +2 -2
  407. package/dist/api/resources/hris/resources/timeOff/client/Client.js +4 -4
  408. package/dist/api/resources/hris/resources/timeOffBalances/client/Client.js +2 -2
  409. package/dist/api/resources/hris/resources/timesheetEntries/client/Client.js +4 -4
  410. package/dist/api/resources/hris/resources/webhookReceivers/client/Client.js +2 -2
  411. package/dist/api/resources/ticketing/resources/accountDetails/client/Client.js +1 -1
  412. package/dist/api/resources/ticketing/resources/accountToken/client/Client.js +1 -1
  413. package/dist/api/resources/ticketing/resources/accounts/client/Client.js +2 -2
  414. package/dist/api/resources/ticketing/resources/asyncPassthrough/client/Client.js +2 -2
  415. package/dist/api/resources/ticketing/resources/attachments/client/Client.js +5 -5
  416. package/dist/api/resources/ticketing/resources/auditTrail/client/Client.js +1 -1
  417. package/dist/api/resources/ticketing/resources/availableActions/client/Client.js +1 -1
  418. package/dist/api/resources/ticketing/resources/collections/client/Client.js +3 -3
  419. package/dist/api/resources/ticketing/resources/comments/client/Client.js +4 -4
  420. package/dist/api/resources/ticketing/resources/contacts/client/Client.js +2 -2
  421. package/dist/api/resources/ticketing/resources/deleteAccount/client/Client.js +1 -1
  422. package/dist/api/resources/ticketing/resources/forceResync/client/Client.js +1 -1
  423. package/dist/api/resources/ticketing/resources/generateKey/client/Client.js +1 -1
  424. package/dist/api/resources/ticketing/resources/issues/client/Client.js +2 -2
  425. package/dist/api/resources/ticketing/resources/linkToken/client/Client.js +1 -1
  426. package/dist/api/resources/ticketing/resources/linkedAccounts/client/Client.js +1 -1
  427. package/dist/api/resources/ticketing/resources/passthrough/client/Client.js +1 -1
  428. package/dist/api/resources/ticketing/resources/projects/client/Client.js +3 -3
  429. package/dist/api/resources/ticketing/resources/regenerateKey/client/Client.js +1 -1
  430. package/dist/api/resources/ticketing/resources/selectiveSync/client/Client.js +3 -3
  431. package/dist/api/resources/ticketing/resources/syncStatus/client/Client.js +1 -1
  432. package/dist/api/resources/ticketing/resources/tags/client/Client.js +2 -2
  433. package/dist/api/resources/ticketing/resources/teams/client/Client.js +2 -2
  434. package/dist/api/resources/ticketing/resources/tickets/client/Client.js +8 -8
  435. package/dist/api/resources/ticketing/resources/users/client/Client.js +2 -2
  436. package/dist/api/resources/ticketing/resources/webhookReceivers/client/Client.js +2 -2
  437. package/dist/serialization/resources/accounting/types/CreditNote.d.ts +1 -0
  438. package/dist/serialization/resources/accounting/types/CreditNote.js +5 -0
  439. package/dist/serialization/resources/accounting/types/CreditNoteAppliedPaymentsItem.d.ts +10 -0
  440. package/dist/serialization/resources/accounting/types/CreditNoteAppliedPaymentsItem.js +43 -0
  441. package/dist/serialization/resources/accounting/types/CreditNoteLineItem.d.ts +1 -0
  442. package/dist/serialization/resources/accounting/types/CreditNoteLineItem.js +1 -0
  443. package/dist/serialization/resources/accounting/types/CreditNotesListRequestExpand.d.ts +1 -1
  444. package/dist/serialization/resources/accounting/types/CreditNotesListRequestExpand.js +64 -0
  445. package/dist/serialization/resources/accounting/types/CreditNotesRetrieveRequestExpand.d.ts +1 -1
  446. package/dist/serialization/resources/accounting/types/CreditNotesRetrieveRequestExpand.js +64 -0
  447. package/dist/serialization/resources/accounting/types/Invoice.d.ts +1 -0
  448. package/dist/serialization/resources/accounting/types/Invoice.js +5 -0
  449. package/dist/serialization/resources/accounting/types/InvoiceAppliedPaymentsItem.d.ts +10 -0
  450. package/dist/serialization/resources/accounting/types/InvoiceAppliedPaymentsItem.js +43 -0
  451. package/dist/serialization/resources/accounting/types/InvoicesListRequestExpand.d.ts +1 -1
  452. package/dist/serialization/resources/accounting/types/InvoicesListRequestExpand.js +128 -0
  453. package/dist/serialization/resources/accounting/types/InvoicesRetrieveRequestExpand.d.ts +1 -1
  454. package/dist/serialization/resources/accounting/types/InvoicesRetrieveRequestExpand.js +128 -0
  455. package/dist/serialization/resources/accounting/types/JournalEntriesListRequestExpand.d.ts +1 -1
  456. package/dist/serialization/resources/accounting/types/JournalEntriesListRequestExpand.js +32 -0
  457. package/dist/serialization/resources/accounting/types/JournalEntriesRetrieveRequestExpand.d.ts +1 -1
  458. package/dist/serialization/resources/accounting/types/JournalEntriesRetrieveRequestExpand.js +32 -0
  459. package/dist/serialization/resources/accounting/types/JournalEntry.d.ts +1 -0
  460. package/dist/serialization/resources/accounting/types/JournalEntry.js +5 -0
  461. package/dist/serialization/resources/accounting/types/JournalEntryAppliedPaymentsItem.d.ts +10 -0
  462. package/dist/serialization/resources/accounting/types/JournalEntryAppliedPaymentsItem.js +43 -0
  463. package/dist/serialization/resources/accounting/types/JournalLine.d.ts +1 -0
  464. package/dist/serialization/resources/accounting/types/JournalLine.js +1 -0
  465. package/dist/serialization/resources/accounting/types/JournalLineRequest.d.ts +1 -0
  466. package/dist/serialization/resources/accounting/types/JournalLineRequest.js +1 -0
  467. package/dist/serialization/resources/accounting/types/Payment.d.ts +1 -0
  468. package/dist/serialization/resources/accounting/types/Payment.js +3 -0
  469. package/dist/serialization/resources/accounting/types/PaymentAppliedToLinesItem.d.ts +10 -0
  470. package/dist/serialization/resources/accounting/types/PaymentAppliedToLinesItem.js +43 -0
  471. package/dist/serialization/resources/accounting/types/PaymentLineItem.d.ts +19 -0
  472. package/dist/serialization/resources/accounting/types/PaymentLineItem.js +40 -0
  473. package/dist/serialization/resources/accounting/types/PaymentLineItemRequest.d.ts +18 -0
  474. package/dist/serialization/resources/accounting/types/PaymentLineItemRequest.js +39 -0
  475. package/dist/serialization/resources/accounting/types/PaymentRequest.d.ts +1 -0
  476. package/dist/serialization/resources/accounting/types/PaymentRequest.js +3 -0
  477. package/dist/serialization/resources/accounting/types/PaymentRequestAppliedToLinesItem.d.ts +10 -0
  478. package/dist/serialization/resources/accounting/types/PaymentRequestAppliedToLinesItem.js +43 -0
  479. package/dist/serialization/resources/accounting/types/PaymentsListRequestExpand.d.ts +1 -1
  480. package/dist/serialization/resources/accounting/types/PaymentsListRequestExpand.js +32 -0
  481. package/dist/serialization/resources/accounting/types/PaymentsRetrieveRequestExpand.d.ts +1 -1
  482. package/dist/serialization/resources/accounting/types/PaymentsRetrieveRequestExpand.js +32 -0
  483. package/dist/serialization/resources/accounting/types/VendorCreditLine.d.ts +1 -0
  484. package/dist/serialization/resources/accounting/types/VendorCreditLine.js +1 -0
  485. package/dist/serialization/resources/accounting/types/index.d.ts +7 -0
  486. package/dist/serialization/resources/accounting/types/index.js +7 -0
  487. package/package.json +1 -1
  488. package/serialization/resources/accounting/types/CreditNote.d.ts +1 -0
  489. package/serialization/resources/accounting/types/CreditNote.js +5 -0
  490. package/serialization/resources/accounting/types/CreditNoteAppliedPaymentsItem.d.ts +10 -0
  491. package/serialization/resources/accounting/types/CreditNoteAppliedPaymentsItem.js +43 -0
  492. package/serialization/resources/accounting/types/CreditNoteLineItem.d.ts +1 -0
  493. package/serialization/resources/accounting/types/CreditNoteLineItem.js +1 -0
  494. package/serialization/resources/accounting/types/CreditNotesListRequestExpand.d.ts +1 -1
  495. package/serialization/resources/accounting/types/CreditNotesListRequestExpand.js +64 -0
  496. package/serialization/resources/accounting/types/CreditNotesRetrieveRequestExpand.d.ts +1 -1
  497. package/serialization/resources/accounting/types/CreditNotesRetrieveRequestExpand.js +64 -0
  498. package/serialization/resources/accounting/types/Invoice.d.ts +1 -0
  499. package/serialization/resources/accounting/types/Invoice.js +5 -0
  500. package/serialization/resources/accounting/types/InvoiceAppliedPaymentsItem.d.ts +10 -0
  501. package/serialization/resources/accounting/types/InvoiceAppliedPaymentsItem.js +43 -0
  502. package/serialization/resources/accounting/types/InvoicesListRequestExpand.d.ts +1 -1
  503. package/serialization/resources/accounting/types/InvoicesListRequestExpand.js +128 -0
  504. package/serialization/resources/accounting/types/InvoicesRetrieveRequestExpand.d.ts +1 -1
  505. package/serialization/resources/accounting/types/InvoicesRetrieveRequestExpand.js +128 -0
  506. package/serialization/resources/accounting/types/JournalEntriesListRequestExpand.d.ts +1 -1
  507. package/serialization/resources/accounting/types/JournalEntriesListRequestExpand.js +32 -0
  508. package/serialization/resources/accounting/types/JournalEntriesRetrieveRequestExpand.d.ts +1 -1
  509. package/serialization/resources/accounting/types/JournalEntriesRetrieveRequestExpand.js +32 -0
  510. package/serialization/resources/accounting/types/JournalEntry.d.ts +1 -0
  511. package/serialization/resources/accounting/types/JournalEntry.js +5 -0
  512. package/serialization/resources/accounting/types/JournalEntryAppliedPaymentsItem.d.ts +10 -0
  513. package/serialization/resources/accounting/types/JournalEntryAppliedPaymentsItem.js +43 -0
  514. package/serialization/resources/accounting/types/JournalLine.d.ts +1 -0
  515. package/serialization/resources/accounting/types/JournalLine.js +1 -0
  516. package/serialization/resources/accounting/types/JournalLineRequest.d.ts +1 -0
  517. package/serialization/resources/accounting/types/JournalLineRequest.js +1 -0
  518. package/serialization/resources/accounting/types/Payment.d.ts +1 -0
  519. package/serialization/resources/accounting/types/Payment.js +3 -0
  520. package/serialization/resources/accounting/types/PaymentAppliedToLinesItem.d.ts +10 -0
  521. package/serialization/resources/accounting/types/PaymentAppliedToLinesItem.js +43 -0
  522. package/serialization/resources/accounting/types/PaymentLineItem.d.ts +19 -0
  523. package/serialization/resources/accounting/types/PaymentLineItem.js +40 -0
  524. package/serialization/resources/accounting/types/PaymentLineItemRequest.d.ts +18 -0
  525. package/serialization/resources/accounting/types/PaymentLineItemRequest.js +39 -0
  526. package/serialization/resources/accounting/types/PaymentRequest.d.ts +1 -0
  527. package/serialization/resources/accounting/types/PaymentRequest.js +3 -0
  528. package/serialization/resources/accounting/types/PaymentRequestAppliedToLinesItem.d.ts +10 -0
  529. package/serialization/resources/accounting/types/PaymentRequestAppliedToLinesItem.js +43 -0
  530. package/serialization/resources/accounting/types/PaymentsListRequestExpand.d.ts +1 -1
  531. package/serialization/resources/accounting/types/PaymentsListRequestExpand.js +32 -0
  532. package/serialization/resources/accounting/types/PaymentsRetrieveRequestExpand.d.ts +1 -1
  533. package/serialization/resources/accounting/types/PaymentsRetrieveRequestExpand.js +32 -0
  534. package/serialization/resources/accounting/types/VendorCreditLine.d.ts +1 -0
  535. package/serialization/resources/accounting/types/VendorCreditLine.js +1 -0
  536. package/serialization/resources/accounting/types/index.d.ts +7 -0
  537. package/serialization/resources/accounting/types/index.js +7 -0
@@ -6,14 +6,38 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.JournalEntriesRetrieveRequestExpand = void 0;
7
7
  exports.JournalEntriesRetrieveRequestExpand = {
8
8
  AccountingPeriod: "accounting_period",
9
+ AppliedPayments: "applied_payments",
10
+ AppliedPaymentsAccountingPeriod: "applied_payments,accounting_period",
11
+ AppliedPaymentsCompany: "applied_payments,company",
12
+ AppliedPaymentsCompanyAccountingPeriod: "applied_payments,company,accounting_period",
13
+ AppliedPaymentsTrackingCategories: "applied_payments,tracking_categories",
14
+ AppliedPaymentsTrackingCategoriesAccountingPeriod: "applied_payments,tracking_categories,accounting_period",
15
+ AppliedPaymentsTrackingCategoriesCompany: "applied_payments,tracking_categories,company",
16
+ AppliedPaymentsTrackingCategoriesCompanyAccountingPeriod: "applied_payments,tracking_categories,company,accounting_period",
9
17
  Company: "company",
10
18
  CompanyAccountingPeriod: "company,accounting_period",
11
19
  Lines: "lines",
12
20
  LinesAccountingPeriod: "lines,accounting_period",
21
+ LinesAppliedPayments: "lines,applied_payments",
22
+ LinesAppliedPaymentsAccountingPeriod: "lines,applied_payments,accounting_period",
23
+ LinesAppliedPaymentsCompany: "lines,applied_payments,company",
24
+ LinesAppliedPaymentsCompanyAccountingPeriod: "lines,applied_payments,company,accounting_period",
25
+ LinesAppliedPaymentsTrackingCategories: "lines,applied_payments,tracking_categories",
26
+ LinesAppliedPaymentsTrackingCategoriesAccountingPeriod: "lines,applied_payments,tracking_categories,accounting_period",
27
+ LinesAppliedPaymentsTrackingCategoriesCompany: "lines,applied_payments,tracking_categories,company",
28
+ LinesAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod: "lines,applied_payments,tracking_categories,company,accounting_period",
13
29
  LinesCompany: "lines,company",
14
30
  LinesCompanyAccountingPeriod: "lines,company,accounting_period",
15
31
  LinesPayments: "lines,payments",
16
32
  LinesPaymentsAccountingPeriod: "lines,payments,accounting_period",
33
+ LinesPaymentsAppliedPayments: "lines,payments,applied_payments",
34
+ LinesPaymentsAppliedPaymentsAccountingPeriod: "lines,payments,applied_payments,accounting_period",
35
+ LinesPaymentsAppliedPaymentsCompany: "lines,payments,applied_payments,company",
36
+ LinesPaymentsAppliedPaymentsCompanyAccountingPeriod: "lines,payments,applied_payments,company,accounting_period",
37
+ LinesPaymentsAppliedPaymentsTrackingCategories: "lines,payments,applied_payments,tracking_categories",
38
+ LinesPaymentsAppliedPaymentsTrackingCategoriesAccountingPeriod: "lines,payments,applied_payments,tracking_categories,accounting_period",
39
+ LinesPaymentsAppliedPaymentsTrackingCategoriesCompany: "lines,payments,applied_payments,tracking_categories,company",
40
+ LinesPaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod: "lines,payments,applied_payments,tracking_categories,company,accounting_period",
17
41
  LinesPaymentsCompany: "lines,payments,company",
18
42
  LinesPaymentsCompanyAccountingPeriod: "lines,payments,company,accounting_period",
19
43
  LinesPaymentsTrackingCategories: "lines,payments,tracking_categories",
@@ -26,6 +50,14 @@ exports.JournalEntriesRetrieveRequestExpand = {
26
50
  LinesTrackingCategoriesCompanyAccountingPeriod: "lines,tracking_categories,company,accounting_period",
27
51
  Payments: "payments",
28
52
  PaymentsAccountingPeriod: "payments,accounting_period",
53
+ PaymentsAppliedPayments: "payments,applied_payments",
54
+ PaymentsAppliedPaymentsAccountingPeriod: "payments,applied_payments,accounting_period",
55
+ PaymentsAppliedPaymentsCompany: "payments,applied_payments,company",
56
+ PaymentsAppliedPaymentsCompanyAccountingPeriod: "payments,applied_payments,company,accounting_period",
57
+ PaymentsAppliedPaymentsTrackingCategories: "payments,applied_payments,tracking_categories",
58
+ PaymentsAppliedPaymentsTrackingCategoriesAccountingPeriod: "payments,applied_payments,tracking_categories,accounting_period",
59
+ PaymentsAppliedPaymentsTrackingCategoriesCompany: "payments,applied_payments,tracking_categories,company",
60
+ PaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod: "payments,applied_payments,tracking_categories,company,accounting_period",
29
61
  PaymentsCompany: "payments,company",
30
62
  PaymentsCompanyAccountingPeriod: "payments,company,accounting_period",
31
63
  PaymentsTrackingCategories: "payments,tracking_categories",
@@ -23,6 +23,8 @@ export interface JournalEntry {
23
23
  remoteUpdatedAt?: Date;
24
24
  /** Array of `Payment` object IDs. */
25
25
  payments?: (Merge.accounting.JournalEntryPaymentsItem | undefined)[];
26
+ /** Array of `PaymentLineItems` object IDs. */
27
+ appliedPayments?: (Merge.accounting.JournalEntryAppliedPaymentsItem | undefined)[];
26
28
  /** The journal entry's private note. */
27
29
  memo?: string;
28
30
  /**
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Merge from "../../..";
5
+ export declare type JournalEntryAppliedPaymentsItem = string | Merge.accounting.PaymentLineItem;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -329,6 +329,8 @@ export interface JournalLine {
329
329
  * * `ZWL` - Zimbabwean Dollar (2009)
330
330
  */
331
331
  currency?: Merge.accounting.JournalLineCurrency;
332
+ /** The company the journal entry belongs to. */
333
+ company?: string;
332
334
  contact?: string;
333
335
  /** The line's description. */
334
336
  description?: string;
@@ -329,6 +329,8 @@ export interface JournalLineRequest {
329
329
  * * `ZWL` - Zimbabwean Dollar (2009)
330
330
  */
331
331
  currency?: Merge.accounting.JournalLineRequestCurrency;
332
+ /** The company the journal entry belongs to. */
333
+ company?: string;
332
334
  contact?: string;
333
335
  /** The line's description. */
334
336
  description?: string;
@@ -344,6 +344,7 @@ export interface Payment {
344
344
  remoteWasDeleted?: boolean;
345
345
  /** The accounting period that the Payment was generated in. */
346
346
  accountingPeriod?: Merge.accounting.PaymentAccountingPeriod;
347
+ appliedToLines?: Merge.accounting.PaymentAppliedToLinesItem[];
347
348
  createdAt?: Date;
348
349
  /** This is the datetime that this object was last updated by Merge */
349
350
  modifiedAt?: Date;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Merge from "../../..";
5
+ export declare type PaymentAppliedToLinesItem = string | Merge.accounting.PaymentLineItem;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,28 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * # The PaymentLineItem Object
6
+ * ### Description
7
+ * The `PaymentLineItem` object is an applied-to-line on a `Payment` that can either be a `Invoice`, `CreditNote`, or `JournalEntry`.
8
+ *
9
+ * ### Usage Example
10
+ * `Payment` will have a field called `applied-to-lines` which will be an array of `PaymentLineItemInternalMappingSerializer` objects that can either be a `Invoice`, `CreditNote`, or `JournalEntry`.
11
+ *
12
+ * # EXTERNAL SERIALIZER: This is used as the serializer that will be used for actual payloads to and from the
13
+ * # customer
14
+ */
15
+ export interface PaymentLineItem {
16
+ /** The amount of the PaymentLineItem. */
17
+ appliedAmount?: string;
18
+ /** Applied date of the PaymentLineItem */
19
+ appliedDate?: Date;
20
+ /** The third-party API ID of the matching object. */
21
+ remoteId?: string;
22
+ relatedObjectId?: string;
23
+ relatedObjectType?: string;
24
+ id?: string;
25
+ createdAt?: Date;
26
+ /** This is the datetime that this object was last updated by Merge */
27
+ modifiedAt?: Date;
28
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,26 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * # The PaymentLineItem Object
6
+ * ### Description
7
+ * The `PaymentLineItem` object is an applied-to-line on a `Payment` that can either be a `Invoice`, `CreditNote`, or `JournalEntry`.
8
+ *
9
+ * ### Usage Example
10
+ * `Payment` will have a field called `applied-to-lines` which will be an array of `PaymentLineItemInternalMappingSerializer` objects that can either be a `Invoice`, `CreditNote`, or `JournalEntry`.
11
+ *
12
+ * # EXTERNAL SERIALIZER: This is used as the serializer that will be used for actual payloads to and from the
13
+ * # customer
14
+ */
15
+ export interface PaymentLineItemRequest {
16
+ /** The amount of the PaymentLineItem. */
17
+ appliedAmount?: string;
18
+ /** Applied date of the PaymentLineItem */
19
+ appliedDate?: Date;
20
+ /** The third-party API ID of the matching object. */
21
+ remoteId?: string;
22
+ relatedObjectId?: string;
23
+ relatedObjectType?: string;
24
+ integrationParams?: Record<string, unknown>;
25
+ linkedAccountParams?: Record<string, unknown>;
26
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -337,6 +337,7 @@ export interface PaymentRequest {
337
337
  trackingCategories?: (Merge.accounting.PaymentRequestTrackingCategoriesItem | undefined)[];
338
338
  /** The accounting period that the Payment was generated in. */
339
339
  accountingPeriod?: Merge.accounting.PaymentRequestAccountingPeriod;
340
+ appliedToLines?: Merge.accounting.PaymentRequestAppliedToLinesItem[];
340
341
  integrationParams?: Record<string, unknown>;
341
342
  linkedAccountParams?: Record<string, unknown>;
342
343
  }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Merge from "../../..";
5
+ export declare type PaymentRequestAppliedToLinesItem = string | Merge.accounting.PaymentLineItemRequest;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,13 +1,29 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export declare type PaymentsListRequestExpand = "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";
4
+ export declare type PaymentsListRequestExpand = "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";
5
5
  export declare const PaymentsListRequestExpand: {
6
6
  readonly Account: "account";
7
7
  readonly AccountAccountingPeriod: "account,accounting_period";
8
8
  readonly AccountCompany: "account,company";
9
9
  readonly AccountCompanyAccountingPeriod: "account,company,accounting_period";
10
10
  readonly AccountingPeriod: "accounting_period";
11
+ readonly AppliedToLines: "applied_to_lines";
12
+ readonly AppliedToLinesAccount: "applied_to_lines,account";
13
+ readonly AppliedToLinesAccountAccountingPeriod: "applied_to_lines,account,accounting_period";
14
+ readonly AppliedToLinesAccountCompany: "applied_to_lines,account,company";
15
+ readonly AppliedToLinesAccountCompanyAccountingPeriod: "applied_to_lines,account,company,accounting_period";
16
+ readonly AppliedToLinesAccountingPeriod: "applied_to_lines,accounting_period";
17
+ readonly AppliedToLinesCompany: "applied_to_lines,company";
18
+ readonly AppliedToLinesCompanyAccountingPeriod: "applied_to_lines,company,accounting_period";
19
+ readonly AppliedToLinesContact: "applied_to_lines,contact";
20
+ readonly AppliedToLinesContactAccount: "applied_to_lines,contact,account";
21
+ readonly AppliedToLinesContactAccountAccountingPeriod: "applied_to_lines,contact,account,accounting_period";
22
+ readonly AppliedToLinesContactAccountCompany: "applied_to_lines,contact,account,company";
23
+ readonly AppliedToLinesContactAccountCompanyAccountingPeriod: "applied_to_lines,contact,account,company,accounting_period";
24
+ readonly AppliedToLinesContactAccountingPeriod: "applied_to_lines,contact,accounting_period";
25
+ readonly AppliedToLinesContactCompany: "applied_to_lines,contact,company";
26
+ readonly AppliedToLinesContactCompanyAccountingPeriod: "applied_to_lines,contact,company,accounting_period";
11
27
  readonly Company: "company";
12
28
  readonly CompanyAccountingPeriod: "company,accounting_period";
13
29
  readonly Contact: "contact";
@@ -24,6 +40,22 @@ export declare const PaymentsListRequestExpand: {
24
40
  readonly TrackingCategoriesAccountCompany: "tracking_categories,account,company";
25
41
  readonly TrackingCategoriesAccountCompanyAccountingPeriod: "tracking_categories,account,company,accounting_period";
26
42
  readonly TrackingCategoriesAccountingPeriod: "tracking_categories,accounting_period";
43
+ readonly TrackingCategoriesAppliedToLines: "tracking_categories,applied_to_lines";
44
+ readonly TrackingCategoriesAppliedToLinesAccount: "tracking_categories,applied_to_lines,account";
45
+ readonly TrackingCategoriesAppliedToLinesAccountAccountingPeriod: "tracking_categories,applied_to_lines,account,accounting_period";
46
+ readonly TrackingCategoriesAppliedToLinesAccountCompany: "tracking_categories,applied_to_lines,account,company";
47
+ readonly TrackingCategoriesAppliedToLinesAccountCompanyAccountingPeriod: "tracking_categories,applied_to_lines,account,company,accounting_period";
48
+ readonly TrackingCategoriesAppliedToLinesAccountingPeriod: "tracking_categories,applied_to_lines,accounting_period";
49
+ readonly TrackingCategoriesAppliedToLinesCompany: "tracking_categories,applied_to_lines,company";
50
+ readonly TrackingCategoriesAppliedToLinesCompanyAccountingPeriod: "tracking_categories,applied_to_lines,company,accounting_period";
51
+ readonly TrackingCategoriesAppliedToLinesContact: "tracking_categories,applied_to_lines,contact";
52
+ readonly TrackingCategoriesAppliedToLinesContactAccount: "tracking_categories,applied_to_lines,contact,account";
53
+ readonly TrackingCategoriesAppliedToLinesContactAccountAccountingPeriod: "tracking_categories,applied_to_lines,contact,account,accounting_period";
54
+ readonly TrackingCategoriesAppliedToLinesContactAccountCompany: "tracking_categories,applied_to_lines,contact,account,company";
55
+ readonly TrackingCategoriesAppliedToLinesContactAccountCompanyAccountingPeriod: "tracking_categories,applied_to_lines,contact,account,company,accounting_period";
56
+ readonly TrackingCategoriesAppliedToLinesContactAccountingPeriod: "tracking_categories,applied_to_lines,contact,accounting_period";
57
+ readonly TrackingCategoriesAppliedToLinesContactCompany: "tracking_categories,applied_to_lines,contact,company";
58
+ readonly TrackingCategoriesAppliedToLinesContactCompanyAccountingPeriod: "tracking_categories,applied_to_lines,contact,company,accounting_period";
27
59
  readonly TrackingCategoriesCompany: "tracking_categories,company";
28
60
  readonly TrackingCategoriesCompanyAccountingPeriod: "tracking_categories,company,accounting_period";
29
61
  readonly TrackingCategoriesContact: "tracking_categories,contact";
@@ -10,6 +10,22 @@ exports.PaymentsListRequestExpand = {
10
10
  AccountCompany: "account,company",
11
11
  AccountCompanyAccountingPeriod: "account,company,accounting_period",
12
12
  AccountingPeriod: "accounting_period",
13
+ AppliedToLines: "applied_to_lines",
14
+ AppliedToLinesAccount: "applied_to_lines,account",
15
+ AppliedToLinesAccountAccountingPeriod: "applied_to_lines,account,accounting_period",
16
+ AppliedToLinesAccountCompany: "applied_to_lines,account,company",
17
+ AppliedToLinesAccountCompanyAccountingPeriod: "applied_to_lines,account,company,accounting_period",
18
+ AppliedToLinesAccountingPeriod: "applied_to_lines,accounting_period",
19
+ AppliedToLinesCompany: "applied_to_lines,company",
20
+ AppliedToLinesCompanyAccountingPeriod: "applied_to_lines,company,accounting_period",
21
+ AppliedToLinesContact: "applied_to_lines,contact",
22
+ AppliedToLinesContactAccount: "applied_to_lines,contact,account",
23
+ AppliedToLinesContactAccountAccountingPeriod: "applied_to_lines,contact,account,accounting_period",
24
+ AppliedToLinesContactAccountCompany: "applied_to_lines,contact,account,company",
25
+ AppliedToLinesContactAccountCompanyAccountingPeriod: "applied_to_lines,contact,account,company,accounting_period",
26
+ AppliedToLinesContactAccountingPeriod: "applied_to_lines,contact,accounting_period",
27
+ AppliedToLinesContactCompany: "applied_to_lines,contact,company",
28
+ AppliedToLinesContactCompanyAccountingPeriod: "applied_to_lines,contact,company,accounting_period",
13
29
  Company: "company",
14
30
  CompanyAccountingPeriod: "company,accounting_period",
15
31
  Contact: "contact",
@@ -26,6 +42,22 @@ exports.PaymentsListRequestExpand = {
26
42
  TrackingCategoriesAccountCompany: "tracking_categories,account,company",
27
43
  TrackingCategoriesAccountCompanyAccountingPeriod: "tracking_categories,account,company,accounting_period",
28
44
  TrackingCategoriesAccountingPeriod: "tracking_categories,accounting_period",
45
+ TrackingCategoriesAppliedToLines: "tracking_categories,applied_to_lines",
46
+ TrackingCategoriesAppliedToLinesAccount: "tracking_categories,applied_to_lines,account",
47
+ TrackingCategoriesAppliedToLinesAccountAccountingPeriod: "tracking_categories,applied_to_lines,account,accounting_period",
48
+ TrackingCategoriesAppliedToLinesAccountCompany: "tracking_categories,applied_to_lines,account,company",
49
+ TrackingCategoriesAppliedToLinesAccountCompanyAccountingPeriod: "tracking_categories,applied_to_lines,account,company,accounting_period",
50
+ TrackingCategoriesAppliedToLinesAccountingPeriod: "tracking_categories,applied_to_lines,accounting_period",
51
+ TrackingCategoriesAppliedToLinesCompany: "tracking_categories,applied_to_lines,company",
52
+ TrackingCategoriesAppliedToLinesCompanyAccountingPeriod: "tracking_categories,applied_to_lines,company,accounting_period",
53
+ TrackingCategoriesAppliedToLinesContact: "tracking_categories,applied_to_lines,contact",
54
+ TrackingCategoriesAppliedToLinesContactAccount: "tracking_categories,applied_to_lines,contact,account",
55
+ TrackingCategoriesAppliedToLinesContactAccountAccountingPeriod: "tracking_categories,applied_to_lines,contact,account,accounting_period",
56
+ TrackingCategoriesAppliedToLinesContactAccountCompany: "tracking_categories,applied_to_lines,contact,account,company",
57
+ TrackingCategoriesAppliedToLinesContactAccountCompanyAccountingPeriod: "tracking_categories,applied_to_lines,contact,account,company,accounting_period",
58
+ TrackingCategoriesAppliedToLinesContactAccountingPeriod: "tracking_categories,applied_to_lines,contact,accounting_period",
59
+ TrackingCategoriesAppliedToLinesContactCompany: "tracking_categories,applied_to_lines,contact,company",
60
+ TrackingCategoriesAppliedToLinesContactCompanyAccountingPeriod: "tracking_categories,applied_to_lines,contact,company,accounting_period",
29
61
  TrackingCategoriesCompany: "tracking_categories,company",
30
62
  TrackingCategoriesCompanyAccountingPeriod: "tracking_categories,company,accounting_period",
31
63
  TrackingCategoriesContact: "tracking_categories,contact",
@@ -1,13 +1,29 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export declare type PaymentsRetrieveRequestExpand = "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";
4
+ export declare type PaymentsRetrieveRequestExpand = "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";
5
5
  export declare const PaymentsRetrieveRequestExpand: {
6
6
  readonly Account: "account";
7
7
  readonly AccountAccountingPeriod: "account,accounting_period";
8
8
  readonly AccountCompany: "account,company";
9
9
  readonly AccountCompanyAccountingPeriod: "account,company,accounting_period";
10
10
  readonly AccountingPeriod: "accounting_period";
11
+ readonly AppliedToLines: "applied_to_lines";
12
+ readonly AppliedToLinesAccount: "applied_to_lines,account";
13
+ readonly AppliedToLinesAccountAccountingPeriod: "applied_to_lines,account,accounting_period";
14
+ readonly AppliedToLinesAccountCompany: "applied_to_lines,account,company";
15
+ readonly AppliedToLinesAccountCompanyAccountingPeriod: "applied_to_lines,account,company,accounting_period";
16
+ readonly AppliedToLinesAccountingPeriod: "applied_to_lines,accounting_period";
17
+ readonly AppliedToLinesCompany: "applied_to_lines,company";
18
+ readonly AppliedToLinesCompanyAccountingPeriod: "applied_to_lines,company,accounting_period";
19
+ readonly AppliedToLinesContact: "applied_to_lines,contact";
20
+ readonly AppliedToLinesContactAccount: "applied_to_lines,contact,account";
21
+ readonly AppliedToLinesContactAccountAccountingPeriod: "applied_to_lines,contact,account,accounting_period";
22
+ readonly AppliedToLinesContactAccountCompany: "applied_to_lines,contact,account,company";
23
+ readonly AppliedToLinesContactAccountCompanyAccountingPeriod: "applied_to_lines,contact,account,company,accounting_period";
24
+ readonly AppliedToLinesContactAccountingPeriod: "applied_to_lines,contact,accounting_period";
25
+ readonly AppliedToLinesContactCompany: "applied_to_lines,contact,company";
26
+ readonly AppliedToLinesContactCompanyAccountingPeriod: "applied_to_lines,contact,company,accounting_period";
11
27
  readonly Company: "company";
12
28
  readonly CompanyAccountingPeriod: "company,accounting_period";
13
29
  readonly Contact: "contact";
@@ -24,6 +40,22 @@ export declare const PaymentsRetrieveRequestExpand: {
24
40
  readonly TrackingCategoriesAccountCompany: "tracking_categories,account,company";
25
41
  readonly TrackingCategoriesAccountCompanyAccountingPeriod: "tracking_categories,account,company,accounting_period";
26
42
  readonly TrackingCategoriesAccountingPeriod: "tracking_categories,accounting_period";
43
+ readonly TrackingCategoriesAppliedToLines: "tracking_categories,applied_to_lines";
44
+ readonly TrackingCategoriesAppliedToLinesAccount: "tracking_categories,applied_to_lines,account";
45
+ readonly TrackingCategoriesAppliedToLinesAccountAccountingPeriod: "tracking_categories,applied_to_lines,account,accounting_period";
46
+ readonly TrackingCategoriesAppliedToLinesAccountCompany: "tracking_categories,applied_to_lines,account,company";
47
+ readonly TrackingCategoriesAppliedToLinesAccountCompanyAccountingPeriod: "tracking_categories,applied_to_lines,account,company,accounting_period";
48
+ readonly TrackingCategoriesAppliedToLinesAccountingPeriod: "tracking_categories,applied_to_lines,accounting_period";
49
+ readonly TrackingCategoriesAppliedToLinesCompany: "tracking_categories,applied_to_lines,company";
50
+ readonly TrackingCategoriesAppliedToLinesCompanyAccountingPeriod: "tracking_categories,applied_to_lines,company,accounting_period";
51
+ readonly TrackingCategoriesAppliedToLinesContact: "tracking_categories,applied_to_lines,contact";
52
+ readonly TrackingCategoriesAppliedToLinesContactAccount: "tracking_categories,applied_to_lines,contact,account";
53
+ readonly TrackingCategoriesAppliedToLinesContactAccountAccountingPeriod: "tracking_categories,applied_to_lines,contact,account,accounting_period";
54
+ readonly TrackingCategoriesAppliedToLinesContactAccountCompany: "tracking_categories,applied_to_lines,contact,account,company";
55
+ readonly TrackingCategoriesAppliedToLinesContactAccountCompanyAccountingPeriod: "tracking_categories,applied_to_lines,contact,account,company,accounting_period";
56
+ readonly TrackingCategoriesAppliedToLinesContactAccountingPeriod: "tracking_categories,applied_to_lines,contact,accounting_period";
57
+ readonly TrackingCategoriesAppliedToLinesContactCompany: "tracking_categories,applied_to_lines,contact,company";
58
+ readonly TrackingCategoriesAppliedToLinesContactCompanyAccountingPeriod: "tracking_categories,applied_to_lines,contact,company,accounting_period";
27
59
  readonly TrackingCategoriesCompany: "tracking_categories,company";
28
60
  readonly TrackingCategoriesCompanyAccountingPeriod: "tracking_categories,company,accounting_period";
29
61
  readonly TrackingCategoriesContact: "tracking_categories,contact";
@@ -10,6 +10,22 @@ exports.PaymentsRetrieveRequestExpand = {
10
10
  AccountCompany: "account,company",
11
11
  AccountCompanyAccountingPeriod: "account,company,accounting_period",
12
12
  AccountingPeriod: "accounting_period",
13
+ AppliedToLines: "applied_to_lines",
14
+ AppliedToLinesAccount: "applied_to_lines,account",
15
+ AppliedToLinesAccountAccountingPeriod: "applied_to_lines,account,accounting_period",
16
+ AppliedToLinesAccountCompany: "applied_to_lines,account,company",
17
+ AppliedToLinesAccountCompanyAccountingPeriod: "applied_to_lines,account,company,accounting_period",
18
+ AppliedToLinesAccountingPeriod: "applied_to_lines,accounting_period",
19
+ AppliedToLinesCompany: "applied_to_lines,company",
20
+ AppliedToLinesCompanyAccountingPeriod: "applied_to_lines,company,accounting_period",
21
+ AppliedToLinesContact: "applied_to_lines,contact",
22
+ AppliedToLinesContactAccount: "applied_to_lines,contact,account",
23
+ AppliedToLinesContactAccountAccountingPeriod: "applied_to_lines,contact,account,accounting_period",
24
+ AppliedToLinesContactAccountCompany: "applied_to_lines,contact,account,company",
25
+ AppliedToLinesContactAccountCompanyAccountingPeriod: "applied_to_lines,contact,account,company,accounting_period",
26
+ AppliedToLinesContactAccountingPeriod: "applied_to_lines,contact,accounting_period",
27
+ AppliedToLinesContactCompany: "applied_to_lines,contact,company",
28
+ AppliedToLinesContactCompanyAccountingPeriod: "applied_to_lines,contact,company,accounting_period",
13
29
  Company: "company",
14
30
  CompanyAccountingPeriod: "company,accounting_period",
15
31
  Contact: "contact",
@@ -26,6 +42,22 @@ exports.PaymentsRetrieveRequestExpand = {
26
42
  TrackingCategoriesAccountCompany: "tracking_categories,account,company",
27
43
  TrackingCategoriesAccountCompanyAccountingPeriod: "tracking_categories,account,company,accounting_period",
28
44
  TrackingCategoriesAccountingPeriod: "tracking_categories,accounting_period",
45
+ TrackingCategoriesAppliedToLines: "tracking_categories,applied_to_lines",
46
+ TrackingCategoriesAppliedToLinesAccount: "tracking_categories,applied_to_lines,account",
47
+ TrackingCategoriesAppliedToLinesAccountAccountingPeriod: "tracking_categories,applied_to_lines,account,accounting_period",
48
+ TrackingCategoriesAppliedToLinesAccountCompany: "tracking_categories,applied_to_lines,account,company",
49
+ TrackingCategoriesAppliedToLinesAccountCompanyAccountingPeriod: "tracking_categories,applied_to_lines,account,company,accounting_period",
50
+ TrackingCategoriesAppliedToLinesAccountingPeriod: "tracking_categories,applied_to_lines,accounting_period",
51
+ TrackingCategoriesAppliedToLinesCompany: "tracking_categories,applied_to_lines,company",
52
+ TrackingCategoriesAppliedToLinesCompanyAccountingPeriod: "tracking_categories,applied_to_lines,company,accounting_period",
53
+ TrackingCategoriesAppliedToLinesContact: "tracking_categories,applied_to_lines,contact",
54
+ TrackingCategoriesAppliedToLinesContactAccount: "tracking_categories,applied_to_lines,contact,account",
55
+ TrackingCategoriesAppliedToLinesContactAccountAccountingPeriod: "tracking_categories,applied_to_lines,contact,account,accounting_period",
56
+ TrackingCategoriesAppliedToLinesContactAccountCompany: "tracking_categories,applied_to_lines,contact,account,company",
57
+ TrackingCategoriesAppliedToLinesContactAccountCompanyAccountingPeriod: "tracking_categories,applied_to_lines,contact,account,company,accounting_period",
58
+ TrackingCategoriesAppliedToLinesContactAccountingPeriod: "tracking_categories,applied_to_lines,contact,accounting_period",
59
+ TrackingCategoriesAppliedToLinesContactCompany: "tracking_categories,applied_to_lines,contact,company",
60
+ TrackingCategoriesAppliedToLinesContactCompanyAccountingPeriod: "tracking_categories,applied_to_lines,contact,company,accounting_period",
29
61
  TrackingCategoriesCompany: "tracking_categories,company",
30
62
  TrackingCategoriesCompanyAccountingPeriod: "tracking_categories,company,accounting_period",
31
63
  TrackingCategoriesContact: "tracking_categories,contact",
@@ -27,6 +27,8 @@ export interface VendorCreditLine {
27
27
  company?: string;
28
28
  /** The vendor credit line item's exchange rate. */
29
29
  exchangeRate?: string;
30
+ /** Indicates whether or not this object has been deleted in the third party platform. */
31
+ remoteWasDeleted?: boolean;
30
32
  createdAt?: Date;
31
33
  /** This is the datetime that this object was last updated by Merge */
32
34
  modifiedAt?: Date;
@@ -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";
@@ -149,6 +150,7 @@ export * from "./InvoiceCompany";
149
150
  export * from "./InvoiceCurrency";
150
151
  export * from "./InvoiceTrackingCategoriesItem";
151
152
  export * from "./InvoicePaymentsItem";
153
+ export * from "./InvoiceAppliedPaymentsItem";
152
154
  export * from "./InvoiceAccountingPeriod";
153
155
  export * from "./InvoicePurchaseOrdersItem";
154
156
  export * from "./InvoiceLineItem";
@@ -184,6 +186,7 @@ export * from "./ItemSalesAccount";
184
186
  export * from "./ItemCompany";
185
187
  export * from "./JournalEntry";
186
188
  export * from "./JournalEntryPaymentsItem";
189
+ export * from "./JournalEntryAppliedPaymentsItem";
187
190
  export * from "./JournalEntryCurrency";
188
191
  export * from "./JournalEntryCompany";
189
192
  export * from "./JournalEntryTrackingCategoriesItem";
@@ -249,6 +252,9 @@ export * from "./PaymentCurrency";
249
252
  export * from "./PaymentCompany";
250
253
  export * from "./PaymentTrackingCategoriesItem";
251
254
  export * from "./PaymentAccountingPeriod";
255
+ export * from "./PaymentAppliedToLinesItem";
256
+ export * from "./PaymentLineItem";
257
+ export * from "./PaymentLineItemRequest";
252
258
  export * from "./PaymentRequest";
253
259
  export * from "./PaymentRequestContact";
254
260
  export * from "./PaymentRequestAccount";
@@ -256,6 +262,7 @@ export * from "./PaymentRequestCurrency";
256
262
  export * from "./PaymentRequestCompany";
257
263
  export * from "./PaymentRequestTrackingCategoriesItem";
258
264
  export * from "./PaymentRequestAccountingPeriod";
265
+ export * from "./PaymentRequestAppliedToLinesItem";
259
266
  export * from "./PaymentResponse";
260
267
  export * from "./PostingStatusEnum";
261
268
  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);
@@ -165,6 +166,7 @@ __exportStar(require("./InvoiceCompany"), exports);
165
166
  __exportStar(require("./InvoiceCurrency"), exports);
166
167
  __exportStar(require("./InvoiceTrackingCategoriesItem"), exports);
167
168
  __exportStar(require("./InvoicePaymentsItem"), exports);
169
+ __exportStar(require("./InvoiceAppliedPaymentsItem"), exports);
168
170
  __exportStar(require("./InvoiceAccountingPeriod"), exports);
169
171
  __exportStar(require("./InvoicePurchaseOrdersItem"), exports);
170
172
  __exportStar(require("./InvoiceLineItem"), exports);
@@ -200,6 +202,7 @@ __exportStar(require("./ItemSalesAccount"), exports);
200
202
  __exportStar(require("./ItemCompany"), exports);
201
203
  __exportStar(require("./JournalEntry"), exports);
202
204
  __exportStar(require("./JournalEntryPaymentsItem"), exports);
205
+ __exportStar(require("./JournalEntryAppliedPaymentsItem"), exports);
203
206
  __exportStar(require("./JournalEntryCurrency"), exports);
204
207
  __exportStar(require("./JournalEntryCompany"), exports);
205
208
  __exportStar(require("./JournalEntryTrackingCategoriesItem"), exports);
@@ -265,6 +268,9 @@ __exportStar(require("./PaymentCurrency"), exports);
265
268
  __exportStar(require("./PaymentCompany"), exports);
266
269
  __exportStar(require("./PaymentTrackingCategoriesItem"), exports);
267
270
  __exportStar(require("./PaymentAccountingPeriod"), exports);
271
+ __exportStar(require("./PaymentAppliedToLinesItem"), exports);
272
+ __exportStar(require("./PaymentLineItem"), exports);
273
+ __exportStar(require("./PaymentLineItemRequest"), exports);
268
274
  __exportStar(require("./PaymentRequest"), exports);
269
275
  __exportStar(require("./PaymentRequestContact"), exports);
270
276
  __exportStar(require("./PaymentRequestAccount"), exports);
@@ -272,6 +278,7 @@ __exportStar(require("./PaymentRequestCurrency"), exports);
272
278
  __exportStar(require("./PaymentRequestCompany"), exports);
273
279
  __exportStar(require("./PaymentRequestTrackingCategoriesItem"), exports);
274
280
  __exportStar(require("./PaymentRequestAccountingPeriod"), exports);
281
+ __exportStar(require("./PaymentRequestAppliedToLinesItem"), exports);
275
282
  __exportStar(require("./PaymentResponse"), exports);
276
283
  __exportStar(require("./PostingStatusEnum"), exports);
277
284
  __exportStar(require("./PurchaseOrder"), exports);
@@ -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.0",
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.0",
68
68
  },
69
69
  contentType: "application/json",
70
70
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -117,7 +117,7 @@ class Activities {
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.0",
121
121
  },
122
122
  contentType: "application/json",
123
123
  queryParameters: _queryParams,
@@ -176,7 +176,7 @@ class Activities {
176
176
  : undefined,
177
177
  "X-Fern-Language": "JavaScript",
178
178
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
179
- "X-Fern-SDK-Version": "0.1.8",
179
+ "X-Fern-SDK-Version": "1.0.0",
180
180
  },
181
181
  contentType: "application/json",
182
182
  queryParameters: _queryParams,
@@ -242,7 +242,7 @@ class Activities {
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.0",
246
246
  },
247
247
  contentType: "application/json",
248
248
  queryParameters: _queryParams,
@@ -293,7 +293,7 @@ class Activities {
293
293
  : undefined,
294
294
  "X-Fern-Language": "JavaScript",
295
295
  "X-Fern-SDK-Name": "@mergeapi/merge-node-client",
296
- "X-Fern-SDK-Version": "0.1.8",
296
+ "X-Fern-SDK-Version": "1.0.0",
297
297
  },
298
298
  contentType: "application/json",
299
299
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,