@codat/lending 4.1.0 → 4.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 (291) hide show
  1. package/README.md +36 -1
  2. package/dist/sdk/companies.d.ts +22 -7
  3. package/dist/sdk/companies.js +22 -7
  4. package/dist/sdk/fileupload.js +1 -1
  5. package/dist/sdk/models/operations/getcreateoperation.d.ts +1 -1
  6. package/dist/sdk/models/operations/uploadfiles.d.ts +1 -5
  7. package/dist/sdk/models/operations/uploadfiles.js +4 -22
  8. package/dist/sdk/models/shared/accountingbillcreditnote.d.ts +2 -2
  9. package/dist/sdk/models/shared/accountingbillcreditnote.js +3 -3
  10. package/dist/sdk/models/shared/accountingcreateaccountresponse.d.ts +171 -34
  11. package/dist/sdk/models/shared/accountingcreateaccountresponse.js +194 -4
  12. package/dist/sdk/models/shared/accountingcreatebankaccountresponse.d.ts +116 -22
  13. package/dist/sdk/models/shared/accountingcreatebankaccountresponse.js +118 -4
  14. package/dist/sdk/models/shared/accountingcreatebanktransactionsresponse.d.ts +12 -2
  15. package/dist/sdk/models/shared/accountingcreatebanktransactionsresponse.js +26 -4
  16. package/dist/sdk/models/shared/accountingcreatedirectcostresponse.d.ts +165 -18
  17. package/dist/sdk/models/shared/accountingcreatedirectcostresponse.js +150 -4
  18. package/dist/sdk/models/shared/accountingcreatepaymentresponse.d.ts +797 -675
  19. package/dist/sdk/models/shared/accountingcreatepaymentresponse.js +782 -4
  20. package/dist/sdk/models/shared/accountingcreatesupplierresponse.d.ts +69 -11
  21. package/dist/sdk/models/shared/accountingcreatesupplierresponse.js +99 -4
  22. package/dist/sdk/models/shared/accountingcreatetransferresponse.d.ts +81 -9
  23. package/dist/sdk/models/shared/accountingcreatetransferresponse.js +93 -4
  24. package/dist/sdk/models/shared/accountingcreditnote.d.ts +2 -2
  25. package/dist/sdk/models/shared/accountingcreditnote.js +3 -3
  26. package/dist/sdk/models/shared/accountingdirectcost.d.ts +11 -5
  27. package/dist/sdk/models/shared/accountingdirectcost.js +18 -11
  28. package/dist/sdk/models/shared/accountinginvoice.d.ts +10 -5
  29. package/dist/sdk/models/shared/accountinginvoice.js +11 -5
  30. package/dist/sdk/models/shared/accountingjournalentry.d.ts +3 -7
  31. package/dist/sdk/models/shared/accountingjournalentry.js +3 -3
  32. package/dist/sdk/models/shared/accounttransactionline.d.ts +3 -7
  33. package/dist/sdk/models/shared/accounttransactionline.js +3 -3
  34. package/dist/sdk/models/shared/accounttransactionlinerecordref.d.ts +30 -0
  35. package/dist/sdk/models/shared/accounttransactionlinerecordref.js +70 -0
  36. package/dist/sdk/models/shared/bankingtransactioncategory.d.ts +5 -1
  37. package/dist/sdk/models/shared/bankingtransactioncategory.js +5 -1
  38. package/dist/sdk/models/shared/codatfile.d.ts +5 -0
  39. package/dist/sdk/models/shared/codatfile.js +47 -0
  40. package/dist/sdk/models/shared/company.d.ts +10 -0
  41. package/dist/sdk/models/shared/company.js +20 -1
  42. package/dist/sdk/models/shared/companyrequestbody.d.ts +5 -0
  43. package/dist/sdk/models/shared/companyrequestbody.js +7 -0
  44. package/dist/sdk/models/shared/connection.d.ts +2 -0
  45. package/dist/sdk/models/shared/connection.js +2 -0
  46. package/dist/sdk/models/shared/contactref.d.ts +9 -3
  47. package/dist/sdk/models/shared/contactref.js +9 -2
  48. package/dist/sdk/models/shared/directcostprototype.d.ts +11 -5
  49. package/dist/sdk/models/shared/directcostprototype.js +18 -11
  50. package/dist/sdk/models/shared/errormessage.d.ts +5 -0
  51. package/dist/sdk/models/shared/errormessage.js +7 -0
  52. package/dist/sdk/models/shared/errorvalidation.d.ts +9 -0
  53. package/dist/sdk/models/shared/errorvalidation.js +56 -0
  54. package/dist/sdk/models/shared/errorvalidationitem.d.ts +15 -0
  55. package/dist/sdk/models/shared/errorvalidationitem.js +55 -0
  56. package/dist/sdk/models/shared/fileupload.d.ts +8 -0
  57. package/dist/sdk/models/shared/fileupload.js +44 -0
  58. package/dist/sdk/models/shared/index.d.ts +8 -0
  59. package/dist/sdk/models/shared/index.js +8 -0
  60. package/dist/sdk/models/shared/invoicelineitem.d.ts +0 -2
  61. package/dist/sdk/models/shared/items.d.ts +2 -6
  62. package/dist/sdk/models/shared/items.js +2 -7
  63. package/dist/sdk/models/shared/journalentryrecordref.d.ts +30 -0
  64. package/dist/sdk/models/shared/journalentryrecordref.js +70 -0
  65. package/dist/sdk/models/shared/journalline.d.ts +2 -2
  66. package/dist/sdk/models/shared/journalline.js +3 -3
  67. package/dist/sdk/models/shared/tracking.d.ts +2 -1
  68. package/dist/sdk/models/shared/tracking.js +3 -2
  69. package/dist/sdk/models/shared/trackingrecordref.d.ts +22 -0
  70. package/dist/sdk/models/shared/trackingrecordref.js +62 -0
  71. package/dist/sdk/models/shared/withholdingtaxitems.d.ts +11 -0
  72. package/dist/sdk/models/shared/withholdingtaxitems.js +50 -0
  73. package/dist/sdk/sdk.js +3 -3
  74. package/docs/sdk/models/operations/createcompanyresponse.md +7 -7
  75. package/docs/sdk/models/operations/createconnectionresponse.md +7 -7
  76. package/docs/sdk/models/operations/createsupplierrequest.md +7 -7
  77. package/docs/sdk/models/operations/getaccountingagedcreditorsreportresponse.md +7 -7
  78. package/docs/sdk/models/operations/getaccountingageddebtorsreportresponse.md +7 -7
  79. package/docs/sdk/models/operations/getaccountingbillcreditnoteresponse.md +7 -7
  80. package/docs/sdk/models/operations/getaccountingbillpaymentresponse.md +7 -7
  81. package/docs/sdk/models/operations/getaccountingcreditnoteresponse.md +7 -7
  82. package/docs/sdk/models/operations/getaccountingprofileresponse.md +7 -7
  83. package/docs/sdk/models/operations/getaccountingsupplierresponse.md +7 -7
  84. package/docs/sdk/models/operations/getbankingaccountresponse.md +7 -7
  85. package/docs/sdk/models/operations/getbankingtransactioncategoryresponse.md +7 -7
  86. package/docs/sdk/models/operations/getbankingtransactionresponse.md +7 -7
  87. package/docs/sdk/models/operations/getcategorizedbalancesheetstatementresponse.md +7 -7
  88. package/docs/sdk/models/operations/getcategorizedprofitandlossstatementresponse.md +7 -7
  89. package/docs/sdk/models/operations/getcommercecustomerresponse.md +7 -7
  90. package/docs/sdk/models/operations/getcommercedisputeresponse.md +7 -7
  91. package/docs/sdk/models/operations/getcommercelocationresponse.md +7 -7
  92. package/docs/sdk/models/operations/getcommerceorderresponse.md +7 -7
  93. package/docs/sdk/models/operations/getcommerceproductcategoryresponse.md +7 -7
  94. package/docs/sdk/models/operations/getcompanyresponse.md +7 -7
  95. package/docs/sdk/models/operations/getconnectionresponse.md +7 -7
  96. package/docs/sdk/models/operations/getcreateoperationrequest.md +4 -4
  97. package/docs/sdk/models/operations/getloansummaryresponse.md +7 -7
  98. package/docs/sdk/models/operations/getpulloperationresponse.md +7 -7
  99. package/docs/sdk/models/operations/listaccountingaccountsresponse.md +7 -7
  100. package/docs/sdk/models/operations/listaccountingaccounttransactionsresponse.md +7 -7
  101. package/docs/sdk/models/operations/listaccountingbankaccountsresponse.md +7 -7
  102. package/docs/sdk/models/operations/listaccountingbankaccounttransactionsresponse.md +7 -7
  103. package/docs/sdk/models/operations/listaccountingbillcreditnotesresponse.md +7 -7
  104. package/docs/sdk/models/operations/listaccountingbillpaymentsresponse.md +7 -7
  105. package/docs/sdk/models/operations/listaccountingbillsresponse.md +7 -7
  106. package/docs/sdk/models/operations/listaccountingcreditnotesresponse.md +7 -7
  107. package/docs/sdk/models/operations/listaccountingcustomersresponse.md +7 -7
  108. package/docs/sdk/models/operations/listaccountingdirectcostsresponse.md +7 -7
  109. package/docs/sdk/models/operations/listaccountingdirectincomesresponse.md +7 -7
  110. package/docs/sdk/models/operations/listaccountinginvoicesresponse.md +7 -7
  111. package/docs/sdk/models/operations/listaccountingjournalentriesresponse.md +7 -7
  112. package/docs/sdk/models/operations/listaccountingjournalsresponse.md +7 -7
  113. package/docs/sdk/models/operations/listaccountingpaymentsresponse.md +7 -7
  114. package/docs/sdk/models/operations/listaccountingsuppliersresponse.md +7 -7
  115. package/docs/sdk/models/operations/listaccountingtransfersresponse.md +7 -7
  116. package/docs/sdk/models/operations/listbankingaccountbalancesresponse.md +7 -7
  117. package/docs/sdk/models/operations/listbankingaccountsresponse.md +7 -7
  118. package/docs/sdk/models/operations/listbankingtransactioncategoriesresponse.md +7 -7
  119. package/docs/sdk/models/operations/listbankingtransactionsresponse.md +7 -7
  120. package/docs/sdk/models/operations/listcommercecustomersresponse.md +7 -7
  121. package/docs/sdk/models/operations/listcommercedisputesresponse.md +7 -7
  122. package/docs/sdk/models/operations/listcommercelocationsresponse.md +7 -7
  123. package/docs/sdk/models/operations/listcommerceordersresponse.md +7 -7
  124. package/docs/sdk/models/operations/listcommercepaymentmethodsresponse.md +7 -7
  125. package/docs/sdk/models/operations/listcommercepaymentsresponse.md +7 -7
  126. package/docs/sdk/models/operations/listcommerceproductcategoriesresponse.md +7 -7
  127. package/docs/sdk/models/operations/listcommerceproductsresponse.md +7 -7
  128. package/docs/sdk/models/operations/listcommercetransactionsresponse.md +7 -7
  129. package/docs/sdk/models/operations/listcompaniesresponse.md +7 -7
  130. package/docs/sdk/models/operations/listconnectionsresponse.md +7 -7
  131. package/docs/sdk/models/operations/listcreateoperationsresponse.md +7 -7
  132. package/docs/sdk/models/operations/listdataintegritydetailsresponse.md +7 -7
  133. package/docs/sdk/models/operations/listloantransactionsresponse.md +7 -7
  134. package/docs/sdk/models/operations/listpulloperationsresponse.md +7 -7
  135. package/docs/sdk/models/operations/refreshdatatyperesponse.md +7 -7
  136. package/docs/sdk/models/operations/unlinkconnectionresponse.md +7 -7
  137. package/docs/sdk/models/operations/updatecompanyresponse.md +7 -7
  138. package/docs/sdk/models/operations/uploadfilesrequest.md +5 -5
  139. package/docs/sdk/models/shared/accountingaccounts.md +7 -7
  140. package/docs/sdk/models/shared/accountingaccounttransactions.md +7 -7
  141. package/docs/sdk/models/shared/accountingbankaccounts.md +7 -7
  142. package/docs/sdk/models/shared/accountingbanktransactions.md +7 -7
  143. package/docs/sdk/models/shared/accountingbillcreditnote.md +1 -1
  144. package/docs/sdk/models/shared/accountingbillcreditnotes.md +7 -7
  145. package/docs/sdk/models/shared/accountingbillpayment.md +1 -1
  146. package/docs/sdk/models/shared/accountingbillpayments.md +7 -7
  147. package/docs/sdk/models/shared/accountingbills.md +7 -7
  148. package/docs/sdk/models/shared/accountingcreateaccountresponse.md +16 -16
  149. package/docs/sdk/models/shared/accountingcreateaccountresponseaccountingaccount.md +54 -0
  150. package/docs/sdk/models/shared/accountingcreateaccountresponsevaliddatatypelinks.md +50 -0
  151. package/docs/sdk/models/shared/accountingcreatebankaccountresponse.md +16 -16
  152. package/docs/sdk/models/shared/accountingcreatebankaccountresponseaccountingbankaccount.md +42 -0
  153. package/docs/sdk/models/shared/accountingcreatebankaccounttransactions.md +11 -0
  154. package/docs/sdk/models/shared/accountingcreatebanktransactionsresponse.md +1 -1
  155. package/docs/sdk/models/shared/accountingcreatedirectcostresponse.md +16 -16
  156. package/docs/sdk/models/shared/accountingcreatedirectcostresponseaccountingdirectcost.md +41 -0
  157. package/docs/sdk/models/shared/accountingcreatedirectcostresponsecontactreference.md +11 -0
  158. package/docs/sdk/models/shared/accountingcreatedirectcostresponsedatatype.md +11 -0
  159. package/docs/sdk/models/shared/accountingcreatepaymentresponse.md +16 -16
  160. package/docs/sdk/models/shared/accountingcreatepaymentresponseaccountingpayment.md +703 -0
  161. package/docs/sdk/models/shared/accountingcreatesupplierresponse.md +1 -1
  162. package/docs/sdk/models/shared/accountingcreatesupplierresponseaccountingsupplier.md +29 -0
  163. package/docs/sdk/models/shared/accountingcreatetransferresponse.md +1 -1
  164. package/docs/sdk/models/shared/accountingcreatetransferresponseaccountingtransfer.md +25 -0
  165. package/docs/sdk/models/shared/accountingcreditnote.md +1 -1
  166. package/docs/sdk/models/shared/accountingcreditnotes.md +7 -7
  167. package/docs/sdk/models/shared/accountingcustomers.md +7 -7
  168. package/docs/sdk/models/shared/accountingdirectcost.md +1 -1
  169. package/docs/sdk/models/shared/accountingdirectcostcontactreference.md +11 -0
  170. package/docs/sdk/models/shared/accountingdirectcostdatatype.md +11 -0
  171. package/docs/sdk/models/shared/accountingdirectcosts.md +7 -7
  172. package/docs/sdk/models/shared/accountingdirectincomes.md +7 -7
  173. package/docs/sdk/models/shared/accountinginvoice.md +1 -1
  174. package/docs/sdk/models/shared/accountinginvoicedatatype.md +10 -0
  175. package/docs/sdk/models/shared/accountinginvoices.md +7 -7
  176. package/docs/sdk/models/shared/accountingjournalentries.md +7 -7
  177. package/docs/sdk/models/shared/accountingjournalentry.md +1 -1
  178. package/docs/sdk/models/shared/accountingjournals.md +7 -7
  179. package/docs/sdk/models/shared/accountingpayment.md +1 -1
  180. package/docs/sdk/models/shared/accountingpayments.md +7 -7
  181. package/docs/sdk/models/shared/accountingsuppliers.md +7 -7
  182. package/docs/sdk/models/shared/accountingtransfers.md +7 -7
  183. package/docs/sdk/models/shared/accounts.md +1 -1
  184. package/docs/sdk/models/shared/accounttransactionline.md +5 -5
  185. package/docs/sdk/models/shared/accounttransactionlinerecordref.md +11 -0
  186. package/docs/sdk/models/shared/accounttransactionlinerecordrefdatatype.md +20 -0
  187. package/docs/sdk/models/shared/bankingaccountbalances.md +7 -7
  188. package/docs/sdk/models/shared/bankingaccounts.md +7 -7
  189. package/docs/sdk/models/shared/bankingtransactioncategories.md +7 -7
  190. package/docs/sdk/models/shared/bankingtransactioncategory.md +3 -1
  191. package/docs/sdk/models/shared/bankingtransactions.md +7 -7
  192. package/docs/sdk/models/{operations/uploadfilesrequestbody.md → shared/codatfile.md} +1 -1
  193. package/docs/sdk/models/shared/commercecustomers.md +7 -7
  194. package/docs/sdk/models/shared/commercedisputes.md +7 -7
  195. package/docs/sdk/models/shared/commercelocations.md +7 -7
  196. package/docs/sdk/models/shared/commerceorders.md +7 -7
  197. package/docs/sdk/models/shared/commercepayment.md +1 -1
  198. package/docs/sdk/models/shared/commercepaymentmethods.md +7 -7
  199. package/docs/sdk/models/shared/commercepayments.md +7 -7
  200. package/docs/sdk/models/shared/commerceproductcategories.md +7 -7
  201. package/docs/sdk/models/shared/commerceproducts.md +7 -7
  202. package/docs/sdk/models/shared/commercetransactions.md +7 -7
  203. package/docs/sdk/models/shared/companies.md +7 -7
  204. package/docs/sdk/models/shared/company.md +1 -0
  205. package/docs/sdk/models/shared/companyrequestbody.md +1 -0
  206. package/docs/sdk/models/shared/connections.md +7 -7
  207. package/docs/sdk/models/shared/contactref.md +4 -4
  208. package/docs/sdk/models/shared/contactrefdatatype.md +11 -0
  209. package/docs/sdk/models/shared/contactreference.md +11 -0
  210. package/docs/sdk/models/shared/dataintegritydetails.md +7 -7
  211. package/docs/sdk/models/shared/directcostprototype.md +1 -1
  212. package/docs/sdk/models/shared/directcostprototypedatatype.md +11 -0
  213. package/docs/sdk/models/shared/enhancedcashflowtransaction.md +2 -2
  214. package/docs/sdk/models/shared/enhancedcashflowtransactions.md +5 -5
  215. package/docs/sdk/models/shared/enhancedinvoicesreport.md +4 -4
  216. package/docs/sdk/models/shared/errormessage.md +9 -8
  217. package/docs/sdk/models/shared/errorvalidation.md +11 -0
  218. package/docs/sdk/models/shared/errorvalidationitem.md +10 -0
  219. package/docs/sdk/models/shared/fileupload.md +8 -0
  220. package/docs/sdk/models/shared/groupreference.md +8 -0
  221. package/docs/sdk/models/shared/invoicelineitem.md +1 -1
  222. package/docs/sdk/models/shared/items.md +3 -4
  223. package/docs/sdk/models/shared/journalentryrecordref.md +11 -0
  224. package/docs/sdk/models/shared/journalentryrecordrefdatatype.md +20 -0
  225. package/docs/sdk/models/shared/journallinetracking.md +3 -3
  226. package/docs/sdk/models/shared/pulloperations.md +7 -7
  227. package/docs/sdk/models/shared/pushoperations.md +7 -7
  228. package/docs/sdk/models/shared/salesorderreference.md +4 -4
  229. package/docs/sdk/models/shared/sourcetype.md +2 -0
  230. package/docs/sdk/models/shared/tracking.md +1 -1
  231. package/docs/sdk/models/shared/trackingrecordref.md +11 -0
  232. package/docs/sdk/models/shared/trackingrecordrefdatatype.md +12 -0
  233. package/docs/sdk/models/shared/withholdingtaxitems.md +9 -0
  234. package/docs/sdks/accountbalances/README.md +1 -1
  235. package/docs/sdks/accounts/README.md +2 -2
  236. package/docs/sdks/accounttransactions/README.md +2 -2
  237. package/docs/sdks/balancesheet/README.md +2 -2
  238. package/docs/sdks/bankaccounts/README.md +2 -2
  239. package/docs/sdks/banktransactions/README.md +2 -2
  240. package/docs/sdks/billcreditnotes/README.md +2 -2
  241. package/docs/sdks/billpayments/README.md +2 -2
  242. package/docs/sdks/bills/README.md +5 -5
  243. package/docs/sdks/cashflow/README.md +1 -1
  244. package/docs/sdks/categorizedstatement/README.md +1 -1
  245. package/docs/sdks/codatlendingaccountingbankdata/README.md +1 -1
  246. package/docs/sdks/codatlendingaccounts/README.md +2 -2
  247. package/docs/sdks/codatlendingbankingtransactions/README.md +2 -2
  248. package/docs/sdks/codatlendingcustomers/README.md +2 -2
  249. package/docs/sdks/codatlendingdirectcosts/README.md +5 -5
  250. package/docs/sdks/codatlendingfinancialstatementsaccounts/README.md +2 -2
  251. package/docs/sdks/codatlendingloanwritebackaccounts/README.md +2 -2
  252. package/docs/sdks/codatlendingpayments/README.md +4 -3
  253. package/docs/sdks/codatlendingreports/README.md +2 -2
  254. package/docs/sdks/codatlendingsalespayments/README.md +2 -2
  255. package/docs/sdks/codatlendingsuppliers/README.md +26 -7
  256. package/docs/sdks/codatlendingtransactions/README.md +2 -2
  257. package/docs/sdks/codatlendingtransfers/README.md +2 -2
  258. package/docs/sdks/companies/README.md +38 -13
  259. package/docs/sdks/companyinfo/README.md +2 -2
  260. package/docs/sdks/connections/README.md +5 -5
  261. package/docs/sdks/createoperations/README.md +2 -2
  262. package/docs/sdks/creditnotes/README.md +2 -2
  263. package/docs/sdks/customers/README.md +5 -5
  264. package/docs/sdks/dataintegrity/README.md +3 -3
  265. package/docs/sdks/directcosts/README.md +10 -11
  266. package/docs/sdks/directincomes/README.md +5 -5
  267. package/docs/sdks/disputes/README.md +2 -2
  268. package/docs/sdks/excelreports/README.md +3 -3
  269. package/docs/sdks/fileupload/README.md +8 -6
  270. package/docs/sdks/invoices/README.md +7 -7
  271. package/docs/sdks/journalentries/README.md +2 -2
  272. package/docs/sdks/journals/README.md +2 -2
  273. package/docs/sdks/liabilities/README.md +4 -4
  274. package/docs/sdks/locations/README.md +2 -2
  275. package/docs/sdks/managedata/README.md +1 -1
  276. package/docs/sdks/metrics/README.md +3 -3
  277. package/docs/sdks/orders/README.md +2 -2
  278. package/docs/sdks/paymentmethods/README.md +2 -2
  279. package/docs/sdks/payments/README.md +2 -2
  280. package/docs/sdks/productcategories/README.md +2 -2
  281. package/docs/sdks/products/README.md +2 -2
  282. package/docs/sdks/profitandloss/README.md +2 -2
  283. package/docs/sdks/pulloperations/README.md +2 -2
  284. package/docs/sdks/refresh/README.md +2 -2
  285. package/docs/sdks/reports/README.md +4 -4
  286. package/docs/sdks/suppliers/README.md +5 -5
  287. package/docs/sdks/transactioncategories/README.md +2 -2
  288. package/docs/sdks/transfers/README.md +3 -4
  289. package/package.json +1 -1
  290. package/docs/sdk/models/shared/accountingdirectcostcontactref.md +0 -11
  291. package/docs/sdk/models/shared/directcostprototypecontactref.md +0 -11
