@apideck/unify 0.11.6 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (675) hide show
  1. package/FUNCTIONS.md +4 -2
  2. package/README.md +100 -27
  3. package/docs/sdks/activities/README.md +8 -4
  4. package/docs/sdks/agedcreditors/README.md +113 -0
  5. package/docs/sdks/ageddebtors/README.md +113 -0
  6. package/docs/sdks/apideckcompanies/README.md +8 -4
  7. package/docs/sdks/apideckcustomers/README.md +8 -4
  8. package/docs/sdks/apideckdepartments/README.md +8 -4
  9. package/docs/sdks/apis/README.md +8 -4
  10. package/docs/sdks/applicants/README.md +8 -4
  11. package/docs/sdks/applications/README.md +8 -4
  12. package/docs/sdks/attachments/README.md +8 -4
  13. package/docs/sdks/billpayments/README.md +8 -4
  14. package/docs/sdks/bills/README.md +8 -4
  15. package/docs/sdks/collections/README.md +8 -4
  16. package/docs/sdks/collectiontags/README.md +8 -4
  17. package/docs/sdks/collectionticketcomments/README.md +16 -8
  18. package/docs/sdks/collectiontickets/README.md +8 -4
  19. package/docs/sdks/collectionusers/README.md +8 -4
  20. package/docs/sdks/companies/README.md +8 -4
  21. package/docs/sdks/connectors/README.md +8 -4
  22. package/docs/sdks/consumers/README.md +8 -4
  23. package/docs/sdks/contacts/README.md +8 -4
  24. package/docs/sdks/creditnotes/README.md +8 -4
  25. package/docs/sdks/customers/README.md +8 -4
  26. package/docs/sdks/departments/README.md +8 -4
  27. package/docs/sdks/drivegroups/README.md +8 -4
  28. package/docs/sdks/drives/README.md +8 -4
  29. package/docs/sdks/employees/README.md +8 -4
  30. package/docs/sdks/eventlogs/README.md +8 -4
  31. package/docs/sdks/expenses/README.md +8 -4
  32. package/docs/sdks/files/README.md +8 -4
  33. package/docs/sdks/invoiceitems/README.md +8 -4
  34. package/docs/sdks/invoices/README.md +8 -4
  35. package/docs/sdks/jobs/README.md +8 -4
  36. package/docs/sdks/journalentries/README.md +8 -4
  37. package/docs/sdks/leads/README.md +8 -4
  38. package/docs/sdks/ledgeraccounts/README.md +8 -4
  39. package/docs/sdks/locations/README.md +8 -4
  40. package/docs/sdks/logs/README.md +8 -4
  41. package/docs/sdks/messages/README.md +8 -4
  42. package/docs/sdks/notes/README.md +8 -4
  43. package/docs/sdks/opportunities/README.md +8 -4
  44. package/docs/sdks/orders/README.md +8 -4
  45. package/docs/sdks/payments/README.md +8 -4
  46. package/docs/sdks/pipelines/README.md +8 -4
  47. package/docs/sdks/products/README.md +8 -4
  48. package/docs/sdks/purchaseorders/README.md +8 -4
  49. package/docs/sdks/sharedlinks/README.md +8 -4
  50. package/docs/sdks/subsidiaries/README.md +8 -4
  51. package/docs/sdks/suppliers/README.md +8 -4
  52. package/docs/sdks/taxrates/README.md +8 -4
  53. package/docs/sdks/timeoffrequests/README.md +8 -4
  54. package/docs/sdks/trackingcategories/README.md +8 -4
  55. package/docs/sdks/users/README.md +8 -4
  56. package/docs/sdks/webhooks/README.md +8 -4
  57. package/funcs/accountingAgedCreditorsGet.d.ts +16 -0
  58. package/funcs/accountingAgedCreditorsGet.d.ts.map +1 -0
  59. package/funcs/accountingAgedCreditorsGet.js +121 -0
  60. package/funcs/accountingAgedCreditorsGet.js.map +1 -0
  61. package/funcs/accountingAgedDebtorsGet.d.ts +16 -0
  62. package/funcs/accountingAgedDebtorsGet.d.ts.map +1 -0
  63. package/funcs/accountingAgedDebtorsGet.js +121 -0
  64. package/funcs/accountingAgedDebtorsGet.js.map +1 -0
  65. package/funcs/accountingAttachmentsList.d.ts +4 -1
  66. package/funcs/accountingAttachmentsList.d.ts.map +1 -1
  67. package/funcs/accountingAttachmentsList.js +20 -6
  68. package/funcs/accountingAttachmentsList.js.map +1 -1
  69. package/funcs/accountingBillPaymentsList.d.ts +4 -1
  70. package/funcs/accountingBillPaymentsList.d.ts.map +1 -1
  71. package/funcs/accountingBillPaymentsList.js +20 -6
  72. package/funcs/accountingBillPaymentsList.js.map +1 -1
  73. package/funcs/accountingBillsList.d.ts +4 -1
  74. package/funcs/accountingBillsList.d.ts.map +1 -1
  75. package/funcs/accountingBillsList.js +20 -6
  76. package/funcs/accountingBillsList.js.map +1 -1
  77. package/funcs/accountingCreditNotesList.d.ts +4 -1
  78. package/funcs/accountingCreditNotesList.d.ts.map +1 -1
  79. package/funcs/accountingCreditNotesList.js +20 -6
  80. package/funcs/accountingCreditNotesList.js.map +1 -1
  81. package/funcs/accountingCustomersList.d.ts +4 -1
  82. package/funcs/accountingCustomersList.d.ts.map +1 -1
  83. package/funcs/accountingCustomersList.js +20 -6
  84. package/funcs/accountingCustomersList.js.map +1 -1
  85. package/funcs/accountingDepartmentsList.d.ts +4 -1
  86. package/funcs/accountingDepartmentsList.d.ts.map +1 -1
  87. package/funcs/accountingDepartmentsList.js +20 -6
  88. package/funcs/accountingDepartmentsList.js.map +1 -1
  89. package/funcs/accountingExpensesList.d.ts +4 -1
  90. package/funcs/accountingExpensesList.d.ts.map +1 -1
  91. package/funcs/accountingExpensesList.js +20 -6
  92. package/funcs/accountingExpensesList.js.map +1 -1
  93. package/funcs/accountingInvoiceItemsList.d.ts +4 -1
  94. package/funcs/accountingInvoiceItemsList.d.ts.map +1 -1
  95. package/funcs/accountingInvoiceItemsList.js +20 -6
  96. package/funcs/accountingInvoiceItemsList.js.map +1 -1
  97. package/funcs/accountingInvoicesList.d.ts +4 -1
  98. package/funcs/accountingInvoicesList.d.ts.map +1 -1
  99. package/funcs/accountingInvoicesList.js +20 -6
  100. package/funcs/accountingInvoicesList.js.map +1 -1
  101. package/funcs/accountingJournalEntriesList.d.ts +4 -1
  102. package/funcs/accountingJournalEntriesList.d.ts.map +1 -1
  103. package/funcs/accountingJournalEntriesList.js +20 -6
  104. package/funcs/accountingJournalEntriesList.js.map +1 -1
  105. package/funcs/accountingLedgerAccountsList.d.ts +4 -1
  106. package/funcs/accountingLedgerAccountsList.d.ts.map +1 -1
  107. package/funcs/accountingLedgerAccountsList.js +20 -6
  108. package/funcs/accountingLedgerAccountsList.js.map +1 -1
  109. package/funcs/accountingLocationsList.d.ts +4 -1
  110. package/funcs/accountingLocationsList.d.ts.map +1 -1
  111. package/funcs/accountingLocationsList.js +20 -6
  112. package/funcs/accountingLocationsList.js.map +1 -1
  113. package/funcs/accountingPaymentsList.d.ts +4 -1
  114. package/funcs/accountingPaymentsList.d.ts.map +1 -1
  115. package/funcs/accountingPaymentsList.js +20 -6
  116. package/funcs/accountingPaymentsList.js.map +1 -1
  117. package/funcs/accountingPurchaseOrdersList.d.ts +4 -1
  118. package/funcs/accountingPurchaseOrdersList.d.ts.map +1 -1
  119. package/funcs/accountingPurchaseOrdersList.js +20 -6
  120. package/funcs/accountingPurchaseOrdersList.js.map +1 -1
  121. package/funcs/accountingSubsidiariesList.d.ts +4 -1
  122. package/funcs/accountingSubsidiariesList.d.ts.map +1 -1
  123. package/funcs/accountingSubsidiariesList.js +20 -6
  124. package/funcs/accountingSubsidiariesList.js.map +1 -1
  125. package/funcs/accountingSuppliersList.d.ts +4 -1
  126. package/funcs/accountingSuppliersList.d.ts.map +1 -1
  127. package/funcs/accountingSuppliersList.js +20 -6
  128. package/funcs/accountingSuppliersList.js.map +1 -1
  129. package/funcs/accountingTaxRatesList.d.ts +4 -1
  130. package/funcs/accountingTaxRatesList.d.ts.map +1 -1
  131. package/funcs/accountingTaxRatesList.js +20 -6
  132. package/funcs/accountingTaxRatesList.js.map +1 -1
  133. package/funcs/accountingTrackingCategoriesList.d.ts +4 -1
  134. package/funcs/accountingTrackingCategoriesList.d.ts.map +1 -1
  135. package/funcs/accountingTrackingCategoriesList.js +20 -6
  136. package/funcs/accountingTrackingCategoriesList.js.map +1 -1
  137. package/funcs/atsApplicantsList.d.ts +4 -1
  138. package/funcs/atsApplicantsList.d.ts.map +1 -1
  139. package/funcs/atsApplicantsList.js +20 -6
  140. package/funcs/atsApplicantsList.js.map +1 -1
  141. package/funcs/atsApplicationsList.d.ts +4 -1
  142. package/funcs/atsApplicationsList.d.ts.map +1 -1
  143. package/funcs/atsApplicationsList.js +20 -6
  144. package/funcs/atsApplicationsList.js.map +1 -1
  145. package/funcs/atsJobsList.d.ts +4 -1
  146. package/funcs/atsJobsList.d.ts.map +1 -1
  147. package/funcs/atsJobsList.js +20 -6
  148. package/funcs/atsJobsList.js.map +1 -1
  149. package/funcs/connectorApisList.d.ts +4 -1
  150. package/funcs/connectorApisList.d.ts.map +1 -1
  151. package/funcs/connectorApisList.js +20 -6
  152. package/funcs/connectorApisList.js.map +1 -1
  153. package/funcs/connectorConnectorsList.d.ts +4 -1
  154. package/funcs/connectorConnectorsList.d.ts.map +1 -1
  155. package/funcs/connectorConnectorsList.js +20 -6
  156. package/funcs/connectorConnectorsList.js.map +1 -1
  157. package/funcs/crmActivitiesList.d.ts +4 -1
  158. package/funcs/crmActivitiesList.d.ts.map +1 -1
  159. package/funcs/crmActivitiesList.js +20 -6
  160. package/funcs/crmActivitiesList.js.map +1 -1
  161. package/funcs/crmCompaniesList.d.ts +4 -1
  162. package/funcs/crmCompaniesList.d.ts.map +1 -1
  163. package/funcs/crmCompaniesList.js +20 -6
  164. package/funcs/crmCompaniesList.js.map +1 -1
  165. package/funcs/crmContactsList.d.ts +4 -1
  166. package/funcs/crmContactsList.d.ts.map +1 -1
  167. package/funcs/crmContactsList.js +20 -6
  168. package/funcs/crmContactsList.js.map +1 -1
  169. package/funcs/crmLeadsList.d.ts +4 -1
  170. package/funcs/crmLeadsList.d.ts.map +1 -1
  171. package/funcs/crmLeadsList.js +20 -6
  172. package/funcs/crmLeadsList.js.map +1 -1
  173. package/funcs/crmNotesList.d.ts +4 -1
  174. package/funcs/crmNotesList.d.ts.map +1 -1
  175. package/funcs/crmNotesList.js +20 -6
  176. package/funcs/crmNotesList.js.map +1 -1
  177. package/funcs/crmOpportunitiesList.d.ts +4 -1
  178. package/funcs/crmOpportunitiesList.d.ts.map +1 -1
  179. package/funcs/crmOpportunitiesList.js +20 -6
  180. package/funcs/crmOpportunitiesList.js.map +1 -1
  181. package/funcs/crmPipelinesList.d.ts +4 -1
  182. package/funcs/crmPipelinesList.d.ts.map +1 -1
  183. package/funcs/crmPipelinesList.js +20 -6
  184. package/funcs/crmPipelinesList.js.map +1 -1
  185. package/funcs/crmUsersList.d.ts +4 -1
  186. package/funcs/crmUsersList.d.ts.map +1 -1
  187. package/funcs/crmUsersList.js +20 -6
  188. package/funcs/crmUsersList.js.map +1 -1
  189. package/funcs/ecommerceCustomersList.d.ts +4 -1
  190. package/funcs/ecommerceCustomersList.d.ts.map +1 -1
  191. package/funcs/ecommerceCustomersList.js +20 -6
  192. package/funcs/ecommerceCustomersList.js.map +1 -1
  193. package/funcs/ecommerceOrdersList.d.ts +4 -1
  194. package/funcs/ecommerceOrdersList.d.ts.map +1 -1
  195. package/funcs/ecommerceOrdersList.js +20 -6
  196. package/funcs/ecommerceOrdersList.js.map +1 -1
  197. package/funcs/ecommerceProductsList.d.ts +4 -1
  198. package/funcs/ecommerceProductsList.d.ts.map +1 -1
  199. package/funcs/ecommerceProductsList.js +20 -6
  200. package/funcs/ecommerceProductsList.js.map +1 -1
  201. package/funcs/fileStorageDriveGroupsList.d.ts +4 -1
  202. package/funcs/fileStorageDriveGroupsList.d.ts.map +1 -1
  203. package/funcs/fileStorageDriveGroupsList.js +20 -6
  204. package/funcs/fileStorageDriveGroupsList.js.map +1 -1
  205. package/funcs/fileStorageDrivesList.d.ts +4 -1
  206. package/funcs/fileStorageDrivesList.d.ts.map +1 -1
  207. package/funcs/fileStorageDrivesList.js +20 -6
  208. package/funcs/fileStorageDrivesList.js.map +1 -1
  209. package/funcs/fileStorageFilesList.d.ts +4 -1
  210. package/funcs/fileStorageFilesList.d.ts.map +1 -1
  211. package/funcs/fileStorageFilesList.js +20 -6
  212. package/funcs/fileStorageFilesList.js.map +1 -1
  213. package/funcs/fileStorageSharedLinksList.d.ts +4 -1
  214. package/funcs/fileStorageSharedLinksList.d.ts.map +1 -1
  215. package/funcs/fileStorageSharedLinksList.js +20 -6
  216. package/funcs/fileStorageSharedLinksList.js.map +1 -1
  217. package/funcs/hrisCompaniesList.d.ts +4 -1
  218. package/funcs/hrisCompaniesList.d.ts.map +1 -1
  219. package/funcs/hrisCompaniesList.js +20 -6
  220. package/funcs/hrisCompaniesList.js.map +1 -1
  221. package/funcs/hrisDepartmentsList.d.ts +4 -1
  222. package/funcs/hrisDepartmentsList.d.ts.map +1 -1
  223. package/funcs/hrisDepartmentsList.js +20 -6
  224. package/funcs/hrisDepartmentsList.js.map +1 -1
  225. package/funcs/hrisEmployeesList.d.ts +4 -1
  226. package/funcs/hrisEmployeesList.d.ts.map +1 -1
  227. package/funcs/hrisEmployeesList.js +20 -6
  228. package/funcs/hrisEmployeesList.js.map +1 -1
  229. package/funcs/hrisTimeOffRequestsList.d.ts +4 -1
  230. package/funcs/hrisTimeOffRequestsList.d.ts.map +1 -1
  231. package/funcs/hrisTimeOffRequestsList.js +20 -6
  232. package/funcs/hrisTimeOffRequestsList.js.map +1 -1
  233. package/funcs/issueTrackingCollectionTagsList.d.ts +4 -1
  234. package/funcs/issueTrackingCollectionTagsList.d.ts.map +1 -1
  235. package/funcs/issueTrackingCollectionTagsList.js +20 -6
  236. package/funcs/issueTrackingCollectionTagsList.js.map +1 -1
  237. package/funcs/issueTrackingCollectionTicketCommentsGet.d.ts +4 -1
  238. package/funcs/issueTrackingCollectionTicketCommentsGet.d.ts.map +1 -1
  239. package/funcs/issueTrackingCollectionTicketCommentsGet.js +20 -6
  240. package/funcs/issueTrackingCollectionTicketCommentsGet.js.map +1 -1
  241. package/funcs/issueTrackingCollectionTicketCommentsList.d.ts +4 -1
  242. package/funcs/issueTrackingCollectionTicketCommentsList.d.ts.map +1 -1
  243. package/funcs/issueTrackingCollectionTicketCommentsList.js +20 -6
  244. package/funcs/issueTrackingCollectionTicketCommentsList.js.map +1 -1
  245. package/funcs/issueTrackingCollectionTicketsList.d.ts +4 -1
  246. package/funcs/issueTrackingCollectionTicketsList.d.ts.map +1 -1
  247. package/funcs/issueTrackingCollectionTicketsList.js +20 -6
  248. package/funcs/issueTrackingCollectionTicketsList.js.map +1 -1
  249. package/funcs/issueTrackingCollectionUsersList.d.ts +4 -1
  250. package/funcs/issueTrackingCollectionUsersList.d.ts.map +1 -1
  251. package/funcs/issueTrackingCollectionUsersList.js +20 -6
  252. package/funcs/issueTrackingCollectionUsersList.js.map +1 -1
  253. package/funcs/issueTrackingCollectionsList.d.ts +4 -1
  254. package/funcs/issueTrackingCollectionsList.d.ts.map +1 -1
  255. package/funcs/issueTrackingCollectionsList.js +20 -6
  256. package/funcs/issueTrackingCollectionsList.js.map +1 -1
  257. package/funcs/smsMessagesList.d.ts +4 -1
  258. package/funcs/smsMessagesList.d.ts.map +1 -1
  259. package/funcs/smsMessagesList.js +20 -6
  260. package/funcs/smsMessagesList.js.map +1 -1
  261. package/funcs/vaultConsumersList.d.ts +4 -1
  262. package/funcs/vaultConsumersList.d.ts.map +1 -1
  263. package/funcs/vaultConsumersList.js +20 -6
  264. package/funcs/vaultConsumersList.js.map +1 -1
  265. package/funcs/vaultLogsList.d.ts +4 -1
  266. package/funcs/vaultLogsList.d.ts.map +1 -1
  267. package/funcs/vaultLogsList.js +20 -6
  268. package/funcs/vaultLogsList.js.map +1 -1
  269. package/funcs/webhookEventLogsList.d.ts +4 -1
  270. package/funcs/webhookEventLogsList.d.ts.map +1 -1
  271. package/funcs/webhookEventLogsList.js +20 -6
  272. package/funcs/webhookEventLogsList.js.map +1 -1
  273. package/funcs/webhookWebhooksList.d.ts +4 -1
  274. package/funcs/webhookWebhooksList.d.ts.map +1 -1
  275. package/funcs/webhookWebhooksList.js +20 -6
  276. package/funcs/webhookWebhooksList.js.map +1 -1
  277. package/lib/config.d.ts +4 -4
  278. package/lib/config.js +4 -4
  279. package/models/components/agedcreditors.d.ts +51 -0
  280. package/models/components/agedcreditors.d.ts.map +1 -0
  281. package/models/components/agedcreditors.js +86 -0
  282. package/models/components/agedcreditors.js.map +1 -0
  283. package/models/components/ageddebtors.d.ts +51 -0
  284. package/models/components/ageddebtors.d.ts.map +1 -0
  285. package/models/components/ageddebtors.js +86 -0
  286. package/models/components/ageddebtors.js.map +1 -0
  287. package/models/components/agedreportfilter.d.ts +47 -0
  288. package/models/components/agedreportfilter.d.ts.map +1 -0
  289. package/models/components/agedreportfilter.js +80 -0
  290. package/models/components/agedreportfilter.js.map +1 -0
  291. package/models/components/balancebyperiod.d.ts +46 -0
  292. package/models/components/balancebyperiod.d.ts.map +1 -0
  293. package/models/components/balancebyperiod.js +84 -0
  294. package/models/components/balancebyperiod.js.map +1 -0
  295. package/models/components/balancebytransaction.d.ts +99 -0
  296. package/models/components/balancebytransaction.d.ts.map +1 -0
  297. package/models/components/balancebytransaction.js +115 -0
  298. package/models/components/balancebytransaction.js.map +1 -0
  299. package/models/components/getagedcreditorsresponse.d.ts +58 -0
  300. package/models/components/getagedcreditorsresponse.d.ts.map +1 -0
  301. package/models/components/getagedcreditorsresponse.js +79 -0
  302. package/models/components/getagedcreditorsresponse.js.map +1 -0
  303. package/models/components/getageddebtorsresponse.d.ts +58 -0
  304. package/models/components/getageddebtorsresponse.d.ts.map +1 -0
  305. package/models/components/getageddebtorsresponse.js +79 -0
  306. package/models/components/getageddebtorsresponse.js.map +1 -0
  307. package/models/components/index.d.ts +9 -0
  308. package/models/components/index.d.ts.map +1 -1
  309. package/models/components/index.js +9 -0
  310. package/models/components/index.js.map +1 -1
  311. package/models/components/outstandingbalance.d.ts +40 -0
  312. package/models/components/outstandingbalance.d.ts.map +1 -0
  313. package/models/components/outstandingbalance.js +77 -0
  314. package/models/components/outstandingbalance.js.map +1 -0
  315. package/models/components/outstandingbalancebycurrency.d.ts +36 -0
  316. package/models/components/outstandingbalancebycurrency.d.ts.map +1 -0
  317. package/models/components/outstandingbalancebycurrency.js +72 -0
  318. package/models/components/outstandingbalancebycurrency.js.map +1 -0
  319. package/models/operations/accountingagedcreditorsone.d.ts +125 -0
  320. package/models/operations/accountingagedcreditorsone.d.ts.map +1 -0
  321. package/models/operations/accountingagedcreditorsone.js +153 -0
  322. package/models/operations/accountingagedcreditorsone.js.map +1 -0
  323. package/models/operations/accountingageddebtorsone.d.ts +125 -0
  324. package/models/operations/accountingageddebtorsone.d.ts.map +1 -0
  325. package/models/operations/accountingageddebtorsone.js +153 -0
  326. package/models/operations/accountingageddebtorsone.js.map +1 -0
  327. package/models/operations/index.d.ts +2 -0
  328. package/models/operations/index.d.ts.map +1 -1
  329. package/models/operations/index.js +2 -0
  330. package/models/operations/index.js.map +1 -1
  331. package/package.json +1 -1
  332. package/sdk/accounting.d.ts +6 -0
  333. package/sdk/accounting.d.ts.map +1 -1
  334. package/sdk/accounting.js +10 -0
  335. package/sdk/accounting.js.map +1 -1
  336. package/sdk/activities.d.ts +4 -1
  337. package/sdk/activities.d.ts.map +1 -1
  338. package/sdk/activities.js +2 -1
  339. package/sdk/activities.js.map +1 -1
  340. package/sdk/agedcreditors.d.ts +12 -0
  341. package/sdk/agedcreditors.d.ts.map +1 -0
  342. package/sdk/agedcreditors.js +22 -0
  343. package/sdk/agedcreditors.js.map +1 -0
  344. package/sdk/ageddebtors.d.ts +12 -0
  345. package/sdk/ageddebtors.d.ts.map +1 -0
  346. package/sdk/ageddebtors.js +22 -0
  347. package/sdk/ageddebtors.js.map +1 -0
  348. package/sdk/apideckcompanies.d.ts +4 -1
  349. package/sdk/apideckcompanies.d.ts.map +1 -1
  350. package/sdk/apideckcompanies.js +2 -1
  351. package/sdk/apideckcompanies.js.map +1 -1
  352. package/sdk/apideckcustomers.d.ts +4 -1
  353. package/sdk/apideckcustomers.d.ts.map +1 -1
  354. package/sdk/apideckcustomers.js +2 -1
  355. package/sdk/apideckcustomers.js.map +1 -1
  356. package/sdk/apideckdepartments.d.ts +4 -1
  357. package/sdk/apideckdepartments.d.ts.map +1 -1
  358. package/sdk/apideckdepartments.js +2 -1
  359. package/sdk/apideckdepartments.js.map +1 -1
  360. package/sdk/apis.d.ts +4 -1
  361. package/sdk/apis.d.ts.map +1 -1
  362. package/sdk/apis.js +2 -1
  363. package/sdk/apis.js.map +1 -1
  364. package/sdk/applicants.d.ts +4 -1
  365. package/sdk/applicants.d.ts.map +1 -1
  366. package/sdk/applicants.js +2 -1
  367. package/sdk/applicants.js.map +1 -1
  368. package/sdk/applications.d.ts +4 -1
  369. package/sdk/applications.d.ts.map +1 -1
  370. package/sdk/applications.js +2 -1
  371. package/sdk/applications.js.map +1 -1
  372. package/sdk/attachments.d.ts +4 -1
  373. package/sdk/attachments.d.ts.map +1 -1
  374. package/sdk/attachments.js +2 -1
  375. package/sdk/attachments.js.map +1 -1
  376. package/sdk/billpayments.d.ts +4 -1
  377. package/sdk/billpayments.d.ts.map +1 -1
  378. package/sdk/billpayments.js +2 -1
  379. package/sdk/billpayments.js.map +1 -1
  380. package/sdk/bills.d.ts +4 -1
  381. package/sdk/bills.d.ts.map +1 -1
  382. package/sdk/bills.js +2 -1
  383. package/sdk/bills.js.map +1 -1
  384. package/sdk/collections.d.ts +4 -1
  385. package/sdk/collections.d.ts.map +1 -1
  386. package/sdk/collections.js +2 -1
  387. package/sdk/collections.js.map +1 -1
  388. package/sdk/collectiontags.d.ts +4 -1
  389. package/sdk/collectiontags.d.ts.map +1 -1
  390. package/sdk/collectiontags.js +2 -2
  391. package/sdk/collectiontags.js.map +1 -1
  392. package/sdk/collectionticketcomments.d.ts +7 -2
  393. package/sdk/collectionticketcomments.d.ts.map +1 -1
  394. package/sdk/collectionticketcomments.js +3 -2
  395. package/sdk/collectionticketcomments.js.map +1 -1
  396. package/sdk/collectiontickets.d.ts +4 -1
  397. package/sdk/collectiontickets.d.ts.map +1 -1
  398. package/sdk/collectiontickets.js +2 -1
  399. package/sdk/collectiontickets.js.map +1 -1
  400. package/sdk/collectionusers.d.ts +4 -1
  401. package/sdk/collectionusers.d.ts.map +1 -1
  402. package/sdk/collectionusers.js +2 -1
  403. package/sdk/collectionusers.js.map +1 -1
  404. package/sdk/companies.d.ts +4 -1
  405. package/sdk/companies.d.ts.map +1 -1
  406. package/sdk/companies.js +2 -1
  407. package/sdk/companies.js.map +1 -1
  408. package/sdk/connectors.d.ts +4 -1
  409. package/sdk/connectors.d.ts.map +1 -1
  410. package/sdk/connectors.js +2 -1
  411. package/sdk/connectors.js.map +1 -1
  412. package/sdk/consumers.d.ts +4 -1
  413. package/sdk/consumers.d.ts.map +1 -1
  414. package/sdk/consumers.js +2 -1
  415. package/sdk/consumers.js.map +1 -1
  416. package/sdk/contacts.d.ts +4 -1
  417. package/sdk/contacts.d.ts.map +1 -1
  418. package/sdk/contacts.js +2 -1
  419. package/sdk/contacts.js.map +1 -1
  420. package/sdk/creditnotes.d.ts +4 -1
  421. package/sdk/creditnotes.d.ts.map +1 -1
  422. package/sdk/creditnotes.js +2 -1
  423. package/sdk/creditnotes.js.map +1 -1
  424. package/sdk/customers.d.ts +4 -1
  425. package/sdk/customers.d.ts.map +1 -1
  426. package/sdk/customers.js +2 -1
  427. package/sdk/customers.js.map +1 -1
  428. package/sdk/departments.d.ts +4 -1
  429. package/sdk/departments.d.ts.map +1 -1
  430. package/sdk/departments.js +2 -1
  431. package/sdk/departments.js.map +1 -1
  432. package/sdk/drivegroups.d.ts +4 -1
  433. package/sdk/drivegroups.d.ts.map +1 -1
  434. package/sdk/drivegroups.js +2 -1
  435. package/sdk/drivegroups.js.map +1 -1
  436. package/sdk/drives.d.ts +4 -1
  437. package/sdk/drives.d.ts.map +1 -1
  438. package/sdk/drives.js +2 -1
  439. package/sdk/drives.js.map +1 -1
  440. package/sdk/employees.d.ts +4 -1
  441. package/sdk/employees.d.ts.map +1 -1
  442. package/sdk/employees.js +2 -1
  443. package/sdk/employees.js.map +1 -1
  444. package/sdk/eventlogs.d.ts +4 -1
  445. package/sdk/eventlogs.d.ts.map +1 -1
  446. package/sdk/eventlogs.js +2 -2
  447. package/sdk/eventlogs.js.map +1 -1
  448. package/sdk/expenses.d.ts +4 -1
  449. package/sdk/expenses.d.ts.map +1 -1
  450. package/sdk/expenses.js +2 -1
  451. package/sdk/expenses.js.map +1 -1
  452. package/sdk/files.d.ts +4 -1
  453. package/sdk/files.d.ts.map +1 -1
  454. package/sdk/files.js +2 -1
  455. package/sdk/files.js.map +1 -1
  456. package/sdk/invoiceitems.d.ts +4 -1
  457. package/sdk/invoiceitems.d.ts.map +1 -1
  458. package/sdk/invoiceitems.js +2 -1
  459. package/sdk/invoiceitems.js.map +1 -1
  460. package/sdk/invoices.d.ts +4 -1
  461. package/sdk/invoices.d.ts.map +1 -1
  462. package/sdk/invoices.js +2 -1
  463. package/sdk/invoices.js.map +1 -1
  464. package/sdk/jobs.d.ts +4 -1
  465. package/sdk/jobs.d.ts.map +1 -1
  466. package/sdk/jobs.js +2 -1
  467. package/sdk/jobs.js.map +1 -1
  468. package/sdk/journalentries.d.ts +4 -1
  469. package/sdk/journalentries.d.ts.map +1 -1
  470. package/sdk/journalentries.js +2 -1
  471. package/sdk/journalentries.js.map +1 -1
  472. package/sdk/leads.d.ts +4 -1
  473. package/sdk/leads.d.ts.map +1 -1
  474. package/sdk/leads.js +2 -1
  475. package/sdk/leads.js.map +1 -1
  476. package/sdk/ledgeraccounts.d.ts +4 -1
  477. package/sdk/ledgeraccounts.d.ts.map +1 -1
  478. package/sdk/ledgeraccounts.js +2 -1
  479. package/sdk/ledgeraccounts.js.map +1 -1
  480. package/sdk/locations.d.ts +4 -1
  481. package/sdk/locations.d.ts.map +1 -1
  482. package/sdk/locations.js +2 -1
  483. package/sdk/locations.js.map +1 -1
  484. package/sdk/logs.d.ts +4 -1
  485. package/sdk/logs.d.ts.map +1 -1
  486. package/sdk/logs.js +2 -2
  487. package/sdk/logs.js.map +1 -1
  488. package/sdk/messages.d.ts +4 -1
  489. package/sdk/messages.d.ts.map +1 -1
  490. package/sdk/messages.js +2 -1
  491. package/sdk/messages.js.map +1 -1
  492. package/sdk/notes.d.ts +4 -1
  493. package/sdk/notes.d.ts.map +1 -1
  494. package/sdk/notes.js +2 -1
  495. package/sdk/notes.js.map +1 -1
  496. package/sdk/opportunities.d.ts +4 -1
  497. package/sdk/opportunities.d.ts.map +1 -1
  498. package/sdk/opportunities.js +2 -1
  499. package/sdk/opportunities.js.map +1 -1
  500. package/sdk/orders.d.ts +4 -1
  501. package/sdk/orders.d.ts.map +1 -1
  502. package/sdk/orders.js +2 -1
  503. package/sdk/orders.js.map +1 -1
  504. package/sdk/payments.d.ts +4 -1
  505. package/sdk/payments.d.ts.map +1 -1
  506. package/sdk/payments.js +2 -1
  507. package/sdk/payments.js.map +1 -1
  508. package/sdk/pipelines.d.ts +4 -1
  509. package/sdk/pipelines.d.ts.map +1 -1
  510. package/sdk/pipelines.js +2 -1
  511. package/sdk/pipelines.js.map +1 -1
  512. package/sdk/products.d.ts +4 -1
  513. package/sdk/products.d.ts.map +1 -1
  514. package/sdk/products.js +2 -1
  515. package/sdk/products.js.map +1 -1
  516. package/sdk/purchaseorders.d.ts +4 -1
  517. package/sdk/purchaseorders.d.ts.map +1 -1
  518. package/sdk/purchaseorders.js +2 -1
  519. package/sdk/purchaseorders.js.map +1 -1
  520. package/sdk/sharedlinks.d.ts +4 -1
  521. package/sdk/sharedlinks.d.ts.map +1 -1
  522. package/sdk/sharedlinks.js +2 -1
  523. package/sdk/sharedlinks.js.map +1 -1
  524. package/sdk/subsidiaries.d.ts +4 -1
  525. package/sdk/subsidiaries.d.ts.map +1 -1
  526. package/sdk/subsidiaries.js +2 -1
  527. package/sdk/subsidiaries.js.map +1 -1
  528. package/sdk/suppliers.d.ts +4 -1
  529. package/sdk/suppliers.d.ts.map +1 -1
  530. package/sdk/suppliers.js +2 -1
  531. package/sdk/suppliers.js.map +1 -1
  532. package/sdk/taxrates.d.ts +4 -1
  533. package/sdk/taxrates.d.ts.map +1 -1
  534. package/sdk/taxrates.js +2 -1
  535. package/sdk/taxrates.js.map +1 -1
  536. package/sdk/timeoffrequests.d.ts +4 -1
  537. package/sdk/timeoffrequests.d.ts.map +1 -1
  538. package/sdk/timeoffrequests.js +2 -1
  539. package/sdk/timeoffrequests.js.map +1 -1
  540. package/sdk/trackingcategories.d.ts +4 -1
  541. package/sdk/trackingcategories.d.ts.map +1 -1
  542. package/sdk/trackingcategories.js +2 -1
  543. package/sdk/trackingcategories.js.map +1 -1
  544. package/sdk/users.d.ts +4 -1
  545. package/sdk/users.d.ts.map +1 -1
  546. package/sdk/users.js +2 -1
  547. package/sdk/users.js.map +1 -1
  548. package/sdk/webhooks.d.ts +4 -1
  549. package/sdk/webhooks.d.ts.map +1 -1
  550. package/sdk/webhooks.js +2 -1
  551. package/sdk/webhooks.js.map +1 -1
  552. package/src/funcs/accountingAgedCreditorsGet.ts +192 -0
  553. package/src/funcs/accountingAgedDebtorsGet.ts +192 -0
  554. package/src/funcs/accountingAttachmentsList.ts +71 -20
  555. package/src/funcs/accountingBillPaymentsList.ts +71 -20
  556. package/src/funcs/accountingBillsList.ts +71 -20
  557. package/src/funcs/accountingCreditNotesList.ts +71 -20
  558. package/src/funcs/accountingCustomersList.ts +71 -20
  559. package/src/funcs/accountingDepartmentsList.ts +71 -20
  560. package/src/funcs/accountingExpensesList.ts +71 -20
  561. package/src/funcs/accountingInvoiceItemsList.ts +71 -20
  562. package/src/funcs/accountingInvoicesList.ts +71 -20
  563. package/src/funcs/accountingJournalEntriesList.ts +71 -20
  564. package/src/funcs/accountingLedgerAccountsList.ts +71 -20
  565. package/src/funcs/accountingLocationsList.ts +71 -20
  566. package/src/funcs/accountingPaymentsList.ts +71 -20
  567. package/src/funcs/accountingPurchaseOrdersList.ts +71 -20
  568. package/src/funcs/accountingSubsidiariesList.ts +71 -20
  569. package/src/funcs/accountingSuppliersList.ts +71 -20
  570. package/src/funcs/accountingTaxRatesList.ts +71 -20
  571. package/src/funcs/accountingTrackingCategoriesList.ts +71 -20
  572. package/src/funcs/atsApplicantsList.ts +71 -20
  573. package/src/funcs/atsApplicationsList.ts +71 -20
  574. package/src/funcs/atsJobsList.ts +71 -20
  575. package/src/funcs/connectorApisList.ts +67 -18
  576. package/src/funcs/connectorConnectorsList.ts +67 -18
  577. package/src/funcs/crmActivitiesList.ts +71 -20
  578. package/src/funcs/crmCompaniesList.ts +71 -20
  579. package/src/funcs/crmContactsList.ts +71 -20
  580. package/src/funcs/crmLeadsList.ts +71 -20
  581. package/src/funcs/crmNotesList.ts +71 -20
  582. package/src/funcs/crmOpportunitiesList.ts +71 -20
  583. package/src/funcs/crmPipelinesList.ts +71 -20
  584. package/src/funcs/crmUsersList.ts +71 -20
  585. package/src/funcs/ecommerceCustomersList.ts +71 -20
  586. package/src/funcs/ecommerceOrdersList.ts +71 -20
  587. package/src/funcs/ecommerceProductsList.ts +71 -20
  588. package/src/funcs/fileStorageDriveGroupsList.ts +71 -20
  589. package/src/funcs/fileStorageDrivesList.ts +71 -20
  590. package/src/funcs/fileStorageFilesList.ts +71 -20
  591. package/src/funcs/fileStorageSharedLinksList.ts +71 -20
  592. package/src/funcs/hrisCompaniesList.ts +71 -20
  593. package/src/funcs/hrisDepartmentsList.ts +71 -20
  594. package/src/funcs/hrisEmployeesList.ts +71 -20
  595. package/src/funcs/hrisTimeOffRequestsList.ts +71 -20
  596. package/src/funcs/issueTrackingCollectionTagsList.ts +71 -20
  597. package/src/funcs/issueTrackingCollectionTicketCommentsGet.ts +71 -20
  598. package/src/funcs/issueTrackingCollectionTicketCommentsList.ts +71 -20
  599. package/src/funcs/issueTrackingCollectionTicketsList.ts +71 -20
  600. package/src/funcs/issueTrackingCollectionUsersList.ts +71 -20
  601. package/src/funcs/issueTrackingCollectionsList.ts +71 -20
  602. package/src/funcs/smsMessagesList.ts +71 -20
  603. package/src/funcs/vaultConsumersList.ts +71 -20
  604. package/src/funcs/vaultLogsList.ts +71 -20
  605. package/src/funcs/webhookEventLogsList.ts +71 -20
  606. package/src/funcs/webhookWebhooksList.ts +71 -20
  607. package/src/lib/config.ts +4 -4
  608. package/src/models/components/agedcreditors.ts +116 -0
  609. package/src/models/components/ageddebtors.ts +116 -0
  610. package/src/models/components/agedreportfilter.ts +105 -0
  611. package/src/models/components/balancebyperiod.ts +109 -0
  612. package/src/models/components/balancebytransaction.ts +162 -0
  613. package/src/models/components/getagedcreditorsresponse.ts +119 -0
  614. package/src/models/components/getageddebtorsresponse.ts +119 -0
  615. package/src/models/components/index.ts +9 -0
  616. package/src/models/components/outstandingbalance.ts +107 -0
  617. package/src/models/components/outstandingbalancebycurrency.ts +95 -0
  618. package/src/models/operations/accountingagedcreditorsone.ts +277 -0
  619. package/src/models/operations/accountingageddebtorsone.ts +273 -0
  620. package/src/models/operations/index.ts +2 -0
  621. package/src/sdk/accounting.ts +12 -0
  622. package/src/sdk/activities.ts +5 -2
  623. package/src/sdk/agedcreditors.ts +27 -0
  624. package/src/sdk/ageddebtors.ts +27 -0
  625. package/src/sdk/apideckcompanies.ts +5 -2
  626. package/src/sdk/apideckcustomers.ts +5 -2
  627. package/src/sdk/apideckdepartments.ts +5 -2
  628. package/src/sdk/apis.ts +5 -2
  629. package/src/sdk/applicants.ts +5 -2
  630. package/src/sdk/applications.ts +5 -2
  631. package/src/sdk/attachments.ts +8 -2
  632. package/src/sdk/billpayments.ts +8 -2
  633. package/src/sdk/bills.ts +5 -2
  634. package/src/sdk/collections.ts +8 -2
  635. package/src/sdk/collectiontags.ts +8 -3
  636. package/src/sdk/collectionticketcomments.ts +15 -4
  637. package/src/sdk/collectiontickets.ts +8 -2
  638. package/src/sdk/collectionusers.ts +8 -2
  639. package/src/sdk/companies.ts +5 -2
  640. package/src/sdk/connectors.ts +5 -2
  641. package/src/sdk/consumers.ts +5 -2
  642. package/src/sdk/contacts.ts +5 -2
  643. package/src/sdk/creditnotes.ts +8 -2
  644. package/src/sdk/customers.ts +5 -2
  645. package/src/sdk/departments.ts +8 -2
  646. package/src/sdk/drivegroups.ts +8 -2
  647. package/src/sdk/drives.ts +5 -2
  648. package/src/sdk/employees.ts +5 -2
  649. package/src/sdk/eventlogs.ts +5 -3
  650. package/src/sdk/expenses.ts +5 -2
  651. package/src/sdk/files.ts +5 -2
  652. package/src/sdk/invoiceitems.ts +8 -2
  653. package/src/sdk/invoices.ts +5 -2
  654. package/src/sdk/jobs.ts +3 -2
  655. package/src/sdk/journalentries.ts +8 -2
  656. package/src/sdk/leads.ts +3 -2
  657. package/src/sdk/ledgeraccounts.ts +8 -2
  658. package/src/sdk/locations.ts +5 -2
  659. package/src/sdk/logs.ts +5 -3
  660. package/src/sdk/messages.ts +5 -2
  661. package/src/sdk/notes.ts +3 -2
  662. package/src/sdk/opportunities.ts +5 -2
  663. package/src/sdk/orders.ts +5 -2
  664. package/src/sdk/payments.ts +5 -2
  665. package/src/sdk/pipelines.ts +5 -2
  666. package/src/sdk/products.ts +5 -2
  667. package/src/sdk/purchaseorders.ts +8 -2
  668. package/src/sdk/sharedlinks.ts +8 -2
  669. package/src/sdk/subsidiaries.ts +8 -2
  670. package/src/sdk/suppliers.ts +5 -2
  671. package/src/sdk/taxrates.ts +5 -2
  672. package/src/sdk/timeoffrequests.ts +5 -2
  673. package/src/sdk/trackingcategories.ts +8 -2
  674. package/src/sdk/users.ts +3 -2
  675. package/src/sdk/webhooks.ts +5 -2
