@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
@@ -6,14 +6,38 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.JournalEntriesListRequestExpand = void 0;
7
7
  exports.JournalEntriesListRequestExpand = {
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.JournalEntriesListRequestExpand = {
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",
@@ -1,17 +1,41 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export declare type JournalEntriesRetrieveRequestExpand = "accounting_period" | "company" | "company,accounting_period" | "lines" | "lines,accounting_period" | "lines,company" | "lines,company,accounting_period" | "lines,payments" | "lines,payments,accounting_period" | "lines,payments,company" | "lines,payments,company,accounting_period" | "lines,payments,tracking_categories" | "lines,payments,tracking_categories,accounting_period" | "lines,payments,tracking_categories,company" | "lines,payments,tracking_categories,company,accounting_period" | "lines,tracking_categories" | "lines,tracking_categories,accounting_period" | "lines,tracking_categories,company" | "lines,tracking_categories,company,accounting_period" | "payments" | "payments,accounting_period" | "payments,company" | "payments,company,accounting_period" | "payments,tracking_categories" | "payments,tracking_categories,accounting_period" | "payments,tracking_categories,company" | "payments,tracking_categories,company,accounting_period" | "tracking_categories" | "tracking_categories,accounting_period" | "tracking_categories,company" | "tracking_categories,company,accounting_period";
4
+ export declare type JournalEntriesRetrieveRequestExpand = "accounting_period" | "applied_payments" | "applied_payments,accounting_period" | "applied_payments,company" | "applied_payments,company,accounting_period" | "applied_payments,tracking_categories" | "applied_payments,tracking_categories,accounting_period" | "applied_payments,tracking_categories,company" | "applied_payments,tracking_categories,company,accounting_period" | "company" | "company,accounting_period" | "lines" | "lines,accounting_period" | "lines,applied_payments" | "lines,applied_payments,accounting_period" | "lines,applied_payments,company" | "lines,applied_payments,company,accounting_period" | "lines,applied_payments,tracking_categories" | "lines,applied_payments,tracking_categories,accounting_period" | "lines,applied_payments,tracking_categories,company" | "lines,applied_payments,tracking_categories,company,accounting_period" | "lines,company" | "lines,company,accounting_period" | "lines,payments" | "lines,payments,accounting_period" | "lines,payments,applied_payments" | "lines,payments,applied_payments,accounting_period" | "lines,payments,applied_payments,company" | "lines,payments,applied_payments,company,accounting_period" | "lines,payments,applied_payments,tracking_categories" | "lines,payments,applied_payments,tracking_categories,accounting_period" | "lines,payments,applied_payments,tracking_categories,company" | "lines,payments,applied_payments,tracking_categories,company,accounting_period" | "lines,payments,company" | "lines,payments,company,accounting_period" | "lines,payments,tracking_categories" | "lines,payments,tracking_categories,accounting_period" | "lines,payments,tracking_categories,company" | "lines,payments,tracking_categories,company,accounting_period" | "lines,tracking_categories" | "lines,tracking_categories,accounting_period" | "lines,tracking_categories,company" | "lines,tracking_categories,company,accounting_period" | "payments" | "payments,accounting_period" | "payments,applied_payments" | "payments,applied_payments,accounting_period" | "payments,applied_payments,company" | "payments,applied_payments,company,accounting_period" | "payments,applied_payments,tracking_categories" | "payments,applied_payments,tracking_categories,accounting_period" | "payments,applied_payments,tracking_categories,company" | "payments,applied_payments,tracking_categories,company,accounting_period" | "payments,company" | "payments,company,accounting_period" | "payments,tracking_categories" | "payments,tracking_categories,accounting_period" | "payments,tracking_categories,company" | "payments,tracking_categories,company,accounting_period" | "tracking_categories" | "tracking_categories,accounting_period" | "tracking_categories,company" | "tracking_categories,company,accounting_period";
5
5
  export declare const JournalEntriesRetrieveRequestExpand: {
6
6
  readonly AccountingPeriod: "accounting_period";
7
+ readonly AppliedPayments: "applied_payments";
8
+ readonly AppliedPaymentsAccountingPeriod: "applied_payments,accounting_period";
9
+ readonly AppliedPaymentsCompany: "applied_payments,company";
10
+ readonly AppliedPaymentsCompanyAccountingPeriod: "applied_payments,company,accounting_period";
11
+ readonly AppliedPaymentsTrackingCategories: "applied_payments,tracking_categories";
12
+ readonly AppliedPaymentsTrackingCategoriesAccountingPeriod: "applied_payments,tracking_categories,accounting_period";
13
+ readonly AppliedPaymentsTrackingCategoriesCompany: "applied_payments,tracking_categories,company";
14
+ readonly AppliedPaymentsTrackingCategoriesCompanyAccountingPeriod: "applied_payments,tracking_categories,company,accounting_period";
7
15
  readonly Company: "company";
8
16
  readonly CompanyAccountingPeriod: "company,accounting_period";
9
17
  readonly Lines: "lines";
10
18
  readonly LinesAccountingPeriod: "lines,accounting_period";
19
+ readonly LinesAppliedPayments: "lines,applied_payments";
20
+ readonly LinesAppliedPaymentsAccountingPeriod: "lines,applied_payments,accounting_period";
21
+ readonly LinesAppliedPaymentsCompany: "lines,applied_payments,company";
22
+ readonly LinesAppliedPaymentsCompanyAccountingPeriod: "lines,applied_payments,company,accounting_period";
23
+ readonly LinesAppliedPaymentsTrackingCategories: "lines,applied_payments,tracking_categories";
24
+ readonly LinesAppliedPaymentsTrackingCategoriesAccountingPeriod: "lines,applied_payments,tracking_categories,accounting_period";
25
+ readonly LinesAppliedPaymentsTrackingCategoriesCompany: "lines,applied_payments,tracking_categories,company";
26
+ readonly LinesAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod: "lines,applied_payments,tracking_categories,company,accounting_period";
11
27
  readonly LinesCompany: "lines,company";
12
28
  readonly LinesCompanyAccountingPeriod: "lines,company,accounting_period";
13
29
  readonly LinesPayments: "lines,payments";
14
30
  readonly LinesPaymentsAccountingPeriod: "lines,payments,accounting_period";
31
+ readonly LinesPaymentsAppliedPayments: "lines,payments,applied_payments";
32
+ readonly LinesPaymentsAppliedPaymentsAccountingPeriod: "lines,payments,applied_payments,accounting_period";
33
+ readonly LinesPaymentsAppliedPaymentsCompany: "lines,payments,applied_payments,company";
34
+ readonly LinesPaymentsAppliedPaymentsCompanyAccountingPeriod: "lines,payments,applied_payments,company,accounting_period";
35
+ readonly LinesPaymentsAppliedPaymentsTrackingCategories: "lines,payments,applied_payments,tracking_categories";
36
+ readonly LinesPaymentsAppliedPaymentsTrackingCategoriesAccountingPeriod: "lines,payments,applied_payments,tracking_categories,accounting_period";
37
+ readonly LinesPaymentsAppliedPaymentsTrackingCategoriesCompany: "lines,payments,applied_payments,tracking_categories,company";
38
+ readonly LinesPaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod: "lines,payments,applied_payments,tracking_categories,company,accounting_period";
15
39
  readonly LinesPaymentsCompany: "lines,payments,company";
16
40
  readonly LinesPaymentsCompanyAccountingPeriod: "lines,payments,company,accounting_period";
17
41
  readonly LinesPaymentsTrackingCategories: "lines,payments,tracking_categories";
@@ -24,6 +48,14 @@ export declare const JournalEntriesRetrieveRequestExpand: {
24
48
  readonly LinesTrackingCategoriesCompanyAccountingPeriod: "lines,tracking_categories,company,accounting_period";
25
49
  readonly Payments: "payments";
26
50
  readonly PaymentsAccountingPeriod: "payments,accounting_period";
51
+ readonly PaymentsAppliedPayments: "payments,applied_payments";
52
+ readonly PaymentsAppliedPaymentsAccountingPeriod: "payments,applied_payments,accounting_period";
53
+ readonly PaymentsAppliedPaymentsCompany: "payments,applied_payments,company";
54
+ readonly PaymentsAppliedPaymentsCompanyAccountingPeriod: "payments,applied_payments,company,accounting_period";
55
+ readonly PaymentsAppliedPaymentsTrackingCategories: "payments,applied_payments,tracking_categories";
56
+ readonly PaymentsAppliedPaymentsTrackingCategoriesAccountingPeriod: "payments,applied_payments,tracking_categories,accounting_period";
57
+ readonly PaymentsAppliedPaymentsTrackingCategoriesCompany: "payments,applied_payments,tracking_categories,company";
58
+ readonly PaymentsAppliedPaymentsTrackingCategoriesCompanyAccountingPeriod: "payments,applied_payments,tracking_categories,company,accounting_period";
27
59
  readonly PaymentsCompany: "payments,company";
28
60
  readonly PaymentsCompanyAccountingPeriod: "payments,company,accounting_period";
29
61
  readonly PaymentsTrackingCategories: "payments,tracking_categories";
@@ -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;