@codat/lending 3.2.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 (930) hide show
  1. package/README.md +98 -83
  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 +5 -5
  37. package/dist/sdk/companyinfo.js +2 -2
  38. package/dist/sdk/connections.js +5 -5
  39. package/dist/sdk/dataintegrity.js +3 -3
  40. package/dist/sdk/excelreports.js +3 -3
  41. package/dist/sdk/fileupload.js +3 -3
  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 +2 -2
  50. package/dist/sdk/loanwriteback.js +2 -2
  51. package/dist/sdk/loanwritebackaccounts.d.ts +5 -5
  52. package/dist/sdk/loanwritebackaccounts.js +7 -7
  53. package/dist/sdk/loanwritebackbanktransactions.d.ts +5 -5
  54. package/dist/sdk/loanwritebackbanktransactions.js +7 -7
  55. package/dist/sdk/loanwritebackcreateoperations.js +2 -2
  56. package/dist/sdk/loanwritebackdirectcosts.d.ts +5 -5
  57. package/dist/sdk/loanwritebackdirectcosts.js +7 -7
  58. package/dist/sdk/loanwritebackpayments.d.ts +40 -0
  59. package/dist/sdk/{loanwritebackbankaccounts.js → loanwritebackpayments.js} +27 -26
  60. package/dist/sdk/loanwritebacksuppliers.d.ts +5 -5
  61. package/dist/sdk/loanwritebacksuppliers.js +7 -7
  62. package/dist/sdk/loanwritebacktransfers.d.ts +5 -5
  63. package/dist/sdk/loanwritebacktransfers.js +7 -7
  64. package/dist/sdk/managedata.js +1 -1
  65. package/dist/sdk/managedatapulloperations.js +2 -2
  66. package/dist/sdk/managedatarefresh.js +2 -2
  67. package/dist/sdk/models/operations/createaccount.d.ts +19 -2
  68. package/dist/sdk/models/operations/createaccount.js +0 -4
  69. package/dist/sdk/models/operations/createbanktransactions.d.ts +20 -3
  70. package/dist/sdk/models/operations/createbanktransactions.js +0 -4
  71. package/dist/sdk/models/operations/createcompany.d.ts +9 -0
  72. package/dist/sdk/models/operations/createconnection.d.ts +15 -0
  73. package/dist/sdk/models/operations/createdirectcost.d.ts +19 -2
  74. package/dist/sdk/models/operations/createdirectcost.js +0 -4
  75. package/dist/sdk/models/operations/createpayment.d.ts +44 -0
  76. package/dist/sdk/models/operations/{createbankaccount.js → createpayment.js} +23 -27
  77. package/dist/sdk/models/operations/createsupplier.d.ts +19 -2
  78. package/dist/sdk/models/operations/createsupplier.js +0 -4
  79. package/dist/sdk/models/operations/createtransfer.d.ts +19 -2
  80. package/dist/sdk/models/operations/createtransfer.js +0 -4
  81. package/dist/sdk/models/operations/deletecompany.d.ts +12 -0
  82. package/dist/sdk/models/operations/deleteconnection.d.ts +15 -0
  83. package/dist/sdk/models/operations/downloadaccountingbillattachment.d.ts +17 -2
  84. package/dist/sdk/models/operations/downloadaccountingcustomerattachment.d.ts +19 -1
  85. package/dist/sdk/models/operations/downloadaccountingdirectcostattachment.d.ts +17 -2
  86. package/dist/sdk/models/operations/downloadaccountingdirectincomeattachment.d.ts +17 -2
  87. package/dist/sdk/models/operations/downloadaccountinginvoiceattachment.d.ts +17 -2
  88. package/dist/sdk/models/operations/downloadaccountinginvoicepdf.d.ts +13 -1
  89. package/dist/sdk/models/operations/downloadaccountingsupplierattachment.d.ts +17 -2
  90. package/dist/sdk/models/operations/downloadexcelreport.d.ts +12 -0
  91. package/dist/sdk/models/operations/downloadfiles.d.ts +12 -0
  92. package/dist/sdk/models/operations/generateexcelreport.d.ts +12 -0
  93. package/dist/sdk/models/operations/generateloansummary.d.ts +39 -0
  94. package/dist/sdk/models/operations/generateloansummary.js +104 -0
  95. package/dist/sdk/models/operations/generateloantransactions.d.ts +39 -0
  96. package/dist/sdk/models/operations/generateloantransactions.js +104 -0
  97. package/dist/sdk/models/operations/getaccountingaccount.d.ts +13 -1
  98. package/dist/sdk/models/operations/getaccountingaccounttransaction.d.ts +18 -0
  99. package/dist/sdk/models/operations/getaccountingagedcreditorsreport.d.ts +12 -0
  100. package/dist/sdk/models/operations/getaccountingageddebtorsreport.d.ts +12 -0
  101. package/dist/sdk/models/operations/getaccountingbalancesheet.d.ts +15 -0
  102. package/dist/sdk/models/operations/getaccountingbankaccount.d.ts +16 -1
  103. package/dist/sdk/models/operations/getaccountingbill.d.ts +13 -1
  104. package/dist/sdk/models/operations/getaccountingbillattachment.d.ts +17 -2
  105. package/dist/sdk/models/operations/getaccountingbillcreditnote.d.ts +15 -0
  106. package/dist/sdk/models/operations/getaccountingbillpayment.d.ts +15 -0
  107. package/dist/sdk/models/operations/getaccountingcashflowstatement.d.ts +15 -0
  108. package/dist/sdk/models/operations/getaccountingcreditnote.d.ts +15 -0
  109. package/dist/sdk/models/operations/getaccountingcustomer.d.ts +15 -0
  110. package/dist/sdk/models/operations/getaccountingcustomerattachment.d.ts +19 -1
  111. package/dist/sdk/models/operations/getaccountingdirectcost.d.ts +16 -1
  112. package/dist/sdk/models/operations/getaccountingdirectcostattachment.d.ts +17 -2
  113. package/dist/sdk/models/operations/getaccountingdirectincome.d.ts +18 -0
  114. package/dist/sdk/models/operations/getaccountingdirectincomeattachment.d.ts +20 -2
  115. package/dist/sdk/models/operations/getaccountinginvoice.d.ts +13 -1
  116. package/dist/sdk/models/operations/getaccountinginvoiceattachment.d.ts +17 -2
  117. package/dist/sdk/models/operations/getaccountingjournal.d.ts +15 -0
  118. package/dist/sdk/models/operations/getaccountingjournalentry.d.ts +15 -0
  119. package/dist/sdk/models/operations/getaccountingpayment.d.ts +15 -0
  120. package/dist/sdk/models/operations/getaccountingprofile.d.ts +12 -0
  121. package/dist/sdk/models/operations/getaccountingprofitandloss.d.ts +15 -0
  122. package/dist/sdk/models/operations/getaccountingsupplier.d.ts +13 -1
  123. package/dist/sdk/models/operations/getaccountingsupplierattachment.d.ts +17 -2
  124. package/dist/sdk/models/operations/getaccountingtransfer.d.ts +18 -0
  125. package/dist/sdk/models/operations/getbankingaccount.d.ts +16 -1
  126. package/dist/sdk/models/operations/getbankingtransaction.d.ts +15 -0
  127. package/dist/sdk/models/operations/getbankingtransactioncategory.d.ts +15 -0
  128. package/dist/sdk/models/operations/getcategorizedbalancesheetstatement.d.ts +12 -0
  129. package/dist/sdk/models/operations/getcategorizedbankstatement.d.ts +12 -0
  130. package/dist/sdk/models/operations/getcategorizedprofitandlossstatement.d.ts +13 -1
  131. package/dist/sdk/models/operations/getcommercecustomer.d.ts +15 -0
  132. package/dist/sdk/models/operations/getcommercecustomerretentionmetrics.d.ts +15 -0
  133. package/dist/sdk/models/operations/getcommercedispute.d.ts +15 -0
  134. package/dist/sdk/models/operations/getcommercelifetimevaluemetrics.d.ts +15 -0
  135. package/dist/sdk/models/operations/getcommercelocation.d.ts +15 -0
  136. package/dist/sdk/models/operations/getcommerceorder.d.ts +15 -0
  137. package/dist/sdk/models/operations/getcommerceordersreport.d.ts +15 -0
  138. package/dist/sdk/models/operations/getcommercepayment.d.ts +15 -0
  139. package/dist/sdk/models/operations/getcommercepaymentmethod.d.ts +15 -0
  140. package/dist/sdk/models/operations/getcommerceproduct.d.ts +15 -0
  141. package/dist/sdk/models/operations/getcommerceproductcategory.d.ts +15 -0
  142. package/dist/sdk/models/operations/getcommerceprofile.d.ts +15 -0
  143. package/dist/sdk/models/operations/getcommercerefundsreport.d.ts +15 -0
  144. package/dist/sdk/models/operations/getcommercerevenuemetrics.d.ts +15 -0
  145. package/dist/sdk/models/operations/getcommercetransaction.d.ts +15 -0
  146. package/dist/sdk/models/operations/getcompany.d.ts +12 -0
  147. package/dist/sdk/models/operations/getconnection.d.ts +15 -0
  148. package/dist/sdk/models/operations/getcreatebanktransactionsmodel.d.ts +16 -1
  149. package/dist/sdk/models/operations/getcreatechartofaccountsmodel.d.ts +15 -0
  150. package/dist/sdk/models/operations/getcreatedirectcostsmodel.d.ts +15 -0
  151. package/dist/sdk/models/operations/getcreateoperation.d.ts +12 -0
  152. package/dist/sdk/models/operations/getcreatepaymentsmodel.d.ts +35 -0
  153. package/dist/sdk/models/operations/{getcreateupdatebankaccountsmodel.js → getcreatepaymentsmodel.js} +18 -18
  154. package/dist/sdk/models/operations/getcreatetransfersmodel.d.ts +15 -0
  155. package/dist/sdk/models/operations/getcreateupdatesuppliersmodel.d.ts +15 -0
  156. package/dist/sdk/models/operations/getdataintegritystatus.d.ts +12 -0
  157. package/dist/sdk/models/operations/getdataintegritysummaries.d.ts +12 -0
  158. package/dist/sdk/models/operations/getdatastatus.d.ts +12 -0
  159. package/dist/sdk/models/operations/getexcelreportgenerationstatus.d.ts +12 -0
  160. package/dist/sdk/models/operations/getloansummary.d.ts +24 -0
  161. package/dist/sdk/models/operations/getloansummary.js +14 -1
  162. package/dist/sdk/models/operations/getpulloperation.d.ts +13 -1
  163. package/dist/sdk/models/operations/index.d.ts +4 -2
  164. package/dist/sdk/models/operations/index.js +4 -2
  165. package/dist/sdk/models/operations/isagedcreditorsreportavailable.d.ts +12 -0
  166. package/dist/sdk/models/operations/isageddebtorsreportavailable.d.ts +12 -0
  167. package/dist/sdk/models/operations/listaccountingaccounts.d.ts +12 -0
  168. package/dist/sdk/models/operations/listaccountingaccounttransactions.d.ts +15 -0
  169. package/dist/sdk/models/operations/listaccountingbankaccounts.d.ts +15 -0
  170. package/dist/sdk/models/operations/listaccountingbankaccounttransactions.d.ts +16 -1
  171. package/dist/sdk/models/operations/listaccountingbillattachments.d.ts +16 -1
  172. package/dist/sdk/models/operations/listaccountingbillcreditnotes.d.ts +12 -0
  173. package/dist/sdk/models/operations/listaccountingbillpayments.d.ts +12 -0
  174. package/dist/sdk/models/operations/listaccountingbills.d.ts +12 -0
  175. package/dist/sdk/models/operations/listaccountingcreditnotes.d.ts +12 -0
  176. package/dist/sdk/models/operations/listaccountingcustomerattachments.d.ts +18 -0
  177. package/dist/sdk/models/operations/listaccountingcustomers.d.ts +12 -0
  178. package/dist/sdk/models/operations/listaccountingdirectcostattachments.d.ts +16 -1
  179. package/dist/sdk/models/operations/listaccountingdirectcosts.d.ts +15 -0
  180. package/dist/sdk/models/operations/listaccountingdirectincomeattachments.d.ts +16 -1
  181. package/dist/sdk/models/operations/listaccountingdirectincomes.d.ts +15 -0
  182. package/dist/sdk/models/operations/listaccountinginvoiceattachments.d.ts +16 -1
  183. package/dist/sdk/models/operations/listaccountinginvoices.d.ts +12 -0
  184. package/dist/sdk/models/operations/listaccountingjournalentries.d.ts +12 -0
  185. package/dist/sdk/models/operations/listaccountingjournals.d.ts +12 -0
  186. package/dist/sdk/models/operations/listaccountingpayments.d.ts +12 -0
  187. package/dist/sdk/models/operations/listaccountingsupplierattachments.d.ts +16 -1
  188. package/dist/sdk/models/operations/listaccountingsuppliers.d.ts +12 -0
  189. package/dist/sdk/models/operations/listaccountingtransfers.d.ts +15 -0
  190. package/dist/sdk/models/operations/listbankingaccountbalances.d.ts +15 -0
  191. package/dist/sdk/models/operations/listbankingaccounts.d.ts +15 -0
  192. package/dist/sdk/models/operations/listbankingtransactioncategories.d.ts +15 -0
  193. package/dist/sdk/models/operations/listbankingtransactions.d.ts +15 -0
  194. package/dist/sdk/models/operations/listcommercecustomers.d.ts +15 -0
  195. package/dist/sdk/models/operations/listcommercedisputes.d.ts +15 -0
  196. package/dist/sdk/models/operations/listcommercelocations.d.ts +15 -0
  197. package/dist/sdk/models/operations/listcommerceorders.d.ts +15 -0
  198. package/dist/sdk/models/operations/listcommercepaymentmethods.d.ts +15 -0
  199. package/dist/sdk/models/operations/listcommercepayments.d.ts +15 -0
  200. package/dist/sdk/models/operations/listcommerceproductcategories.d.ts +15 -0
  201. package/dist/sdk/models/operations/listcommerceproducts.d.ts +15 -0
  202. package/dist/sdk/models/operations/listcommercetransactions.d.ts +15 -0
  203. package/dist/sdk/models/operations/listcompanies.d.ts +9 -0
  204. package/dist/sdk/models/operations/listconnections.d.ts +12 -0
  205. package/dist/sdk/models/operations/listcreateoperations.d.ts +12 -0
  206. package/dist/sdk/models/operations/listdataintegritydetails.d.ts +12 -0
  207. package/dist/sdk/models/operations/listfiles.d.ts +12 -0
  208. package/dist/sdk/models/operations/listloantransactions.d.ts +14 -2
  209. package/dist/sdk/models/operations/listloantransactions.js +1 -1
  210. package/dist/sdk/models/operations/listpulloperations.d.ts +12 -0
  211. package/dist/sdk/models/operations/listreconciledinvoices.d.ts +12 -0
  212. package/dist/sdk/models/operations/refreshalldatatypes.d.ts +12 -0
  213. package/dist/sdk/models/operations/refreshdatatype.d.ts +12 -0
  214. package/dist/sdk/models/operations/unlinkconnection.d.ts +15 -0
  215. package/dist/sdk/models/operations/updatecompany.d.ts +12 -0
  216. package/dist/sdk/models/operations/uploadfiles.d.ts +15 -0
  217. package/dist/sdk/models/shared/accountingaccount.d.ts +11 -2
  218. package/dist/sdk/models/shared/accountingaccount.js +8 -1
  219. package/dist/sdk/models/shared/accountingaccounts.d.ts +9 -0
  220. package/dist/sdk/models/shared/accountingaccounttransaction.d.ts +2 -2
  221. package/dist/sdk/models/shared/accountingaccounttransaction.js +2 -2
  222. package/dist/sdk/models/shared/accountingaccounttransactions.d.ts +9 -0
  223. package/dist/sdk/models/shared/accountingagedcreditorreport.d.ts +1 -1
  224. package/dist/sdk/models/shared/accountingagedcreditorreport.js +1 -1
  225. package/dist/sdk/models/shared/accountingageddebtorreport.d.ts +1 -1
  226. package/dist/sdk/models/shared/accountingageddebtorreport.js +1 -1
  227. package/dist/sdk/models/shared/accountingattachment.d.ts +1 -1
  228. package/dist/sdk/models/shared/accountingattachment.js +1 -1
  229. package/dist/sdk/models/shared/accountingbankaccount.d.ts +10 -1
  230. package/dist/sdk/models/shared/accountingbankaccount.js +8 -1
  231. package/dist/sdk/models/shared/accountingbankaccounts.d.ts +9 -0
  232. package/dist/sdk/models/shared/accountingbanktransaction.d.ts +20 -2
  233. package/dist/sdk/models/shared/accountingbanktransaction.js +1 -1
  234. package/dist/sdk/models/shared/accountingbanktransactions.d.ts +9 -0
  235. package/dist/sdk/models/shared/accountingbill.d.ts +8 -2
  236. package/dist/sdk/models/shared/accountingbill.js +2 -2
  237. package/dist/sdk/models/shared/accountingbillcreditnote.d.ts +3 -3
  238. package/dist/sdk/models/shared/accountingbillcreditnote.js +3 -3
  239. package/dist/sdk/models/shared/accountingbillcreditnotes.d.ts +9 -0
  240. package/dist/sdk/models/shared/accountingbillpayment.d.ts +6 -5
  241. package/dist/sdk/models/shared/accountingbillpayment.js +7 -5
  242. package/dist/sdk/models/shared/accountingbillpayments.d.ts +9 -0
  243. package/dist/sdk/models/shared/accountingbills.d.ts +9 -0
  244. package/dist/sdk/models/shared/accountingcompanyinfo.d.ts +9 -0
  245. package/dist/sdk/models/shared/accountingcompanyinfo.js +7 -0
  246. package/dist/sdk/models/shared/accountingcreateaccountresponse.d.ts +12 -1
  247. package/dist/sdk/models/shared/accountingcreatebanktransactions.d.ts +3 -0
  248. package/dist/sdk/models/shared/accountingcreatebanktransactionsresponse.d.ts +11 -0
  249. package/dist/sdk/models/shared/accountingcreatedirectcostresponse.d.ts +12 -1
  250. package/dist/sdk/models/shared/accountingcreatepaymentresponse.d.ts +785 -0
  251. package/dist/sdk/models/shared/{accountingcreatebankaccountresponse.js → accountingcreatepaymentresponse.js} +23 -23
  252. package/dist/sdk/models/shared/accountingcreatesupplierresponse.d.ts +12 -1
  253. package/dist/sdk/models/shared/accountingcreatetransferresponse.d.ts +12 -1
  254. package/dist/sdk/models/shared/accountingcreditnote.d.ts +10 -1
  255. package/dist/sdk/models/shared/accountingcreditnote.js +1 -1
  256. package/dist/sdk/models/shared/accountingcreditnotes.d.ts +9 -0
  257. package/dist/sdk/models/shared/accountingcustomer.d.ts +1 -1
  258. package/dist/sdk/models/shared/accountingcustomer.js +1 -1
  259. package/dist/sdk/models/shared/accountingcustomers.d.ts +9 -0
  260. package/dist/sdk/models/shared/accountingdirectcost.d.ts +1 -1
  261. package/dist/sdk/models/shared/accountingdirectcost.js +1 -1
  262. package/dist/sdk/models/shared/accountingdirectcosts.d.ts +9 -0
  263. package/dist/sdk/models/shared/accountingdirectincome.d.ts +4 -1
  264. package/dist/sdk/models/shared/accountingdirectincome.js +1 -1
  265. package/dist/sdk/models/shared/accountingdirectincomes.d.ts +9 -0
  266. package/dist/sdk/models/shared/accountinginvoice.d.ts +18 -5
  267. package/dist/sdk/models/shared/accountinginvoice.js +5 -4
  268. package/dist/sdk/models/shared/accountinginvoices.d.ts +9 -0
  269. package/dist/sdk/models/shared/accountingjournal.d.ts +2 -2
  270. package/dist/sdk/models/shared/accountingjournal.js +2 -2
  271. package/dist/sdk/models/shared/accountingjournalentries.d.ts +9 -0
  272. package/dist/sdk/models/shared/accountingjournalentry.d.ts +2 -2
  273. package/dist/sdk/models/shared/accountingjournalentry.js +2 -2
  274. package/dist/sdk/models/shared/accountingjournals.d.ts +9 -0
  275. package/dist/sdk/models/shared/accountingpayment.d.ts +8 -4
  276. package/dist/sdk/models/shared/accountingpayment.js +6 -4
  277. package/dist/sdk/models/shared/accountingpayments.d.ts +9 -0
  278. package/dist/sdk/models/shared/accountingsupplier.d.ts +1 -1
  279. package/dist/sdk/models/shared/accountingsupplier.js +1 -1
  280. package/dist/sdk/models/shared/accountingsuppliers.d.ts +9 -0
  281. package/dist/sdk/models/shared/accountingtransfer.d.ts +15 -2
  282. package/dist/sdk/models/shared/accountingtransfer.js +2 -1
  283. package/dist/sdk/models/shared/accountingtransfers.d.ts +9 -0
  284. package/dist/sdk/models/shared/accountspayabletracking.d.ts +6 -0
  285. package/dist/sdk/models/shared/accountsreceivabletracking.d.ts +6 -0
  286. package/dist/sdk/models/shared/bankingaccountbalance.d.ts +1 -1
  287. package/dist/sdk/models/shared/bankingaccountbalance.js +1 -1
  288. package/dist/sdk/models/shared/bankingaccountbalances.d.ts +9 -0
  289. package/dist/sdk/models/shared/bankingaccounts.d.ts +9 -0
  290. package/dist/sdk/models/shared/bankingtransactioncategories.d.ts +9 -0
  291. package/dist/sdk/models/shared/bankingtransactioncategory.d.ts +3 -0
  292. package/dist/sdk/models/shared/bankingtransactionref.d.ts +18 -0
  293. package/dist/sdk/models/shared/bankingtransactions.d.ts +9 -0
  294. package/dist/sdk/models/shared/banktransactiontype.d.ts +1 -1
  295. package/dist/sdk/models/shared/banktransactiontype.js +1 -1
  296. package/dist/sdk/models/shared/billedtotype.d.ts +3 -0
  297. package/dist/sdk/models/shared/billedtotype.js +3 -0
  298. package/dist/sdk/models/shared/billedtotype1.d.ts +3 -0
  299. package/dist/sdk/models/shared/billedtotype1.js +3 -0
  300. package/dist/sdk/models/shared/billlineitem.d.ts +37 -0
  301. package/dist/sdk/models/shared/billlineitem.js +45 -1
  302. package/dist/sdk/models/shared/commercecustomers.d.ts +9 -0
  303. package/dist/sdk/models/shared/commercedisputes.d.ts +9 -0
  304. package/dist/sdk/models/shared/commercelocations.d.ts +9 -0
  305. package/dist/sdk/models/shared/commerceorder.d.ts +6 -15
  306. package/dist/sdk/models/shared/commerceorder.js +4 -23
  307. package/dist/sdk/models/shared/commerceorders.d.ts +9 -0
  308. package/dist/sdk/models/shared/commercepayment.d.ts +14 -1
  309. package/dist/sdk/models/shared/commercepayment.js +10 -1
  310. package/dist/sdk/models/shared/commercepaymentmethod.d.ts +10 -3
  311. package/dist/sdk/models/shared/commercepaymentmethod.js +10 -2
  312. package/dist/sdk/models/shared/commercepaymentmethods.d.ts +9 -0
  313. package/dist/sdk/models/shared/commercepayments.d.ts +9 -0
  314. package/dist/sdk/models/shared/commerceproduct.d.ts +11 -2
  315. package/dist/sdk/models/shared/commerceproduct.js +7 -0
  316. package/dist/sdk/models/shared/commerceproductcategories.d.ts +9 -0
  317. package/dist/sdk/models/shared/commerceproducts.d.ts +9 -0
  318. package/dist/sdk/models/shared/commercereportcomponent.d.ts +12 -0
  319. package/dist/sdk/models/shared/commercereportdimension.d.ts +12 -0
  320. package/dist/sdk/models/shared/commercereporterror.d.ts +9 -0
  321. package/dist/sdk/models/shared/commercereportmeasure.d.ts +12 -0
  322. package/dist/sdk/models/shared/commercetransaction.d.ts +9 -0
  323. package/dist/sdk/models/shared/commercetransaction.js +7 -0
  324. package/dist/sdk/models/shared/commercetransactions.d.ts +9 -0
  325. package/dist/sdk/models/shared/companies.d.ts +9 -0
  326. package/dist/sdk/models/shared/company.d.ts +5 -0
  327. package/dist/sdk/models/shared/connection.d.ts +6 -0
  328. package/dist/sdk/models/shared/connections.d.ts +9 -0
  329. package/dist/sdk/models/shared/contactref.d.ts +8 -1
  330. package/dist/sdk/models/shared/contactref.js +1 -0
  331. package/dist/sdk/models/shared/createbankaccounttransaction.d.ts +12 -0
  332. package/dist/sdk/models/shared/creditnotelineitem.d.ts +3 -0
  333. package/dist/sdk/models/shared/creditnotestatus.d.ts +3 -0
  334. package/dist/sdk/models/shared/creditnotestatus.js +3 -0
  335. package/dist/sdk/models/shared/dataconnectionerror.d.ts +9 -0
  336. package/dist/sdk/models/shared/dataintegritydetails.d.ts +9 -0
  337. package/dist/sdk/models/shared/datastatus.d.ts +60 -1
  338. package/dist/sdk/models/shared/datastatus.js +49 -1
  339. package/dist/sdk/models/shared/enhancedcashflowtransaction.d.ts +11 -0
  340. package/dist/sdk/models/shared/enhancedcashflowtransactions.d.ts +1 -1
  341. package/dist/sdk/models/shared/enhancedinvoicereportitem.d.ts +10 -1
  342. package/dist/sdk/models/shared/enhancedinvoicesreport.d.ts +1 -1
  343. package/dist/sdk/models/shared/errormessage.d.ts +18 -0
  344. package/dist/sdk/models/shared/file.d.ts +9 -0
  345. package/dist/sdk/models/shared/halref.d.ts +3 -0
  346. package/dist/sdk/models/shared/index.d.ts +2 -2
  347. package/dist/sdk/models/shared/index.js +2 -2
  348. package/dist/sdk/models/shared/invoicelineitem.d.ts +3 -0
  349. package/dist/sdk/models/shared/items.d.ts +6 -0
  350. package/dist/sdk/models/shared/lendingcustomerref.d.ts +2 -2
  351. package/dist/sdk/models/shared/loansummaryreportitem.d.ts +4 -0
  352. package/dist/sdk/models/shared/loansummaryreportitem.js +5 -0
  353. package/dist/sdk/models/shared/orderdiscountallocation.d.ts +1 -1
  354. package/dist/sdk/models/shared/orderlineitem.d.ts +5 -5
  355. package/dist/sdk/models/shared/payment.d.ts +7 -1
  356. package/dist/sdk/models/shared/paymentmethodref.d.ts +14 -0
  357. package/dist/sdk/models/shared/paymentmethodref.js +53 -0
  358. package/dist/sdk/models/shared/productinventory.d.ts +3 -0
  359. package/dist/sdk/models/shared/productinventorylocation.d.ts +3 -0
  360. package/dist/sdk/models/shared/productprice.d.ts +3 -0
  361. package/dist/sdk/models/shared/productref.d.ts +1 -1
  362. package/dist/sdk/models/shared/productvariant.d.ts +3 -0
  363. package/dist/sdk/models/shared/productvariantref.d.ts +1 -1
  364. package/dist/sdk/models/shared/productvariantstatus.d.ts +3 -0
  365. package/dist/sdk/models/shared/productvariantstatus.js +3 -0
  366. package/dist/sdk/models/shared/projectref.d.ts +6 -0
  367. package/dist/sdk/models/shared/pulloperation.d.ts +57 -1
  368. package/dist/sdk/models/shared/pulloperation.js +14 -0
  369. package/dist/sdk/models/shared/pulloperations.d.ts +9 -0
  370. package/dist/sdk/models/shared/pushchangetype.d.ts +3 -0
  371. package/dist/sdk/models/shared/pushchangetype.js +3 -0
  372. package/dist/sdk/models/shared/pushfieldvalidation.d.ts +9 -0
  373. package/dist/sdk/models/shared/pushoperation.d.ts +11 -0
  374. package/dist/sdk/models/shared/pushoperationchange.d.ts +6 -0
  375. package/dist/sdk/models/shared/pushoperationref.d.ts +3 -0
  376. package/dist/sdk/models/shared/pushoperations.d.ts +9 -0
  377. package/dist/sdk/models/shared/pushoption.d.ts +12 -0
  378. package/dist/sdk/models/shared/pushoptionchoice.d.ts +12 -0
  379. package/dist/sdk/models/shared/pushoptionproperty.d.ts +12 -0
  380. package/dist/sdk/models/shared/pushoptiontype.d.ts +3 -0
  381. package/dist/sdk/models/shared/pushoptiontype.js +3 -0
  382. package/dist/sdk/models/shared/reportcomponentmeasure.d.ts +9 -0
  383. package/dist/sdk/models/shared/reportinfo.d.ts +3 -3
  384. package/dist/sdk/models/shared/reportinfo.js +1 -1
  385. package/dist/sdk/models/shared/reportitems.d.ts +10 -0
  386. package/dist/sdk/models/shared/reportitems.js +8 -0
  387. package/dist/sdk/models/shared/servicecharge.d.ts +1 -1
  388. package/dist/sdk/models/shared/trackingcategoryref.d.ts +6 -0
  389. package/dist/sdk/models/shared/transactioncategorystatus.d.ts +3 -0
  390. package/dist/sdk/models/shared/transactioncategorystatus.js +3 -0
  391. package/dist/sdk/models/shared/transactionsourceref.d.ts +3 -0
  392. package/dist/sdk/models/shared/transactionsourcetype.d.ts +3 -0
  393. package/dist/sdk/models/shared/transactionsourcetype.js +3 -0
  394. package/dist/sdk/models/shared/transferaccount.d.ts +3 -0
  395. package/dist/sdk/models/shared/transferaccount.js +3 -0
  396. package/dist/sdk/models/shared/validationitem.d.ts +9 -0
  397. package/dist/sdk/models/webhooks/accountcategoriesupdated.d.ts +9 -0
  398. package/dist/sdk/models/webhooks/clientratelimitreached.d.ts +9 -0
  399. package/dist/sdk/models/webhooks/clientratelimitreset.d.ts +9 -0
  400. package/dist/sdk/salescustomers.d.ts +3 -3
  401. package/dist/sdk/salescustomers.js +5 -5
  402. package/dist/sdk/salesdisputes.d.ts +3 -3
  403. package/dist/sdk/salesdisputes.js +5 -5
  404. package/dist/sdk/saleslocations.d.ts +3 -3
  405. package/dist/sdk/saleslocations.js +5 -5
  406. package/dist/sdk/salesmetrics.js +3 -3
  407. package/dist/sdk/salesorders.d.ts +3 -3
  408. package/dist/sdk/salesorders.js +5 -5
  409. package/dist/sdk/salespaymentmethods.d.ts +3 -3
  410. package/dist/sdk/salespaymentmethods.js +5 -5
  411. package/dist/sdk/salespayments.d.ts +3 -3
  412. package/dist/sdk/salespayments.js +5 -5
  413. package/dist/sdk/salesproductcategories.d.ts +3 -3
  414. package/dist/sdk/salesproductcategories.js +5 -5
  415. package/dist/sdk/salesproducts.d.ts +3 -3
  416. package/dist/sdk/salesproducts.js +5 -5
  417. package/dist/sdk/salesreports.js +2 -2
  418. package/dist/sdk/salestransactions.d.ts +3 -3
  419. package/dist/sdk/salestransactions.js +5 -5
  420. package/dist/sdk/sdk.d.ts +1 -0
  421. package/dist/sdk/sdk.js +3 -2
  422. package/dist/sdk/transactionsaccounttransactions.d.ts +3 -3
  423. package/dist/sdk/transactionsaccounttransactions.js +5 -5
  424. package/dist/sdk/transactionsdirectcosts.d.ts +6 -6
  425. package/dist/sdk/transactionsdirectcosts.js +11 -11
  426. package/dist/sdk/transactionsjournalentries.d.ts +3 -3
  427. package/dist/sdk/transactionsjournalentries.js +5 -5
  428. package/dist/sdk/transactionsjournals.d.ts +3 -3
  429. package/dist/sdk/transactionsjournals.js +5 -5
  430. package/dist/sdk/transactionstransfers.d.ts +3 -3
  431. package/dist/sdk/transactionstransfers.js +5 -5
  432. package/docs/models/operations/createaccountrequest.md +7 -8
  433. package/docs/models/operations/createaccountresponse.md +3 -3
  434. package/docs/models/operations/createbanktransactionsrequest.md +8 -9
  435. package/docs/models/operations/createbanktransactionsresponse.md +3 -3
  436. package/docs/models/operations/createcompanyresponse.md +3 -3
  437. package/docs/models/operations/createconnectionrequest.md +1 -1
  438. package/docs/models/operations/createconnectionrequestbody.md +3 -3
  439. package/docs/models/operations/createconnectionresponse.md +3 -3
  440. package/docs/models/operations/createdirectcostrequest.md +7 -8
  441. package/docs/models/operations/createdirectcostresponse.md +3 -3
  442. package/docs/models/operations/createpaymentrequest.md +12 -0
  443. package/docs/models/operations/createpaymentresponse.md +12 -0
  444. package/docs/models/operations/createsupplierrequest.md +7 -8
  445. package/docs/models/operations/createsupplierresponse.md +3 -3
  446. package/docs/models/operations/createtransferrequest.md +7 -8
  447. package/docs/models/operations/createtransferresponse.md +3 -3
  448. package/docs/models/operations/deletecompanyrequest.md +1 -1
  449. package/docs/models/operations/deletecompanyresponse.md +3 -3
  450. package/docs/models/operations/deleteconnectionrequest.md +2 -2
  451. package/docs/models/operations/deleteconnectionresponse.md +3 -3
  452. package/docs/models/operations/downloadaccountingbillattachmentrequest.md +4 -4
  453. package/docs/models/operations/downloadaccountingbillattachmentresponse.md +3 -3
  454. package/docs/models/operations/downloadaccountingcustomerattachmentrequest.md +4 -4
  455. package/docs/models/operations/downloadaccountingcustomerattachmentresponse.md +3 -3
  456. package/docs/models/operations/downloadaccountingdirectcostattachmentrequest.md +4 -4
  457. package/docs/models/operations/downloadaccountingdirectcostattachmentresponse.md +3 -3
  458. package/docs/models/operations/downloadaccountingdirectincomeattachmentrequest.md +6 -6
  459. package/docs/models/operations/downloadaccountingdirectincomeattachmentresponse.md +3 -3
  460. package/docs/models/operations/downloadaccountinginvoiceattachmentrequest.md +4 -4
  461. package/docs/models/operations/downloadaccountinginvoiceattachmentresponse.md +3 -3
  462. package/docs/models/operations/downloadaccountinginvoicepdfrequest.md +2 -2
  463. package/docs/models/operations/downloadaccountinginvoicepdfresponse.md +6 -6
  464. package/docs/models/operations/downloadaccountingsupplierattachmentrequest.md +4 -4
  465. package/docs/models/operations/downloadaccountingsupplierattachmentresponse.md +3 -3
  466. package/docs/models/operations/downloadexcelreportrequest.md +1 -1
  467. package/docs/models/operations/downloadexcelreportresponse.md +3 -3
  468. package/docs/models/operations/downloadfilesrequest.md +1 -1
  469. package/docs/models/operations/downloadfilesresponse.md +3 -3
  470. package/docs/models/operations/generateexcelreportrequest.md +1 -1
  471. package/docs/models/operations/generateexcelreportresponse.md +3 -3
  472. package/docs/models/operations/generateloansummaryrequest.md +9 -0
  473. package/docs/models/operations/generateloansummaryresponse.md +11 -0
  474. package/docs/models/operations/generateloansummarysourcetype.md +12 -0
  475. package/docs/models/operations/generateloantransactionsrequest.md +9 -0
  476. package/docs/models/operations/generateloantransactionsresponse.md +11 -0
  477. package/docs/models/operations/generateloantransactionssourcetype.md +12 -0
  478. package/docs/models/operations/getaccountingaccountrequest.md +2 -2
  479. package/docs/models/operations/getaccountingaccountresponse.md +3 -3
  480. package/docs/models/operations/getaccountingaccounttransactionrequest.md +5 -5
  481. package/docs/models/operations/getaccountingaccounttransactionresponse.md +3 -3
  482. package/docs/models/operations/getaccountingagedcreditorsreportrequest.md +1 -1
  483. package/docs/models/operations/getaccountingagedcreditorsreportresponse.md +3 -3
  484. package/docs/models/operations/getaccountingageddebtorsreportrequest.md +1 -1
  485. package/docs/models/operations/getaccountingageddebtorsreportresponse.md +3 -3
  486. package/docs/models/operations/getaccountingbalancesheetrequest.md +2 -2
  487. package/docs/models/operations/getaccountingbalancesheetresponse.md +3 -3
  488. package/docs/models/operations/getaccountingbankaccountrequest.md +3 -3
  489. package/docs/models/operations/getaccountingbankaccountresponse.md +3 -3
  490. package/docs/models/operations/getaccountingbillattachmentrequest.md +4 -4
  491. package/docs/models/operations/getaccountingbillattachmentresponse.md +3 -3
  492. package/docs/models/operations/getaccountingbillcreditnoterequest.md +4 -4
  493. package/docs/models/operations/getaccountingbillcreditnoteresponse.md +3 -3
  494. package/docs/models/operations/getaccountingbillpaymentrequest.md +4 -4
  495. package/docs/models/operations/getaccountingbillpaymentresponse.md +3 -3
  496. package/docs/models/operations/getaccountingbillrequest.md +2 -2
  497. package/docs/models/operations/getaccountingbillresponse.md +3 -3
  498. package/docs/models/operations/getaccountingcashflowstatementrequest.md +2 -2
  499. package/docs/models/operations/getaccountingcashflowstatementresponse.md +3 -3
  500. package/docs/models/operations/getaccountingcreditnoterequest.md +2 -2
  501. package/docs/models/operations/getaccountingcreditnoteresponse.md +3 -3
  502. package/docs/models/operations/getaccountingcustomerattachmentrequest.md +4 -4
  503. package/docs/models/operations/getaccountingcustomerattachmentresponse.md +3 -3
  504. package/docs/models/operations/getaccountingcustomerrequest.md +2 -2
  505. package/docs/models/operations/getaccountingcustomerresponse.md +3 -3
  506. package/docs/models/operations/getaccountingdirectcostattachmentrequest.md +4 -4
  507. package/docs/models/operations/getaccountingdirectcostattachmentresponse.md +3 -3
  508. package/docs/models/operations/getaccountingdirectcostrequest.md +3 -3
  509. package/docs/models/operations/getaccountingdirectcostresponse.md +3 -3
  510. package/docs/models/operations/getaccountingdirectincomeattachmentrequest.md +7 -7
  511. package/docs/models/operations/getaccountingdirectincomeattachmentresponse.md +3 -3
  512. package/docs/models/operations/getaccountingdirectincomerequest.md +5 -5
  513. package/docs/models/operations/getaccountingdirectincomeresponse.md +3 -3
  514. package/docs/models/operations/getaccountinginvoiceattachmentrequest.md +4 -4
  515. package/docs/models/operations/getaccountinginvoiceattachmentresponse.md +3 -3
  516. package/docs/models/operations/getaccountinginvoicerequest.md +2 -2
  517. package/docs/models/operations/getaccountinginvoiceresponse.md +3 -3
  518. package/docs/models/operations/getaccountingjournalentryrequest.md +4 -4
  519. package/docs/models/operations/getaccountingjournalentryresponse.md +3 -3
  520. package/docs/models/operations/getaccountingjournalrequest.md +2 -2
  521. package/docs/models/operations/getaccountingjournalresponse.md +3 -3
  522. package/docs/models/operations/getaccountingpaymentrequest.md +2 -2
  523. package/docs/models/operations/getaccountingpaymentresponse.md +3 -3
  524. package/docs/models/operations/getaccountingprofilerequest.md +1 -1
  525. package/docs/models/operations/getaccountingprofileresponse.md +3 -3
  526. package/docs/models/operations/getaccountingprofitandlossrequest.md +2 -2
  527. package/docs/models/operations/getaccountingprofitandlossresponse.md +3 -3
  528. package/docs/models/operations/getaccountingsupplierattachmentrequest.md +4 -4
  529. package/docs/models/operations/getaccountingsupplierattachmentresponse.md +3 -3
  530. package/docs/models/operations/getaccountingsupplierrequest.md +2 -2
  531. package/docs/models/operations/getaccountingsupplierresponse.md +3 -3
  532. package/docs/models/operations/getaccountingtransferrequest.md +3 -3
  533. package/docs/models/operations/getaccountingtransferresponse.md +3 -3
  534. package/docs/models/operations/getbankingaccountrequest.md +3 -3
  535. package/docs/models/operations/getbankingaccountresponse.md +3 -3
  536. package/docs/models/operations/getbankingtransactioncategoryrequest.md +2 -2
  537. package/docs/models/operations/getbankingtransactioncategoryresponse.md +3 -3
  538. package/docs/models/operations/getbankingtransactionrequest.md +2 -2
  539. package/docs/models/operations/getbankingtransactionresponse.md +3 -3
  540. package/docs/models/operations/getcategorizedbalancesheetstatementrequest.md +1 -1
  541. package/docs/models/operations/getcategorizedbalancesheetstatementresponse.md +3 -3
  542. package/docs/models/operations/getcategorizedbankstatementrequest.md +1 -1
  543. package/docs/models/operations/getcategorizedbankstatementresponse.md +3 -3
  544. package/docs/models/operations/getcategorizedprofitandlossstatementrequest.md +2 -2
  545. package/docs/models/operations/getcategorizedprofitandlossstatementresponse.md +3 -3
  546. package/docs/models/operations/getcommercecustomerrequest.md +2 -2
  547. package/docs/models/operations/getcommercecustomerresponse.md +3 -3
  548. package/docs/models/operations/getcommercecustomerretentionmetricsrequest.md +2 -2
  549. package/docs/models/operations/getcommercecustomerretentionmetricsresponse.md +3 -3
  550. package/docs/models/operations/getcommercedisputerequest.md +2 -2
  551. package/docs/models/operations/getcommercedisputeresponse.md +3 -3
  552. package/docs/models/operations/getcommercelifetimevaluemetricsrequest.md +2 -2
  553. package/docs/models/operations/getcommercelifetimevaluemetricsresponse.md +3 -3
  554. package/docs/models/operations/getcommercelocationrequest.md +2 -2
  555. package/docs/models/operations/getcommercelocationresponse.md +3 -3
  556. package/docs/models/operations/getcommerceorderrequest.md +2 -2
  557. package/docs/models/operations/getcommerceorderresponse.md +3 -3
  558. package/docs/models/operations/getcommerceordersreportrequest.md +2 -2
  559. package/docs/models/operations/getcommerceordersreportresponse.md +3 -3
  560. package/docs/models/operations/getcommercepaymentmethodrequest.md +2 -2
  561. package/docs/models/operations/getcommercepaymentmethodresponse.md +3 -3
  562. package/docs/models/operations/getcommercepaymentrequest.md +2 -2
  563. package/docs/models/operations/getcommercepaymentresponse.md +3 -3
  564. package/docs/models/operations/getcommerceproductcategoryrequest.md +2 -2
  565. package/docs/models/operations/getcommerceproductcategoryresponse.md +3 -3
  566. package/docs/models/operations/getcommerceproductrequest.md +2 -2
  567. package/docs/models/operations/getcommerceproductresponse.md +3 -3
  568. package/docs/models/operations/getcommerceprofilerequest.md +2 -2
  569. package/docs/models/operations/getcommerceprofileresponse.md +3 -3
  570. package/docs/models/operations/getcommercerefundsreportrequest.md +2 -2
  571. package/docs/models/operations/getcommercerefundsreportresponse.md +3 -3
  572. package/docs/models/operations/getcommercerevenuemetricsrequest.md +2 -2
  573. package/docs/models/operations/getcommercerevenuemetricsresponse.md +3 -3
  574. package/docs/models/operations/getcommercetransactionrequest.md +2 -2
  575. package/docs/models/operations/getcommercetransactionresponse.md +3 -3
  576. package/docs/models/operations/getcompanyrequest.md +1 -1
  577. package/docs/models/operations/getcompanyresponse.md +3 -3
  578. package/docs/models/operations/getconnectionrequest.md +2 -2
  579. package/docs/models/operations/getconnectionresponse.md +3 -3
  580. package/docs/models/operations/getcreatebanktransactionsmodelrequest.md +3 -3
  581. package/docs/models/operations/getcreatebanktransactionsmodelresponse.md +3 -3
  582. package/docs/models/operations/getcreatechartofaccountsmodelrequest.md +2 -2
  583. package/docs/models/operations/getcreatechartofaccountsmodelresponse.md +3 -3
  584. package/docs/models/operations/getcreatedirectcostsmodelrequest.md +2 -2
  585. package/docs/models/operations/getcreatedirectcostsmodelresponse.md +3 -3
  586. package/docs/models/operations/getcreateoperationrequest.md +1 -1
  587. package/docs/models/operations/getcreateoperationresponse.md +3 -3
  588. package/docs/models/operations/{getcreateupdatebankaccountsmodelrequest.md → getcreatepaymentsmodelrequest.md} +3 -3
  589. package/docs/models/operations/{getcreateupdatebankaccountsmodelresponse.md → getcreatepaymentsmodelresponse.md} +4 -4
  590. package/docs/models/operations/getcreatetransfersmodelrequest.md +2 -2
  591. package/docs/models/operations/getcreatetransfersmodelresponse.md +3 -3
  592. package/docs/models/operations/getcreateupdatesuppliersmodelrequest.md +2 -2
  593. package/docs/models/operations/getcreateupdatesuppliersmodelresponse.md +3 -3
  594. package/docs/models/operations/getdataintegritystatusrequest.md +1 -1
  595. package/docs/models/operations/getdataintegritystatusresponse.md +3 -3
  596. package/docs/models/operations/getdataintegritysummariesrequest.md +1 -1
  597. package/docs/models/operations/getdataintegritysummariesresponse.md +3 -3
  598. package/docs/models/operations/getdatastatusrequest.md +1 -1
  599. package/docs/models/operations/getdatastatusresponse.md +3 -3
  600. package/docs/models/operations/getexcelreportgenerationstatusrequest.md +1 -1
  601. package/docs/models/operations/getexcelreportgenerationstatusresponse.md +3 -3
  602. package/docs/models/operations/getloansummaryrequest.md +4 -3
  603. package/docs/models/operations/getloansummaryresponse.md +3 -3
  604. package/docs/models/operations/getloansummarysourcetype.md +12 -0
  605. package/docs/models/operations/getpulloperationrequest.md +4 -4
  606. package/docs/models/operations/getpulloperationresponse.md +3 -3
  607. package/docs/models/operations/isagedcreditorsreportavailablerequest.md +1 -1
  608. package/docs/models/operations/isagedcreditorsreportavailableresponse.md +3 -3
  609. package/docs/models/operations/isageddebtorsreportavailablerequest.md +1 -1
  610. package/docs/models/operations/isageddebtorsreportavailableresponse.md +6 -6
  611. package/docs/models/operations/listaccountingaccountsrequest.md +1 -1
  612. package/docs/models/operations/listaccountingaccountsresponse.md +3 -3
  613. package/docs/models/operations/listaccountingaccounttransactionsrequest.md +2 -2
  614. package/docs/models/operations/listaccountingaccounttransactionsresponse.md +3 -3
  615. package/docs/models/operations/listaccountingbankaccountsrequest.md +2 -2
  616. package/docs/models/operations/listaccountingbankaccountsresponse.md +3 -3
  617. package/docs/models/operations/listaccountingbankaccounttransactionsrequest.md +3 -3
  618. package/docs/models/operations/listaccountingbankaccounttransactionsresponse.md +3 -3
  619. package/docs/models/operations/listaccountingbillattachmentsrequest.md +3 -3
  620. package/docs/models/operations/listaccountingbillattachmentsresponse.md +3 -3
  621. package/docs/models/operations/listaccountingbillcreditnotesrequest.md +1 -1
  622. package/docs/models/operations/listaccountingbillcreditnotesresponse.md +3 -3
  623. package/docs/models/operations/listaccountingbillpaymentsrequest.md +1 -1
  624. package/docs/models/operations/listaccountingbillpaymentsresponse.md +3 -3
  625. package/docs/models/operations/listaccountingbillsrequest.md +1 -1
  626. package/docs/models/operations/listaccountingbillsresponse.md +3 -3
  627. package/docs/models/operations/listaccountingcreditnotesrequest.md +1 -1
  628. package/docs/models/operations/listaccountingcreditnotesresponse.md +3 -3
  629. package/docs/models/operations/listaccountingcustomerattachmentsrequest.md +3 -3
  630. package/docs/models/operations/listaccountingcustomerattachmentsresponse.md +3 -3
  631. package/docs/models/operations/listaccountingcustomersrequest.md +1 -1
  632. package/docs/models/operations/listaccountingcustomersresponse.md +3 -3
  633. package/docs/models/operations/listaccountingdirectcostattachmentsrequest.md +3 -3
  634. package/docs/models/operations/listaccountingdirectcostattachmentsresponse.md +3 -3
  635. package/docs/models/operations/listaccountingdirectcostsrequest.md +2 -2
  636. package/docs/models/operations/listaccountingdirectcostsresponse.md +3 -3
  637. package/docs/models/operations/listaccountingdirectincomeattachmentsrequest.md +5 -5
  638. package/docs/models/operations/listaccountingdirectincomeattachmentsresponse.md +3 -3
  639. package/docs/models/operations/listaccountingdirectincomesrequest.md +2 -2
  640. package/docs/models/operations/listaccountingdirectincomesresponse.md +3 -3
  641. package/docs/models/operations/listaccountinginvoiceattachmentsrequest.md +3 -3
  642. package/docs/models/operations/listaccountinginvoiceattachmentsresponse.md +3 -3
  643. package/docs/models/operations/listaccountinginvoicesrequest.md +1 -1
  644. package/docs/models/operations/listaccountinginvoicesresponse.md +3 -3
  645. package/docs/models/operations/listaccountingjournalentriesrequest.md +1 -1
  646. package/docs/models/operations/listaccountingjournalentriesresponse.md +3 -3
  647. package/docs/models/operations/listaccountingjournalsrequest.md +1 -1
  648. package/docs/models/operations/listaccountingjournalsresponse.md +3 -3
  649. package/docs/models/operations/listaccountingpaymentsrequest.md +1 -1
  650. package/docs/models/operations/listaccountingpaymentsresponse.md +3 -3
  651. package/docs/models/operations/listaccountingsupplierattachmentsrequest.md +3 -3
  652. package/docs/models/operations/listaccountingsupplierattachmentsresponse.md +3 -3
  653. package/docs/models/operations/listaccountingsuppliersrequest.md +1 -1
  654. package/docs/models/operations/listaccountingsuppliersresponse.md +3 -3
  655. package/docs/models/operations/listaccountingtransfersrequest.md +2 -2
  656. package/docs/models/operations/listaccountingtransfersresponse.md +3 -3
  657. package/docs/models/operations/listbankingaccountbalancesrequest.md +2 -2
  658. package/docs/models/operations/listbankingaccountbalancesresponse.md +3 -3
  659. package/docs/models/operations/listbankingaccountsrequest.md +2 -2
  660. package/docs/models/operations/listbankingaccountsresponse.md +3 -3
  661. package/docs/models/operations/listbankingtransactioncategoriesrequest.md +2 -2
  662. package/docs/models/operations/listbankingtransactioncategoriesresponse.md +3 -3
  663. package/docs/models/operations/listbankingtransactionsrequest.md +2 -2
  664. package/docs/models/operations/listbankingtransactionsresponse.md +3 -3
  665. package/docs/models/operations/listcommercecustomersrequest.md +2 -2
  666. package/docs/models/operations/listcommercecustomersresponse.md +3 -3
  667. package/docs/models/operations/listcommercedisputesrequest.md +2 -2
  668. package/docs/models/operations/listcommercedisputesresponse.md +3 -3
  669. package/docs/models/operations/listcommercelocationsrequest.md +2 -2
  670. package/docs/models/operations/listcommercelocationsresponse.md +3 -3
  671. package/docs/models/operations/listcommerceordersrequest.md +2 -2
  672. package/docs/models/operations/listcommerceordersresponse.md +3 -3
  673. package/docs/models/operations/listcommercepaymentmethodsrequest.md +2 -2
  674. package/docs/models/operations/listcommercepaymentmethodsresponse.md +3 -3
  675. package/docs/models/operations/listcommercepaymentsrequest.md +2 -2
  676. package/docs/models/operations/listcommercepaymentsresponse.md +3 -3
  677. package/docs/models/operations/listcommerceproductcategoriesrequest.md +2 -2
  678. package/docs/models/operations/listcommerceproductcategoriesresponse.md +3 -3
  679. package/docs/models/operations/listcommerceproductsrequest.md +2 -2
  680. package/docs/models/operations/listcommerceproductsresponse.md +3 -3
  681. package/docs/models/operations/listcommercetransactionsrequest.md +2 -2
  682. package/docs/models/operations/listcommercetransactionsresponse.md +3 -3
  683. package/docs/models/operations/listcompaniesresponse.md +3 -3
  684. package/docs/models/operations/listconnectionsrequest.md +1 -1
  685. package/docs/models/operations/listconnectionsresponse.md +3 -3
  686. package/docs/models/operations/listcreateoperationsrequest.md +1 -1
  687. package/docs/models/operations/listcreateoperationsresponse.md +3 -3
  688. package/docs/models/operations/listdataintegritydetailsrequest.md +1 -1
  689. package/docs/models/operations/listdataintegritydetailsresponse.md +3 -3
  690. package/docs/models/operations/listfilesrequest.md +1 -1
  691. package/docs/models/operations/listfilesresponse.md +3 -3
  692. package/docs/models/operations/listloantransactionsrequest.md +2 -2
  693. package/docs/models/operations/listloantransactionsresponse.md +3 -3
  694. package/docs/models/operations/listloantransactionssourcetype.md +1 -1
  695. package/docs/models/operations/listpulloperationsrequest.md +1 -1
  696. package/docs/models/operations/listpulloperationsresponse.md +3 -3
  697. package/docs/models/operations/listreconciledinvoicesrequest.md +1 -1
  698. package/docs/models/operations/listreconciledinvoicesresponse.md +3 -3
  699. package/docs/models/operations/refreshalldatatypesrequest.md +1 -1
  700. package/docs/models/operations/refreshalldatatypesresponse.md +3 -3
  701. package/docs/models/operations/refreshdatatyperequest.md +1 -1
  702. package/docs/models/operations/refreshdatatyperesponse.md +3 -3
  703. package/docs/models/operations/unlinkconnectionrequest.md +2 -2
  704. package/docs/models/operations/unlinkconnectionresponse.md +3 -3
  705. package/docs/models/operations/updatecompanyrequest.md +1 -1
  706. package/docs/models/operations/updatecompanyresponse.md +3 -3
  707. package/docs/models/operations/uploadfilesrequest.md +2 -2
  708. package/docs/models/operations/uploadfilesresponse.md +3 -3
  709. package/docs/models/shared/accountingaccount.md +3 -2
  710. package/docs/models/shared/accountingaccounts.md +3 -3
  711. package/docs/models/shared/accountingaccounttransaction.md +2 -2
  712. package/docs/models/shared/accountingaccounttransactions.md +3 -3
  713. package/docs/models/shared/accountingagedcreditorreport.md +1 -1
  714. package/docs/models/shared/accountingageddebtorreport.md +1 -1
  715. package/docs/models/shared/accountingattachment.md +1 -1
  716. package/docs/models/shared/accountingbankaccount.md +3 -2
  717. package/docs/models/shared/accountingbankaccounts.md +3 -3
  718. package/docs/models/shared/accountingbanktransaction.md +8 -8
  719. package/docs/models/shared/accountingbanktransactions.md +3 -3
  720. package/docs/models/shared/accountingbill.md +2 -2
  721. package/docs/models/shared/accountingbillcreditnote.md +3 -3
  722. package/docs/models/shared/accountingbillcreditnotes.md +3 -3
  723. package/docs/models/shared/accountingbillpayment.md +5 -5
  724. package/docs/models/shared/accountingbillpayments.md +3 -3
  725. package/docs/models/shared/accountingbills.md +3 -3
  726. package/docs/models/shared/accountingbillwithholdingtax.md +4 -4
  727. package/docs/models/shared/accountingcompanyinfo.md +1 -0
  728. package/docs/models/shared/accountingcreateaccountresponse.md +16 -16
  729. package/docs/models/shared/accountingcreatebanktransactions.md +4 -4
  730. package/docs/models/shared/accountingcreatebanktransactionsresponse.md +4 -4
  731. package/docs/models/shared/accountingcreatedirectcostresponse.md +16 -16
  732. package/docs/models/shared/accountingcreatepaymentresponse.md +21 -0
  733. package/docs/models/shared/accountingcreatesupplierresponse.md +5 -5
  734. package/docs/models/shared/accountingcreatetransferresponse.md +5 -5
  735. package/docs/models/shared/accountingcreditnote.md +4 -4
  736. package/docs/models/shared/accountingcreditnotes.md +3 -3
  737. package/docs/models/shared/accountingcustomer.md +1 -1
  738. package/docs/models/shared/accountingcustomers.md +3 -3
  739. package/docs/models/shared/accountingdirectcost.md +1 -1
  740. package/docs/models/shared/accountingdirectcosts.md +3 -3
  741. package/docs/models/shared/accountingdirectincome.md +2 -2
  742. package/docs/models/shared/accountingdirectincomes.md +3 -3
  743. package/docs/models/shared/accountinginvoice.md +6 -6
  744. package/docs/models/shared/accountinginvoices.md +3 -3
  745. package/docs/models/shared/accountinginvoicesalesorderreference.md +4 -4
  746. package/docs/models/shared/accountingjournal.md +2 -2
  747. package/docs/models/shared/accountingjournalentries.md +3 -3
  748. package/docs/models/shared/accountingjournalentry.md +2 -2
  749. package/docs/models/shared/accountingjournals.md +3 -3
  750. package/docs/models/shared/accountingpayment.md +4 -4
  751. package/docs/models/shared/accountingpayments.md +3 -3
  752. package/docs/models/shared/accountingsupplier.md +1 -1
  753. package/docs/models/shared/accountingsuppliers.md +3 -3
  754. package/docs/models/shared/accountingtransfer.md +3 -3
  755. package/docs/models/shared/accountingtransfercontactref.md +4 -4
  756. package/docs/models/shared/accountingtransfers.md +3 -3
  757. package/docs/models/shared/accountspayabletracking.md +7 -7
  758. package/docs/models/shared/accountsreceivabletracking.md +2 -2
  759. package/docs/models/shared/bankingaccountbalance.md +1 -1
  760. package/docs/models/shared/bankingaccountbalances.md +3 -3
  761. package/docs/models/shared/bankingaccounts.md +3 -3
  762. package/docs/models/shared/bankingtransactioncategories.md +3 -3
  763. package/docs/models/shared/bankingtransactioncategory.md +1 -1
  764. package/docs/models/shared/bankingtransactionref.md +6 -6
  765. package/docs/models/shared/bankingtransactions.md +3 -3
  766. package/docs/models/shared/banktransactiontype.md +1 -1
  767. package/docs/models/shared/billedtotype.md +2 -0
  768. package/docs/models/shared/billedtotype1.md +2 -0
  769. package/docs/models/shared/billlineitem.md +4 -2
  770. package/docs/models/shared/billlineitemrecordlinereference.md +12 -0
  771. package/docs/models/shared/billlineitemrecordlinereferencedatatype.md +10 -0
  772. package/docs/models/shared/commercecompanyinfo.md +1 -1
  773. package/docs/models/shared/commercecustomers.md +3 -3
  774. package/docs/models/shared/commercedispute.md +1 -1
  775. package/docs/models/shared/commercedisputes.md +3 -3
  776. package/docs/models/shared/commercelocations.md +3 -3
  777. package/docs/models/shared/commerceorder.md +5 -5
  778. package/docs/models/shared/commerceorders.md +3 -3
  779. package/docs/models/shared/commercepayment.md +3 -2
  780. package/docs/models/shared/commercepaymentmethod.md +7 -7
  781. package/docs/models/shared/commercepaymentmethods.md +3 -3
  782. package/docs/models/shared/commercepaymentmethodstatus.md +12 -0
  783. package/docs/models/shared/commercepayments.md +3 -3
  784. package/docs/models/shared/commerceproduct.md +9 -8
  785. package/docs/models/shared/commerceproductcategories.md +3 -3
  786. package/docs/models/shared/commerceproducts.md +3 -3
  787. package/docs/models/shared/commercereportcomponent.md +4 -4
  788. package/docs/models/shared/commercereportdimension.md +3 -3
  789. package/docs/models/shared/commercereportdimensionitems.md +3 -3
  790. package/docs/models/shared/commercereporterror.md +5 -5
  791. package/docs/models/shared/commercereportmeasure.md +6 -6
  792. package/docs/models/shared/commercetransaction.md +1 -0
  793. package/docs/models/shared/commercetransactions.md +3 -3
  794. package/docs/models/shared/companies.md +3 -3
  795. package/docs/models/shared/company.md +2 -2
  796. package/docs/models/shared/connection.md +2 -2
  797. package/docs/models/shared/connections.md +3 -3
  798. package/docs/models/shared/contactref.md +4 -4
  799. package/docs/models/shared/createbankaccounttransaction.md +4 -4
  800. package/docs/models/shared/creditnotelineitem.md +1 -1
  801. package/docs/models/shared/creditnotestatus.md +2 -0
  802. package/docs/models/shared/dataconnectionerror.md +3 -3
  803. package/docs/models/shared/dataintegritydetails.md +3 -3
  804. package/docs/models/shared/datastatus.md +4 -4
  805. package/docs/models/shared/datastatusdatatypes.md +51 -0
  806. package/docs/models/shared/enhancedcashflowtransaction.md +1 -1
  807. package/docs/models/shared/enhancedcashflowtransactions.md +5 -5
  808. package/docs/models/shared/enhancedinvoicereportitem.md +4 -4
  809. package/docs/models/shared/enhancedinvoicesreport.md +1 -1
  810. package/docs/models/shared/errormessage.md +8 -8
  811. package/docs/models/shared/file.md +3 -3
  812. package/docs/models/shared/halref.md +3 -3
  813. package/docs/models/shared/invoicelineitem.md +1 -1
  814. package/docs/models/shared/items.md +4 -4
  815. package/docs/models/shared/lendingcustomerref.md +4 -4
  816. package/docs/models/shared/loansummaryreportitem.md +1 -0
  817. package/docs/models/shared/orderdiscountallocation.md +4 -4
  818. package/docs/models/shared/orderlineitem.md +5 -5
  819. package/docs/models/shared/payment.md +3 -3
  820. package/docs/models/shared/paymentmethodref.md +11 -0
  821. package/docs/models/shared/productinventory.md +1 -1
  822. package/docs/models/shared/productinventorylocation.md +1 -1
  823. package/docs/models/shared/productprice.md +1 -1
  824. package/docs/models/shared/productref.md +4 -4
  825. package/docs/models/shared/productvariant.md +1 -1
  826. package/docs/models/shared/productvariantref.md +4 -4
  827. package/docs/models/shared/productvariantstatus.md +2 -0
  828. package/docs/models/shared/projectref.md +4 -4
  829. package/docs/models/shared/pulloperation.md +10 -8
  830. package/docs/models/shared/pulloperations.md +3 -3
  831. package/docs/models/shared/pulloperationstatus.md +2 -0
  832. package/docs/models/shared/pushchangetype.md +2 -0
  833. package/docs/models/shared/pushfieldvalidation.md +5 -5
  834. package/docs/models/shared/pushoperation.md +4 -4
  835. package/docs/models/shared/pushoperationchange.md +5 -5
  836. package/docs/models/shared/pushoperationref.md +1 -1
  837. package/docs/models/shared/pushoperations.md +3 -3
  838. package/docs/models/shared/pushoption.md +4 -4
  839. package/docs/models/shared/pushoptionchoice.md +4 -4
  840. package/docs/models/shared/pushoptionproperty.md +4 -4
  841. package/docs/models/shared/pushoptiontype.md +2 -0
  842. package/docs/models/shared/reportcomponentmeasure.md +5 -5
  843. package/docs/models/shared/reportinfo.md +3 -3
  844. package/docs/models/shared/reportitems.md +2 -1
  845. package/docs/models/shared/reportitemsloantransactiontype.md +2 -0
  846. package/docs/models/shared/servicecharge.md +1 -1
  847. package/docs/models/shared/trackingcategoryref.md +4 -4
  848. package/docs/models/shared/transactioncategorystatus.md +2 -0
  849. package/docs/models/shared/transactionsourceref.md +1 -1
  850. package/docs/models/shared/transactionsourcetype.md +2 -0
  851. package/docs/models/shared/transferaccount.md +2 -0
  852. package/docs/models/shared/validationitem.md +5 -5
  853. package/docs/models/webhooks/accountcategoriesupdatedresponse.md +5 -5
  854. package/docs/models/webhooks/clientratelimitreachedresponse.md +5 -5
  855. package/docs/models/webhooks/clientratelimitresetresponse.md +5 -5
  856. package/docs/sdks/accountingbankdata/README.md +21 -20
  857. package/docs/sdks/accountingbankdataaccounts/README.md +37 -35
  858. package/docs/sdks/accountspayable/README.md +1 -0
  859. package/docs/sdks/accountspayablebillcreditnotes/README.md +35 -33
  860. package/docs/sdks/accountspayablebillpayments/README.md +35 -33
  861. package/docs/sdks/accountspayablebills/README.md +85 -80
  862. package/docs/sdks/accountspayablesuppliers/README.md +85 -80
  863. package/docs/sdks/accountsreceivable/README.md +1 -0
  864. package/docs/sdks/accountsreceivablecreditnotes/README.md +35 -33
  865. package/docs/sdks/accountsreceivablecustomers/README.md +85 -80
  866. package/docs/sdks/accountsreceivabledirectincomes/README.md +87 -83
  867. package/docs/sdks/accountsreceivableinvoices/README.md +114 -108
  868. package/docs/sdks/accountsreceivablepayments/README.md +35 -33
  869. package/docs/sdks/accountsreceivablereports/README.md +54 -49
  870. package/docs/sdks/banking/README.md +1 -0
  871. package/docs/sdks/bankingaccountbalances/README.md +21 -20
  872. package/docs/sdks/bankingaccounts/README.md +37 -35
  873. package/docs/sdks/bankingcategorizedstatement/README.md +19 -18
  874. package/docs/sdks/bankingtransactioncategories/README.md +37 -35
  875. package/docs/sdks/bankingtransactions/README.md +37 -35
  876. package/docs/sdks/codatlending/README.md +1 -0
  877. package/docs/sdks/companies/README.md +67 -62
  878. package/docs/sdks/companyinfo/README.md +26 -23
  879. package/docs/sdks/connections/README.md +75 -72
  880. package/docs/sdks/dataintegrity/README.md +42 -40
  881. package/docs/sdks/excelreports/README.md +37 -33
  882. package/docs/sdks/fileupload/README.md +44 -40
  883. package/docs/sdks/financialstatements/README.md +1 -0
  884. package/docs/sdks/financialstatementsaccounts/README.md +35 -33
  885. package/docs/sdks/financialstatementsbalancesheet/README.md +32 -30
  886. package/docs/sdks/financialstatementscashflow/README.md +18 -16
  887. package/docs/sdks/financialstatementsprofitandloss/README.md +32 -30
  888. package/docs/sdks/liabilities/README.md +126 -24
  889. package/docs/sdks/loanwriteback/README.md +1 -0
  890. package/docs/sdks/loanwritebackaccounts/README.md +61 -58
  891. package/docs/sdks/loanwritebackbanktransactions/README.md +45 -49
  892. package/docs/sdks/loanwritebackcreateoperations/README.md +32 -30
  893. package/docs/sdks/loanwritebackdirectcosts/README.md +84 -116
  894. package/docs/sdks/loanwritebackpayments/README.md +140 -0
  895. package/docs/sdks/loanwritebacksuppliers/README.md +49 -64
  896. package/docs/sdks/loanwritebacktransfers/README.md +64 -77
  897. package/docs/sdks/managedata/README.md +12 -10
  898. package/docs/sdks/managedatapulloperations/README.md +32 -30
  899. package/docs/sdks/managedatarefresh/README.md +26 -24
  900. package/docs/sdks/sales/README.md +1 -0
  901. package/docs/sdks/salescustomers/README.md +37 -35
  902. package/docs/sdks/salesdisputes/README.md +37 -35
  903. package/docs/sdks/saleslocations/README.md +34 -31
  904. package/docs/sdks/salesmetrics/README.md +53 -52
  905. package/docs/sdks/salesorders/README.md +37 -35
  906. package/docs/sdks/salespaymentmethods/README.md +37 -35
  907. package/docs/sdks/salespayments/README.md +37 -35
  908. package/docs/sdks/salesproductcategories/README.md +37 -35
  909. package/docs/sdks/salesproducts/README.md +37 -35
  910. package/docs/sdks/salesreports/README.md +36 -35
  911. package/docs/sdks/salestransactions/README.md +37 -35
  912. package/docs/sdks/transactions/README.md +1 -0
  913. package/docs/sdks/transactionsaccounttransactions/README.md +37 -35
  914. package/docs/sdks/transactionsdirectcosts/README.md +87 -82
  915. package/docs/sdks/transactionsjournalentries/README.md +35 -33
  916. package/docs/sdks/transactionsjournals/README.md +35 -33
  917. package/docs/sdks/transactionstransfers/README.md +37 -35
  918. package/package.json +5 -2
  919. package/dist/sdk/loanwritebackbankaccounts.d.ts +0 -39
  920. package/dist/sdk/models/operations/createbankaccount.d.ts +0 -27
  921. package/dist/sdk/models/operations/getcreateupdatebankaccountsmodel.d.ts +0 -20
  922. package/dist/sdk/models/shared/accountingcreatebankaccountresponse.d.ts +0 -112
  923. package/dist/sdk/models/shared/paymentmethodstatus.d.ts +0 -8
  924. package/dist/sdk/models/shared/paymentmethodstatus.js +0 -15
  925. package/docs/models/operations/createbankaccountrequest.md +0 -13
  926. package/docs/models/operations/createbankaccountresponse.md +0 -12
  927. package/docs/models/shared/accountingcreatebankaccountresponse.md +0 -21
  928. package/docs/models/shared/commerceordersupplementaldata.md +0 -12
  929. package/docs/models/shared/paymentmethodstatus.md +0 -12
  930. package/docs/sdks/loanwritebackbankaccounts/README.md +0 -126
