@codat/lending 3.1.0 → 3.3.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 (955) hide show
  1. package/README.md +123 -72
  2. package/dist/internal/utils/requestbody.js +1 -1
  3. package/dist/internal/utils/utils.js +1 -1
  4. package/dist/sdk/accountingbankdata.d.ts +2 -2
  5. package/dist/sdk/accountingbankdata.js +3 -3
  6. package/dist/sdk/accountingbankdataaccounts.d.ts +3 -3
  7. package/dist/sdk/accountingbankdataaccounts.js +5 -5
  8. package/dist/sdk/accountspayablebillcreditnotes.d.ts +3 -3
  9. package/dist/sdk/accountspayablebillcreditnotes.js +5 -5
  10. package/dist/sdk/accountspayablebillpayments.d.ts +3 -3
  11. package/dist/sdk/accountspayablebillpayments.js +5 -5
  12. package/dist/sdk/accountspayablebills.d.ts +6 -6
  13. package/dist/sdk/accountspayablebills.js +11 -11
  14. package/dist/sdk/accountspayablesuppliers.d.ts +6 -6
  15. package/dist/sdk/accountspayablesuppliers.js +11 -11
  16. package/dist/sdk/accountsreceivablecreditnotes.d.ts +3 -3
  17. package/dist/sdk/accountsreceivablecreditnotes.js +5 -5
  18. package/dist/sdk/accountsreceivablecustomers.d.ts +6 -6
  19. package/dist/sdk/accountsreceivablecustomers.js +11 -11
  20. package/dist/sdk/accountsreceivabledirectincomes.d.ts +6 -6
  21. package/dist/sdk/accountsreceivabledirectincomes.js +11 -11
  22. package/dist/sdk/accountsreceivableinvoices.d.ts +6 -6
  23. package/dist/sdk/accountsreceivableinvoices.js +13 -13
  24. package/dist/sdk/accountsreceivablepayments.d.ts +3 -3
  25. package/dist/sdk/accountsreceivablepayments.js +5 -5
  26. package/dist/sdk/accountsreceivablereports.js +4 -4
  27. package/dist/sdk/bankingaccountbalances.d.ts +2 -2
  28. package/dist/sdk/bankingaccountbalances.js +3 -3
  29. package/dist/sdk/bankingaccounts.d.ts +3 -3
  30. package/dist/sdk/bankingaccounts.js +5 -5
  31. package/dist/sdk/bankingcategorizedstatement.js +1 -1
  32. package/dist/sdk/bankingtransactioncategories.d.ts +3 -3
  33. package/dist/sdk/bankingtransactioncategories.js +5 -5
  34. package/dist/sdk/bankingtransactions.d.ts +3 -3
  35. package/dist/sdk/bankingtransactions.js +5 -5
  36. package/dist/sdk/companies.js +7 -7
  37. package/dist/sdk/companyinfo.js +2 -2
  38. package/dist/sdk/connections.js +7 -7
  39. package/dist/sdk/dataintegrity.js +3 -3
  40. package/dist/sdk/excelreports.js +3 -3
  41. package/dist/sdk/fileupload.js +4 -4
  42. package/dist/sdk/financialstatementsaccounts.d.ts +3 -3
  43. package/dist/sdk/financialstatementsaccounts.js +5 -5
  44. package/dist/sdk/financialstatementsbalancesheet.js +2 -2
  45. package/dist/sdk/financialstatementscashflow.js +1 -1
  46. package/dist/sdk/financialstatementsprofitandloss.js +2 -2
  47. package/dist/sdk/liabilities.d.ts +25 -1
  48. package/dist/sdk/liabilities.js +172 -9
  49. package/dist/sdk/loanwriteback.d.ts +19 -0
  50. package/dist/sdk/loanwriteback.js +27 -0
  51. package/dist/sdk/loanwritebackaccounts.d.ts +40 -0
  52. package/dist/sdk/loanwritebackaccounts.js +294 -0
  53. package/dist/sdk/loanwritebackbanktransactions.d.ts +40 -0
  54. package/dist/sdk/loanwritebackbanktransactions.js +294 -0
  55. package/dist/sdk/loanwritebackcreateoperations.d.ts +22 -0
  56. package/dist/sdk/loanwritebackcreateoperations.js +250 -0
  57. package/dist/sdk/loanwritebackdirectcosts.d.ts +40 -0
  58. package/dist/sdk/loanwritebackdirectcosts.js +294 -0
  59. package/dist/sdk/loanwritebackpayments.d.ts +40 -0
  60. package/dist/sdk/loanwritebackpayments.js +294 -0
  61. package/dist/sdk/loanwritebacksuppliers.d.ts +40 -0
  62. package/dist/sdk/loanwritebacksuppliers.js +294 -0
  63. package/dist/sdk/loanwritebacktransfers.d.ts +40 -0
  64. package/dist/sdk/loanwritebacktransfers.js +294 -0
  65. package/dist/sdk/managedata.js +1 -1
  66. package/dist/sdk/managedatapulloperations.js +2 -2
  67. package/dist/sdk/managedatarefresh.js +2 -2
  68. package/dist/sdk/models/operations/createaccount.d.ts +44 -0
  69. package/dist/sdk/models/operations/createaccount.js +111 -0
  70. package/dist/sdk/models/operations/createbanktransactions.d.ts +48 -0
  71. package/dist/sdk/models/operations/createbanktransactions.js +115 -0
  72. package/dist/sdk/models/operations/createcompany.d.ts +9 -0
  73. package/dist/sdk/models/operations/createconnection.d.ts +15 -0
  74. package/dist/sdk/models/operations/createdirectcost.d.ts +44 -0
  75. package/dist/sdk/models/operations/createdirectcost.js +111 -0
  76. package/dist/sdk/models/operations/createpayment.d.ts +44 -0
  77. package/dist/sdk/models/operations/createpayment.js +111 -0
  78. package/dist/sdk/models/operations/createsupplier.d.ts +44 -0
  79. package/dist/sdk/models/operations/createsupplier.js +111 -0
  80. package/dist/sdk/models/operations/createtransfer.d.ts +44 -0
  81. package/dist/sdk/models/operations/createtransfer.js +111 -0
  82. package/dist/sdk/models/operations/deletecompany.d.ts +12 -0
  83. package/dist/sdk/models/operations/deleteconnection.d.ts +15 -0
  84. package/dist/sdk/models/operations/downloadaccountingbillattachment.d.ts +17 -2
  85. package/dist/sdk/models/operations/downloadaccountingcustomerattachment.d.ts +19 -1
  86. package/dist/sdk/models/operations/downloadaccountingdirectcostattachment.d.ts +17 -2
  87. package/dist/sdk/models/operations/downloadaccountingdirectincomeattachment.d.ts +17 -2
  88. package/dist/sdk/models/operations/downloadaccountinginvoiceattachment.d.ts +17 -2
  89. package/dist/sdk/models/operations/downloadaccountinginvoicepdf.d.ts +13 -1
  90. package/dist/sdk/models/operations/downloadaccountingsupplierattachment.d.ts +17 -2
  91. package/dist/sdk/models/operations/downloadexcelreport.d.ts +12 -0
  92. package/dist/sdk/models/operations/downloadfiles.d.ts +12 -0
  93. package/dist/sdk/models/operations/generateexcelreport.d.ts +12 -0
  94. package/dist/sdk/models/operations/generateloansummary.d.ts +39 -0
  95. package/dist/sdk/models/operations/generateloansummary.js +104 -0
  96. package/dist/sdk/models/operations/generateloantransactions.d.ts +39 -0
  97. package/dist/sdk/models/operations/generateloantransactions.js +104 -0
  98. package/dist/sdk/models/operations/getaccountingaccount.d.ts +13 -1
  99. package/dist/sdk/models/operations/getaccountingaccounttransaction.d.ts +18 -0
  100. package/dist/sdk/models/operations/getaccountingagedcreditorsreport.d.ts +12 -0
  101. package/dist/sdk/models/operations/getaccountingageddebtorsreport.d.ts +12 -0
  102. package/dist/sdk/models/operations/getaccountingbalancesheet.d.ts +15 -0
  103. package/dist/sdk/models/operations/getaccountingbankaccount.d.ts +16 -1
  104. package/dist/sdk/models/operations/getaccountingbill.d.ts +13 -1
  105. package/dist/sdk/models/operations/getaccountingbillattachment.d.ts +17 -2
  106. package/dist/sdk/models/operations/getaccountingbillcreditnote.d.ts +15 -0
  107. package/dist/sdk/models/operations/getaccountingbillpayment.d.ts +15 -0
  108. package/dist/sdk/models/operations/getaccountingcashflowstatement.d.ts +15 -0
  109. package/dist/sdk/models/operations/getaccountingcreditnote.d.ts +15 -0
  110. package/dist/sdk/models/operations/getaccountingcustomer.d.ts +15 -0
  111. package/dist/sdk/models/operations/getaccountingcustomerattachment.d.ts +19 -1
  112. package/dist/sdk/models/operations/getaccountingdirectcost.d.ts +16 -1
  113. package/dist/sdk/models/operations/getaccountingdirectcostattachment.d.ts +17 -2
  114. package/dist/sdk/models/operations/getaccountingdirectincome.d.ts +18 -0
  115. package/dist/sdk/models/operations/getaccountingdirectincomeattachment.d.ts +20 -2
  116. package/dist/sdk/models/operations/getaccountinginvoice.d.ts +13 -1
  117. package/dist/sdk/models/operations/getaccountinginvoiceattachment.d.ts +17 -2
  118. package/dist/sdk/models/operations/getaccountingjournal.d.ts +15 -0
  119. package/dist/sdk/models/operations/getaccountingjournalentry.d.ts +15 -0
  120. package/dist/sdk/models/operations/getaccountingpayment.d.ts +15 -0
  121. package/dist/sdk/models/operations/getaccountingprofile.d.ts +12 -0
  122. package/dist/sdk/models/operations/getaccountingprofitandloss.d.ts +15 -0
  123. package/dist/sdk/models/operations/getaccountingsupplier.d.ts +13 -1
  124. package/dist/sdk/models/operations/getaccountingsupplierattachment.d.ts +17 -2
  125. package/dist/sdk/models/operations/getaccountingtransfer.d.ts +18 -0
  126. package/dist/sdk/models/operations/getbankingaccount.d.ts +16 -1
  127. package/dist/sdk/models/operations/getbankingtransaction.d.ts +15 -0
  128. package/dist/sdk/models/operations/getbankingtransactioncategory.d.ts +15 -0
  129. package/dist/sdk/models/operations/getcategorizedbalancesheetstatement.d.ts +12 -0
  130. package/dist/sdk/models/operations/getcategorizedbankstatement.d.ts +12 -0
  131. package/dist/sdk/models/operations/getcategorizedprofitandlossstatement.d.ts +13 -1
  132. package/dist/sdk/models/operations/getcommercecustomer.d.ts +15 -0
  133. package/dist/sdk/models/operations/getcommercecustomerretentionmetrics.d.ts +15 -0
  134. package/dist/sdk/models/operations/getcommercedispute.d.ts +15 -0
  135. package/dist/sdk/models/operations/getcommercelifetimevaluemetrics.d.ts +15 -0
  136. package/dist/sdk/models/operations/getcommercelocation.d.ts +15 -0
  137. package/dist/sdk/models/operations/getcommerceorder.d.ts +15 -0
  138. package/dist/sdk/models/operations/getcommerceordersreport.d.ts +15 -0
  139. package/dist/sdk/models/operations/getcommercepayment.d.ts +15 -0
  140. package/dist/sdk/models/operations/getcommercepaymentmethod.d.ts +15 -0
  141. package/dist/sdk/models/operations/getcommerceproduct.d.ts +15 -0
  142. package/dist/sdk/models/operations/getcommerceproductcategory.d.ts +15 -0
  143. package/dist/sdk/models/operations/getcommerceprofile.d.ts +15 -0
  144. package/dist/sdk/models/operations/getcommercerefundsreport.d.ts +15 -0
  145. package/dist/sdk/models/operations/getcommercerevenuemetrics.d.ts +15 -0
  146. package/dist/sdk/models/operations/getcommercetransaction.d.ts +15 -0
  147. package/dist/sdk/models/operations/getcompany.d.ts +12 -0
  148. package/dist/sdk/models/operations/getconnection.d.ts +15 -0
  149. package/dist/sdk/models/operations/getcreatebanktransactionsmodel.d.ts +39 -0
  150. package/dist/sdk/models/operations/getcreatebanktransactionsmodel.js +103 -0
  151. package/dist/sdk/models/operations/getcreatechartofaccountsmodel.d.ts +35 -0
  152. package/dist/sdk/models/operations/getcreatechartofaccountsmodel.js +99 -0
  153. package/dist/sdk/models/operations/getcreatedirectcostsmodel.d.ts +35 -0
  154. package/dist/sdk/models/operations/getcreatedirectcostsmodel.js +99 -0
  155. package/dist/sdk/models/operations/getcreateoperation.d.ts +35 -0
  156. package/dist/sdk/models/operations/getcreateoperation.js +99 -0
  157. package/dist/sdk/models/operations/getcreatepaymentsmodel.d.ts +35 -0
  158. package/dist/sdk/models/operations/getcreatepaymentsmodel.js +99 -0
  159. package/dist/sdk/models/operations/getcreatetransfersmodel.d.ts +35 -0
  160. package/dist/sdk/models/operations/getcreatetransfersmodel.js +99 -0
  161. package/dist/sdk/models/operations/getcreateupdatesuppliersmodel.d.ts +35 -0
  162. package/dist/sdk/models/operations/getcreateupdatesuppliersmodel.js +99 -0
  163. package/dist/sdk/models/operations/getdataintegritystatus.d.ts +12 -0
  164. package/dist/sdk/models/operations/getdataintegritysummaries.d.ts +12 -0
  165. package/dist/sdk/models/operations/getdatastatus.d.ts +12 -0
  166. package/dist/sdk/models/operations/getexcelreportgenerationstatus.d.ts +12 -0
  167. package/dist/sdk/models/operations/getloansummary.d.ts +24 -0
  168. package/dist/sdk/models/operations/getloansummary.js +14 -1
  169. package/dist/sdk/models/operations/getpulloperation.d.ts +13 -1
  170. package/dist/sdk/models/operations/index.d.ts +16 -0
  171. package/dist/sdk/models/operations/index.js +16 -0
  172. package/dist/sdk/models/operations/isagedcreditorsreportavailable.d.ts +12 -0
  173. package/dist/sdk/models/operations/isageddebtorsreportavailable.d.ts +12 -0
  174. package/dist/sdk/models/operations/listaccountingaccounts.d.ts +12 -0
  175. package/dist/sdk/models/operations/listaccountingaccounttransactions.d.ts +15 -0
  176. package/dist/sdk/models/operations/listaccountingbankaccounts.d.ts +15 -0
  177. package/dist/sdk/models/operations/listaccountingbankaccounttransactions.d.ts +16 -1
  178. package/dist/sdk/models/operations/listaccountingbillattachments.d.ts +16 -1
  179. package/dist/sdk/models/operations/listaccountingbillcreditnotes.d.ts +12 -0
  180. package/dist/sdk/models/operations/listaccountingbillpayments.d.ts +12 -0
  181. package/dist/sdk/models/operations/listaccountingbills.d.ts +12 -0
  182. package/dist/sdk/models/operations/listaccountingcreditnotes.d.ts +12 -0
  183. package/dist/sdk/models/operations/listaccountingcustomerattachments.d.ts +18 -0
  184. package/dist/sdk/models/operations/listaccountingcustomers.d.ts +12 -0
  185. package/dist/sdk/models/operations/listaccountingdirectcostattachments.d.ts +16 -1
  186. package/dist/sdk/models/operations/listaccountingdirectcosts.d.ts +15 -0
  187. package/dist/sdk/models/operations/listaccountingdirectincomeattachments.d.ts +16 -1
  188. package/dist/sdk/models/operations/listaccountingdirectincomes.d.ts +15 -0
  189. package/dist/sdk/models/operations/listaccountinginvoiceattachments.d.ts +16 -1
  190. package/dist/sdk/models/operations/listaccountinginvoices.d.ts +12 -0
  191. package/dist/sdk/models/operations/listaccountingjournalentries.d.ts +12 -0
  192. package/dist/sdk/models/operations/listaccountingjournals.d.ts +12 -0
  193. package/dist/sdk/models/operations/listaccountingpayments.d.ts +12 -0
  194. package/dist/sdk/models/operations/listaccountingsupplierattachments.d.ts +16 -1
  195. package/dist/sdk/models/operations/listaccountingsuppliers.d.ts +12 -0
  196. package/dist/sdk/models/operations/listaccountingtransfers.d.ts +15 -0
  197. package/dist/sdk/models/operations/listbankingaccountbalances.d.ts +15 -0
  198. package/dist/sdk/models/operations/listbankingaccounts.d.ts +15 -0
  199. package/dist/sdk/models/operations/listbankingtransactioncategories.d.ts +15 -0
  200. package/dist/sdk/models/operations/listbankingtransactions.d.ts +15 -0
  201. package/dist/sdk/models/operations/listcommercecustomers.d.ts +15 -0
  202. package/dist/sdk/models/operations/listcommercedisputes.d.ts +15 -0
  203. package/dist/sdk/models/operations/listcommercelocations.d.ts +15 -0
  204. package/dist/sdk/models/operations/listcommerceorders.d.ts +15 -0
  205. package/dist/sdk/models/operations/listcommercepaymentmethods.d.ts +15 -0
  206. package/dist/sdk/models/operations/listcommercepayments.d.ts +15 -0
  207. package/dist/sdk/models/operations/listcommerceproductcategories.d.ts +15 -0
  208. package/dist/sdk/models/operations/listcommerceproducts.d.ts +15 -0
  209. package/dist/sdk/models/operations/listcommercetransactions.d.ts +15 -0
  210. package/dist/sdk/models/operations/listcompanies.d.ts +9 -0
  211. package/dist/sdk/models/operations/listconnections.d.ts +12 -0
  212. package/dist/sdk/models/operations/listcreateoperations.d.ts +47 -0
  213. package/dist/sdk/models/operations/listcreateoperations.js +111 -0
  214. package/dist/sdk/models/operations/listdataintegritydetails.d.ts +12 -0
  215. package/dist/sdk/models/operations/listfiles.d.ts +12 -0
  216. package/dist/sdk/models/operations/listloantransactions.d.ts +14 -2
  217. package/dist/sdk/models/operations/listloantransactions.js +1 -1
  218. package/dist/sdk/models/operations/listpulloperations.d.ts +12 -0
  219. package/dist/sdk/models/operations/listreconciledinvoices.d.ts +12 -0
  220. package/dist/sdk/models/operations/refreshalldatatypes.d.ts +12 -0
  221. package/dist/sdk/models/operations/refreshdatatype.d.ts +12 -0
  222. package/dist/sdk/models/operations/unlinkconnection.d.ts +15 -0
  223. package/dist/sdk/models/operations/updatecompany.d.ts +12 -0
  224. package/dist/sdk/models/operations/uploadfiles.d.ts +15 -0
  225. package/dist/sdk/models/shared/accountingaccount.d.ts +11 -2
  226. package/dist/sdk/models/shared/accountingaccount.js +8 -1
  227. package/dist/sdk/models/shared/accountingaccounts.d.ts +9 -0
  228. package/dist/sdk/models/shared/accountingaccounttransaction.d.ts +2 -2
  229. package/dist/sdk/models/shared/accountingaccounttransaction.js +2 -2
  230. package/dist/sdk/models/shared/accountingaccounttransactions.d.ts +9 -0
  231. package/dist/sdk/models/shared/accountingagedcreditorreport.d.ts +1 -1
  232. package/dist/sdk/models/shared/accountingagedcreditorreport.js +1 -1
  233. package/dist/sdk/models/shared/accountingageddebtorreport.d.ts +1 -1
  234. package/dist/sdk/models/shared/accountingageddebtorreport.js +1 -1
  235. package/dist/sdk/models/shared/accountingattachment.d.ts +1 -1
  236. package/dist/sdk/models/shared/accountingattachment.js +1 -1
  237. package/dist/sdk/models/shared/accountingbankaccount.d.ts +10 -1
  238. package/dist/sdk/models/shared/accountingbankaccount.js +8 -1
  239. package/dist/sdk/models/shared/accountingbankaccounts.d.ts +9 -0
  240. package/dist/sdk/models/shared/accountingbanktransaction.d.ts +20 -2
  241. package/dist/sdk/models/shared/accountingbanktransaction.js +1 -1
  242. package/dist/sdk/models/shared/accountingbanktransactions.d.ts +9 -0
  243. package/dist/sdk/models/shared/accountingbill.d.ts +8 -2
  244. package/dist/sdk/models/shared/accountingbill.js +2 -2
  245. package/dist/sdk/models/shared/accountingbillcreditnote.d.ts +3 -3
  246. package/dist/sdk/models/shared/accountingbillcreditnote.js +3 -3
  247. package/dist/sdk/models/shared/accountingbillcreditnotes.d.ts +9 -0
  248. package/dist/sdk/models/shared/accountingbillpayment.d.ts +6 -5
  249. package/dist/sdk/models/shared/accountingbillpayment.js +7 -5
  250. package/dist/sdk/models/shared/accountingbillpayments.d.ts +9 -0
  251. package/dist/sdk/models/shared/accountingbills.d.ts +9 -0
  252. package/dist/sdk/models/shared/accountingcompanyinfo.d.ts +9 -0
  253. package/dist/sdk/models/shared/accountingcompanyinfo.js +7 -0
  254. package/dist/sdk/models/shared/accountingcreateaccountresponse.d.ts +135 -0
  255. package/dist/sdk/models/shared/accountingcreateaccountresponse.js +118 -0
  256. package/dist/sdk/models/shared/accountingcreatebanktransactions.d.ts +9 -0
  257. package/dist/sdk/models/shared/accountingcreatebanktransactions.js +52 -0
  258. package/dist/sdk/models/shared/accountingcreatebanktransactionsresponse.d.ts +103 -0
  259. package/dist/sdk/models/shared/accountingcreatebanktransactionsresponse.js +118 -0
  260. package/dist/sdk/models/shared/accountingcreatedirectcostresponse.d.ts +122 -0
  261. package/dist/sdk/models/shared/accountingcreatedirectcostresponse.js +118 -0
  262. package/dist/sdk/models/shared/accountingcreatepaymentresponse.d.ts +785 -0
  263. package/dist/sdk/models/shared/accountingcreatepaymentresponse.js +118 -0
  264. package/dist/sdk/models/shared/accountingcreatesupplierresponse.d.ts +112 -0
  265. package/dist/sdk/models/shared/accountingcreatesupplierresponse.js +118 -0
  266. package/dist/sdk/models/shared/accountingcreatetransferresponse.d.ts +110 -0
  267. package/dist/sdk/models/shared/accountingcreatetransferresponse.js +118 -0
  268. package/dist/sdk/models/shared/accountingcreditnote.d.ts +10 -1
  269. package/dist/sdk/models/shared/accountingcreditnote.js +1 -1
  270. package/dist/sdk/models/shared/accountingcreditnotes.d.ts +9 -0
  271. package/dist/sdk/models/shared/accountingcustomer.d.ts +1 -1
  272. package/dist/sdk/models/shared/accountingcustomer.js +1 -1
  273. package/dist/sdk/models/shared/accountingcustomers.d.ts +9 -0
  274. package/dist/sdk/models/shared/accountingdirectcost.d.ts +1 -1
  275. package/dist/sdk/models/shared/accountingdirectcost.js +1 -1
  276. package/dist/sdk/models/shared/accountingdirectcosts.d.ts +9 -0
  277. package/dist/sdk/models/shared/accountingdirectincome.d.ts +4 -1
  278. package/dist/sdk/models/shared/accountingdirectincome.js +1 -1
  279. package/dist/sdk/models/shared/accountingdirectincomes.d.ts +9 -0
  280. package/dist/sdk/models/shared/accountinginvoice.d.ts +18 -5
  281. package/dist/sdk/models/shared/accountinginvoice.js +5 -4
  282. package/dist/sdk/models/shared/accountinginvoices.d.ts +9 -0
  283. package/dist/sdk/models/shared/accountingjournal.d.ts +2 -2
  284. package/dist/sdk/models/shared/accountingjournal.js +2 -2
  285. package/dist/sdk/models/shared/accountingjournalentries.d.ts +9 -0
  286. package/dist/sdk/models/shared/accountingjournalentry.d.ts +2 -2
  287. package/dist/sdk/models/shared/accountingjournalentry.js +2 -2
  288. package/dist/sdk/models/shared/accountingjournals.d.ts +9 -0
  289. package/dist/sdk/models/shared/accountingpayment.d.ts +8 -4
  290. package/dist/sdk/models/shared/accountingpayment.js +6 -4
  291. package/dist/sdk/models/shared/accountingpayments.d.ts +9 -0
  292. package/dist/sdk/models/shared/accountingsupplier.d.ts +1 -1
  293. package/dist/sdk/models/shared/accountingsupplier.js +1 -1
  294. package/dist/sdk/models/shared/accountingsuppliers.d.ts +9 -0
  295. package/dist/sdk/models/shared/accountingtransfer.d.ts +15 -2
  296. package/dist/sdk/models/shared/accountingtransfer.js +2 -1
  297. package/dist/sdk/models/shared/accountingtransfers.d.ts +9 -0
  298. package/dist/sdk/models/shared/accountspayabletracking.d.ts +6 -0
  299. package/dist/sdk/models/shared/accountsreceivabletracking.d.ts +6 -0
  300. package/dist/sdk/models/shared/bankingaccountbalance.d.ts +1 -1
  301. package/dist/sdk/models/shared/bankingaccountbalance.js +1 -1
  302. package/dist/sdk/models/shared/bankingaccountbalances.d.ts +9 -0
  303. package/dist/sdk/models/shared/bankingaccounts.d.ts +9 -0
  304. package/dist/sdk/models/shared/bankingtransactioncategories.d.ts +9 -0
  305. package/dist/sdk/models/shared/bankingtransactioncategory.d.ts +3 -0
  306. package/dist/sdk/models/shared/bankingtransactionref.d.ts +18 -0
  307. package/dist/sdk/models/shared/bankingtransactions.d.ts +9 -0
  308. package/dist/sdk/models/shared/banktransactiontype.d.ts +1 -1
  309. package/dist/sdk/models/shared/banktransactiontype.js +1 -1
  310. package/dist/sdk/models/shared/billedtotype.d.ts +3 -0
  311. package/dist/sdk/models/shared/billedtotype.js +3 -0
  312. package/dist/sdk/models/shared/billedtotype1.d.ts +3 -0
  313. package/dist/sdk/models/shared/billedtotype1.js +3 -0
  314. package/dist/sdk/models/shared/billlineitem.d.ts +37 -0
  315. package/dist/sdk/models/shared/billlineitem.js +45 -1
  316. package/dist/sdk/models/shared/commercecustomers.d.ts +9 -0
  317. package/dist/sdk/models/shared/commercedisputes.d.ts +9 -0
  318. package/dist/sdk/models/shared/commercelocations.d.ts +9 -0
  319. package/dist/sdk/models/shared/commerceorder.d.ts +6 -15
  320. package/dist/sdk/models/shared/commerceorder.js +4 -23
  321. package/dist/sdk/models/shared/commerceorders.d.ts +9 -0
  322. package/dist/sdk/models/shared/commercepayment.d.ts +14 -1
  323. package/dist/sdk/models/shared/commercepayment.js +10 -1
  324. package/dist/sdk/models/shared/commercepaymentmethod.d.ts +10 -3
  325. package/dist/sdk/models/shared/commercepaymentmethod.js +10 -2
  326. package/dist/sdk/models/shared/commercepaymentmethods.d.ts +9 -0
  327. package/dist/sdk/models/shared/commercepayments.d.ts +9 -0
  328. package/dist/sdk/models/shared/commerceproduct.d.ts +11 -2
  329. package/dist/sdk/models/shared/commerceproduct.js +7 -0
  330. package/dist/sdk/models/shared/commerceproductcategories.d.ts +9 -0
  331. package/dist/sdk/models/shared/commerceproducts.d.ts +9 -0
  332. package/dist/sdk/models/shared/commercereportcomponent.d.ts +12 -0
  333. package/dist/sdk/models/shared/commercereportdimension.d.ts +12 -0
  334. package/dist/sdk/models/shared/commercereporterror.d.ts +9 -0
  335. package/dist/sdk/models/shared/commercereportmeasure.d.ts +12 -0
  336. package/dist/sdk/models/shared/commercetransaction.d.ts +9 -0
  337. package/dist/sdk/models/shared/commercetransaction.js +7 -0
  338. package/dist/sdk/models/shared/commercetransactions.d.ts +9 -0
  339. package/dist/sdk/models/shared/companies.d.ts +9 -0
  340. package/dist/sdk/models/shared/company.d.ts +5 -0
  341. package/dist/sdk/models/shared/connection.d.ts +6 -0
  342. package/dist/sdk/models/shared/connections.d.ts +9 -0
  343. package/dist/sdk/models/shared/contactref.d.ts +8 -1
  344. package/dist/sdk/models/shared/contactref.js +1 -0
  345. package/dist/sdk/models/shared/createbankaccounttransaction.d.ts +43 -0
  346. package/dist/sdk/models/shared/createbankaccounttransaction.js +65 -0
  347. package/dist/sdk/models/shared/creditnotelineitem.d.ts +3 -0
  348. package/dist/sdk/models/shared/creditnotestatus.d.ts +3 -0
  349. package/dist/sdk/models/shared/creditnotestatus.js +3 -0
  350. package/dist/sdk/models/shared/dataconnectionerror.d.ts +9 -0
  351. package/dist/sdk/models/shared/dataintegritydetails.d.ts +9 -0
  352. package/dist/sdk/models/shared/datastatus.d.ts +60 -1
  353. package/dist/sdk/models/shared/datastatus.js +49 -1
  354. package/dist/sdk/models/shared/enhancedcashflowtransaction.d.ts +11 -0
  355. package/dist/sdk/models/shared/enhancedcashflowtransactions.d.ts +1 -1
  356. package/dist/sdk/models/shared/enhancedinvoicereportitem.d.ts +10 -1
  357. package/dist/sdk/models/shared/enhancedinvoicesreport.d.ts +1 -1
  358. package/dist/sdk/models/shared/errormessage.d.ts +18 -0
  359. package/dist/sdk/models/shared/file.d.ts +9 -0
  360. package/dist/sdk/models/shared/halref.d.ts +3 -0
  361. package/dist/sdk/models/shared/index.d.ts +23 -1
  362. package/dist/sdk/models/shared/index.js +23 -1
  363. package/dist/sdk/models/shared/invoicelineitem.d.ts +3 -0
  364. package/dist/sdk/models/shared/items.d.ts +6 -0
  365. package/dist/sdk/models/shared/lendingcustomerref.d.ts +2 -2
  366. package/dist/sdk/models/shared/loansummaryreportitem.d.ts +4 -0
  367. package/dist/sdk/models/shared/loansummaryreportitem.js +5 -0
  368. package/dist/sdk/models/shared/orderdiscountallocation.d.ts +1 -1
  369. package/dist/sdk/models/shared/orderlineitem.d.ts +5 -5
  370. package/dist/sdk/models/shared/payment.d.ts +7 -1
  371. package/dist/sdk/models/shared/paymentmethodref.d.ts +14 -0
  372. package/dist/sdk/models/shared/paymentmethodref.js +53 -0
  373. package/dist/sdk/models/shared/productinventory.d.ts +3 -0
  374. package/dist/sdk/models/shared/productinventorylocation.d.ts +3 -0
  375. package/dist/sdk/models/shared/productprice.d.ts +3 -0
  376. package/dist/sdk/models/shared/productref.d.ts +1 -1
  377. package/dist/sdk/models/shared/productvariant.d.ts +3 -0
  378. package/dist/sdk/models/shared/productvariantref.d.ts +1 -1
  379. package/dist/sdk/models/shared/productvariantstatus.d.ts +3 -0
  380. package/dist/sdk/models/shared/productvariantstatus.js +3 -0
  381. package/dist/sdk/models/shared/projectref.d.ts +6 -0
  382. package/dist/sdk/models/shared/pulloperation.d.ts +57 -1
  383. package/dist/sdk/models/shared/pulloperation.js +14 -0
  384. package/dist/sdk/models/shared/pulloperations.d.ts +9 -0
  385. package/dist/sdk/models/shared/pushchangetype.d.ts +10 -0
  386. package/dist/sdk/models/shared/pushchangetype.js +17 -0
  387. package/dist/sdk/models/shared/pushfieldvalidation.d.ts +15 -0
  388. package/dist/sdk/models/shared/pushfieldvalidation.js +55 -0
  389. package/dist/sdk/models/shared/pushoperation.d.ts +101 -0
  390. package/dist/sdk/models/shared/pushoperation.js +111 -0
  391. package/dist/sdk/models/shared/pushoperationchange.d.ts +14 -0
  392. package/dist/sdk/models/shared/pushoperationchange.js +58 -0
  393. package/dist/sdk/models/shared/pushoperationref.d.ts +12 -0
  394. package/dist/sdk/models/shared/pushoperationref.js +51 -0
  395. package/dist/sdk/models/shared/pushoperations.d.ts +19 -0
  396. package/dist/sdk/models/shared/pushoperations.js +69 -0
  397. package/dist/sdk/models/shared/pushoperationstatus.d.ts +9 -0
  398. package/dist/sdk/models/shared/pushoperationstatus.js +16 -0
  399. package/dist/sdk/models/shared/pushoption.d.ts +26 -0
  400. package/dist/sdk/models/shared/pushoption.js +89 -0
  401. package/dist/sdk/models/shared/pushoptionchoice.d.ts +24 -0
  402. package/dist/sdk/models/shared/pushoptionchoice.js +66 -0
  403. package/dist/sdk/models/shared/pushoptionproperty.d.ts +25 -0
  404. package/dist/sdk/models/shared/pushoptionproperty.js +88 -0
  405. package/dist/sdk/models/shared/pushoptiontype.d.ts +13 -0
  406. package/dist/sdk/models/shared/pushoptiontype.js +20 -0
  407. package/dist/sdk/models/shared/pushvalidationinfo.d.ts +6 -0
  408. package/dist/sdk/models/shared/pushvalidationinfo.js +53 -0
  409. package/dist/sdk/models/shared/reportcomponentmeasure.d.ts +9 -0
  410. package/dist/sdk/models/shared/reportinfo.d.ts +3 -3
  411. package/dist/sdk/models/shared/reportinfo.js +1 -1
  412. package/dist/sdk/models/shared/reportitems.d.ts +10 -0
  413. package/dist/sdk/models/shared/reportitems.js +8 -0
  414. package/dist/sdk/models/shared/servicecharge.d.ts +1 -1
  415. package/dist/sdk/models/shared/trackingcategoryref.d.ts +6 -0
  416. package/dist/sdk/models/shared/transactioncategorystatus.d.ts +3 -0
  417. package/dist/sdk/models/shared/transactioncategorystatus.js +3 -0
  418. package/dist/sdk/models/shared/transactionsourceref.d.ts +3 -0
  419. package/dist/sdk/models/shared/transactionsourcetype.d.ts +3 -0
  420. package/dist/sdk/models/shared/transactionsourcetype.js +3 -0
  421. package/dist/sdk/models/shared/transferaccount.d.ts +3 -0
  422. package/dist/sdk/models/shared/transferaccount.js +3 -0
  423. package/dist/sdk/models/shared/validation.d.ts +9 -0
  424. package/dist/sdk/models/shared/validation.js +56 -0
  425. package/dist/sdk/models/shared/validationitem.d.ts +15 -0
  426. package/dist/sdk/models/shared/validationitem.js +55 -0
  427. package/dist/sdk/models/webhooks/accountcategoriesupdated.d.ts +9 -0
  428. package/dist/sdk/models/webhooks/clientratelimitreached.d.ts +9 -0
  429. package/dist/sdk/models/webhooks/clientratelimitreset.d.ts +9 -0
  430. package/dist/sdk/salescustomers.d.ts +3 -3
  431. package/dist/sdk/salescustomers.js +5 -5
  432. package/dist/sdk/salesdisputes.d.ts +3 -3
  433. package/dist/sdk/salesdisputes.js +5 -5
  434. package/dist/sdk/saleslocations.d.ts +3 -3
  435. package/dist/sdk/saleslocations.js +5 -5
  436. package/dist/sdk/salesmetrics.js +3 -3
  437. package/dist/sdk/salesorders.d.ts +3 -3
  438. package/dist/sdk/salesorders.js +5 -5
  439. package/dist/sdk/salespaymentmethods.d.ts +3 -3
  440. package/dist/sdk/salespaymentmethods.js +5 -5
  441. package/dist/sdk/salespayments.d.ts +3 -3
  442. package/dist/sdk/salespayments.js +5 -5
  443. package/dist/sdk/salesproductcategories.d.ts +3 -3
  444. package/dist/sdk/salesproductcategories.js +5 -5
  445. package/dist/sdk/salesproducts.d.ts +3 -3
  446. package/dist/sdk/salesproducts.js +5 -5
  447. package/dist/sdk/salesreports.js +2 -2
  448. package/dist/sdk/salestransactions.d.ts +3 -3
  449. package/dist/sdk/salestransactions.js +5 -5
  450. package/dist/sdk/sdk.d.ts +3 -0
  451. package/dist/sdk/sdk.js +5 -2
  452. package/dist/sdk/transactionsaccounttransactions.d.ts +3 -3
  453. package/dist/sdk/transactionsaccounttransactions.js +5 -5
  454. package/dist/sdk/transactionsdirectcosts.d.ts +6 -6
  455. package/dist/sdk/transactionsdirectcosts.js +11 -11
  456. package/dist/sdk/transactionsjournalentries.d.ts +3 -3
  457. package/dist/sdk/transactionsjournalentries.js +5 -5
  458. package/dist/sdk/transactionsjournals.d.ts +3 -3
  459. package/dist/sdk/transactionsjournals.js +5 -5
  460. package/dist/sdk/transactionstransfers.d.ts +3 -3
  461. package/dist/sdk/transactionstransfers.js +5 -5
  462. package/docs/models/operations/createaccountrequest.md +12 -0
  463. package/docs/models/operations/createaccountresponse.md +12 -0
  464. package/docs/models/operations/createbanktransactionsrequest.md +13 -0
  465. package/docs/models/operations/createbanktransactionsresponse.md +12 -0
  466. package/docs/models/operations/createcompanyresponse.md +3 -3
  467. package/docs/models/operations/createconnectionrequest.md +1 -1
  468. package/docs/models/operations/createconnectionrequestbody.md +3 -3
  469. package/docs/models/operations/createconnectionresponse.md +3 -3
  470. package/docs/models/operations/createdirectcostrequest.md +12 -0
  471. package/docs/models/operations/createdirectcostresponse.md +12 -0
  472. package/docs/models/operations/createpaymentrequest.md +12 -0
  473. package/docs/models/operations/createpaymentresponse.md +12 -0
  474. package/docs/models/operations/createsupplierrequest.md +12 -0
  475. package/docs/models/operations/createsupplierresponse.md +12 -0
  476. package/docs/models/operations/createtransferrequest.md +12 -0
  477. package/docs/models/operations/createtransferresponse.md +12 -0
  478. package/docs/models/operations/deletecompanyrequest.md +1 -1
  479. package/docs/models/operations/deletecompanyresponse.md +3 -3
  480. package/docs/models/operations/deleteconnectionrequest.md +2 -2
  481. package/docs/models/operations/deleteconnectionresponse.md +3 -3
  482. package/docs/models/operations/downloadaccountingbillattachmentrequest.md +4 -4
  483. package/docs/models/operations/downloadaccountingbillattachmentresponse.md +3 -3
  484. package/docs/models/operations/downloadaccountingcustomerattachmentrequest.md +4 -4
  485. package/docs/models/operations/downloadaccountingcustomerattachmentresponse.md +3 -3
  486. package/docs/models/operations/downloadaccountingdirectcostattachmentrequest.md +4 -4
  487. package/docs/models/operations/downloadaccountingdirectcostattachmentresponse.md +3 -3
  488. package/docs/models/operations/downloadaccountingdirectincomeattachmentrequest.md +6 -6
  489. package/docs/models/operations/downloadaccountingdirectincomeattachmentresponse.md +3 -3
  490. package/docs/models/operations/downloadaccountinginvoiceattachmentrequest.md +4 -4
  491. package/docs/models/operations/downloadaccountinginvoiceattachmentresponse.md +3 -3
  492. package/docs/models/operations/downloadaccountinginvoicepdfrequest.md +2 -2
  493. package/docs/models/operations/downloadaccountinginvoicepdfresponse.md +6 -6
  494. package/docs/models/operations/downloadaccountingsupplierattachmentrequest.md +4 -4
  495. package/docs/models/operations/downloadaccountingsupplierattachmentresponse.md +3 -3
  496. package/docs/models/operations/downloadexcelreportrequest.md +1 -1
  497. package/docs/models/operations/downloadexcelreportresponse.md +3 -3
  498. package/docs/models/operations/downloadfilesrequest.md +1 -1
  499. package/docs/models/operations/downloadfilesresponse.md +3 -3
  500. package/docs/models/operations/generateexcelreportrequest.md +1 -1
  501. package/docs/models/operations/generateexcelreportresponse.md +3 -3
  502. package/docs/models/operations/generateloansummaryrequest.md +9 -0
  503. package/docs/models/operations/generateloansummaryresponse.md +11 -0
  504. package/docs/models/operations/generateloansummarysourcetype.md +12 -0
  505. package/docs/models/operations/generateloantransactionsrequest.md +9 -0
  506. package/docs/models/operations/generateloantransactionsresponse.md +11 -0
  507. package/docs/models/operations/generateloantransactionssourcetype.md +12 -0
  508. package/docs/models/operations/getaccountingaccountrequest.md +2 -2
  509. package/docs/models/operations/getaccountingaccountresponse.md +3 -3
  510. package/docs/models/operations/getaccountingaccounttransactionrequest.md +5 -5
  511. package/docs/models/operations/getaccountingaccounttransactionresponse.md +3 -3
  512. package/docs/models/operations/getaccountingagedcreditorsreportrequest.md +1 -1
  513. package/docs/models/operations/getaccountingagedcreditorsreportresponse.md +3 -3
  514. package/docs/models/operations/getaccountingageddebtorsreportrequest.md +1 -1
  515. package/docs/models/operations/getaccountingageddebtorsreportresponse.md +3 -3
  516. package/docs/models/operations/getaccountingbalancesheetrequest.md +2 -2
  517. package/docs/models/operations/getaccountingbalancesheetresponse.md +3 -3
  518. package/docs/models/operations/getaccountingbankaccountrequest.md +3 -3
  519. package/docs/models/operations/getaccountingbankaccountresponse.md +3 -3
  520. package/docs/models/operations/getaccountingbillattachmentrequest.md +4 -4
  521. package/docs/models/operations/getaccountingbillattachmentresponse.md +3 -3
  522. package/docs/models/operations/getaccountingbillcreditnoterequest.md +4 -4
  523. package/docs/models/operations/getaccountingbillcreditnoteresponse.md +3 -3
  524. package/docs/models/operations/getaccountingbillpaymentrequest.md +4 -4
  525. package/docs/models/operations/getaccountingbillpaymentresponse.md +3 -3
  526. package/docs/models/operations/getaccountingbillrequest.md +2 -2
  527. package/docs/models/operations/getaccountingbillresponse.md +3 -3
  528. package/docs/models/operations/getaccountingcashflowstatementrequest.md +2 -2
  529. package/docs/models/operations/getaccountingcashflowstatementresponse.md +3 -3
  530. package/docs/models/operations/getaccountingcreditnoterequest.md +2 -2
  531. package/docs/models/operations/getaccountingcreditnoteresponse.md +3 -3
  532. package/docs/models/operations/getaccountingcustomerattachmentrequest.md +4 -4
  533. package/docs/models/operations/getaccountingcustomerattachmentresponse.md +3 -3
  534. package/docs/models/operations/getaccountingcustomerrequest.md +2 -2
  535. package/docs/models/operations/getaccountingcustomerresponse.md +3 -3
  536. package/docs/models/operations/getaccountingdirectcostattachmentrequest.md +4 -4
  537. package/docs/models/operations/getaccountingdirectcostattachmentresponse.md +3 -3
  538. package/docs/models/operations/getaccountingdirectcostrequest.md +3 -3
  539. package/docs/models/operations/getaccountingdirectcostresponse.md +3 -3
  540. package/docs/models/operations/getaccountingdirectincomeattachmentrequest.md +7 -7
  541. package/docs/models/operations/getaccountingdirectincomeattachmentresponse.md +3 -3
  542. package/docs/models/operations/getaccountingdirectincomerequest.md +5 -5
  543. package/docs/models/operations/getaccountingdirectincomeresponse.md +3 -3
  544. package/docs/models/operations/getaccountinginvoiceattachmentrequest.md +4 -4
  545. package/docs/models/operations/getaccountinginvoiceattachmentresponse.md +3 -3
  546. package/docs/models/operations/getaccountinginvoicerequest.md +2 -2
  547. package/docs/models/operations/getaccountinginvoiceresponse.md +3 -3
  548. package/docs/models/operations/getaccountingjournalentryrequest.md +4 -4
  549. package/docs/models/operations/getaccountingjournalentryresponse.md +3 -3
  550. package/docs/models/operations/getaccountingjournalrequest.md +2 -2
  551. package/docs/models/operations/getaccountingjournalresponse.md +3 -3
  552. package/docs/models/operations/getaccountingpaymentrequest.md +2 -2
  553. package/docs/models/operations/getaccountingpaymentresponse.md +3 -3
  554. package/docs/models/operations/getaccountingprofilerequest.md +1 -1
  555. package/docs/models/operations/getaccountingprofileresponse.md +3 -3
  556. package/docs/models/operations/getaccountingprofitandlossrequest.md +2 -2
  557. package/docs/models/operations/getaccountingprofitandlossresponse.md +3 -3
  558. package/docs/models/operations/getaccountingsupplierattachmentrequest.md +4 -4
  559. package/docs/models/operations/getaccountingsupplierattachmentresponse.md +3 -3
  560. package/docs/models/operations/getaccountingsupplierrequest.md +2 -2
  561. package/docs/models/operations/getaccountingsupplierresponse.md +3 -3
  562. package/docs/models/operations/getaccountingtransferrequest.md +3 -3
  563. package/docs/models/operations/getaccountingtransferresponse.md +3 -3
  564. package/docs/models/operations/getbankingaccountrequest.md +3 -3
  565. package/docs/models/operations/getbankingaccountresponse.md +3 -3
  566. package/docs/models/operations/getbankingtransactioncategoryrequest.md +2 -2
  567. package/docs/models/operations/getbankingtransactioncategoryresponse.md +3 -3
  568. package/docs/models/operations/getbankingtransactionrequest.md +2 -2
  569. package/docs/models/operations/getbankingtransactionresponse.md +3 -3
  570. package/docs/models/operations/getcategorizedbalancesheetstatementrequest.md +1 -1
  571. package/docs/models/operations/getcategorizedbalancesheetstatementresponse.md +3 -3
  572. package/docs/models/operations/getcategorizedbankstatementrequest.md +1 -1
  573. package/docs/models/operations/getcategorizedbankstatementresponse.md +3 -3
  574. package/docs/models/operations/getcategorizedprofitandlossstatementrequest.md +2 -2
  575. package/docs/models/operations/getcategorizedprofitandlossstatementresponse.md +3 -3
  576. package/docs/models/operations/getcommercecustomerrequest.md +2 -2
  577. package/docs/models/operations/getcommercecustomerresponse.md +3 -3
  578. package/docs/models/operations/getcommercecustomerretentionmetricsrequest.md +2 -2
  579. package/docs/models/operations/getcommercecustomerretentionmetricsresponse.md +3 -3
  580. package/docs/models/operations/getcommercedisputerequest.md +2 -2
  581. package/docs/models/operations/getcommercedisputeresponse.md +3 -3
  582. package/docs/models/operations/getcommercelifetimevaluemetricsrequest.md +2 -2
  583. package/docs/models/operations/getcommercelifetimevaluemetricsresponse.md +3 -3
  584. package/docs/models/operations/getcommercelocationrequest.md +2 -2
  585. package/docs/models/operations/getcommercelocationresponse.md +3 -3
  586. package/docs/models/operations/getcommerceorderrequest.md +2 -2
  587. package/docs/models/operations/getcommerceorderresponse.md +3 -3
  588. package/docs/models/operations/getcommerceordersreportrequest.md +2 -2
  589. package/docs/models/operations/getcommerceordersreportresponse.md +3 -3
  590. package/docs/models/operations/getcommercepaymentmethodrequest.md +2 -2
  591. package/docs/models/operations/getcommercepaymentmethodresponse.md +3 -3
  592. package/docs/models/operations/getcommercepaymentrequest.md +2 -2
  593. package/docs/models/operations/getcommercepaymentresponse.md +3 -3
  594. package/docs/models/operations/getcommerceproductcategoryrequest.md +2 -2
  595. package/docs/models/operations/getcommerceproductcategoryresponse.md +3 -3
  596. package/docs/models/operations/getcommerceproductrequest.md +2 -2
  597. package/docs/models/operations/getcommerceproductresponse.md +3 -3
  598. package/docs/models/operations/getcommerceprofilerequest.md +2 -2
  599. package/docs/models/operations/getcommerceprofileresponse.md +3 -3
  600. package/docs/models/operations/getcommercerefundsreportrequest.md +2 -2
  601. package/docs/models/operations/getcommercerefundsreportresponse.md +3 -3
  602. package/docs/models/operations/getcommercerevenuemetricsrequest.md +2 -2
  603. package/docs/models/operations/getcommercerevenuemetricsresponse.md +3 -3
  604. package/docs/models/operations/getcommercetransactionrequest.md +2 -2
  605. package/docs/models/operations/getcommercetransactionresponse.md +3 -3
  606. package/docs/models/operations/getcompanyrequest.md +1 -1
  607. package/docs/models/operations/getcompanyresponse.md +3 -3
  608. package/docs/models/operations/getconnectionrequest.md +2 -2
  609. package/docs/models/operations/getconnectionresponse.md +3 -3
  610. package/docs/models/operations/getcreatebanktransactionsmodelrequest.md +10 -0
  611. package/docs/models/operations/getcreatebanktransactionsmodelresponse.md +12 -0
  612. package/docs/models/operations/getcreatechartofaccountsmodelrequest.md +9 -0
  613. package/docs/models/operations/getcreatechartofaccountsmodelresponse.md +12 -0
  614. package/docs/models/operations/getcreatedirectcostsmodelrequest.md +9 -0
  615. package/docs/models/operations/getcreatedirectcostsmodelresponse.md +12 -0
  616. package/docs/models/operations/getcreateoperationrequest.md +9 -0
  617. package/docs/models/operations/getcreateoperationresponse.md +12 -0
  618. package/docs/models/operations/getcreatepaymentsmodelrequest.md +9 -0
  619. package/docs/models/operations/getcreatepaymentsmodelresponse.md +12 -0
  620. package/docs/models/operations/getcreatetransfersmodelrequest.md +9 -0
  621. package/docs/models/operations/getcreatetransfersmodelresponse.md +12 -0
  622. package/docs/models/operations/getcreateupdatesuppliersmodelrequest.md +9 -0
  623. package/docs/models/operations/getcreateupdatesuppliersmodelresponse.md +12 -0
  624. package/docs/models/operations/getdataintegritystatusrequest.md +1 -1
  625. package/docs/models/operations/getdataintegritystatusresponse.md +3 -3
  626. package/docs/models/operations/getdataintegritysummariesrequest.md +1 -1
  627. package/docs/models/operations/getdataintegritysummariesresponse.md +3 -3
  628. package/docs/models/operations/getdatastatusrequest.md +1 -1
  629. package/docs/models/operations/getdatastatusresponse.md +3 -3
  630. package/docs/models/operations/getexcelreportgenerationstatusrequest.md +1 -1
  631. package/docs/models/operations/getexcelreportgenerationstatusresponse.md +3 -3
  632. package/docs/models/operations/getloansummaryrequest.md +4 -3
  633. package/docs/models/operations/getloansummaryresponse.md +3 -3
  634. package/docs/models/operations/getloansummarysourcetype.md +12 -0
  635. package/docs/models/operations/getpulloperationrequest.md +4 -4
  636. package/docs/models/operations/getpulloperationresponse.md +3 -3
  637. package/docs/models/operations/isagedcreditorsreportavailablerequest.md +1 -1
  638. package/docs/models/operations/isagedcreditorsreportavailableresponse.md +3 -3
  639. package/docs/models/operations/isageddebtorsreportavailablerequest.md +1 -1
  640. package/docs/models/operations/isageddebtorsreportavailableresponse.md +6 -6
  641. package/docs/models/operations/listaccountingaccountsrequest.md +1 -1
  642. package/docs/models/operations/listaccountingaccountsresponse.md +3 -3
  643. package/docs/models/operations/listaccountingaccounttransactionsrequest.md +2 -2
  644. package/docs/models/operations/listaccountingaccounttransactionsresponse.md +3 -3
  645. package/docs/models/operations/listaccountingbankaccountsrequest.md +2 -2
  646. package/docs/models/operations/listaccountingbankaccountsresponse.md +3 -3
  647. package/docs/models/operations/listaccountingbankaccounttransactionsrequest.md +3 -3
  648. package/docs/models/operations/listaccountingbankaccounttransactionsresponse.md +3 -3
  649. package/docs/models/operations/listaccountingbillattachmentsrequest.md +3 -3
  650. package/docs/models/operations/listaccountingbillattachmentsresponse.md +3 -3
  651. package/docs/models/operations/listaccountingbillcreditnotesrequest.md +1 -1
  652. package/docs/models/operations/listaccountingbillcreditnotesresponse.md +3 -3
  653. package/docs/models/operations/listaccountingbillpaymentsrequest.md +1 -1
  654. package/docs/models/operations/listaccountingbillpaymentsresponse.md +3 -3
  655. package/docs/models/operations/listaccountingbillsrequest.md +1 -1
  656. package/docs/models/operations/listaccountingbillsresponse.md +3 -3
  657. package/docs/models/operations/listaccountingcreditnotesrequest.md +1 -1
  658. package/docs/models/operations/listaccountingcreditnotesresponse.md +3 -3
  659. package/docs/models/operations/listaccountingcustomerattachmentsrequest.md +3 -3
  660. package/docs/models/operations/listaccountingcustomerattachmentsresponse.md +3 -3
  661. package/docs/models/operations/listaccountingcustomersrequest.md +1 -1
  662. package/docs/models/operations/listaccountingcustomersresponse.md +3 -3
  663. package/docs/models/operations/listaccountingdirectcostattachmentsrequest.md +3 -3
  664. package/docs/models/operations/listaccountingdirectcostattachmentsresponse.md +3 -3
  665. package/docs/models/operations/listaccountingdirectcostsrequest.md +2 -2
  666. package/docs/models/operations/listaccountingdirectcostsresponse.md +3 -3
  667. package/docs/models/operations/listaccountingdirectincomeattachmentsrequest.md +5 -5
  668. package/docs/models/operations/listaccountingdirectincomeattachmentsresponse.md +3 -3
  669. package/docs/models/operations/listaccountingdirectincomesrequest.md +2 -2
  670. package/docs/models/operations/listaccountingdirectincomesresponse.md +3 -3
  671. package/docs/models/operations/listaccountinginvoiceattachmentsrequest.md +3 -3
  672. package/docs/models/operations/listaccountinginvoiceattachmentsresponse.md +3 -3
  673. package/docs/models/operations/listaccountinginvoicesrequest.md +1 -1
  674. package/docs/models/operations/listaccountinginvoicesresponse.md +3 -3
  675. package/docs/models/operations/listaccountingjournalentriesrequest.md +1 -1
  676. package/docs/models/operations/listaccountingjournalentriesresponse.md +3 -3
  677. package/docs/models/operations/listaccountingjournalsrequest.md +1 -1
  678. package/docs/models/operations/listaccountingjournalsresponse.md +3 -3
  679. package/docs/models/operations/listaccountingpaymentsrequest.md +1 -1
  680. package/docs/models/operations/listaccountingpaymentsresponse.md +3 -3
  681. package/docs/models/operations/listaccountingsupplierattachmentsrequest.md +3 -3
  682. package/docs/models/operations/listaccountingsupplierattachmentsresponse.md +3 -3
  683. package/docs/models/operations/listaccountingsuppliersrequest.md +1 -1
  684. package/docs/models/operations/listaccountingsuppliersresponse.md +3 -3
  685. package/docs/models/operations/listaccountingtransfersrequest.md +2 -2
  686. package/docs/models/operations/listaccountingtransfersresponse.md +3 -3
  687. package/docs/models/operations/listbankingaccountbalancesrequest.md +2 -2
  688. package/docs/models/operations/listbankingaccountbalancesresponse.md +3 -3
  689. package/docs/models/operations/listbankingaccountsrequest.md +2 -2
  690. package/docs/models/operations/listbankingaccountsresponse.md +3 -3
  691. package/docs/models/operations/listbankingtransactioncategoriesrequest.md +2 -2
  692. package/docs/models/operations/listbankingtransactioncategoriesresponse.md +3 -3
  693. package/docs/models/operations/listbankingtransactionsrequest.md +2 -2
  694. package/docs/models/operations/listbankingtransactionsresponse.md +3 -3
  695. package/docs/models/operations/listcommercecustomersrequest.md +2 -2
  696. package/docs/models/operations/listcommercecustomersresponse.md +3 -3
  697. package/docs/models/operations/listcommercedisputesrequest.md +2 -2
  698. package/docs/models/operations/listcommercedisputesresponse.md +3 -3
  699. package/docs/models/operations/listcommercelocationsrequest.md +2 -2
  700. package/docs/models/operations/listcommercelocationsresponse.md +3 -3
  701. package/docs/models/operations/listcommerceordersrequest.md +2 -2
  702. package/docs/models/operations/listcommerceordersresponse.md +3 -3
  703. package/docs/models/operations/listcommercepaymentmethodsrequest.md +2 -2
  704. package/docs/models/operations/listcommercepaymentmethodsresponse.md +3 -3
  705. package/docs/models/operations/listcommercepaymentsrequest.md +2 -2
  706. package/docs/models/operations/listcommercepaymentsresponse.md +3 -3
  707. package/docs/models/operations/listcommerceproductcategoriesrequest.md +2 -2
  708. package/docs/models/operations/listcommerceproductcategoriesresponse.md +3 -3
  709. package/docs/models/operations/listcommerceproductsrequest.md +2 -2
  710. package/docs/models/operations/listcommerceproductsresponse.md +3 -3
  711. package/docs/models/operations/listcommercetransactionsrequest.md +2 -2
  712. package/docs/models/operations/listcommercetransactionsresponse.md +3 -3
  713. package/docs/models/operations/listcompaniesresponse.md +3 -3
  714. package/docs/models/operations/listconnectionsrequest.md +1 -1
  715. package/docs/models/operations/listconnectionsresponse.md +3 -3
  716. package/docs/models/operations/listcreateoperationsrequest.md +12 -0
  717. package/docs/models/operations/listcreateoperationsresponse.md +12 -0
  718. package/docs/models/operations/listdataintegritydetailsrequest.md +1 -1
  719. package/docs/models/operations/listdataintegritydetailsresponse.md +3 -3
  720. package/docs/models/operations/listfilesrequest.md +1 -1
  721. package/docs/models/operations/listfilesresponse.md +3 -3
  722. package/docs/models/operations/listloantransactionsrequest.md +2 -2
  723. package/docs/models/operations/listloantransactionsresponse.md +3 -3
  724. package/docs/models/operations/listloantransactionssourcetype.md +1 -1
  725. package/docs/models/operations/listpulloperationsrequest.md +1 -1
  726. package/docs/models/operations/listpulloperationsresponse.md +3 -3
  727. package/docs/models/operations/listreconciledinvoicesrequest.md +1 -1
  728. package/docs/models/operations/listreconciledinvoicesresponse.md +3 -3
  729. package/docs/models/operations/refreshalldatatypesrequest.md +1 -1
  730. package/docs/models/operations/refreshalldatatypesresponse.md +3 -3
  731. package/docs/models/operations/refreshdatatyperequest.md +1 -1
  732. package/docs/models/operations/refreshdatatyperesponse.md +3 -3
  733. package/docs/models/operations/unlinkconnectionrequest.md +2 -2
  734. package/docs/models/operations/unlinkconnectionresponse.md +3 -3
  735. package/docs/models/operations/updatecompanyrequest.md +1 -1
  736. package/docs/models/operations/updatecompanyresponse.md +3 -3
  737. package/docs/models/operations/uploadfilesrequest.md +2 -2
  738. package/docs/models/operations/uploadfilesresponse.md +3 -3
  739. package/docs/models/shared/accountingaccount.md +3 -2
  740. package/docs/models/shared/accountingaccounts.md +3 -3
  741. package/docs/models/shared/accountingaccounttransaction.md +2 -2
  742. package/docs/models/shared/accountingaccounttransactions.md +3 -3
  743. package/docs/models/shared/accountingagedcreditorreport.md +1 -1
  744. package/docs/models/shared/accountingageddebtorreport.md +1 -1
  745. package/docs/models/shared/accountingattachment.md +1 -1
  746. package/docs/models/shared/accountingbankaccount.md +3 -2
  747. package/docs/models/shared/accountingbankaccounts.md +3 -3
  748. package/docs/models/shared/accountingbanktransaction.md +8 -8
  749. package/docs/models/shared/accountingbanktransactions.md +3 -3
  750. package/docs/models/shared/accountingbill.md +2 -2
  751. package/docs/models/shared/accountingbillcreditnote.md +3 -3
  752. package/docs/models/shared/accountingbillcreditnotes.md +3 -3
  753. package/docs/models/shared/accountingbillpayment.md +5 -5
  754. package/docs/models/shared/accountingbillpayments.md +3 -3
  755. package/docs/models/shared/accountingbills.md +3 -3
  756. package/docs/models/shared/accountingbillwithholdingtax.md +4 -4
  757. package/docs/models/shared/accountingcompanyinfo.md +1 -0
  758. package/docs/models/shared/accountingcreateaccountresponse.md +21 -0
  759. package/docs/models/shared/accountingcreatebanktransactions.md +9 -0
  760. package/docs/models/shared/accountingcreatebanktransactionsresponse.md +21 -0
  761. package/docs/models/shared/accountingcreatedirectcostresponse.md +21 -0
  762. package/docs/models/shared/accountingcreatepaymentresponse.md +21 -0
  763. package/docs/models/shared/accountingcreatesupplierresponse.md +21 -0
  764. package/docs/models/shared/accountingcreatetransferresponse.md +21 -0
  765. package/docs/models/shared/accountingcreditnote.md +4 -4
  766. package/docs/models/shared/accountingcreditnotes.md +3 -3
  767. package/docs/models/shared/accountingcustomer.md +1 -1
  768. package/docs/models/shared/accountingcustomers.md +3 -3
  769. package/docs/models/shared/accountingdirectcost.md +1 -1
  770. package/docs/models/shared/accountingdirectcosts.md +3 -3
  771. package/docs/models/shared/accountingdirectincome.md +2 -2
  772. package/docs/models/shared/accountingdirectincomes.md +3 -3
  773. package/docs/models/shared/accountinginvoice.md +6 -6
  774. package/docs/models/shared/accountinginvoices.md +3 -3
  775. package/docs/models/shared/accountinginvoicesalesorderreference.md +4 -4
  776. package/docs/models/shared/accountingjournal.md +2 -2
  777. package/docs/models/shared/accountingjournalentries.md +3 -3
  778. package/docs/models/shared/accountingjournalentry.md +2 -2
  779. package/docs/models/shared/accountingjournals.md +3 -3
  780. package/docs/models/shared/accountingpayment.md +4 -4
  781. package/docs/models/shared/accountingpayments.md +3 -3
  782. package/docs/models/shared/accountingsupplier.md +1 -1
  783. package/docs/models/shared/accountingsuppliers.md +3 -3
  784. package/docs/models/shared/accountingtransfer.md +3 -3
  785. package/docs/models/shared/accountingtransfercontactref.md +4 -4
  786. package/docs/models/shared/accountingtransfers.md +3 -3
  787. package/docs/models/shared/accountspayabletracking.md +7 -7
  788. package/docs/models/shared/accountsreceivabletracking.md +2 -2
  789. package/docs/models/shared/bankingaccountbalance.md +1 -1
  790. package/docs/models/shared/bankingaccountbalances.md +3 -3
  791. package/docs/models/shared/bankingaccounts.md +3 -3
  792. package/docs/models/shared/bankingtransactioncategories.md +3 -3
  793. package/docs/models/shared/bankingtransactioncategory.md +1 -1
  794. package/docs/models/shared/bankingtransactionref.md +6 -6
  795. package/docs/models/shared/bankingtransactions.md +3 -3
  796. package/docs/models/shared/banktransactiontype.md +1 -1
  797. package/docs/models/shared/billedtotype.md +2 -0
  798. package/docs/models/shared/billedtotype1.md +2 -0
  799. package/docs/models/shared/billlineitem.md +4 -2
  800. package/docs/models/shared/billlineitemrecordlinereference.md +12 -0
  801. package/docs/models/shared/billlineitemrecordlinereferencedatatype.md +10 -0
  802. package/docs/models/shared/commercecompanyinfo.md +1 -1
  803. package/docs/models/shared/commercecustomers.md +3 -3
  804. package/docs/models/shared/commercedispute.md +1 -1
  805. package/docs/models/shared/commercedisputes.md +3 -3
  806. package/docs/models/shared/commercelocations.md +3 -3
  807. package/docs/models/shared/commerceorder.md +5 -5
  808. package/docs/models/shared/commerceorders.md +3 -3
  809. package/docs/models/shared/commercepayment.md +3 -2
  810. package/docs/models/shared/commercepaymentmethod.md +7 -7
  811. package/docs/models/shared/commercepaymentmethods.md +3 -3
  812. package/docs/models/shared/commercepaymentmethodstatus.md +12 -0
  813. package/docs/models/shared/commercepayments.md +3 -3
  814. package/docs/models/shared/commerceproduct.md +9 -8
  815. package/docs/models/shared/commerceproductcategories.md +3 -3
  816. package/docs/models/shared/commerceproducts.md +3 -3
  817. package/docs/models/shared/commercereportcomponent.md +4 -4
  818. package/docs/models/shared/commercereportdimension.md +3 -3
  819. package/docs/models/shared/commercereportdimensionitems.md +3 -3
  820. package/docs/models/shared/commercereporterror.md +5 -5
  821. package/docs/models/shared/commercereportmeasure.md +6 -6
  822. package/docs/models/shared/commercetransaction.md +1 -0
  823. package/docs/models/shared/commercetransactions.md +3 -3
  824. package/docs/models/shared/companies.md +3 -3
  825. package/docs/models/shared/company.md +2 -2
  826. package/docs/models/shared/connection.md +2 -2
  827. package/docs/models/shared/connections.md +3 -3
  828. package/docs/models/shared/contactref.md +4 -4
  829. package/docs/models/shared/createbankaccounttransaction.md +12 -0
  830. package/docs/models/shared/creditnotelineitem.md +1 -1
  831. package/docs/models/shared/creditnotestatus.md +2 -0
  832. package/docs/models/shared/dataconnectionerror.md +3 -3
  833. package/docs/models/shared/dataintegritydetails.md +3 -3
  834. package/docs/models/shared/datastatus.md +4 -4
  835. package/docs/models/shared/datastatusdatatypes.md +51 -0
  836. package/docs/models/shared/enhancedcashflowtransaction.md +1 -1
  837. package/docs/models/shared/enhancedcashflowtransactions.md +5 -5
  838. package/docs/models/shared/enhancedinvoicereportitem.md +4 -4
  839. package/docs/models/shared/enhancedinvoicesreport.md +1 -1
  840. package/docs/models/shared/errormessage.md +8 -8
  841. package/docs/models/shared/file.md +3 -3
  842. package/docs/models/shared/halref.md +3 -3
  843. package/docs/models/shared/invoicelineitem.md +1 -1
  844. package/docs/models/shared/items.md +4 -4
  845. package/docs/models/shared/lendingcustomerref.md +4 -4
  846. package/docs/models/shared/loansummaryreportitem.md +1 -0
  847. package/docs/models/shared/orderdiscountallocation.md +4 -4
  848. package/docs/models/shared/orderlineitem.md +5 -5
  849. package/docs/models/shared/payment.md +3 -3
  850. package/docs/models/shared/paymentmethodref.md +11 -0
  851. package/docs/models/shared/productinventory.md +1 -1
  852. package/docs/models/shared/productinventorylocation.md +1 -1
  853. package/docs/models/shared/productprice.md +1 -1
  854. package/docs/models/shared/productref.md +4 -4
  855. package/docs/models/shared/productvariant.md +1 -1
  856. package/docs/models/shared/productvariantref.md +4 -4
  857. package/docs/models/shared/productvariantstatus.md +2 -0
  858. package/docs/models/shared/projectref.md +4 -4
  859. package/docs/models/shared/pulloperation.md +10 -8
  860. package/docs/models/shared/pulloperations.md +3 -3
  861. package/docs/models/shared/pulloperationstatus.md +2 -0
  862. package/docs/models/shared/pushchangetype.md +14 -0
  863. package/docs/models/shared/pushfieldvalidation.md +10 -0
  864. package/docs/models/shared/pushoperation.md +20 -0
  865. package/docs/models/shared/pushoperationchange.md +10 -0
  866. package/docs/models/shared/pushoperationref.md +9 -0
  867. package/docs/models/shared/pushoperations.md +12 -0
  868. package/docs/models/shared/pushoperationstatus.md +13 -0
  869. package/docs/models/shared/pushoption.md +14 -0
  870. package/docs/models/shared/pushoptionchoice.md +12 -0
  871. package/docs/models/shared/pushoptionproperty.md +14 -0
  872. package/docs/models/shared/pushoptiontype.md +17 -0
  873. package/docs/models/shared/pushvalidationinfo.md +9 -0
  874. package/docs/models/shared/reportcomponentmeasure.md +5 -5
  875. package/docs/models/shared/reportinfo.md +3 -3
  876. package/docs/models/shared/reportitems.md +2 -1
  877. package/docs/models/shared/reportitemsloantransactiontype.md +2 -0
  878. package/docs/models/shared/servicecharge.md +1 -1
  879. package/docs/models/shared/trackingcategoryref.md +4 -4
  880. package/docs/models/shared/transactioncategorystatus.md +2 -0
  881. package/docs/models/shared/transactionsourceref.md +1 -1
  882. package/docs/models/shared/transactionsourcetype.md +2 -0
  883. package/docs/models/shared/transferaccount.md +2 -0
  884. package/docs/models/shared/validation.md +11 -0
  885. package/docs/models/shared/validationitem.md +10 -0
  886. package/docs/models/webhooks/accountcategoriesupdatedresponse.md +5 -5
  887. package/docs/models/webhooks/clientratelimitreachedresponse.md +5 -5
  888. package/docs/models/webhooks/clientratelimitresetresponse.md +5 -5
  889. package/docs/sdks/accountingbankdata/README.md +21 -20
  890. package/docs/sdks/accountingbankdataaccounts/README.md +37 -35
  891. package/docs/sdks/accountspayable/README.md +1 -0
  892. package/docs/sdks/accountspayablebillcreditnotes/README.md +35 -33
  893. package/docs/sdks/accountspayablebillpayments/README.md +35 -33
  894. package/docs/sdks/accountspayablebills/README.md +85 -80
  895. package/docs/sdks/accountspayablesuppliers/README.md +85 -80
  896. package/docs/sdks/accountsreceivable/README.md +1 -0
  897. package/docs/sdks/accountsreceivablecreditnotes/README.md +35 -33
  898. package/docs/sdks/accountsreceivablecustomers/README.md +85 -80
  899. package/docs/sdks/accountsreceivabledirectincomes/README.md +87 -83
  900. package/docs/sdks/accountsreceivableinvoices/README.md +114 -108
  901. package/docs/sdks/accountsreceivablepayments/README.md +35 -33
  902. package/docs/sdks/accountsreceivablereports/README.md +54 -49
  903. package/docs/sdks/banking/README.md +1 -0
  904. package/docs/sdks/bankingaccountbalances/README.md +21 -20
  905. package/docs/sdks/bankingaccounts/README.md +37 -35
  906. package/docs/sdks/bankingcategorizedstatement/README.md +19 -18
  907. package/docs/sdks/bankingtransactioncategories/README.md +37 -35
  908. package/docs/sdks/bankingtransactions/README.md +37 -35
  909. package/docs/sdks/codatlending/README.md +1 -0
  910. package/docs/sdks/companies/README.md +67 -62
  911. package/docs/sdks/companyinfo/README.md +26 -23
  912. package/docs/sdks/connections/README.md +75 -72
  913. package/docs/sdks/dataintegrity/README.md +42 -40
  914. package/docs/sdks/excelreports/README.md +37 -33
  915. package/docs/sdks/fileupload/README.md +44 -40
  916. package/docs/sdks/financialstatements/README.md +1 -0
  917. package/docs/sdks/financialstatementsaccounts/README.md +35 -33
  918. package/docs/sdks/financialstatementsbalancesheet/README.md +32 -30
  919. package/docs/sdks/financialstatementscashflow/README.md +18 -16
  920. package/docs/sdks/financialstatementsprofitandloss/README.md +32 -30
  921. package/docs/sdks/liabilities/README.md +126 -24
  922. package/docs/sdks/loanwriteback/README.md +5 -0
  923. package/docs/sdks/loanwritebackaccounts/README.md +137 -0
  924. package/docs/sdks/loanwritebackbanktransactions/README.md +117 -0
  925. package/docs/sdks/loanwritebackcreateoperations/README.md +91 -0
  926. package/docs/sdks/loanwritebackdirectcosts/README.md +168 -0
  927. package/docs/sdks/loanwritebackpayments/README.md +140 -0
  928. package/docs/sdks/loanwritebacksuppliers/README.md +127 -0
  929. package/docs/sdks/loanwritebacktransfers/README.md +143 -0
  930. package/docs/sdks/managedata/README.md +12 -10
  931. package/docs/sdks/managedatapulloperations/README.md +32 -30
  932. package/docs/sdks/managedatarefresh/README.md +26 -24
  933. package/docs/sdks/sales/README.md +1 -0
  934. package/docs/sdks/salescustomers/README.md +37 -35
  935. package/docs/sdks/salesdisputes/README.md +37 -35
  936. package/docs/sdks/saleslocations/README.md +34 -31
  937. package/docs/sdks/salesmetrics/README.md +53 -52
  938. package/docs/sdks/salesorders/README.md +37 -35
  939. package/docs/sdks/salespaymentmethods/README.md +37 -35
  940. package/docs/sdks/salespayments/README.md +37 -35
  941. package/docs/sdks/salesproductcategories/README.md +37 -35
  942. package/docs/sdks/salesproducts/README.md +37 -35
  943. package/docs/sdks/salesreports/README.md +36 -35
  944. package/docs/sdks/salestransactions/README.md +37 -35
  945. package/docs/sdks/transactions/README.md +1 -0
  946. package/docs/sdks/transactionsaccounttransactions/README.md +37 -35
  947. package/docs/sdks/transactionsdirectcosts/README.md +87 -82
  948. package/docs/sdks/transactionsjournalentries/README.md +35 -33
  949. package/docs/sdks/transactionsjournals/README.md +35 -33
  950. package/docs/sdks/transactionstransfers/README.md +37 -35
  951. package/package.json +5 -2
  952. package/dist/sdk/models/shared/paymentmethodstatus.d.ts +0 -8
  953. package/dist/sdk/models/shared/paymentmethodstatus.js +0 -15
  954. package/docs/models/shared/commerceordersupplementaldata.md +0 -12
  955. package/docs/models/shared/paymentmethodstatus.md +0 -12