@@ -0,0 +1,95 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import {
11
+ BalanceByPeriod,
12
+ BalanceByPeriod$inboundSchema,
13
+ BalanceByPeriod$Outbound,
14
+ BalanceByPeriod$outboundSchema,
15
+ } from "./balancebyperiod.js";
16
+ import {
17
+ Currency,
18
+ Currency$inboundSchema,
19
+ Currency$outboundSchema,
20
+ } from "./currency.js";
21
+
22
+ export type OutstandingBalanceByCurrency = {
23
+ /**
24
+ * Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217).
25
+ */
26
+ currency?: Currency | null | undefined;
27
+ balancesByPeriod?: Array<BalanceByPeriod> | undefined;
28
+ };
29
+
30
+ /** @internal */
31
+ export const OutstandingBalanceByCurrency$inboundSchema: z.ZodType<
32
+ OutstandingBalanceByCurrency,
33
+ z.ZodTypeDef,
34
+ unknown
35
+ > = z.object({
36
+ currency: z.nullable(Currency$inboundSchema).optional(),
37
+ balances_by_period: z.array(BalanceByPeriod$inboundSchema).optional(),
38
+ }).transform((v) => {
39
+ return remap$(v, {
40
+ "balances_by_period": "balancesByPeriod",
41
+ });
42
+ });
43
+
44
+ /** @internal */
45
+ export type OutstandingBalanceByCurrency$Outbound = {
46
+ currency?: string | null | undefined;
47
+ balances_by_period?: Array<BalanceByPeriod$Outbound> | undefined;
48
+ };
49
+
50
+ /** @internal */
51
+ export const OutstandingBalanceByCurrency$outboundSchema: z.ZodType<
52
+ OutstandingBalanceByCurrency$Outbound,
53
+ z.ZodTypeDef,
54
+ OutstandingBalanceByCurrency
55
+ > = z.object({
56
+ currency: z.nullable(Currency$outboundSchema).optional(),
57
+ balancesByPeriod: z.array(BalanceByPeriod$outboundSchema).optional(),
58
+ }).transform((v) => {
59
+ return remap$(v, {
60
+ balancesByPeriod: "balances_by_period",
61
+ });
62
+ });
63
+
64
+ /**
65
+ * @internal
66
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
67
+ */
68
+ export namespace OutstandingBalanceByCurrency$ {
69
+ /** @deprecated use `OutstandingBalanceByCurrency$inboundSchema` instead. */
70
+ export const inboundSchema = OutstandingBalanceByCurrency$inboundSchema;
71
+ /** @deprecated use `OutstandingBalanceByCurrency$outboundSchema` instead. */
72
+ export const outboundSchema = OutstandingBalanceByCurrency$outboundSchema;
73
+ /** @deprecated use `OutstandingBalanceByCurrency$Outbound` instead. */
74
+ export type Outbound = OutstandingBalanceByCurrency$Outbound;
75
+ }
76
+
77
+ export function outstandingBalanceByCurrencyToJSON(
78
+ outstandingBalanceByCurrency: OutstandingBalanceByCurrency,
79
+ ): string {
80
+ return JSON.stringify(
81
+ OutstandingBalanceByCurrency$outboundSchema.parse(
82
+ outstandingBalanceByCurrency,
83
+ ),
84
+ );
85
+ }
86
+
87
+ export function outstandingBalanceByCurrencyFromJSON(
88
+ jsonString: string,
89
+ ): SafeParseResult<OutstandingBalanceByCurrency, SDKValidationError> {
90
+ return safeParse(
91
+ jsonString,
92
+ (x) => OutstandingBalanceByCurrency$inboundSchema.parse(JSON.parse(x)),
93
+ `Failed to parse 'OutstandingBalanceByCurrency' from JSON`,
94
+ );
95
+ }
@@ -0,0 +1,277 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import * as components from "../components/index.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+
12
+ export type AccountingAgedCreditorsOneGlobals = {
13
+ /**
14
+ * ID of the consumer which you want to get or push data from
15
+ */
16
+ consumerId?: string | undefined;
17
+ /**
18
+ * The ID of your Unify application
19
+ */
20
+ appId?: string | undefined;
21
+ };
22
+
23
+ export type AccountingAgedCreditorsOneRequest = {
24
+ /**
25
+ * Include raw response. Mostly used for debugging purposes
26
+ */
27
+ raw?: boolean | undefined;
28
+ /**
29
+ * Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
30
+ */
31
+ serviceId?: string | undefined;
32
+ /**
33
+ * Apply filters
34
+ */
35
+ filter?: components.AgedReportFilter | undefined;
36
+ /**
37
+ * Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads
38
+ */
39
+ passThrough?: { [k: string]: any } | undefined;
40
+ /**
41
+ * The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded.
42
+ */
43
+ fields?: string | null | undefined;
44
+ };
45
+
46
+ export type AccountingAgedCreditorsOneResponse = {
47
+ httpMeta: components.HTTPMetadata;
48
+ /**
49
+ * Aged Creditors
50
+ */
51
+ getAgedCreditorsResponse?: components.GetAgedCreditorsResponse | undefined;
52
+ /**
53
+ * Unexpected error
54
+ */
55
+ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined;
56
+ };
57
+
58
+ /** @internal */
59
+ export const AccountingAgedCreditorsOneGlobals$inboundSchema: z.ZodType<
60
+ AccountingAgedCreditorsOneGlobals,
61
+ z.ZodTypeDef,
62
+ unknown
63
+ > = z.object({
64
+ consumerId: z.string().optional(),
65
+ appId: z.string().optional(),
66
+ });
67
+
68
+ /** @internal */
69
+ export type AccountingAgedCreditorsOneGlobals$Outbound = {
70
+ consumerId?: string | undefined;
71
+ appId?: string | undefined;
72
+ };
73
+
74
+ /** @internal */
75
+ export const AccountingAgedCreditorsOneGlobals$outboundSchema: z.ZodType<
76
+ AccountingAgedCreditorsOneGlobals$Outbound,
77
+ z.ZodTypeDef,
78
+ AccountingAgedCreditorsOneGlobals
79
+ > = z.object({
80
+ consumerId: z.string().optional(),
81
+ appId: z.string().optional(),
82
+ });
83
+
84
+ /**
85
+ * @internal
86
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
87
+ */
88
+ export namespace AccountingAgedCreditorsOneGlobals$ {
89
+ /** @deprecated use `AccountingAgedCreditorsOneGlobals$inboundSchema` instead. */
90
+ export const inboundSchema = AccountingAgedCreditorsOneGlobals$inboundSchema;
91
+ /** @deprecated use `AccountingAgedCreditorsOneGlobals$outboundSchema` instead. */
92
+ export const outboundSchema =
93
+ AccountingAgedCreditorsOneGlobals$outboundSchema;
94
+ /** @deprecated use `AccountingAgedCreditorsOneGlobals$Outbound` instead. */
95
+ export type Outbound = AccountingAgedCreditorsOneGlobals$Outbound;
96
+ }
97
+
98
+ export function accountingAgedCreditorsOneGlobalsToJSON(
99
+ accountingAgedCreditorsOneGlobals: AccountingAgedCreditorsOneGlobals,
100
+ ): string {
101
+ return JSON.stringify(
102
+ AccountingAgedCreditorsOneGlobals$outboundSchema.parse(
103
+ accountingAgedCreditorsOneGlobals,
104
+ ),
105
+ );
106
+ }
107
+
108
+ export function accountingAgedCreditorsOneGlobalsFromJSON(
109
+ jsonString: string,
110
+ ): SafeParseResult<AccountingAgedCreditorsOneGlobals, SDKValidationError> {
111
+ return safeParse(
112
+ jsonString,
113
+ (x) => AccountingAgedCreditorsOneGlobals$inboundSchema.parse(JSON.parse(x)),
114
+ `Failed to parse 'AccountingAgedCreditorsOneGlobals' from JSON`,
115
+ );
116
+ }
117
+
118
+ /** @internal */
119
+ export const AccountingAgedCreditorsOneRequest$inboundSchema: z.ZodType<
120
+ AccountingAgedCreditorsOneRequest,
121
+ z.ZodTypeDef,
122
+ unknown
123
+ > = z.object({
124
+ raw: z.boolean().default(false),
125
+ serviceId: z.string().optional(),
126
+ filter: components.AgedReportFilter$inboundSchema.optional(),
127
+ pass_through: z.record(z.any()).optional(),
128
+ fields: z.nullable(z.string()).optional(),
129
+ }).transform((v) => {
130
+ return remap$(v, {
131
+ "pass_through": "passThrough",
132
+ });
133
+ });
134
+
135
+ /** @internal */
136
+ export type AccountingAgedCreditorsOneRequest$Outbound = {
137
+ raw: boolean;
138
+ serviceId?: string | undefined;
139
+ filter?: components.AgedReportFilter$Outbound | undefined;
140
+ pass_through?: { [k: string]: any } | undefined;
141
+ fields?: string | null | undefined;
142
+ };
143
+
144
+ /** @internal */
145
+ export const AccountingAgedCreditorsOneRequest$outboundSchema: z.ZodType<
146
+ AccountingAgedCreditorsOneRequest$Outbound,
147
+ z.ZodTypeDef,
148
+ AccountingAgedCreditorsOneRequest
149
+ > = z.object({
150
+ raw: z.boolean().default(false),
151
+ serviceId: z.string().optional(),
152
+ filter: components.AgedReportFilter$outboundSchema.optional(),
153
+ passThrough: z.record(z.any()).optional(),
154
+ fields: z.nullable(z.string()).optional(),
155
+ }).transform((v) => {
156
+ return remap$(v, {
157
+ passThrough: "pass_through",
158
+ });
159
+ });
160
+
161
+ /**
162
+ * @internal
163
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
164
+ */
165
+ export namespace AccountingAgedCreditorsOneRequest$ {
166
+ /** @deprecated use `AccountingAgedCreditorsOneRequest$inboundSchema` instead. */
167
+ export const inboundSchema = AccountingAgedCreditorsOneRequest$inboundSchema;
168
+ /** @deprecated use `AccountingAgedCreditorsOneRequest$outboundSchema` instead. */
169
+ export const outboundSchema =
170
+ AccountingAgedCreditorsOneRequest$outboundSchema;
171
+ /** @deprecated use `AccountingAgedCreditorsOneRequest$Outbound` instead. */
172
+ export type Outbound = AccountingAgedCreditorsOneRequest$Outbound;
173
+ }
174
+
175
+ export function accountingAgedCreditorsOneRequestToJSON(
176
+ accountingAgedCreditorsOneRequest: AccountingAgedCreditorsOneRequest,
177
+ ): string {
178
+ return JSON.stringify(
179
+ AccountingAgedCreditorsOneRequest$outboundSchema.parse(
180
+ accountingAgedCreditorsOneRequest,
181
+ ),
182
+ );
183
+ }
184
+
185
+ export function accountingAgedCreditorsOneRequestFromJSON(
186
+ jsonString: string,
187
+ ): SafeParseResult<AccountingAgedCreditorsOneRequest, SDKValidationError> {
188
+ return safeParse(
189
+ jsonString,
190
+ (x) => AccountingAgedCreditorsOneRequest$inboundSchema.parse(JSON.parse(x)),
191
+ `Failed to parse 'AccountingAgedCreditorsOneRequest' from JSON`,
192
+ );
193
+ }
194
+
195
+ /** @internal */
196
+ export const AccountingAgedCreditorsOneResponse$inboundSchema: z.ZodType<
197
+ AccountingAgedCreditorsOneResponse,
198
+ z.ZodTypeDef,
199
+ unknown
200
+ > = z.object({
201
+ HttpMeta: components.HTTPMetadata$inboundSchema,
202
+ GetAgedCreditorsResponse: components.GetAgedCreditorsResponse$inboundSchema
203
+ .optional(),
204
+ UnexpectedErrorResponse: components.UnexpectedErrorResponse$inboundSchema
205
+ .optional(),
206
+ }).transform((v) => {
207
+ return remap$(v, {
208
+ "HttpMeta": "httpMeta",
209
+ "GetAgedCreditorsResponse": "getAgedCreditorsResponse",
210
+ "UnexpectedErrorResponse": "unexpectedErrorResponse",
211
+ });
212
+ });
213
+
214
+ /** @internal */
215
+ export type AccountingAgedCreditorsOneResponse$Outbound = {
216
+ HttpMeta: components.HTTPMetadata$Outbound;
217
+ GetAgedCreditorsResponse?:
218
+ | components.GetAgedCreditorsResponse$Outbound
219
+ | undefined;
220
+ UnexpectedErrorResponse?:
221
+ | components.UnexpectedErrorResponse$Outbound
222
+ | undefined;
223
+ };
224
+
225
+ /** @internal */
226
+ export const AccountingAgedCreditorsOneResponse$outboundSchema: z.ZodType<
227
+ AccountingAgedCreditorsOneResponse$Outbound,
228
+ z.ZodTypeDef,
229
+ AccountingAgedCreditorsOneResponse
230
+ > = z.object({
231
+ httpMeta: components.HTTPMetadata$outboundSchema,
232
+ getAgedCreditorsResponse: components.GetAgedCreditorsResponse$outboundSchema
233
+ .optional(),
234
+ unexpectedErrorResponse: components.UnexpectedErrorResponse$outboundSchema
235
+ .optional(),
236
+ }).transform((v) => {
237
+ return remap$(v, {
238
+ httpMeta: "HttpMeta",
239
+ getAgedCreditorsResponse: "GetAgedCreditorsResponse",
240
+ unexpectedErrorResponse: "UnexpectedErrorResponse",
241
+ });
242
+ });
243
+
244
+ /**
245
+ * @internal
246
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
247
+ */
248
+ export namespace AccountingAgedCreditorsOneResponse$ {
249
+ /** @deprecated use `AccountingAgedCreditorsOneResponse$inboundSchema` instead. */
250
+ export const inboundSchema = AccountingAgedCreditorsOneResponse$inboundSchema;
251
+ /** @deprecated use `AccountingAgedCreditorsOneResponse$outboundSchema` instead. */
252
+ export const outboundSchema =
253
+ AccountingAgedCreditorsOneResponse$outboundSchema;
254
+ /** @deprecated use `AccountingAgedCreditorsOneResponse$Outbound` instead. */
255
+ export type Outbound = AccountingAgedCreditorsOneResponse$Outbound;
256
+ }
257
+
258
+ export function accountingAgedCreditorsOneResponseToJSON(
259
+ accountingAgedCreditorsOneResponse: AccountingAgedCreditorsOneResponse,
260
+ ): string {
261
+ return JSON.stringify(
262
+ AccountingAgedCreditorsOneResponse$outboundSchema.parse(
263
+ accountingAgedCreditorsOneResponse,
264
+ ),
265
+ );
266
+ }
267
+
268
+ export function accountingAgedCreditorsOneResponseFromJSON(
269
+ jsonString: string,
270
+ ): SafeParseResult<AccountingAgedCreditorsOneResponse, SDKValidationError> {
271
+ return safeParse(
272
+ jsonString,
273
+ (x) =>
274
+ AccountingAgedCreditorsOneResponse$inboundSchema.parse(JSON.parse(x)),
275
+ `Failed to parse 'AccountingAgedCreditorsOneResponse' from JSON`,
276
+ );
277
+ }
@@ -0,0 +1,273 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import * as components from "../components/index.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+
12
+ export type AccountingAgedDebtorsOneGlobals = {
13
+ /**
14
+ * ID of the consumer which you want to get or push data from
15
+ */
16
+ consumerId?: string | undefined;
17
+ /**
18
+ * The ID of your Unify application
19
+ */
20
+ appId?: string | undefined;
21
+ };
22
+
23
+ export type AccountingAgedDebtorsOneRequest = {
24
+ /**
25
+ * Include raw response. Mostly used for debugging purposes
26
+ */
27
+ raw?: boolean | undefined;
28
+ /**
29
+ * Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
30
+ */
31
+ serviceId?: string | undefined;
32
+ /**
33
+ * Apply filters
34
+ */
35
+ filter?: components.AgedReportFilter | undefined;
36
+ /**
37
+ * Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads
38
+ */
39
+ passThrough?: { [k: string]: any } | undefined;
40
+ /**
41
+ * The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded.
42
+ */
43
+ fields?: string | null | undefined;
44
+ };
45
+
46
+ export type AccountingAgedDebtorsOneResponse = {
47
+ httpMeta: components.HTTPMetadata;
48
+ /**
49
+ * Aged Debtors
50
+ */
51
+ getAgedDebtorsResponse?: components.GetAgedDebtorsResponse | undefined;
52
+ /**
53
+ * Unexpected error
54
+ */
55
+ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined;
56
+ };
57
+
58
+ /** @internal */
59
+ export const AccountingAgedDebtorsOneGlobals$inboundSchema: z.ZodType<
60
+ AccountingAgedDebtorsOneGlobals,
61
+ z.ZodTypeDef,
62
+ unknown
63
+ > = z.object({
64
+ consumerId: z.string().optional(),
65
+ appId: z.string().optional(),
66
+ });
67
+
68
+ /** @internal */
69
+ export type AccountingAgedDebtorsOneGlobals$Outbound = {
70
+ consumerId?: string | undefined;
71
+ appId?: string | undefined;
72
+ };
73
+
74
+ /** @internal */
75
+ export const AccountingAgedDebtorsOneGlobals$outboundSchema: z.ZodType<
76
+ AccountingAgedDebtorsOneGlobals$Outbound,
77
+ z.ZodTypeDef,
78
+ AccountingAgedDebtorsOneGlobals
79
+ > = z.object({
80
+ consumerId: z.string().optional(),
81
+ appId: z.string().optional(),
82
+ });
83
+
84
+ /**
85
+ * @internal
86
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
87
+ */
88
+ export namespace AccountingAgedDebtorsOneGlobals$ {
89
+ /** @deprecated use `AccountingAgedDebtorsOneGlobals$inboundSchema` instead. */
90
+ export const inboundSchema = AccountingAgedDebtorsOneGlobals$inboundSchema;
91
+ /** @deprecated use `AccountingAgedDebtorsOneGlobals$outboundSchema` instead. */
92
+ export const outboundSchema = AccountingAgedDebtorsOneGlobals$outboundSchema;
93
+ /** @deprecated use `AccountingAgedDebtorsOneGlobals$Outbound` instead. */
94
+ export type Outbound = AccountingAgedDebtorsOneGlobals$Outbound;
95
+ }
96
+
97
+ export function accountingAgedDebtorsOneGlobalsToJSON(
98
+ accountingAgedDebtorsOneGlobals: AccountingAgedDebtorsOneGlobals,
99
+ ): string {
100
+ return JSON.stringify(
101
+ AccountingAgedDebtorsOneGlobals$outboundSchema.parse(
102
+ accountingAgedDebtorsOneGlobals,
103
+ ),
104
+ );
105
+ }
106
+
107
+ export function accountingAgedDebtorsOneGlobalsFromJSON(
108
+ jsonString: string,
109
+ ): SafeParseResult<AccountingAgedDebtorsOneGlobals, SDKValidationError> {
110
+ return safeParse(
111
+ jsonString,
112
+ (x) => AccountingAgedDebtorsOneGlobals$inboundSchema.parse(JSON.parse(x)),
113
+ `Failed to parse 'AccountingAgedDebtorsOneGlobals' from JSON`,
114
+ );
115
+ }
116
+
117
+ /** @internal */
118
+ export const AccountingAgedDebtorsOneRequest$inboundSchema: z.ZodType<
119
+ AccountingAgedDebtorsOneRequest,
120
+ z.ZodTypeDef,
121
+ unknown
122
+ > = z.object({
123
+ raw: z.boolean().default(false),
124
+ serviceId: z.string().optional(),
125
+ filter: components.AgedReportFilter$inboundSchema.optional(),
126
+ pass_through: z.record(z.any()).optional(),
127
+ fields: z.nullable(z.string()).optional(),
128
+ }).transform((v) => {
129
+ return remap$(v, {
130
+ "pass_through": "passThrough",
131
+ });
132
+ });
133
+
134
+ /** @internal */
135
+ export type AccountingAgedDebtorsOneRequest$Outbound = {
136
+ raw: boolean;
137
+ serviceId?: string | undefined;
138
+ filter?: components.AgedReportFilter$Outbound | undefined;
139
+ pass_through?: { [k: string]: any } | undefined;
140
+ fields?: string | null | undefined;
141
+ };
142
+
143
+ /** @internal */
144
+ export const AccountingAgedDebtorsOneRequest$outboundSchema: z.ZodType<
145
+ AccountingAgedDebtorsOneRequest$Outbound,
146
+ z.ZodTypeDef,
147
+ AccountingAgedDebtorsOneRequest
148
+ > = z.object({
149
+ raw: z.boolean().default(false),
150
+ serviceId: z.string().optional(),
151
+ filter: components.AgedReportFilter$outboundSchema.optional(),
152
+ passThrough: z.record(z.any()).optional(),
153
+ fields: z.nullable(z.string()).optional(),
154
+ }).transform((v) => {
155
+ return remap$(v, {
156
+ passThrough: "pass_through",
157
+ });
158
+ });
159
+
160
+ /**
161
+ * @internal
162
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
163
+ */
164
+ export namespace AccountingAgedDebtorsOneRequest$ {
165
+ /** @deprecated use `AccountingAgedDebtorsOneRequest$inboundSchema` instead. */
166
+ export const inboundSchema = AccountingAgedDebtorsOneRequest$inboundSchema;
167
+ /** @deprecated use `AccountingAgedDebtorsOneRequest$outboundSchema` instead. */
168
+ export const outboundSchema = AccountingAgedDebtorsOneRequest$outboundSchema;
169
+ /** @deprecated use `AccountingAgedDebtorsOneRequest$Outbound` instead. */
170
+ export type Outbound = AccountingAgedDebtorsOneRequest$Outbound;
171
+ }
172
+
173
+ export function accountingAgedDebtorsOneRequestToJSON(
174
+ accountingAgedDebtorsOneRequest: AccountingAgedDebtorsOneRequest,
175
+ ): string {
176
+ return JSON.stringify(
177
+ AccountingAgedDebtorsOneRequest$outboundSchema.parse(
178
+ accountingAgedDebtorsOneRequest,
179
+ ),
180
+ );
181
+ }
182
+
183
+ export function accountingAgedDebtorsOneRequestFromJSON(
184
+ jsonString: string,
185
+ ): SafeParseResult<AccountingAgedDebtorsOneRequest, SDKValidationError> {
186
+ return safeParse(
187
+ jsonString,
188
+ (x) => AccountingAgedDebtorsOneRequest$inboundSchema.parse(JSON.parse(x)),
189
+ `Failed to parse 'AccountingAgedDebtorsOneRequest' from JSON`,
190
+ );
191
+ }
192
+
193
+ /** @internal */
194
+ export const AccountingAgedDebtorsOneResponse$inboundSchema: z.ZodType<
195
+ AccountingAgedDebtorsOneResponse,
196
+ z.ZodTypeDef,
197
+ unknown
198
+ > = z.object({
199
+ HttpMeta: components.HTTPMetadata$inboundSchema,
200
+ GetAgedDebtorsResponse: components.GetAgedDebtorsResponse$inboundSchema
201
+ .optional(),
202
+ UnexpectedErrorResponse: components.UnexpectedErrorResponse$inboundSchema
203
+ .optional(),
204
+ }).transform((v) => {
205
+ return remap$(v, {
206
+ "HttpMeta": "httpMeta",
207
+ "GetAgedDebtorsResponse": "getAgedDebtorsResponse",
208
+ "UnexpectedErrorResponse": "unexpectedErrorResponse",
209
+ });
210
+ });
211
+
212
+ /** @internal */
213
+ export type AccountingAgedDebtorsOneResponse$Outbound = {
214
+ HttpMeta: components.HTTPMetadata$Outbound;
215
+ GetAgedDebtorsResponse?:
216
+ | components.GetAgedDebtorsResponse$Outbound
217
+ | undefined;
218
+ UnexpectedErrorResponse?:
219
+ | components.UnexpectedErrorResponse$Outbound
220
+ | undefined;
221
+ };
222
+
223
+ /** @internal */
224
+ export const AccountingAgedDebtorsOneResponse$outboundSchema: z.ZodType<
225
+ AccountingAgedDebtorsOneResponse$Outbound,
226
+ z.ZodTypeDef,
227
+ AccountingAgedDebtorsOneResponse
228
+ > = z.object({
229
+ httpMeta: components.HTTPMetadata$outboundSchema,
230
+ getAgedDebtorsResponse: components.GetAgedDebtorsResponse$outboundSchema
231
+ .optional(),
232
+ unexpectedErrorResponse: components.UnexpectedErrorResponse$outboundSchema
233
+ .optional(),
234
+ }).transform((v) => {
235
+ return remap$(v, {
236
+ httpMeta: "HttpMeta",
237
+ getAgedDebtorsResponse: "GetAgedDebtorsResponse",
238
+ unexpectedErrorResponse: "UnexpectedErrorResponse",
239
+ });
240
+ });
241
+
242
+ /**
243
+ * @internal
244
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
245
+ */
246
+ export namespace AccountingAgedDebtorsOneResponse$ {
247
+ /** @deprecated use `AccountingAgedDebtorsOneResponse$inboundSchema` instead. */
248
+ export const inboundSchema = AccountingAgedDebtorsOneResponse$inboundSchema;
249
+ /** @deprecated use `AccountingAgedDebtorsOneResponse$outboundSchema` instead. */
250
+ export const outboundSchema = AccountingAgedDebtorsOneResponse$outboundSchema;
251
+ /** @deprecated use `AccountingAgedDebtorsOneResponse$Outbound` instead. */
252
+ export type Outbound = AccountingAgedDebtorsOneResponse$Outbound;
253
+ }
254
+
255
+ export function accountingAgedDebtorsOneResponseToJSON(
256
+ accountingAgedDebtorsOneResponse: AccountingAgedDebtorsOneResponse,
257
+ ): string {
258
+ return JSON.stringify(
259
+ AccountingAgedDebtorsOneResponse$outboundSchema.parse(
260
+ accountingAgedDebtorsOneResponse,
261
+ ),
262
+ );
263
+ }
264
+
265
+ export function accountingAgedDebtorsOneResponseFromJSON(
266
+ jsonString: string,
267
+ ): SafeParseResult<AccountingAgedDebtorsOneResponse, SDKValidationError> {
268
+ return safeParse(
269
+ jsonString,
270
+ (x) => AccountingAgedDebtorsOneResponse$inboundSchema.parse(JSON.parse(x)),
271
+ `Failed to parse 'AccountingAgedDebtorsOneResponse' from JSON`,
272
+ );
273
+ }
@@ -2,6 +2,8 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
+ export * from "./accountingagedcreditorsone.js";
6
+ export * from "./accountingageddebtorsone.js";
5
7
  export * from "./accountingattachmentsall.js";