@@ -5,20 +5,20 @@
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.LoanWriteback = void 0;
7
7
  var loanwritebackaccounts_1 = require("./loanwritebackaccounts");
8
- var loanwritebackbankaccounts_1 = require("./loanwritebackbankaccounts");
9
8
  var loanwritebackbanktransactions_1 = require("./loanwritebackbanktransactions");
10
9
  var loanwritebackcreateoperations_1 = require("./loanwritebackcreateoperations");
11
10
  var loanwritebackdirectcosts_1 = require("./loanwritebackdirectcosts");
11
+ var loanwritebackpayments_1 = require("./loanwritebackpayments");
12
12
  var loanwritebacksuppliers_1 = require("./loanwritebacksuppliers");
13
13
  var loanwritebacktransfers_1 = require("./loanwritebacktransfers");
14
14
  var LoanWriteback = /** @class */ (function () {
15
15
  function LoanWriteback(sdkConfig) {
16
16
  this.sdkConfiguration = sdkConfig;
17
17
  this.accounts = new loanwritebackaccounts_1.LoanWritebackAccounts(this.sdkConfiguration);
18
- this.bankAccounts = new loanwritebackbankaccounts_1.LoanWritebackBankAccounts(this.sdkConfiguration);
19
18
  this.bankTransactions = new loanwritebackbanktransactions_1.LoanWritebackBankTransactions(this.sdkConfiguration);
20
19
  this.createOperations = new loanwritebackcreateoperations_1.LoanWritebackCreateOperations(this.sdkConfiguration);
21
20
  this.directCosts = new loanwritebackdirectcosts_1.LoanWritebackDirectCosts(this.sdkConfiguration);
21
+ this.payments = new loanwritebackpayments_1.LoanWritebackPayments(this.sdkConfiguration);
22
22
  this.suppliers = new loanwritebacksuppliers_1.LoanWritebackSuppliers(this.sdkConfiguration);
23
23
  this.transfers = new loanwritebacktransfers_1.LoanWritebackTransfers(this.sdkConfiguration);
24
24
  }
@@ -9,13 +9,13 @@ export declare class LoanWritebackAccounts {
9
9
  * Create account
10
10
  *
11
11
  * @remarks
12
- * The *Create account* endpoint creates a new [account](https://docs.codat.io/accounting-api#/schemas/Account) for a given company's connection.
12
+ * The *Create account* endpoint creates a new [account](https://docs.codat.io/lending-api#/schemas/Account) for a given company's connection.
13
13
  *
14
- * [Accounts](https://docs.codat.io/accounting-api#/schemas/Account) are the categories a business uses to record accounting transactions.
14
+ * [Accounts](https://docs.codat.io/lending-api#/schemas/Account) are the categories a business uses to record accounting transactions.
15
15
  *
16
16
  * **Integration-specific behaviour**
17
17
  *
18
- * Required data may vary by integration. To see what data to post, first call [Get create account model](https://docs.codat.io/accounting-api#/operations/get-create-chartOfAccounts-model).
18
+ * Required data may vary by integration. To see what data to post, first call [Get create account model](https://docs.codat.io/lending-api#/operations/get-create-chartOfAccounts-model).
19
19
  *
20
20
  * Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=chartOfAccounts) for integrations that support creating an account.
21
21
  *
@@ -25,9 +25,9 @@ export declare class LoanWritebackAccounts {
25
25
  * Get create account model
26
26
  *
27
27
  * @remarks
28
- * The *Get create account model* endpoint returns the expected data for the request payload when creating an [account](https://docs.codat.io/accounting-api#/schemas/Account) for a given company and integration.
28
+ * The *Get create account model* endpoint returns the expected data for the request payload when creating an [account](https://docs.codat.io/lending-api#/schemas/Account) for a given company and integration.
29
29
  *
30
- * [Accounts](https://docs.codat.io/accounting-api#/schemas/Account) are the categories a business uses to record accounting transactions.
30
+ * [Accounts](https://docs.codat.io/lending-api#/schemas/Account) are the categories a business uses to record accounting transactions.
31
31
  *
32
32
  * **Integration-specific behaviour**
33
33
  *
@@ -102,13 +102,13 @@ var LoanWritebackAccounts = /** @class */ (function () {
102
102
  * Create account
103
103
  *
104
104
  * @remarks
105
- * The *Create account* endpoint creates a new [account](https://docs.codat.io/accounting-api#/schemas/Account) for a given company's connection.
105
+ * The *Create account* endpoint creates a new [account](https://docs.codat.io/lending-api#/schemas/Account) for a given company's connection.
106
106
  *
107
- * [Accounts](https://docs.codat.io/accounting-api#/schemas/Account) are the categories a business uses to record accounting transactions.
107
+ * [Accounts](https://docs.codat.io/lending-api#/schemas/Account) are the categories a business uses to record accounting transactions.
108
108
  *
109
109
  * **Integration-specific behaviour**
110
110
  *
111
- * Required data may vary by integration. To see what data to post, first call [Get create account model](https://docs.codat.io/accounting-api#/operations/get-create-chartOfAccounts-model).
111
+ * Required data may vary by integration. To see what data to post, first call [Get create account model](https://docs.codat.io/lending-api#/operations/get-create-chartOfAccounts-model).
112
112
  *
113
113
  * Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=chartOfAccounts) for integrations that support creating an account.
114
114
  *
@@ -150,7 +150,7 @@ var LoanWritebackAccounts = /** @class */ (function () {
150
150
  headers = __assign(__assign(__assign({}, reqBodyHeaders), config === null || config === void 0 ? void 0 : config.headers), properties.headers);
151
151
  queryParams = utils.serializeQueryParams(req);
152
152
  headers["Accept"] = "application/json";
153
- headers["user-agent"] = "speakeasy-sdk/".concat(this.sdkConfiguration.language, " ").concat(this.sdkConfiguration.sdkVersion, " ").concat(this.sdkConfiguration.genVersion, " ").concat(this.sdkConfiguration.openapiDocVersion);
153
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
154
154
  globalRetryConfig = this.sdkConfiguration.retryConfig;
155
155
  retryConfig = retries;
156
156
  if (!retryConfig) {
@@ -203,9 +203,9 @@ var LoanWritebackAccounts = /** @class */ (function () {
203
203
  * Get create account model
204
204
  *
205
205
  * @remarks
206
- * The *Get create account model* endpoint returns the expected data for the request payload when creating an [account](https://docs.codat.io/accounting-api#/schemas/Account) for a given company and integration.
206
+ * The *Get create account model* endpoint returns the expected data for the request payload when creating an [account](https://docs.codat.io/lending-api#/schemas/Account) for a given company and integration.
207
207
  *
208
- * [Accounts](https://docs.codat.io/accounting-api#/schemas/Account) are the categories a business uses to record accounting transactions.
208
+ * [Accounts](https://docs.codat.io/lending-api#/schemas/Account) are the categories a business uses to record accounting transactions.
209
209
  *
210
210
  * **Integration-specific behaviour**
211
211
  *
@@ -240,7 +240,7 @@ var LoanWritebackAccounts = /** @class */ (function () {
240
240
  properties = utils.parseSecurityProperties(globalSecurity);
241
241
  headers = __assign(__assign({}, config === null || config === void 0 ? void 0 : config.headers), properties.headers);
242
242
  headers["Accept"] = "application/json";
243
- headers["user-agent"] = "speakeasy-sdk/".concat(this.sdkConfiguration.language, " ").concat(this.sdkConfiguration.sdkVersion, " ").concat(this.sdkConfiguration.genVersion, " ").concat(this.sdkConfiguration.openapiDocVersion);
243
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
244
244
  globalRetryConfig = this.sdkConfiguration.retryConfig;
245
245
  retryConfig = retries;
246
246
  if (!retryConfig) {
@@ -9,13 +9,13 @@ export declare class LoanWritebackBankTransactions {
9
9
  * Create bank account transactions
10
10
  *
11
11
  * @remarks
12
- * The *Create bank account transactions* endpoint creates new [bank account transactions](https://docs.codat.io/accounting-api#/schemas/BankTransactions) for a given company's connection.
12
+ * The *Create bank account transactions* endpoint creates new [bank account transactions](https://docs.codat.io/lending-api#/schemas/BankTransactions) for a given company's connection.
13
13
  *
14
- * [Bank account transactions](https://docs.codat.io/accounting-api#/schemas/BankTransactions) are records of money that has moved in and out of an SMB's bank account.
14
+ * [Bank account transactions](https://docs.codat.io/lending-api#/schemas/BankTransactions) are records of money that has moved in and out of an SMB's bank account.
15
15
  *
16
16
  * **Integration-specific behaviour**
17
17
  *
18
- * Required data may vary by integration. To see what data to post, first call [Get create bank transaction model](https://docs.codat.io/accounting-api#/operations/get-create-bankTransactions-model).
18
+ * Required data may vary by integration. To see what data to post, first call [Get create bank transaction model](https://docs.codat.io/lending-api#/operations/get-create-bankTransactions-model).
19
19
  *
20
20
  * Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=bankTransactions) for integrations that support creating a bank account transactions.
21
21
  *
@@ -25,9 +25,9 @@ export declare class LoanWritebackBankTransactions {
25
25
  * Get create bank account transactions model
26
26
  *
27
27
  * @remarks
28
- * The *Get create bank account transactions model* endpoint returns the expected data for the request payload when creating [bank account transactions](https://docs.codat.io/accounting-api#/schemas/BankTransactions) for a given company and integration.
28
+ * The *Get create bank account transactions model* endpoint returns the expected data for the request payload when creating [bank account transactions](https://docs.codat.io/lending-api#/schemas/BankTransactions) for a given company and integration.
29
29
  *
30
- * [Bank account transactions](https://docs.codat.io/accounting-api#/schemas/BankTransactions) are records of money that has moved in and out of an SMB's bank account.
30
+ * [Bank account transactions](https://docs.codat.io/lending-api#/schemas/BankTransactions) are records of money that has moved in and out of an SMB's bank account.
31
31
  *
32
32
  * **Integration-specific behaviour**
33
33
  *
@@ -102,13 +102,13 @@ var LoanWritebackBankTransactions = /** @class */ (function () {
102
102
  * Create bank account transactions
103
103
  *
104
104
  * @remarks
105
- * The *Create bank account transactions* endpoint creates new [bank account transactions](https://docs.codat.io/accounting-api#/schemas/BankTransactions) for a given company's connection.
105
+ * The *Create bank account transactions* endpoint creates new [bank account transactions](https://docs.codat.io/lending-api#/schemas/BankTransactions) for a given company's connection.
106
106
  *
107
- * [Bank account transactions](https://docs.codat.io/accounting-api#/schemas/BankTransactions) are records of money that has moved in and out of an SMB's bank account.
107
+ * [Bank account transactions](https://docs.codat.io/lending-api#/schemas/BankTransactions) are records of money that has moved in and out of an SMB's bank account.
108
108
  *
109
109
  * **Integration-specific behaviour**
110
110
  *
111
- * Required data may vary by integration. To see what data to post, first call [Get create bank transaction model](https://docs.codat.io/accounting-api#/operations/get-create-bankTransactions-model).
111
+ * Required data may vary by integration. To see what data to post, first call [Get create bank transaction model](https://docs.codat.io/lending-api#/operations/get-create-bankTransactions-model).
112
112
  *
113
113
  * Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=bankTransactions) for integrations that support creating a bank account transactions.
114
114
  *
@@ -150,7 +150,7 @@ var LoanWritebackBankTransactions = /** @class */ (function () {
150
150
  headers = __assign(__assign(__assign({}, reqBodyHeaders), config === null || config === void 0 ? void 0 : config.headers), properties.headers);
151
151
  queryParams = utils.serializeQueryParams(req);
152
152
  headers["Accept"] = "application/json";
153
- headers["user-agent"] = "speakeasy-sdk/".concat(this.sdkConfiguration.language, " ").concat(this.sdkConfiguration.sdkVersion, " ").concat(this.sdkConfiguration.genVersion, " ").concat(this.sdkConfiguration.openapiDocVersion);
153
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
154
154
  globalRetryConfig = this.sdkConfiguration.retryConfig;
155
155
  retryConfig = retries;
156
156
  if (!retryConfig) {
@@ -203,9 +203,9 @@ var LoanWritebackBankTransactions = /** @class */ (function () {
203
203
  * Get create bank account transactions model
204
204
  *
205
205
  * @remarks
206
- * The *Get create bank account transactions model* endpoint returns the expected data for the request payload when creating [bank account transactions](https://docs.codat.io/accounting-api#/schemas/BankTransactions) for a given company and integration.
206
+ * The *Get create bank account transactions model* endpoint returns the expected data for the request payload when creating [bank account transactions](https://docs.codat.io/lending-api#/schemas/BankTransactions) for a given company and integration.
207
207
  *
208
- * [Bank account transactions](https://docs.codat.io/accounting-api#/schemas/BankTransactions) are records of money that has moved in and out of an SMB's bank account.
208
+ * [Bank account transactions](https://docs.codat.io/lending-api#/schemas/BankTransactions) are records of money that has moved in and out of an SMB's bank account.
209
209
  *
210
210
  * **Integration-specific behaviour**
211
211
  *
@@ -240,7 +240,7 @@ var LoanWritebackBankTransactions = /** @class */ (function () {
240
240
  properties = utils.parseSecurityProperties(globalSecurity);
241
241
  headers = __assign(__assign({}, config === null || config === void 0 ? void 0 : config.headers), properties.headers);
242
242
  headers["Accept"] = "application/json";
243
- headers["user-agent"] = "speakeasy-sdk/".concat(this.sdkConfiguration.language, " ").concat(this.sdkConfiguration.sdkVersion, " ").concat(this.sdkConfiguration.genVersion, " ").concat(this.sdkConfiguration.openapiDocVersion);
243
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
244
244
  globalRetryConfig = this.sdkConfiguration.retryConfig;
245
245
  retryConfig = retries;
246
246
  if (!retryConfig) {
@@ -114,7 +114,7 @@ var LoanWritebackCreateOperations = /** @class */ (function () {
114
114
  properties = utils.parseSecurityProperties(globalSecurity);
115
115
  headers = __assign(__assign({}, config === null || config === void 0 ? void 0 : config.headers), properties.headers);
116
116
  headers["Accept"] = "application/json";
117
- headers["user-agent"] = "speakeasy-sdk/".concat(this.sdkConfiguration.language, " ").concat(this.sdkConfiguration.sdkVersion, " ").concat(this.sdkConfiguration.genVersion, " ").concat(this.sdkConfiguration.openapiDocVersion);
117
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
118
118
  globalRetryConfig = this.sdkConfiguration.retryConfig;
119
119
  retryConfig = retries;
120
120
  if (!retryConfig) {
@@ -196,7 +196,7 @@ var LoanWritebackCreateOperations = /** @class */ (function () {
196
196
  headers = __assign(__assign({}, config === null || config === void 0 ? void 0 : config.headers), properties.headers);
197
197
  queryParams = utils.serializeQueryParams(req);
198
198
  headers["Accept"] = "application/json";
199
- headers["user-agent"] = "speakeasy-sdk/".concat(this.sdkConfiguration.language, " ").concat(this.sdkConfiguration.sdkVersion, " ").concat(this.sdkConfiguration.genVersion, " ").concat(this.sdkConfiguration.openapiDocVersion);
199
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
200
200
  globalRetryConfig = this.sdkConfiguration.retryConfig;
201
201
  retryConfig = retries;
202
202
  if (!retryConfig) {
@@ -9,13 +9,13 @@ export declare class LoanWritebackDirectCosts {
9
9
  * Create direct cost
10
10
  *
11
11
  * @remarks
12
- * The *Create direct cost* endpoint creates a new [direct cost](https://docs.codat.io/accounting-api#/schemas/DirectCost) for a given company's connection.
12
+ * The *Create direct cost* endpoint creates a new [direct cost](https://docs.codat.io/lending-api#/schemas/DirectCost) for a given company's connection.
13
13
  *
14
- * [Direct costs](https://docs.codat.io/accounting-api#/schemas/DirectCost) are the expenses associated with a business' operations. For example, purchases of raw materials that are paid off at the point of the purchase and service fees are considered direct costs.
14
+ * [Direct costs](https://docs.codat.io/lending-api#/schemas/DirectCost) are the expenses associated with a business' operations. For example, purchases of raw materials that are paid off at the point of the purchase and service fees are considered direct costs.
15
15
  *
16
16
  * **Integration-specific behaviour**
17
17
  *
18
- * Required data may vary by integration. To see what data to post, first call [Get create direct cost model](https://docs.codat.io/accounting-api#/operations/get-create-directCosts-model).
18
+ * Required data may vary by integration. To see what data to post, first call [Get create direct cost model](https://docs.codat.io/lending-api#/operations/get-create-directCosts-model).
19
19
  *
20
20
  * Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=directCosts) for integrations that support creating an account.
21
21
  *
@@ -25,9 +25,9 @@ export declare class LoanWritebackDirectCosts {
25
25
  * Get create direct cost model
26
26
  *
27
27
  * @remarks
28
- * The *Get create direct cost model* endpoint returns the expected data for the request payload when creating a [direct cost](https://docs.codat.io/accounting-api#/schemas/DirectCost) for a given company and integration.
28
+ * The *Get create direct cost model* endpoint returns the expected data for the request payload when creating a [direct cost](https://docs.codat.io/lending-api#/schemas/DirectCost) for a given company and integration.
29
29
  *
30
- * [Direct costs](https://docs.codat.io/accounting-api#/schemas/DirectCost) are purchases of items that are paid off at the point of the purchase.
30
+ * [Direct costs](https://docs.codat.io/lending-api#/schemas/DirectCost) are purchases of items that are paid off at the point of the purchase.
31
31
  *
32
32
  * **Integration-specific behaviour**
33
33
  *
@@ -102,13 +102,13 @@ var LoanWritebackDirectCosts = /** @class */ (function () {
102
102
  * Create direct cost
103
103
  *
104
104
  * @remarks
105
- * The *Create direct cost* endpoint creates a new [direct cost](https://docs.codat.io/accounting-api#/schemas/DirectCost) for a given company's connection.
105
+ * The *Create direct cost* endpoint creates a new [direct cost](https://docs.codat.io/lending-api#/schemas/DirectCost) for a given company's connection.
106
106
  *
107
- * [Direct costs](https://docs.codat.io/accounting-api#/schemas/DirectCost) are the expenses associated with a business' operations. For example, purchases of raw materials that are paid off at the point of the purchase and service fees are considered direct costs.
107
+ * [Direct costs](https://docs.codat.io/lending-api#/schemas/DirectCost) are the expenses associated with a business' operations. For example, purchases of raw materials that are paid off at the point of the purchase and service fees are considered direct costs.
108
108
  *
109
109
  * **Integration-specific behaviour**
110
110
  *
111
- * Required data may vary by integration. To see what data to post, first call [Get create direct cost model](https://docs.codat.io/accounting-api#/operations/get-create-directCosts-model).
111
+ * Required data may vary by integration. To see what data to post, first call [Get create direct cost model](https://docs.codat.io/lending-api#/operations/get-create-directCosts-model).
112
112
  *
113
113
  * Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=directCosts) for integrations that support creating an account.
114
114
  *
@@ -150,7 +150,7 @@ var LoanWritebackDirectCosts = /** @class */ (function () {
150
150
  headers = __assign(__assign(__assign({}, reqBodyHeaders), config === null || config === void 0 ? void 0 : config.headers), properties.headers);
151
151
  queryParams = utils.serializeQueryParams(req);
152
152
  headers["Accept"] = "application/json";
153
- headers["user-agent"] = "speakeasy-sdk/".concat(this.sdkConfiguration.language, " ").concat(this.sdkConfiguration.sdkVersion, " ").concat(this.sdkConfiguration.genVersion, " ").concat(this.sdkConfiguration.openapiDocVersion);
153
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
154
154
  globalRetryConfig = this.sdkConfiguration.retryConfig;
155
155
  retryConfig = retries;
156
156
  if (!retryConfig) {
@@ -203,9 +203,9 @@ var LoanWritebackDirectCosts = /** @class */ (function () {
203
203
  * Get create direct cost model
204
204
  *
205
205
  * @remarks
206
- * The *Get create direct cost model* endpoint returns the expected data for the request payload when creating a [direct cost](https://docs.codat.io/accounting-api#/schemas/DirectCost) for a given company and integration.
206
+ * The *Get create direct cost model* endpoint returns the expected data for the request payload when creating a [direct cost](https://docs.codat.io/lending-api#/schemas/DirectCost) for a given company and integration.
207
207
  *
208
- * [Direct costs](https://docs.codat.io/accounting-api#/schemas/DirectCost) are purchases of items that are paid off at the point of the purchase.
208
+ * [Direct costs](https://docs.codat.io/lending-api#/schemas/DirectCost) are purchases of items that are paid off at the point of the purchase.
209
209
  *
210
210
  * **Integration-specific behaviour**
211
211
  *
@@ -240,7 +240,7 @@ var LoanWritebackDirectCosts = /** @class */ (function () {
240
240
  properties = utils.parseSecurityProperties(globalSecurity);
241
241
  headers = __assign(__assign({}, config === null || config === void 0 ? void 0 : config.headers), properties.headers);
242
242
  headers["Accept"] = "application/json";
243
- headers["user-agent"] = "speakeasy-sdk/".concat(this.sdkConfiguration.language, " ").concat(this.sdkConfiguration.sdkVersion, " ").concat(this.sdkConfiguration.genVersion, " ").concat(this.sdkConfiguration.openapiDocVersion);
243
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
244
244
  globalRetryConfig = this.sdkConfiguration.retryConfig;
245
245
  retryConfig = retries;
246
246
  if (!retryConfig) {
@@ -0,0 +1,40 @@
1
+ import * as utils from "../internal/utils";
2
+ import * as operations from "./models/operations";
3
+ import { SDKConfiguration } from "./sdk";
4
+ import { AxiosRequestConfig } from "axios";
5
+ export declare class LoanWritebackPayments {
6
+ private sdkConfiguration;
7
+ constructor(sdkConfig: SDKConfiguration);
8
+ /**
9
+ * Create payment
10
+ *
11
+ * @remarks
12
+ * The *Create payment* endpoint creates a new [payment](https://docs.codat.io/lending-api#/schemas/Payment) for a given company's connection.
13
+ *
14
+ * [Payments](https://docs.codat.io/lending-api#/schemas/Payment) represent an allocation of money within any customer accounts receivable account.
15
+ *
16
+ * **Integration-specific behaviour**
17
+ *
18
+ * Required data may vary by integration. To see what data to post, first call [Get create payment model](https://docs.codat.io/lending-api#/operations/get-create-payments-model).
19
+ *
20
+ * Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=payments) for integrations that support creating an account.
21
+ *
22
+ */
23
+ create(req: operations.CreatePaymentRequest, retries?: utils.RetryConfig, config?: AxiosRequestConfig): Promise<operations.CreatePaymentResponse>;
24
+ /**
25
+ * Get create payment model
26
+ *
27
+ * @remarks
28
+ * The *Get create payment model* endpoint returns the expected data for the request payload when creating a [payment](https://docs.codat.io/lending-api#/schemas/Payment) for a given company and integration.
29
+ *
30
+ * [Payments](https://docs.codat.io/lending-api#/schemas/Payment) represent an allocation of money within any customer accounts receivable account.
31
+ *
32
+ * **Integration-specific behaviour**
33
+ *
34
+ * See the *response examples* for integration-specific indicative models.
35
+ *
36
+ * Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=payments) for integrations that support creating a payment.
37
+ *
38
+ */
39
+ getCreateModel(req: operations.GetCreatePaymentsModelRequest, retries?: utils.RetryConfig, config?: AxiosRequestConfig): Promise<operations.GetCreatePaymentsModelResponse>;
40
+ }
@@ -89,30 +89,31 @@ var __read = (this && this.__read) || function (o, n) {
89
89
  return ar;
90
90
  };
91
91
  Object.defineProperty(exports, "__esModule", { value: true });
92
- exports.LoanWritebackBankAccounts = void 0;
92
+ exports.LoanWritebackPayments = void 0;
93
93
  var utils = __importStar(require("../internal/utils"));
94
94
  var errors = __importStar(require("./models/errors"));
95
95
  var operations = __importStar(require("./models/operations"));
96
96
  var shared = __importStar(require("./models/shared"));
97
- var LoanWritebackBankAccounts = /** @class */ (function () {
98
- function LoanWritebackBankAccounts(sdkConfig) {
97
+ var LoanWritebackPayments = /** @class */ (function () {
98
+ function LoanWritebackPayments(sdkConfig) {
99
99
  this.sdkConfiguration = sdkConfig;
100
100
  }
101
101
  /**
102
- * Create bank account
102
+ * Create payment
103
103
  *
104
104
  * @remarks
105
- * The *Create bank account* endpoint creates a new [bank account](https://docs.codat.io/accounting-api#/schemas/BankAccount) for a given company's connection.
105
+ * The *Create payment* endpoint creates a new [payment](https://docs.codat.io/lending-api#/schemas/Payment) for a given company's connection.
106
106
  *
107
- * [Bank accounts](https://docs.codat.io/accounting-api#/schemas/BankAccount) are financial accounts maintained by a bank or other financial institution.
107
+ * [Payments](https://docs.codat.io/lending-api#/schemas/Payment) represent an allocation of money within any customer accounts receivable account.
108
108
  *
109
109
  * **Integration-specific behaviour**
110
110
  *
111
- * Required data may vary by integration. To see what data to post, first call [Get create/update bank account model](https://docs.codat.io/accounting-api#/operations/get-create-update-bankAccounts-model).
111
+ * Required data may vary by integration. To see what data to post, first call [Get create payment model](https://docs.codat.io/lending-api#/operations/get-create-payments-model).
112
+ *
113
+ * Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=payments) for integrations that support creating an account.
112
114
  *
113
- * Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=bankAccounts) for integrations that support creating an account.
114
115
  */
115
- LoanWritebackBankAccounts.prototype.create = function (req, retries, config) {
116
+ LoanWritebackPayments.prototype.create = function (req, retries, config) {
116
117
  var _a, _b;
117
118
  return __awaiter(this, void 0, void 0, function () {
118
119
  var baseURL, url, _c, reqBodyHeaders, reqBody, client, globalSecurity, properties, headers, queryParams, globalRetryConfig, retryConfig, httpRes, contentType, res, decodedRes;
@@ -121,13 +122,13 @@ var LoanWritebackBankAccounts = /** @class */ (function () {
121
122
  switch (_e.label) {
122
123
  case 0:
123
124
  if (!(req instanceof utils.SpeakeasyBase)) {
124
- req = new operations.CreateBankAccountRequest(req);
125
+ req = new operations.CreatePaymentRequest(req);
125
126
  }
126
127
  baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
127
- url = utils.generateURL(baseURL, "/companies/{companyId}/connections/{connectionId}/push/bankAccounts", req);
128
+ url = utils.generateURL(baseURL, "/companies/{companyId}/connections/{connectionId}/push/payments", req);
128
129
  _c = __read([{}, null], 2), reqBodyHeaders = _c[0], reqBody = _c[1];
129
130
  try {
130
- _d = __read(utils.serializeRequestBody(req, "accountingBankAccount", "json"), 2), reqBodyHeaders = _d[0], reqBody = _d[1];
131
+ _d = __read(utils.serializeRequestBody(req, "accountingPayment", "json"), 2), reqBodyHeaders = _d[0], reqBody = _d[1];
131
132
  }
132
133
  catch (e) {
133
134
  if (e instanceof Error) {
@@ -149,7 +150,7 @@ var LoanWritebackBankAccounts = /** @class */ (function () {
149
150
  headers = __assign(__assign(__assign({}, reqBodyHeaders), config === null || config === void 0 ? void 0 : config.headers), properties.headers);
150
151
  queryParams = utils.serializeQueryParams(req);
151
152
  headers["Accept"] = "application/json";
152
- headers["user-agent"] = "speakeasy-sdk/".concat(this.sdkConfiguration.language, " ").concat(this.sdkConfiguration.sdkVersion, " ").concat(this.sdkConfiguration.genVersion, " ").concat(this.sdkConfiguration.openapiDocVersion);
153
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
153
154
  globalRetryConfig = this.sdkConfiguration.retryConfig;
154
155
  retryConfig = retries;
155
156
  if (!retryConfig) {
@@ -169,7 +170,7 @@ var LoanWritebackBankAccounts = /** @class */ (function () {
169
170
  if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
170
171
  throw new Error("status code not found in response: ".concat(httpRes));
171
172
  }
172
- res = new operations.CreateBankAccountResponse({
173
+ res = new operations.CreatePaymentResponse({
173
174
  statusCode: httpRes.status,
174
175
  contentType: contentType,
175
176
  rawResponse: httpRes,
@@ -178,7 +179,7 @@ var LoanWritebackBankAccounts = /** @class */ (function () {
178
179
  switch (true) {
179
180
  case (httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == 200:
180
181
  if (utils.matchContentType(contentType, "application/json")) {
181
- res.accountingCreateBankAccountResponse = utils.objectToClass(JSON.parse(decodedRes), shared.AccountingCreateBankAccountResponse);
182
+ res.accountingCreatePaymentResponse = utils.objectToClass(JSON.parse(decodedRes), shared.AccountingCreatePaymentResponse);
182
183
  }
183
184
  else {
184
185
  throw new errors.SDKError("unknown content-type received: " + contentType, httpRes.status, decodedRes, httpRes);
@@ -199,21 +200,21 @@ var LoanWritebackBankAccounts = /** @class */ (function () {
199
200
  });
200
201
  };
201
202
  /**
202
- * Get create/update bank account model
203
+ * Get create payment model
203
204
  *
204
205
  * @remarks
205
- * The *Get create/update bank account model* endpoint returns the expected data for the request payload when creating and updating a [bank account](https://docs.codat.io/accounting-api#/schemas/BankAccount) for a given company and integration.
206
+ * The *Get create payment model* endpoint returns the expected data for the request payload when creating a [payment](https://docs.codat.io/lending-api#/schemas/Payment) for a given company and integration.
206
207
  *
207
- * [Bank accounts](https://docs.codat.io/accounting-api#/schemas/BankAccount) are financial accounts maintained by a bank or other financial institution.
208
+ * [Payments](https://docs.codat.io/lending-api#/schemas/Payment) represent an allocation of money within any customer accounts receivable account.
208
209
  *
209
210
  * **Integration-specific behaviour**
210
211
  *
211
212
  * See the *response examples* for integration-specific indicative models.
212
213
  *
213
- * Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=bankAccounts) for integrations that support creating and updating a bank account.
214
+ * Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=payments) for integrations that support creating a payment.
214
215
  *
215
216
  */
216
- LoanWritebackBankAccounts.prototype.getCreateUpdateModel = function (req, retries, config) {
217
+ LoanWritebackPayments.prototype.getCreateModel = function (req, retries, config) {
217
218
  var _a, _b;
218
219
  return __awaiter(this, void 0, void 0, function () {
219
220
  var baseURL, url, client, globalSecurity, properties, headers, globalRetryConfig, retryConfig, httpRes, contentType, res, decodedRes;
@@ -221,10 +222,10 @@ var LoanWritebackBankAccounts = /** @class */ (function () {
221
222
  switch (_c.label) {
222
223
  case 0:
223
224
  if (!(req instanceof utils.SpeakeasyBase)) {
224
- req = new operations.GetCreateUpdateBankAccountsModelRequest(req);
225
+ req = new operations.GetCreatePaymentsModelRequest(req);
225
226
  }
226
227
  baseURL = utils.templateUrl(this.sdkConfiguration.serverURL, this.sdkConfiguration.serverDefaults);
227
- url = utils.generateURL(baseURL, "/companies/{companyId}/connections/{connectionId}/options/bankAccounts", req);
228
+ url = utils.generateURL(baseURL, "/companies/{companyId}/connections/{connectionId}/options/payments", req);
228
229
  client = this.sdkConfiguration.defaultClient;
229
230
  globalSecurity = this.sdkConfiguration.security;
230
231
  if (!(typeof globalSecurity === "function")) return [3 /*break*/, 2];
@@ -239,7 +240,7 @@ var LoanWritebackBankAccounts = /** @class */ (function () {
239
240
  properties = utils.parseSecurityProperties(globalSecurity);
240
241
  headers = __assign(__assign({}, config === null || config === void 0 ? void 0 : config.headers), properties.headers);
241
242
  headers["Accept"] = "application/json";
242
- headers["user-agent"] = "speakeasy-sdk/".concat(this.sdkConfiguration.language, " ").concat(this.sdkConfiguration.sdkVersion, " ").concat(this.sdkConfiguration.genVersion, " ").concat(this.sdkConfiguration.openapiDocVersion);
243
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
243
244
  globalRetryConfig = this.sdkConfiguration.retryConfig;
244
245
  retryConfig = retries;
245
246
  if (!retryConfig) {
@@ -259,7 +260,7 @@ var LoanWritebackBankAccounts = /** @class */ (function () {
259
260
  if ((httpRes === null || httpRes === void 0 ? void 0 : httpRes.status) == null) {
260
261
  throw new Error("status code not found in response: ".concat(httpRes));
261
262
  }
262
- res = new operations.GetCreateUpdateBankAccountsModelResponse({
263
+ res = new operations.GetCreatePaymentsModelResponse({
263
264
  statusCode: httpRes.status,
264
265
  contentType: contentType,
265
266
  rawResponse: httpRes,
@@ -288,6 +289,6 @@ var LoanWritebackBankAccounts = /** @class */ (function () {
288
289
  });
289
290
  });
290
291
  };
291
- return LoanWritebackBankAccounts;
292
+ return LoanWritebackPayments;
292
293
  }());
293
- exports.LoanWritebackBankAccounts = LoanWritebackBankAccounts;
294
+ exports.LoanWritebackPayments = LoanWritebackPayments;
@@ -9,13 +9,13 @@ export declare class LoanWritebackSuppliers {
9
9
  * Create supplier
10
10
  *
11
11
  * @remarks
12
- * The *Create supplier* endpoint creates a new [supplier](https://docs.codat.io/accounting-api#/schemas/Supplier) for a given company's connection.
12
+ * The *Create supplier* endpoint creates a new [supplier](https://docs.codat.io/lending-api#/schemas/Supplier) for a given company's connection.
13
13
  *
14
- * [Suppliers](https://docs.codat.io/accounting-api#/schemas/Supplier) are people or organizations that provide something, such as a product or service.
14
+ * [Suppliers](https://docs.codat.io/lending-api#/schemas/Supplier) are people or organizations that provide something, such as a product or service.
15
15
  *
16
16
  * **Integration-specific behaviour**
17
17
  *
18
- * Required data may vary by integration. To see what data to post, first call [Get create/update supplier model](https://docs.codat.io/accounting-api#/operations/get-create-update-suppliers-model).
18
+ * Required data may vary by integration. To see what data to post, first call [Get create/update supplier model](https://docs.codat.io/lending-api#/operations/get-create-update-suppliers-model).
19
19
  *
20
20
  * Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=suppliers) for integrations that support creating an account.
21
21
  *
@@ -25,9 +25,9 @@ export declare class LoanWritebackSuppliers {
25
25
  * Get create/update supplier model
26
26
  *
27
27
  * @remarks
28
- * The *Get create/update supplier model* endpoint returns the expected data for the request payload when creating and updating a [supplier](https://docs.codat.io/accounting-api#/schemas/Supplier) for a given company and integration.
28
+ * The *Get create/update supplier model* endpoint returns the expected data for the request payload when creating and updating a [supplier](https://docs.codat.io/lending-api#/schemas/Supplier) for a given company and integration.
29
29
  *
30
- * [Suppliers](https://docs.codat.io/accounting-api#/schemas/Supplier) are people or organizations that provide something, such as a product or service.
30
+ * [Suppliers](https://docs.codat.io/lending-api#/schemas/Supplier) are people or organizations that provide something, such as a product or service.
31
31
  *
32
32
  * **Integration-specific behaviour**
33
33
  *
@@ -102,13 +102,13 @@ var LoanWritebackSuppliers = /** @class */ (function () {
102
102
  * Create supplier
103
103
  *
104
104
  * @remarks
105
- * The *Create supplier* endpoint creates a new [supplier](https://docs.codat.io/accounting-api#/schemas/Supplier) for a given company's connection.
105
+ * The *Create supplier* endpoint creates a new [supplier](https://docs.codat.io/lending-api#/schemas/Supplier) for a given company's connection.
106
106
  *
107
- * [Suppliers](https://docs.codat.io/accounting-api#/schemas/Supplier) are people or organizations that provide something, such as a product or service.
107
+ * [Suppliers](https://docs.codat.io/lending-api#/schemas/Supplier) are people or organizations that provide something, such as a product or service.
108
108
  *
109
109
  * **Integration-specific behaviour**
110
110
  *
111
- * Required data may vary by integration. To see what data to post, first call [Get create/update supplier model](https://docs.codat.io/accounting-api#/operations/get-create-update-suppliers-model).
111
+ * Required data may vary by integration. To see what data to post, first call [Get create/update supplier model](https://docs.codat.io/lending-api#/operations/get-create-update-suppliers-model).
112
112
  *
113
113
  * Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=suppliers) for integrations that support creating an account.
114
114
  *
@@ -150,7 +150,7 @@ var LoanWritebackSuppliers = /** @class */ (function () {
150
150
  headers = __assign(__assign(__assign({}, reqBodyHeaders), config === null || config === void 0 ? void 0 : config.headers), properties.headers);
151
151
  queryParams = utils.serializeQueryParams(req);
152
152
  headers["Accept"] = "application/json";
153
- headers["user-agent"] = "speakeasy-sdk/".concat(this.sdkConfiguration.language, " ").concat(this.sdkConfiguration.sdkVersion, " ").concat(this.sdkConfiguration.genVersion, " ").concat(this.sdkConfiguration.openapiDocVersion);
153
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
154
154
  globalRetryConfig = this.sdkConfiguration.retryConfig;
155
155
  retryConfig = retries;
156
156
  if (!retryConfig) {
@@ -203,9 +203,9 @@ var LoanWritebackSuppliers = /** @class */ (function () {
203
203
  * Get create/update supplier model
204
204
  *
205
205
  * @remarks
206
- * The *Get create/update supplier model* endpoint returns the expected data for the request payload when creating and updating a [supplier](https://docs.codat.io/accounting-api#/schemas/Supplier) for a given company and integration.
206
+ * The *Get create/update supplier model* endpoint returns the expected data for the request payload when creating and updating a [supplier](https://docs.codat.io/lending-api#/schemas/Supplier) for a given company and integration.
207
207
  *
208
- * [Suppliers](https://docs.codat.io/accounting-api#/schemas/Supplier) are people or organizations that provide something, such as a product or service.
208
+ * [Suppliers](https://docs.codat.io/lending-api#/schemas/Supplier) are people or organizations that provide something, such as a product or service.
209
209
  *
210
210
  * **Integration-specific behaviour**
211
211
  *
@@ -240,7 +240,7 @@ var LoanWritebackSuppliers = /** @class */ (function () {
240
240
  properties = utils.parseSecurityProperties(globalSecurity);
241
241
  headers = __assign(__assign({}, config === null || config === void 0 ? void 0 : config.headers), properties.headers);
242
242
  headers["Accept"] = "application/json";
243
- headers["user-agent"] = "speakeasy-sdk/".concat(this.sdkConfiguration.language, " ").concat(this.sdkConfiguration.sdkVersion, " ").concat(this.sdkConfiguration.genVersion, " ").concat(this.sdkConfiguration.openapiDocVersion);
243
+ headers["user-agent"] = this.sdkConfiguration.userAgent;
244
244
  globalRetryConfig = this.sdkConfiguration.retryConfig;
245
245
  retryConfig = retries;
246
246
  if (!retryConfig) {
@@ -9,13 +9,13 @@ export declare class LoanWritebackTransfers {
9
9
  * Create transfer
10
10
  *
11
11
  * @remarks
12
- * The *Create transfer* endpoint creates a new [transfer](https://docs.codat.io/accounting-api#/schemas/Transfer) for a given company's connection.
12
+ * The *Create transfer* endpoint creates a new [transfer](https://docs.codat.io/lending-api#/schemas/Transfer) for a given company's connection.
13
13
  *
14
- * [Transfers](https://docs.codat.io/accounting-api#/schemas/Transfer) record the movement of money between two bank accounts, or between a bank account and a nominal account.
14
+ * [Transfers](https://docs.codat.io/lending-api#/schemas/Transfer) record the movement of money between two bank accounts, or between a bank account and a nominal account.
15
15
  *
16
16
  * **Integration-specific behaviour**
17
17
  *
18
- * Required data may vary by integration. To see what data to post, first call [Get create transfer model](https://docs.codat.io/accounting-api#/operations/get-create-transfers-model).
18
+ * Required data may vary by integration. To see what data to post, first call [Get create transfer model](https://docs.codat.io/lending-api#/operations/get-create-transfers-model).
19
19
  *
20
20
  * Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=transfers) for integrations that support creating an account.
21
21
  *
@@ -25,9 +25,9 @@ export declare class LoanWritebackTransfers {
25
25
  * Get create transfer model
26
26
  *
27
27
  * @remarks
28
- * The *Get create transfer model* endpoint returns the expected data for the request payload when creating a [transfer](https://docs.codat.io/accounting-api#/schemas/Transfer) for a given company and integration.
28
+ * The *Get create transfer model* endpoint returns the expected data for the request payload when creating a [transfer](https://docs.codat.io/lending-api#/schemas/Transfer) for a given company and integration.
29
29
  *
30
- * [Transfers](https://docs.codat.io/accounting-api#/schemas/Transfer) record the movement of money between two bank accounts, or between a bank account and a nominal account.
30
+ * [Transfers](https://docs.codat.io/lending-api#/schemas/Transfer) record the movement of money between two bank accounts, or between a bank account and a nominal account.
31
31
  *
32
32
  * **Integration-specific behaviour**
33
33
  *