@@ -3,6 +3,9 @@ import { InvoiceStatus } from "./invoicestatus";
3
3
  import { LendingCustomerRef } from "./lendingcustomerref";
4
4
  import { Payment } from "./payment";
5
5
  export declare class EnhancedInvoiceReportItem extends SpeakeasyBase {
6
+ /**
7
+ * Invoice's total amount due.
8
+ */
6
9
  amountDue?: number;
7
10
  /**
8
11
  * The currency data type in Codat is the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code, e.g. _GBP_.
@@ -42,9 +45,12 @@ export declare class EnhancedInvoiceReportItem extends SpeakeasyBase {
42
45
  */
43
46
  dueDate?: string;
44
47
  /**
45
- * ID of the invoice, which may be a GUID but it may be something else depending on the accounting platdform
48
+ * ID of the invoice, which may be a GUID but it may be something else depending on the accounting platform.
46
49
  */
47
50
  id?: string;
51
+ /**
52
+ * Invoice number.
53
+ */
48
54
  invoiceNumber?: string;
49
55
  /**
50
56
  * In Codat's data model, dates and times are represented using the <a class="external" href="https://en.wikipedia.org/wiki/ISO_8601" target="_blank">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:
@@ -109,5 +115,8 @@ export declare class EnhancedInvoiceReportItem extends SpeakeasyBase {
109
115
  * - `Void` - An invoice can become Void when it's deleted, refunded, written off, or cancelled. A voided invoice may still be PartiallyPaid, and so all outstanding amounts on voided invoices are removed from the accounts receivable account.
110
116
  */
111
117
  status?: InvoiceStatus;
118
+ /**
119
+ * Invoice's total amount.
120
+ */
112
121
  totalAmount?: number;
113
122
  }