6
8
  export * from "./accountingattachmentsdelete.js";
7
9
  export * from "./accountingattachmentsdownload.js";
@@ -3,6 +3,8 @@
3
3
  */
4
4
 
5
5
  import { ClientSDK } from "../lib/sdks.js";
6
+ import { AgedCreditors } from "./agedcreditors.js";
7
+ import { AgedDebtors } from "./ageddebtors.js";
6
8
  import { Attachments } from "./attachments.js";
7
9
  import { BalanceSheet } from "./balancesheet.js";
8
10
  import { BillPayments } from "./billpayments.js";
@@ -130,4 +132,14 @@ export class Accounting extends ClientSDK {
130
132
  get expenses(): Expenses {
131
133
  return (this._expenses ??= new Expenses(this._options));
132
134
  }
135
+
136
+ private _agedCreditors?: AgedCreditors;
137
+ get agedCreditors(): AgedCreditors {
138
+ return (this._agedCreditors ??= new AgedCreditors(this._options));
139
+ }
140
+
141
+ private _agedDebtors?: AgedDebtors;
142
+ get agedDebtors(): AgedDebtors {
143
+ return (this._agedDebtors ??= new AgedDebtors(this._options));
144
+ }
133
145
  }
@@ -10,6 +10,7 @@ import { crmActivitiesUpdate } from "../funcs/crmActivitiesUpdate.js";
10
10
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
11
11
  import * as operations from "../models/operations/index.js";
12
12
  import { unwrapAsync } from "../types/fp.js";
13
+ import { PageIterator, unwrapResultIterator } from "../types/operations.js";
13
14
 
14
15
  export class Activities extends ClientSDK {
15
16
  /**
@@ -21,8 +22,10 @@ export class Activities extends ClientSDK {
21
22
  async list(
22
23
  request: operations.CrmActivitiesAllRequest,
23
24
  options?: RequestOptions,
24
- ): Promise<operations.CrmActivitiesAllResponse> {
25
- return unwrapAsync(crmActivitiesList(
25
+ ): Promise<
26
+ PageIterator<operations.CrmActivitiesAllResponse, { cursor: string }>
27
+ > {
28
+ return unwrapResultIterator(crmActivitiesList(
26
29
  this,
27
30
  request,
28
31
  options,