@@ -79,7 +79,7 @@ run();
79
79
 
80
80
  | Error Object | Status Code | Content Type |
81
81
  | --------------- | --------------- | --------------- |
82
- | errors.SDKError | 400-600 | */* |
82
+ | errors.SDKError | 4xx-5xx | */* |
83
83
 
84
84
  ## getRefunds
85
85
 
@@ -155,4 +155,4 @@ run();
155
155
 
156
156
  | Error Object | Status Code | Content Type |
157
157
  | --------------- | --------------- | --------------- |
158
- | errors.SDKError | 400-600 | */* |
158
+ | errors.SDKError | 4xx-5xx | */* |
@@ -59,7 +59,7 @@ run();
59
59
 
60
60
  | Error Object | Status Code | Content Type |
61
61
  | --------------- | --------------- | --------------- |
62
- | errors.SDKError | 400-600 | */* |
62
+ | errors.SDKError | 4xx-5xx | */* |
63
63
 
64
64
  ## list
65
65
 
@@ -114,4 +114,4 @@ run();
114
114
 
115
115
  | Error Object | Status Code | Content Type |
116
116
  | --------------- | --------------- | --------------- |
117
- | errors.SDKError | 400-600 | */* |
117
+ | errors.SDKError | 4xx-5xx | */* |
@@ -36,21 +36,40 @@ async function run() {
36
36
  accountingSupplier: {
37
37
  addresses: [
38
38
  {
39
+ city: "Bakersfield",
40
+ country: "USA",
41
+ line1: "Unit 51",
42
+ line2: "Bakersfield Industrial Estate",
43
+ region: "California",
39
44
  type: AccountingAddressType.Billing,
40
45
  },
41
46
  ],
42
- metadata: {},
47
+ contactName: "Kelly's Industrial Supplies",
48
+ defaultCurrency: "string",
49
+ emailAddress: "sales@kellysupplies.com",
50
+ id: "C520FFD4-F6F6-4FC2-A6D2-5D7088B2B14F",
51
+ metadata: {
52
+ isDeleted: true,
53
+ },
43
54
  modifiedDate: "2022-10-23T00:00:00Z",
44
- phone: "(877) 492-8687",
55
+ phone: "07999 999999",
56
+ registrationNumber: "string",
45
57
  sourceModifiedDate: "2022-10-23T00:00:00Z",
46
- status: SupplierStatus.Active,
58
+ status: SupplierStatus.Unknown,
47
59
  supplementalData: {
48
60
  content: {
49
- "key": {
50
- "key": "string",
61
+ "property1": {
62
+ "property1": null,
63
+ "property2": null,
64
+ },
65
+ "property2": {
66
+ "property1": null,
67
+ "property2": null,
51
68
  },
52
69
  },
53
70
  },
71
+ supplierName: "Kelly's Industrial Supplies",
72
+ taxNumber: "string",
54
73
  },
55
74
  companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
56
75
  connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
@@ -80,7 +99,7 @@ run();
80
99
 
81
100
  | Error Object | Status Code | Content Type |
82
101
  | --------------- | --------------- | --------------- |
83
- | errors.SDKError | 400-600 | */* |
102
+ | errors.SDKError | 4xx-5xx | */* |
84
103
 
85
104
  ## getCreateUpdateModel
86
105
 
@@ -136,4 +155,4 @@ run();
136
155
 
137
156
  | Error Object | Status Code | Content Type |
138
157
  | --------------- | --------------- | --------------- |
139
- | errors.SDKError | 400-600 | */* |
158
+ | errors.SDKError | 4xx-5xx | */* |
@@ -59,7 +59,7 @@ run();
59
59
 
60
60
  | Error Object | Status Code | Content Type |
61
61
  | --------------- | --------------- | --------------- |
62
- | errors.SDKError | 400-600 | */* |
62
+ | errors.SDKError | 4xx-5xx | */* |
63
63
 
64
64
  ## list
65
65
 
@@ -114,4 +114,4 @@ run();
114
114
 
115
115
  | Error Object | Status Code | Content Type |
116
116
  | --------------- | --------------- | --------------- |
117
- | errors.SDKError | 400-600 | */* |
117
+ | errors.SDKError | 4xx-5xx | */* |
@@ -59,7 +59,7 @@ run();
59
59
 
60
60
  | Error Object | Status Code | Content Type |
61
61
  | --------------- | --------------- | --------------- |
62
- | errors.SDKError | 400-600 | */* |
62
+ | errors.SDKError | 4xx-5xx | */* |
63
63
 
64
64
  ## list
65
65
 
@@ -114,4 +114,4 @@ run();
114
114
 
115
115
  | Error Object | Status Code | Content Type |
116
116
  | --------------- | --------------- | --------------- |
117
- | errors.SDKError | 400-600 | */* |
117
+ | errors.SDKError | 4xx-5xx | */* |
@@ -15,11 +15,12 @@ Create and manage your Codat companies.
15
15
 
16
16
  ## create
17
17
 
18
- Creates a new company that can be used to assign connections to.
19
-
20
- If forbidden characters (see `name` pattern) are present in the request, a company will be created with the forbidden characters removed. For example, `Company (Codat[1])` with be created as `Company Codat1`.
18
+ Use the *Create company* endpoint to create a new [company](https://docs.codat.io/lending-api#/schemas/Company) that represents your customer in Codat.
21
19
 
20
+ A [company](https://docs.codat.io/lending-api#/schemas/Company) represents a business sharing access to their data.
21
+ Each company can have multiple [connections](https://docs.codat.io/lending-api#/schemas/Connection) to different data sources, such as one connection to Xero for accounting data, two connections to Plaid for two bank accounts, and a connection to Zettle for POS data.
22
22
 
23
+ If forbidden characters (see `name` pattern) are present in the request, a company will be created with the forbidden characters removed. For example, `Company (Codat[1])` with be created as `Company Codat1`.
23
24
 
24
25
  ### Example Usage
25
26
 
@@ -35,6 +36,11 @@ async function run() {
35
36
 
36
37
  const res = await sdk.companies.create({
37
38
  description: "Requested early access to the new financing scheme.",
39
+ groups: [
40
+ {
41
+ id: "60d2fa12-8a04-11ee-b9d1-0242ac120002",
42
+ },
43
+ ],
38
44
  name: "Bank of Dave",
39
45
  });
40
46
 
@@ -62,12 +68,15 @@ run();
62
68
 
63
69
  | Error Object | Status Code | Content Type |
64
70
  | --------------- | --------------- | --------------- |
65
- | errors.SDKError | 400-600 | */* |
71
+ | errors.SDKError | 4xx-5xx | */* |
66
72
 
67
73
  ## delete
68
74
 
69
- 
70
- Permanently deletes a company, its connections and any cached data. This operation is irreversible. If the company ID does not exist an error is returned.
75
+ The *Delete company* endpoint permanently deletes a [company](https://docs.codat.io/lending-api#/schemas/Company), its [connections](https://docs.codat.io/lending-api#/schemas/Connection) and any cached data. This operation is irreversible.
76
+
77
+ A [company](https://docs.codat.io/lending-api#/schemas/Company) represents a business sharing access to their data.
78
+ Each company can have multiple [connections](https://docs.codat.io/lending-api#/schemas/Connection) to different data sources, such as one connection to Xero for accounting data, two connections to Plaid for two bank accounts, and a connection to Zettle for POS data.
79
+
71
80
 
72
81
  ### Example Usage
73
82
 
@@ -109,11 +118,15 @@ run();
109
118
 
110
119
  | Error Object | Status Code | Content Type |
111
120
  | --------------- | --------------- | --------------- |
112
- | errors.SDKError | 400-600 | */* |
121
+ | errors.SDKError | 4xx-5xx | */* |
113
122
 
114
123
  ## get
115
124
 
116
- Returns the company for a valid identifier. If the identifier is for a deleted company, a not found response is returned.
125
+ The *Get company* endpoint returns a single company for a given `companyId`.
126
+
127
+ A [company](https://docs.codat.io/lending-api#/schemas/Company) represents a business sharing access to their data.
128
+ Each company can have multiple [connections](https://docs.codat.io/lending-api#/schemas/Connection) to different data sources, such as one connection to Xero for accounting data, two connections to Plaid for two bank accounts, and a connection to Zettle for POS data.
129
+
117
130
 
118
131
  ### Example Usage
119
132
 
@@ -155,11 +168,14 @@ run();
155
168
 
156
169
  | Error Object | Status Code | Content Type |
157
170
  | --------------- | --------------- | --------------- |
158
- | errors.SDKError | 400-600 | */* |
171
+ | errors.SDKError | 4xx-5xx | */* |
159
172
 
160
173
  ## list
161
174
 
162
- Returns a list of your companies. The company schema contains a list of [connections](https://docs.codat.io/lending-api#/schemas/Connection) related to the company.
175
+ The *List companies* endpoint returns a list of [companies] associated to your instances.
176
+
177
+ A [company](https://docs.codat.io/lending-api#/schemas/Company) represents a business sharing access to their data.
178
+ Each company can have multiple [connections](https://docs.codat.io/lending-api#/schemas/Connection) to different data sources, such as one connection to Xero for accounting data, two connections to Plaid for two bank accounts, and a connection to Zettle for POS data.
163
179
 
164
180
  ### Example Usage
165
181
 
@@ -203,11 +219,15 @@ run();
203
219
 
204
220
  | Error Object | Status Code | Content Type |
205
221
  | --------------- | --------------- | --------------- |
206
- | errors.SDKError | 400-600 | */* |
222
+ | errors.SDKError | 4xx-5xx | */* |
207
223
 
208
224
  ## update
209
225
 
210
- Updates both the name and description of the company.
226
+ Use the *Update company* endpoint to update both the name and description of the company.
227
+ If you use [groups](https://docs.codat.io/lending-api#/schemas/Group) to manage a set of companies, use the [Add company](https://docs.codat.io/lending-api#/operations/add-company-to-group) or [Remove company](https://docs.codat.io/lending-api#/operations/remove-company-from-group) endpoints to add or remove a company from a group.
228
+
229
+ A [company](https://docs.codat.io/lending-api#/schemas/Company) represents a business sharing access to their data.
230
+ Each company can have multiple [connections](https://docs.codat.io/lending-api#/schemas/Connection) to different data sources, such as one connection to Xero for accounting data, two connections to Plaid for two bank accounts, and a connection to Zettle for POS data.
211
231
 
212
232
  ### Example Usage
213
233
 
@@ -224,6 +244,11 @@ async function run() {
224
244
  const res = await sdk.companies.update({
225
245
  companyRequestBody: {
226
246
  description: "Requested early access to the new financing scheme.",
247
+ groups: [
248
+ {
249
+ id: "60d2fa12-8a04-11ee-b9d1-0242ac120002",
250
+ },
251
+ ],
227
252
  name: "Bank of Dave",
228
253
  },
229
254
  companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
@@ -253,4 +278,4 @@ run();
253
278
 
254
279
  | Error Object | Status Code | Content Type |
255
280
  | --------------- | --------------- | --------------- |
256
- | errors.SDKError | 400-600 | */* |
281
+ | errors.SDKError | 4xx-5xx | */* |
@@ -54,7 +54,7 @@ run();
54
54
 
55
55
  | Error Object | Status Code | Content Type |
56
56
  | --------------- | --------------- | --------------- |
57
- | errors.SDKError | 400-600 | */* |
57
+ | errors.SDKError | 4xx-5xx | */* |
58
58
 
59
59
  ## getCommerceProfile
60
60
 
@@ -105,4 +105,4 @@ run();
105
105
 
106
106
  | Error Object | Status Code | Content Type |
107
107
  | --------------- | --------------- | --------------- |
108
- | errors.SDKError | 400-600 | */* |
108
+ | errors.SDKError | 4xx-5xx | */* |
@@ -62,7 +62,7 @@ run();
62
62
 
63
63
  | Error Object | Status Code | Content Type |
64
64
  | --------------- | --------------- | --------------- |
65
- | errors.SDKError | 400-600 | */* |
65
+ | errors.SDKError | 4xx-5xx | */* |
66
66
 
67
67
  ## delete
68
68
 
@@ -110,7 +110,7 @@ run();
110
110
 
111
111
  | Error Object | Status Code | Content Type |
112
112
  | --------------- | --------------- | --------------- |
113
- | errors.SDKError | 400-600 | */* |
113
+ | errors.SDKError | 4xx-5xx | */* |
114
114
 
115
115
  ## get
116
116
 
@@ -157,7 +157,7 @@ run();
157
157
 
158
158
  | Error Object | Status Code | Content Type |
159
159
  | --------------- | --------------- | --------------- |
160
- | errors.SDKError | 400-600 | */* |
160
+ | errors.SDKError | 4xx-5xx | */* |
161
161
 
162
162
  ## list
163
163
 
@@ -206,7 +206,7 @@ run();
206
206
 
207
207
  | Error Object | Status Code | Content Type |
208
208
  | --------------- | --------------- | --------------- |
209
- | errors.SDKError | 400-600 | */* |
209
+ | errors.SDKError | 4xx-5xx | */* |
210
210
 
211
211
  ## unlink
212
212
 
@@ -255,4 +255,4 @@ run();
255
255
 
256
256
  | Error Object | Status Code | Content Type |
257
257
  | --------------- | --------------- | --------------- |
258
- | errors.SDKError | 400-600 | */* |
258
+ | errors.SDKError | 4xx-5xx | */* |
@@ -51,7 +51,7 @@ run();
51
51
 
52
52
  | Error Object | Status Code | Content Type |
53
53
  | --------------- | --------------- | --------------- |
54
- | errors.SDKError | 400-600 | */* |
54
+ | errors.SDKError | 4xx-5xx | */* |
55
55
 
56
56
  ## list
57
57
 
@@ -100,4 +100,4 @@ run();
100
100
 
101
101
  | Error Object | Status Code | Content Type |
102
102
  | --------------- | --------------- | --------------- |
103
- | errors.SDKError | 400-600 | */* |
103
+ | errors.SDKError | 4xx-5xx | */* |
@@ -58,7 +58,7 @@ run();
58
58
 
59
59
  | Error Object | Status Code | Content Type |
60
60
  | --------------- | --------------- | --------------- |
61
- | errors.SDKError | 400-600 | */* |
61
+ | errors.SDKError | 4xx-5xx | */* |
62
62
 
63
63
  ## list
64
64
 
@@ -112,4 +112,4 @@ run();
112
112
 
113
113
  | Error Object | Status Code | Content Type |
114
114
  | --------------- | --------------- | --------------- |
115
- | errors.SDKError | 400-600 | */* |
115
+ | errors.SDKError | 4xx-5xx | */* |
@@ -61,7 +61,7 @@ run();
61
61
 
62
62
  | Error Object | Status Code | Content Type |
63
63
  | --------------- | --------------- | --------------- |
64
- | errors.SDKError | 400-600 | */* |
64
+ | errors.SDKError | 4xx-5xx | */* |
65
65
 
66
66
  ## get
67
67
 
@@ -115,7 +115,7 @@ run();
115
115
 
116
116
  | Error Object | Status Code | Content Type |
117
117
  | --------------- | --------------- | --------------- |
118
- | errors.SDKError | 400-600 | */* |
118
+ | errors.SDKError | 4xx-5xx | */* |
119
119
 
120
120
  ## getAttachment
121
121
 
@@ -169,7 +169,7 @@ run();
169
169
 
170
170
  | Error Object | Status Code | Content Type |
171
171
  | --------------- | --------------- | --------------- |
172
- | errors.SDKError | 400-600 | */* |
172
+ | errors.SDKError | 4xx-5xx | */* |
173
173
 
174
174
  ## list
175
175
 
@@ -223,7 +223,7 @@ run();
223
223
 
224
224
  | Error Object | Status Code | Content Type |
225
225
  | --------------- | --------------- | --------------- |
226
- | errors.SDKError | 400-600 | */* |
226
+ | errors.SDKError | 4xx-5xx | */* |
227
227
 
228
228
  ## listAttachments
229
229
 
@@ -276,4 +276,4 @@ run();
276
276
 
277
277
  | Error Object | Status Code | Content Type |
278
278
  | --------------- | --------------- | --------------- |
279
- | errors.SDKError | 400-600 | */* |
279
+ | errors.SDKError | 4xx-5xx | */* |
@@ -62,7 +62,7 @@ run();
62
62
 
63
63
  | Error Object | Status Code | Content Type |
64
64
  | --------------- | --------------- | --------------- |
65
- | errors.SDKError | 400-600 | */* |
65
+ | errors.SDKError | 4xx-5xx | */* |
66
66
 
67
67
  ## status
68
68
 
@@ -117,7 +117,7 @@ run();
117
117
 
118
118
  | Error Object | Status Code | Content Type |
119
119
  | --------------- | --------------- | --------------- |
120
- | errors.SDKError | 400-600 | */* |
120
+ | errors.SDKError | 4xx-5xx | */* |
121
121
 
122
122
  ## summaries
123
123
 
@@ -169,4 +169,4 @@ run();
169
169
 
170
170
  | Error Object | Status Code | Content Type |
171
171
  | --------------- | --------------- | --------------- |
172
- | errors.SDKError | 400-600 | */* |
172
+ | errors.SDKError | 4xx-5xx | */* |
@@ -23,7 +23,7 @@ Check out our [coverage explorer](https://knowledge.codat.io/supported-features/
23
23
 
24
24
  ```typescript
25
25
  import { CodatLending } from "@codat/lending";
26
- import { DataType } from "@codat/lending/dist/sdk/models/shared";
26
+ import { DirectCostPrototypeDataType, TrackingRecordRefDataType } from "@codat/lending/dist/sdk/models/shared";
27
27
 
28
28
  async function run() {
29
29
  const sdk = new CodatLending({
@@ -37,7 +37,6 @@ async function run() {
37
37
  connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
38
38
  directCostPrototype: {
39
39
  contactRef: {
40
- dataType: DataType.Invoices,
41
40
  id: "<ID>",
42
41
  },
43
42
  currency: "USD",
@@ -56,7 +55,7 @@ async function run() {
56
55
  },
57
56
  recordRefs: [
58
57
  {
59
- dataType: "invoice",
58
+ dataType: TrackingRecordRefDataType.TrackingCategories,
60
59
  },
61
60
  ],
62
61
  },
@@ -65,23 +64,23 @@ async function run() {
65
64
  id: "<ID>",
66
65
  },
67
66
  ],
68
- unitAmount: 2884.08,
67
+ unitAmount: 4174.58,
69
68
  },
70
69
  ],
71
70
  paymentAllocations: [
72
71
  {
73
72
  allocation: {
74
73
  allocatedOnDate: "2022-10-23T00:00:00Z",
75
- currency: "EUR",
74
+ currency: "GBP",
76
75
  },
77
76
  payment: {
78
77
  accountRef: {},
79
- currency: "GBP",
78
+ currency: "EUR",
80
79
  paidOnDate: "2022-10-23T00:00:00Z",
81
80
  },
82
81
  },
83
82
  ],
84
- subTotal: 7964.74,
83
+ subTotal: 9967.06,
85
84
  supplementalData: {
86
85
  content: {
87
86
  "key": {
@@ -89,8 +88,8 @@ async function run() {
89
88
  },
90
89
  },
91
90
  },
92
- taxAmount: 3768.44,
93
- totalAmount: 9510.62,
91
+ taxAmount: 7964.74,
92
+ totalAmount: 3768.44,
94
93
  },
95
94
  });
96
95
 
@@ -118,7 +117,7 @@ run();
118
117
 
119
118
  | Error Object | Status Code | Content Type |
120
119
  | --------------- | --------------- | --------------- |
121
- | errors.SDKError | 400-600 | */* |
120
+ | errors.SDKError | 4xx-5xx | */* |
122
121
 
123
122
  ## getCreateModel
124
123
 
@@ -174,4 +173,4 @@ run();
174
173
 
175
174
  | Error Object | Status Code | Content Type |
176
175
  | --------------- | --------------- | --------------- |
177
- | errors.SDKError | 400-600 | */* |
176
+ | errors.SDKError | 4xx-5xx | */* |
@@ -61,7 +61,7 @@ run();
61
61
 
62
62
  | Error Object | Status Code | Content Type |
63
63
  | --------------- | --------------- | --------------- |
64
- | errors.SDKError | 400-600 | */* |
64
+ | errors.SDKError | 4xx-5xx | */* |
65
65
 
66
66
  ## get
67
67
 
@@ -116,7 +116,7 @@ run();
116
116
 
117
117
  | Error Object | Status Code | Content Type |
118
118
  | --------------- | --------------- | --------------- |
119
- | errors.SDKError | 400-600 | */* |
119
+ | errors.SDKError | 4xx-5xx | */* |
120
120
 
121
121
  ## getAttachment
122
122
 
@@ -170,7 +170,7 @@ run();
170
170
 
171
171
  | Error Object | Status Code | Content Type |
172
172
  | --------------- | --------------- | --------------- |
173
- | errors.SDKError | 400-600 | */* |
173
+ | errors.SDKError | 4xx-5xx | */* |
174
174
 
175
175
  ## list
176
176
 
@@ -225,7 +225,7 @@ run();
225
225
 
226
226
  | Error Object | Status Code | Content Type |
227
227
  | --------------- | --------------- | --------------- |
228
- | errors.SDKError | 400-600 | */* |
228
+ | errors.SDKError | 4xx-5xx | */* |
229
229
 
230
230
  ## listAttachments
231
231
 
@@ -278,4 +278,4 @@ run();
278
278
 
279
279
  | Error Object | Status Code | Content Type |
280
280
  | --------------- | --------------- | --------------- |
281
- | errors.SDKError | 400-600 | */* |
281
+ | errors.SDKError | 4xx-5xx | */* |
@@ -59,7 +59,7 @@ run();
59
59
 
60
60
  | Error Object | Status Code | Content Type |
61
61
  | --------------- | --------------- | --------------- |
62
- | errors.SDKError | 400-600 | */* |
62
+ | errors.SDKError | 4xx-5xx | */* |
63
63
 
64
64
  ## list
65
65
 
@@ -114,4 +114,4 @@ run();
114
114
 
115
115
  | Error Object | Status Code | Content Type |
116
116
  | --------------- | --------------- | --------------- |
117
- | errors.SDKError | 400-600 | */* |
117
+ | errors.SDKError | 4xx-5xx | */* |
@@ -61,7 +61,7 @@ run();
61
61
 
62
62
  | Error Object | Status Code | Content Type |
63
63
  | --------------- | --------------- | --------------- |
64
- | errors.SDKError | 400-600 | */* |
64
+ | errors.SDKError | 4xx-5xx | */* |
65
65
 
66
66
  ## generate
67
67
 
@@ -125,7 +125,7 @@ run();
125
125
 
126
126
  | Error Object | Status Code | Content Type |
127
127
  | --------------- | --------------- | --------------- |
128
- | errors.SDKError | 400-600 | */* |
128
+ | errors.SDKError | 4xx-5xx | */* |
129
129
 
130
130
  ## getStatus
131
131
 
@@ -177,4 +177,4 @@ run();
177
177
 
178
178
  | Error Object | Status Code | Content Type |
179
179
  | --------------- | --------------- | --------------- |
180
- | errors.SDKError | 400-600 | */* |
180
+ | errors.SDKError | 4xx-5xx | */* |
@@ -56,7 +56,7 @@ run();
56
56
 
57
57
  | Error Object | Status Code | Content Type |
58
58
  | --------------- | --------------- | --------------- |
59
- | errors.SDKError | 400-600 | */* |
59
+ | errors.SDKError | 4xx-5xx | */* |
60
60
 
61
61
  ## listUploaded
62
62
 
@@ -102,7 +102,7 @@ run();
102
102
 
103
103
  | Error Object | Status Code | Content Type |
104
104
  | --------------- | --------------- | --------------- |
105
- | errors.SDKError | 400-600 | */* |
105
+ | errors.SDKError | 4xx-5xx | */* |
106
106
 
107
107
  ## upload
108
108
 
@@ -127,9 +127,11 @@ async function run() {
127
127
  });
128
128
 
129
129
  const res = await sdk.fileUpload.upload({
130
- requestBody: {
131
- content: new TextEncoder().encode("0x87cbca97eC"),
132
- fileName: "ullam.wav",
130
+ fileUpload: {
131
+ file: {
132
+ content: new TextEncoder().encode("0x87cbca97eC"),
133
+ fileName: "ullam.wav",
134
+ },
133
135
  },
134
136
  companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
135
137
  connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
@@ -159,4 +161,4 @@ run();
159
161
 
160
162
  | Error Object | Status Code | Content Type |
161
163
  | --------------- | --------------- | --------------- |
162
- | errors.SDKError | 400-600 | */* |
164
+ | errors.SDKError | 4xx-5xx | */* |
@@ -63,7 +63,7 @@ run();
63
63
 
64
64
  | Error Object | Status Code | Content Type |
65
65
  | --------------- | --------------- | --------------- |
66
- | errors.SDKError | 400-600 | */* |
66
+ | errors.SDKError | 4xx-5xx | */* |
67
67
 
68
68
  ## downloadPdf
69
69
 
@@ -110,7 +110,7 @@ run();
110
110
 
111
111
  | Error Object | Status Code | Content Type |
112
112
  | --------------- | --------------- | --------------- |
113
- | errors.SDKError | 400-600 | */* |
113
+ | errors.SDKError | 4xx-5xx | */* |
114
114
 
115
115
  ## get
116
116
 
@@ -163,7 +163,7 @@ run();
163
163
 
164
164
  | Error Object | Status Code | Content Type |
165
165
  | --------------- | --------------- | --------------- |
166
- | errors.SDKError | 400-600 | */* |
166
+ | errors.SDKError | 4xx-5xx | */* |
167
167
 
168
168
  ## getAttachment
169
169
 
@@ -217,7 +217,7 @@ run();
217
217
 
218
218
  | Error Object | Status Code | Content Type |
219
219
  | --------------- | --------------- | --------------- |
220
- | errors.SDKError | 400-600 | */* |
220
+ | errors.SDKError | 4xx-5xx | */* |
221
221
 
222
222
  ## list
223
223
 
@@ -277,7 +277,7 @@ run();
277
277
 
278
278
  | Error Object | Status Code | Content Type |
279
279
  | --------------- | --------------- | --------------- |
280
- | errors.SDKError | 400-600 | */* |
280
+ | errors.SDKError | 4xx-5xx | */* |
281
281
 
282
282
  ## listAttachments
283
283
 
@@ -330,7 +330,7 @@ run();
330
330
 
331
331
  | Error Object | Status Code | Content Type |
332
332
  | --------------- | --------------- | --------------- |
333
- | errors.SDKError | 400-600 | */* |
333
+ | errors.SDKError | 4xx-5xx | */* |
334
334
 
335
335
  ## listReconciled
336
336
 
@@ -378,4 +378,4 @@ run();
378
378
 
379
379
  | Error Object | Status Code | Content Type |
380
380
  | --------------- | --------------- | --------------- |
381
- | errors.SDKError | 400-600 | */* |
381
+ | errors.SDKError | 4xx-5xx | */* |
@@ -58,7 +58,7 @@ run();
58
58
 
59
59
  | Error Object | Status Code | Content Type |
60
60
  | --------------- | --------------- | --------------- |
61
- | errors.SDKError | 400-600 | */* |
61
+ | errors.SDKError | 4xx-5xx | */* |
62
62
 
63
63
  ## list
64
64
 
@@ -112,4 +112,4 @@ run();
112
112
 
113
113
  | Error Object | Status Code | Content Type |
114
114
  | --------------- | --------------- | --------------- |
115
- | errors.SDKError | 400-600 | */* |
115
+ | errors.SDKError | 4xx-5xx | */* |