@@ -6,7 +6,7 @@ import { ReportInfo } from "./reportinfo";
6
6
  */
7
7
  export declare class EnhancedInvoicesReport extends SpeakeasyBase {
8
8
  /**
9
- * Report additional information, which is specific to Assess reports
9
+ * Report additional information, which is specific to Lending API reports.
10
10
  */
11
11
  reportInfo?: ReportInfo;
12
12
  reportItems?: EnhancedInvoiceReportItem[];
@@ -1,9 +1,27 @@
1
1
  import { SpeakeasyBase } from "../../../internal/utils";
2
2
  export declare class ErrorMessage extends SpeakeasyBase {
3
+ /**
4
+ * `True` if the error occurred transiently and can be retried.
5
+ */
3
6
  canBeRetried?: string;
7
+ /**
8
+ * Unique identifier used to propagate to all downstream services and determine the source of the error.
9
+ */
4
10
  correlationId?: string;
11
+ /**
12
+ * Machine readable error code used to automate processes based on the code returned.
13
+ */
5
14
  detailedErrorCode?: number;
15
+ /**
16
+ * A brief description of the error.
17
+ */
6
18
  error?: string;
19
+ /**
20
+ * Codat's service the returned the error.
21
+ */
7
22
  service?: string;
23
+ /**
24
+ * The HTTP status code returned by the error.
25
+ */
8
26
  statusCode?: number;
9
27
  }
@@ -1,7 +1,16 @@
1
1
  import { SpeakeasyBase } from "../../../internal/utils";
2
2
  export declare class File extends SpeakeasyBase {
3
+ /**
4
+ * An optional display name for the file.
5
+ */
3
6
  displayName?: string;
7
+ /**
8
+ * The file's name.
9
+ */
4
10
  fileName?: string;
11
+ /**
12
+ * The source of the file uploaded.
13
+ */
5
14
  sourceType?: string;
6
15
  /**
7
16
  * In Codat's data model, dates and times are represented using the <a class="external" href="https://en.wikipedia.org/wiki/ISO_8601" target="_blank">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:
@@ -1,4 +1,7 @@
1
1
  import { SpeakeasyBase } from "../../../internal/utils";
2
2
  export declare class HalRef extends SpeakeasyBase {
3
+ /**
4
+ * Uri hypertext reference.
5
+ */
3
6
  href?: string;
4
7
  }
@@ -28,6 +28,13 @@ export * from "./accountingbillpayments";
28
28
  export * from "./accountingbills";
29
29
  export * from "./accountingcashflowstatement";
30
30
  export * from "./accountingcompanyinfo";
31
+ export * from "./accountingcreateaccountresponse";
32
+ export * from "./accountingcreatebanktransactions";
33
+ export * from "./accountingcreatebanktransactionsresponse";
34
+ export * from "./accountingcreatedirectcostresponse";
35
+ export * from "./accountingcreatepaymentresponse";
36
+ export * from "./accountingcreatesupplierresponse";
37
+ export * from "./accountingcreatetransferresponse";
31
38
  export * from "./accountingcreditnote";
32
39
  export * from "./accountingcreditnotes";
33
40
  export * from "./accountingcustomer";
@@ -126,6 +133,7 @@ export * from "./connection";
126
133
  export * from "./connections";
127
134
  export * from "./contact";
128
135
  export * from "./contactref";
136
+ export * from "./createbankaccounttransaction";
129
137
  export * from "./creditnotelineitem";
130
138
  export * from "./creditnotestatus";
131
139
  export * from "./customerstatus";
@@ -193,7 +201,7 @@ export * from "./paymentallocationpayment";
193
201
  export * from "./paymentline";
194
202
  export * from "./paymentlinelink";
195
203
  export * from "./paymentlinktype";
196
- export * from "./paymentmethodstatus";
204
+ export * from "./paymentmethodref";
197
205
  export * from "./paymentref";
198
206
  export * from "./paymentstatus";
199
207
  export * from "./paymenttype";
@@ -211,6 +219,18 @@ export * from "./profitandlossreport";
211
219
  export * from "./projectref";
212
220
  export * from "./pulloperation";
213
221
  export * from "./pulloperations";
222
+ export * from "./pushchangetype";
223
+ export * from "./pushfieldvalidation";
224
+ export * from "./pushoperation";
225
+ export * from "./pushoperationchange";
226
+ export * from "./pushoperationref";
227
+ export * from "./pushoperations";
228
+ export * from "./pushoperationstatus";
229
+ export * from "./pushoption";
230
+ export * from "./pushoptionchoice";
231
+ export * from "./pushoptionproperty";
232
+ export * from "./pushoptiontype";
233
+ export * from "./pushvalidationinfo";
214
234
  export * from "./recordref";
215
235
  export * from "./reportbasis";
216
236
  export * from "./reportcomponentmeasure";
@@ -238,4 +258,6 @@ export * from "./transactionsourceref";
238
258
  export * from "./transactionsourcetype";
239
259
  export * from "./transactiontype";
240
260
  export * from "./transferaccount";
261
+ export * from "./validation";
262
+ export * from "./validationitem";
241
263
  export * from "./weblink";
@@ -47,6 +47,13 @@ __exportStar(require("./accountingbillpayments"), exports);
47
47
  __exportStar(require("./accountingbills"), exports);
48
48
  __exportStar(require("./accountingcashflowstatement"), exports);
49
49
  __exportStar(require("./accountingcompanyinfo"), exports);
50
+ __exportStar(require("./accountingcreateaccountresponse"), exports);
51
+ __exportStar(require("./accountingcreatebanktransactions"), exports);
52
+ __exportStar(require("./accountingcreatebanktransactionsresponse"), exports);
53
+ __exportStar(require("./accountingcreatedirectcostresponse"), exports);
54
+ __exportStar(require("./accountingcreatepaymentresponse"), exports);
55
+ __exportStar(require("./accountingcreatesupplierresponse"), exports);
56
+ __exportStar(require("./accountingcreatetransferresponse"), exports);
50
57
  __exportStar(require("./accountingcreditnote"), exports);
51
58
  __exportStar(require("./accountingcreditnotes"), exports);
52
59
  __exportStar(require("./accountingcustomer"), exports);
@@ -145,6 +152,7 @@ __exportStar(require("./connection"), exports);
145
152
  __exportStar(require("./connections"), exports);
146
153
  __exportStar(require("./contact"), exports);
147
154
  __exportStar(require("./contactref"), exports);
155
+ __exportStar(require("./createbankaccounttransaction"), exports);
148
156
  __exportStar(require("./creditnotelineitem"), exports);
149
157
  __exportStar(require("./creditnotestatus"), exports);
150
158
  __exportStar(require("./customerstatus"), exports);
@@ -212,7 +220,7 @@ __exportStar(require("./paymentallocationpayment"), exports);
212
220
  __exportStar(require("./paymentline"), exports);
213
221
  __exportStar(require("./paymentlinelink"), exports);
214
222
  __exportStar(require("./paymentlinktype"), exports);
215
- __exportStar(require("./paymentmethodstatus"), exports);
223
+ __exportStar(require("./paymentmethodref"), exports);
216
224
  __exportStar(require("./paymentref"), exports);
217
225
  __exportStar(require("./paymentstatus"), exports);
218
226
  __exportStar(require("./paymenttype"), exports);
@@ -230,6 +238,18 @@ __exportStar(require("./profitandlossreport"), exports);
230
238
  __exportStar(require("./projectref"), exports);
231
239
  __exportStar(require("./pulloperation"), exports);
232
240
  __exportStar(require("./pulloperations"), exports);
241
+ __exportStar(require("./pushchangetype"), exports);
242
+ __exportStar(require("./pushfieldvalidation"), exports);
243
+ __exportStar(require("./pushoperation"), exports);
244
+ __exportStar(require("./pushoperationchange"), exports);
245
+ __exportStar(require("./pushoperationref"), exports);
246
+ __exportStar(require("./pushoperations"), exports);
247
+ __exportStar(require("./pushoperationstatus"), exports);
248
+ __exportStar(require("./pushoption"), exports);
249
+ __exportStar(require("./pushoptionchoice"), exports);
250
+ __exportStar(require("./pushoptionproperty"), exports);
251
+ __exportStar(require("./pushoptiontype"), exports);
252
+ __exportStar(require("./pushvalidationinfo"), exports);
233
253
  __exportStar(require("./recordref"), exports);
234
254
  __exportStar(require("./reportbasis"), exports);
235
255
  __exportStar(require("./reportcomponentmeasure"), exports);
@@ -257,4 +277,6 @@ __exportStar(require("./transactionsourceref"), exports);
257
277
  __exportStar(require("./transactionsourcetype"), exports);
258
278
  __exportStar(require("./transactiontype"), exports);
259
279
  __exportStar(require("./transferaccount"), exports);
280
+ __exportStar(require("./validation"), exports);
281
+ __exportStar(require("./validationitem"), exports);
260
282
  __exportStar(require("./weblink"), exports);
@@ -21,6 +21,9 @@ export declare class InvoiceLineItem extends SpeakeasyBase {
21
21
  * Percentage rate (from 0 to 100) of any discounts applied to the unit amount.
22
22
  */
23
23
  discountPercentage?: number;
24
+ /**
25
+ * The invoice is a direct income if `True`.
26
+ */
24
27
  isDirectIncome?: boolean;
25
28
  /**
26
29
  * Reference to the item the line is linked to.
@@ -1,5 +1,11 @@
1
1
  import { SpeakeasyBase } from "../../../internal/utils";
2
2
  export declare class Items extends SpeakeasyBase {
3
+ /**
4
+ * Amount of tax withheld.
5
+ */
3
6
  amount: number;
7
+ /**
8
+ * Name assigned to withheld tax.
9
+ */
4
10
  name: string;
5
11
  }
@@ -1,11 +1,11 @@
1
1
  import { SpeakeasyBase } from "../../../internal/utils";
2
2
  export declare class LendingCustomerRef extends SpeakeasyBase {
3
3
  /**
4
- * `customerName` from the Customer data type
4
+ * `customerName` from the Customer data type.
5
5
  */
6
6
  customerName?: string;
7
7
  /**
8
- * `id` from the Customers data type
8
+ * `id` from the Customers data type.
9
9
  */
10
10
  id?: string;
11
11
  }
@@ -9,6 +9,10 @@ export declare class LoanSummaryReportItem extends SpeakeasyBase {
9
9
  * The description of the object being referred to. E.g. the account.
10
10
  */
11
11
  description?: string;
12
+ /**
13
+ * The name of lender providing the loan.
14
+ */
15
+ lenderName?: string;
12
16
  recordRef?: LoanSummaryRecordRef;
13
17
  /**
14
18
  * In Codat's data model, dates and times are represented using the <a class="external" href="https://en.wikipedia.org/wiki/ISO_8601" target="_blank">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:
@@ -46,6 +46,11 @@ var LoanSummaryReportItem = /** @class */ (function (_super) {
46
46
  (0, class_transformer_1.Expose)({ name: "description" }),
47
47
  __metadata("design:type", String)
48
48
  ], LoanSummaryReportItem.prototype, "description", void 0);
49
+ __decorate([
50
+ (0, utils_1.SpeakeasyMetadata)(),
51
+ (0, class_transformer_1.Expose)({ name: "lenderName" }),
52
+ __metadata("design:type", String)
53
+ ], LoanSummaryReportItem.prototype, "lenderName", void 0);
49
54
  __decorate([
50
55
  (0, utils_1.SpeakeasyMetadata)(),
51
56
  (0, class_transformer_1.Expose)({ name: "recordRef" }),
@@ -5,7 +5,7 @@ export declare class OrderDiscountAllocation extends SpeakeasyBase {
5
5
  */
6
6
  name?: string;
7
7
  /**
8
- * Total amount of discount applied.
8
+ * Total amount of discount applied, excluding tax. This is typically positive (for discounts which decrease the amount of the order line), but can also be negative (for discounts which increase the amount of the order line).
9
9
  */
10
10
  totalAmount?: number;
11
11
  }
@@ -21,12 +21,12 @@ export declare class OrderLineItem extends SpeakeasyBase {
21
21
  * Number of units of the product sold.
22
22
  *
23
23
  * @remarks
24
- * For refunds, quantity is a negative value.
24
+ * For refunds, quantity is negative.
25
25
  *
26
26
  */
27
27
  quantity?: number;
28
28
  /**
29
- * Percentage rate (from 0 to 100) of any sale tax applied to the unit amount.
29
+ * Percentage rate (from 0 to 100) of any sales tax applied to the unit price.
30
30
  */
31
31
  taxPercentage?: number;
32
32
  /**
@@ -34,15 +34,15 @@ export declare class OrderLineItem extends SpeakeasyBase {
34
34
  */
35
35
  taxes?: TaxComponentAllocation[];
36
36
  /**
37
- * Total price of the line item, including discounts, tax and minus any refunds.
37
+ * Total amount of the line item, including discounts and tax.
38
38
  */
39
39
  totalAmount?: number;
40
40
  /**
41
- * Total amount of tax applied to the line item.
41
+ * Total amount of tax applied to the line item, factoring in any discounts.
42
42
  */
43
43
  totalTaxAmount?: number;
44
44
  /**
45
- * Price per unit of goods or service.
45
+ * Price per unit of goods or services, excluding discounts and tax.
46
46
  */
47
47
  unitPrice?: number;
48
48
  }
@@ -1,6 +1,9 @@
1
1
  import { SpeakeasyBase } from "../../../internal/utils";
2
2
  import { BankingTransactionRef } from "./bankingtransactionref";
3
3
  export declare class Payment extends SpeakeasyBase {
4
+ /**
5
+ * Payment amount.
6
+ */
4
7
  amount?: number;
5
8
  bankingTransactionRefs?: BankingTransactionRef[];
6
9
  /**
@@ -70,8 +73,11 @@ export declare class Payment extends SpeakeasyBase {
70
73
  */
71
74
  date?: string;
72
75
  /**
73
- * ID of the invoice, which may be a GUID but it may be something else depending on the accounting platform
76
+ * ID of the invoice, which may be a GUID but it may be something else depending on the accounting platform.
74
77
  */
75
78
  id?: string;
79
+ /**
80
+ * The type of payment.
81
+ */
76
82
  paymentType?: string;
77
83
  }
@@ -0,0 +1,14 @@
1
+ import { SpeakeasyBase } from "../../../internal/utils";
2
+ /**
3
+ * The payment method the record is linked to in the accounting or commerce platform.
4
+ */
5
+ export declare class PaymentMethodRef extends SpeakeasyBase {
6
+ /**
7
+ * The unique identifier of the location being referenced.
8
+ */
9
+ id: string;
10
+ /**
11
+ * Name of the location being referenced.
12
+ */
13
+ name?: string;
14
+ }
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
4
+ */
5
+ var __extends = (this && this.__extends) || (function () {
6
+ var extendStatics = function (d, b) {
7
+ extendStatics = Object.setPrototypeOf ||
8
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
9
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
10
+ return extendStatics(d, b);
11
+ };
12
+ return function (d, b) {
13
+ if (typeof b !== "function" && b !== null)
14
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
15
+ extendStatics(d, b);
16
+ function __() { this.constructor = d; }
17
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
18
+ };
19
+ })();
20
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
21
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
22
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
23
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
24
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
25
+ };
26
+ var __metadata = (this && this.__metadata) || function (k, v) {
27
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
28
+ };
29
+ Object.defineProperty(exports, "__esModule", { value: true });
30
+ exports.PaymentMethodRef = void 0;
31
+ var utils_1 = require("../../../internal/utils");
32
+ var class_transformer_1 = require("class-transformer");
33
+ /**
34
+ * The payment method the record is linked to in the accounting or commerce platform.
35
+ */
36
+ var PaymentMethodRef = /** @class */ (function (_super) {
37
+ __extends(PaymentMethodRef, _super);
38
+ function PaymentMethodRef() {
39
+ return _super !== null && _super.apply(this, arguments) || this;
40
+ }
41
+ __decorate([
42
+ (0, utils_1.SpeakeasyMetadata)(),
43
+ (0, class_transformer_1.Expose)({ name: "id" }),
44
+ __metadata("design:type", String)
45
+ ], PaymentMethodRef.prototype, "id", void 0);
46
+ __decorate([
47
+ (0, utils_1.SpeakeasyMetadata)(),
48
+ (0, class_transformer_1.Expose)({ name: "name" }),
49
+ __metadata("design:type", String)
50
+ ], PaymentMethodRef.prototype, "name", void 0);
51
+ return PaymentMethodRef;
52
+ }(utils_1.SpeakeasyBase));
53
+ exports.PaymentMethodRef = PaymentMethodRef;
@@ -5,5 +5,8 @@ import { ProductInventoryLocation } from "./productinventorylocation";
5
5
  */
6
6
  export declare class ProductInventory extends SpeakeasyBase {
7
7
  locations?: ProductInventoryLocation[];
8
+ /**
9
+ * The total quantity of stock remaining across locations.
10
+ */
8
11
  totalQuantity?: number;
9
12
  }
@@ -5,5 +5,8 @@ export declare class ProductInventoryLocation extends SpeakeasyBase {
5
5
  * Reference to the geographic location where the order was placed.
6
6
  */
7
7
  locationRef?: LocationRef;
8
+ /**
9
+ * The quantity of stock remaining at location.
10
+ */
8
11
  quantity?: number;
9
12
  }
@@ -12,5 +12,8 @@ export declare class ProductPrice extends SpeakeasyBase {
12
12
  * There are only a very small number of edge cases where this currency code is returned by the Codat system.
13
13
  */
14
14
  currency?: string;
15
+ /**
16
+ * The product variant's unit price.
17
+ */
15
18
  unitPrice?: number;
16
19
  }
@@ -4,7 +4,7 @@ import { SpeakeasyBase } from "../../../internal/utils";
4
4
  */
5
5
  export declare class ProductRef extends SpeakeasyBase {
6
6
  /**
7
- * The unique identitifer of the product being referenced.
7
+ * The unique identifier of the product being referenced.
8
8
  */
9
9
  id: string;
10
10
  /**
@@ -67,6 +67,9 @@ export declare class ProductVariant extends SpeakeasyBase {
67
67
  */
68
68
  sku?: string;
69
69
  sourceModifiedDate?: string;
70
+ /**
71
+ * The status of the product variant.
72
+ */
70
73
  status?: ProductVariantStatus;
71
74
  /**
72
75
  * Unit of measure for the variant, such as `kg` or `meters`.
@@ -4,7 +4,7 @@ import { SpeakeasyBase } from "../../../internal/utils";
4
4
  */
5
5
  export declare class ProductVariantRef extends SpeakeasyBase {
6
6
  /**
7
- * The unique identitifer of the product variant being referenced.
7
+ * The unique identifier of the product variant being referenced.
8
8
  */
9
9
  id: string;
10
10
  /**
@@ -1,3 +1,6 @@
1
+ /**
2
+ * The status of the product variant.
3
+ */
1
4
  export declare enum ProductVariantStatus {
2
5
  Unknown = "Unknown",
3
6
  Published = "Published",
@@ -4,6 +4,9 @@
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ProductVariantStatus = void 0;
7
+ /**
8
+ * The status of the product variant.
9
+ */
7
10
  var ProductVariantStatus;
8
11
  (function (ProductVariantStatus) {
9
12
  ProductVariantStatus["Unknown"] = "Unknown";
@@ -1,5 +1,11 @@
1
1
  import { SpeakeasyBase } from "../../../internal/utils";
2
2
  export declare class ProjectRef extends SpeakeasyBase {
3
+ /**
4
+ * Unique identifier to the project reference.
5
+ */
3
6
  id: string;
7
+ /**
8
+ * The project's name.
9
+ */
4
10
  name?: string;
5
11
  }
@@ -1,4 +1,8 @@
1
1
  import { SpeakeasyBase } from "../../../internal/utils";
2
+ import { DataType } from "./datatype";
3
+ /**
4
+ * The current status of the pull operation.
5
+ */
2
6
  export declare enum PullOperationStatus {
3
7
  Initial = "Initial",
4
8
  Queued = "Queued",
@@ -31,12 +35,61 @@ export declare enum PullOperationStatus {
31
35
  * *Formally called `dataset`*
32
36
  */
33
37
  export declare class PullOperation extends SpeakeasyBase {
38
+ /**
39
+ * Unique identifier of the company associated to this pull operation.
40
+ */
34
41
  companyId: string;
42
+ /**
43
+ * In Codat's data model, dates and times are represented using the <a class="external" href="https://en.wikipedia.org/wiki/ISO_8601" target="_blank">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:
44
+ *
45
+ * @remarks
46
+ *
47
+ * ```
48
+ * 2020-10-08T22:40:50Z
49
+ * 2021-01-01T00:00:00
50
+ * ```
51
+ *
52
+ *
53
+ *
54
+ * When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
55
+ *
56
+ * - Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
57
+ * - Unqualified local time: `2021-11-15T01:00:00`
58
+ * - UTC time offsets: `2021-11-15T01:00:00-05:00`
59
+ *
60
+ * > Time zones
61
+ * >
62
+ * > Not all dates from Codat will contain information about time zones.
63
+ * > Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced.
64
+ */
65
+ completed?: string;
66
+ /**
67
+ * Unique identifier of the connection associated to this pull operation.
68
+ */
35
69
  connectionId: string;
36
- dataType: string;
70
+ /**
71
+ * Available Data types
72
+ */
73
+ dataType: DataType;
74
+ /**
75
+ * A message about a transient or persistent error.
76
+ */
77
+ errorMessage?: string;
78
+ /**
79
+ * Unique identifier of the pull operation.
80
+ */
37
81
  id: string;
82
+ /**
83
+ * `True` if the pull operation completed successfully.
84
+ */
38
85
  isCompleted: boolean;
86
+ /**
87
+ * `True` if the pull operation entered an error state.
88
+ */
39
89
  isErrored: boolean;
90
+ /**
91
+ * An integer signifying the progress of the pull operation.
92
+ */
40
93
  progress: number;
41
94
  /**
42
95
  * In Codat's data model, dates and times are represented using the <a class="external" href="https://en.wikipedia.org/wiki/ISO_8601" target="_blank">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:
@@ -62,5 +115,8 @@ export declare class PullOperation extends SpeakeasyBase {
62
115
  * > Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced.
63
116
  */
64
117
  requested: string;
118
+ /**
119
+ * The current status of the pull operation.
120
+ */
65
121
  status: PullOperationStatus;
66
122
  }
@@ -29,7 +29,11 @@ var __metadata = (this && this.__metadata) || function (k, v) {
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
30
  exports.PullOperation = exports.PullOperationStatus = void 0;
31
31
  var utils_1 = require("../../../internal/utils");
32
+ var datatype_1 = require("./datatype");
32
33
  var class_transformer_1 = require("class-transformer");
34
+ /**
35
+ * The current status of the pull operation.
36
+ */
33
37
  var PullOperationStatus;
34
38
  (function (PullOperationStatus) {
35
39
  PullOperationStatus["Initial"] = "Initial";
@@ -72,6 +76,11 @@ var PullOperation = /** @class */ (function (_super) {
72
76
  (0, class_transformer_1.Expose)({ name: "companyId" }),
73
77
  __metadata("design:type", String)
74
78
  ], PullOperation.prototype, "companyId", void 0);
79
+ __decorate([
80
+ (0, utils_1.SpeakeasyMetadata)(),
81
+ (0, class_transformer_1.Expose)({ name: "completed" }),
82
+ __metadata("design:type", String)
83
+ ], PullOperation.prototype, "completed", void 0);
75
84
  __decorate([
76
85
  (0, utils_1.SpeakeasyMetadata)(),
77
86
  (0, class_transformer_1.Expose)({ name: "connectionId" }),
@@ -82,6 +91,11 @@ var PullOperation = /** @class */ (function (_super) {
82
91
  (0, class_transformer_1.Expose)({ name: "dataType" }),
83
92
  __metadata("design:type", String)
84
93
  ], PullOperation.prototype, "dataType", void 0);
94
+ __decorate([
95
+ (0, utils_1.SpeakeasyMetadata)(),
96
+ (0, class_transformer_1.Expose)({ name: "errorMessage" }),
97
+ __metadata("design:type", String)
98
+ ], PullOperation.prototype, "errorMessage", void 0);
85
99
  __decorate([
86
100
  (0, utils_1.SpeakeasyMetadata)(),
87
101
  (0, class_transformer_1.Expose)({ name: "id" }),
@@ -3,8 +3,17 @@ import { Links } from "./links";
3
3
  import { PullOperation } from "./pulloperation";
4
4
  export declare class PullOperations extends SpeakeasyBase {
5
5
  links: Links;
6
+ /**
7
+ * Current page number.
8
+ */
6
9
  pageNumber: number;
10
+ /**
11
+ * Number of items to return in results array.
12
+ */
7
13
  pageSize: number;
8
14
  results?: PullOperation[];
15
+ /**
16
+ * Total number of items.
17
+ */
9
18
  totalResults: number;
10
19
  }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Type of change being applied to record in third party platform.
3
+ */
4
+ export declare enum PushChangeType {
5
+ Unknown = "Unknown",
6
+ Created = "Created",
7
+ Modified = "Modified",
8
+ Deleted = "Deleted",
9
+ AttachmentUploaded = "AttachmentUploaded"
10
+ }