@apideck/unify 0.20.0 → 0.21.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 (514) hide show
  1. package/README.md +68 -51
  2. package/docs/sdks/agedcreditors/README.md +115 -0
  3. package/docs/sdks/attachments/README.md +97 -0
  4. package/docs/sdks/bills/README.md +24 -20
  5. package/docs/sdks/connections/README.md +100 -80
  6. package/docs/sdks/connectionsettings/README.md +100 -80
  7. package/docs/sdks/creditnotes/README.md +20 -20
  8. package/docs/sdks/expenses/README.md +8 -0
  9. package/docs/sdks/invoiceitems/README.md +16 -0
  10. package/docs/sdks/invoices/README.md +16 -16
  11. package/docs/sdks/journalentries/README.md +20 -0
  12. package/docs/sdks/pipelines/README.md +632 -0
  13. package/docs/sdks/purchaseorders/README.md +106 -186
  14. package/docs/sdks/uploadsessions/README.md +95 -0
  15. package/funcs/accountingAgedCreditorsGet.d.ts +17 -0
  16. package/funcs/accountingAgedCreditorsGet.d.ts.map +1 -0
  17. package/funcs/accountingAgedCreditorsGet.js +128 -0
  18. package/funcs/accountingAgedCreditorsGet.js.map +1 -0
  19. package/funcs/accountingAttachmentsUpload.d.ts +17 -0
  20. package/funcs/accountingAttachmentsUpload.d.ts.map +1 -0
  21. package/funcs/accountingAttachmentsUpload.js +141 -0
  22. package/funcs/accountingAttachmentsUpload.js.map +1 -0
  23. package/funcs/crmPipelinesCreate.d.ts +17 -0
  24. package/funcs/crmPipelinesCreate.d.ts.map +1 -0
  25. package/funcs/crmPipelinesCreate.js +127 -0
  26. package/funcs/crmPipelinesCreate.js.map +1 -0
  27. package/funcs/crmPipelinesDelete.d.ts +17 -0
  28. package/funcs/crmPipelinesDelete.d.ts.map +1 -0
  29. package/funcs/crmPipelinesDelete.js +132 -0
  30. package/funcs/crmPipelinesDelete.js.map +1 -0
  31. package/funcs/crmPipelinesGet.d.ts +17 -0
  32. package/funcs/crmPipelinesGet.d.ts.map +1 -0
  33. package/funcs/crmPipelinesGet.js +133 -0
  34. package/funcs/crmPipelinesGet.js.map +1 -0
  35. package/funcs/crmPipelinesUpdate.d.ts +17 -0
  36. package/funcs/crmPipelinesUpdate.d.ts.map +1 -0
  37. package/funcs/crmPipelinesUpdate.js +133 -0
  38. package/funcs/crmPipelinesUpdate.js.map +1 -0
  39. package/funcs/fileStorageUploadSessionsUpload.d.ts +17 -0
  40. package/funcs/fileStorageUploadSessionsUpload.d.ts.map +1 -0
  41. package/funcs/fileStorageUploadSessionsUpload.js +139 -0
  42. package/funcs/fileStorageUploadSessionsUpload.js.map +1 -0
  43. package/hooks/types.d.ts +1 -1
  44. package/hooks/types.d.ts.map +1 -1
  45. package/jsr.json +1 -1
  46. package/lib/config.d.ts +4 -4
  47. package/lib/config.js +4 -4
  48. package/lib/security.d.ts +4 -3
  49. package/lib/security.d.ts.map +1 -1
  50. package/lib/security.js +6 -1
  51. package/lib/security.js.map +1 -1
  52. package/models/components/{accountinglocation.d.ts → accountinglocationinput.d.ts} +58 -58
  53. package/models/components/accountinglocationinput.d.ts.map +1 -0
  54. package/models/components/{accountinglocation.js → accountinglocationinput.js} +56 -56
  55. package/models/components/accountinglocationinput.js.map +1 -0
  56. package/models/components/address.d.ts +8 -8
  57. package/models/components/address.d.ts.map +1 -1
  58. package/models/components/address.js +13 -14
  59. package/models/components/address.js.map +1 -1
  60. package/models/components/agedcreditors.d.ts +51 -0
  61. package/models/components/agedcreditors.d.ts.map +1 -0
  62. package/models/components/agedcreditors.js +88 -0
  63. package/models/components/agedcreditors.js.map +1 -0
  64. package/models/components/{applicant.d.ts → applicantinput.d.ts} +79 -79
  65. package/models/components/applicantinput.d.ts.map +1 -0
  66. package/models/components/{applicant.js → applicantinput.js} +85 -85
  67. package/models/components/applicantinput.js.map +1 -0
  68. package/models/components/billlineitem.d.ts +4 -4
  69. package/models/components/{billpayment.d.ts → billpaymentinput.d.ts} +102 -102
  70. package/models/components/billpaymentinput.d.ts.map +1 -0
  71. package/models/components/{billpayment.js → billpaymentinput.js} +100 -100
  72. package/models/components/billpaymentinput.js.map +1 -0
  73. package/models/components/connectionimportdata.d.ts +15 -15
  74. package/models/components/connectionimportdata.d.ts.map +1 -1
  75. package/models/components/connectionimportdata.js +18 -19
  76. package/models/components/connectionimportdata.js.map +1 -1
  77. package/models/components/{connection.d.ts → connectioninput.d.ts} +139 -139
  78. package/models/components/connectioninput.d.ts.map +1 -0
  79. package/models/components/{connection.js → connectioninput.js} +150 -150
  80. package/models/components/connectioninput.js.map +1 -0
  81. package/models/components/consumerconnection.d.ts +6 -26
  82. package/models/components/consumerconnection.d.ts.map +1 -1
  83. package/models/components/consumerconnection.js +3 -26
  84. package/models/components/consumerconnection.js.map +1 -1
  85. package/models/components/{contact.d.ts → contactinput.d.ts} +71 -71
  86. package/models/components/contactinput.d.ts.map +1 -0
  87. package/models/components/{contact.js → contactinput.js} +72 -71
  88. package/models/components/{contact.js.map → contactinput.js.map} +1 -1
  89. package/models/components/createattachmentresponse.d.ts +70 -0
  90. package/models/components/createattachmentresponse.d.ts.map +1 -0
  91. package/models/components/createattachmentresponse.js +83 -0
  92. package/models/components/createattachmentresponse.js.map +1 -0
  93. package/models/components/createconnectionresponse.d.ts +1 -1
  94. package/models/components/createconnectionresponse.d.ts.map +1 -1
  95. package/models/components/createconnectionresponse.js +3 -3
  96. package/models/components/createconnectionresponse.js.map +1 -1
  97. package/models/components/createpipelineresponse.d.ts +70 -0
  98. package/models/components/createpipelineresponse.d.ts.map +1 -0
  99. package/models/components/createpipelineresponse.js +83 -0
  100. package/models/components/createpipelineresponse.js.map +1 -0
  101. package/models/components/{creditnote.d.ts → creditnoteinput.d.ts} +74 -74
  102. package/models/components/creditnoteinput.d.ts.map +1 -0
  103. package/models/components/{creditnote.js → creditnoteinput.js} +69 -69
  104. package/models/components/creditnoteinput.js.map +1 -0
  105. package/models/components/{customer.d.ts → customerinput.d.ts} +70 -70
  106. package/models/components/customerinput.d.ts.map +1 -0
  107. package/models/components/{customer.js → customerinput.js} +64 -64
  108. package/models/components/customerinput.js.map +1 -0
  109. package/models/components/deletepipelineresponse.d.ts +70 -0
  110. package/models/components/deletepipelineresponse.d.ts.map +1 -0
  111. package/models/components/deletepipelineresponse.js +83 -0
  112. package/models/components/deletepipelineresponse.js.map +1 -0
  113. package/models/components/{employeecompensation.d.ts → employeecompensationinput.d.ts} +37 -37
  114. package/models/components/employeecompensationinput.d.ts.map +1 -0
  115. package/models/components/{employeecompensation.js → employeecompensationinput.js} +36 -36
  116. package/models/components/employeecompensationinput.js.map +1 -0
  117. package/models/components/{employee.d.ts → employeeinput.d.ts} +70 -65
  118. package/models/components/employeeinput.d.ts.map +1 -0
  119. package/models/components/{employee.js → employeeinput.js} +67 -63
  120. package/models/components/employeeinput.js.map +1 -0
  121. package/models/components/employeeschedules.d.ts +1 -1
  122. package/models/components/employeeschedules.d.ts.map +1 -1
  123. package/models/components/employeeschedules.js +3 -3
  124. package/models/components/employeeschedules.js.map +1 -1
  125. package/models/components/employeesfilter.d.ts +5 -0
  126. package/models/components/employeesfilter.d.ts.map +1 -1
  127. package/models/components/employeesfilter.js +2 -0
  128. package/models/components/employeesfilter.js.map +1 -1
  129. package/models/components/{expense.d.ts → expenseinput.d.ts} +61 -61
  130. package/models/components/expenseinput.d.ts.map +1 -0
  131. package/models/components/{expense.js → expenseinput.js} +56 -56
  132. package/models/components/expenseinput.js.map +1 -0
  133. package/models/components/expenselineitem.d.ts +11 -6
  134. package/models/components/expenselineitem.d.ts.map +1 -1
  135. package/models/components/expenselineitem.js +8 -4
  136. package/models/components/expenselineitem.js.map +1 -1
  137. package/models/components/expenselineiteminput.d.ts +11 -6
  138. package/models/components/expenselineiteminput.d.ts.map +1 -1
  139. package/models/components/expenselineiteminput.js +8 -4
  140. package/models/components/expenselineiteminput.js.map +1 -1
  141. package/models/components/formfieldoption.d.ts +10 -2
  142. package/models/components/formfieldoption.d.ts.map +1 -1
  143. package/models/components/formfieldoption.js +12 -4
  144. package/models/components/formfieldoption.js.map +1 -1
  145. package/models/components/formfieldoptiongroup.d.ts +29 -4
  146. package/models/components/formfieldoptiongroup.d.ts.map +1 -1
  147. package/models/components/formfieldoptiongroup.js +34 -5
  148. package/models/components/formfieldoptiongroup.js.map +1 -1
  149. package/models/components/getaccountinglocationresponse.d.ts +1 -1
  150. package/models/components/getaccountinglocationresponse.d.ts.map +1 -1
  151. package/models/components/getaccountinglocationresponse.js +3 -3
  152. package/models/components/getaccountinglocationresponse.js.map +1 -1
  153. package/models/components/getaccountinglocationsresponse.d.ts +1 -1
  154. package/models/components/getaccountinglocationsresponse.d.ts.map +1 -1
  155. package/models/components/getaccountinglocationsresponse.js +3 -3
  156. package/models/components/getaccountinglocationsresponse.js.map +1 -1
  157. package/models/components/getagedcreditorsresponse.d.ts +67 -0
  158. package/models/components/getagedcreditorsresponse.d.ts.map +1 -0
  159. package/models/components/getagedcreditorsresponse.js +83 -0
  160. package/models/components/getagedcreditorsresponse.js.map +1 -0
  161. package/models/components/getapplicantresponse.d.ts +1 -1
  162. package/models/components/getapplicantresponse.d.ts.map +1 -1
  163. package/models/components/getapplicantresponse.js +3 -3
  164. package/models/components/getapplicantresponse.js.map +1 -1
  165. package/models/components/getapplicantsresponse.d.ts +1 -1
  166. package/models/components/getapplicantsresponse.d.ts.map +1 -1
  167. package/models/components/getapplicantsresponse.js +3 -3
  168. package/models/components/getapplicantsresponse.js.map +1 -1
  169. package/models/components/getbillpaymentresponse.d.ts +1 -1
  170. package/models/components/getbillpaymentresponse.d.ts.map +1 -1
  171. package/models/components/getbillpaymentresponse.js +3 -3
  172. package/models/components/getbillpaymentresponse.js.map +1 -1
  173. package/models/components/getbillpaymentsresponse.d.ts +1 -1
  174. package/models/components/getbillpaymentsresponse.d.ts.map +1 -1
  175. package/models/components/getbillpaymentsresponse.js +3 -3
  176. package/models/components/getbillpaymentsresponse.js.map +1 -1
  177. package/models/components/getconnectionresponse.d.ts +1 -1
  178. package/models/components/getconnectionresponse.d.ts.map +1 -1
  179. package/models/components/getconnectionresponse.js +3 -3
  180. package/models/components/getconnectionresponse.js.map +1 -1
  181. package/models/components/getconnectionsresponse.d.ts +1 -1
  182. package/models/components/getconnectionsresponse.d.ts.map +1 -1
  183. package/models/components/getconnectionsresponse.js +3 -3
  184. package/models/components/getconnectionsresponse.js.map +1 -1
  185. package/models/components/getcontactresponse.d.ts +1 -1
  186. package/models/components/getcontactresponse.d.ts.map +1 -1
  187. package/models/components/getcontactresponse.js +3 -3
  188. package/models/components/getcontactresponse.js.map +1 -1
  189. package/models/components/getcontactsresponse.d.ts +1 -1
  190. package/models/components/getcontactsresponse.d.ts.map +1 -1
  191. package/models/components/getcontactsresponse.js +3 -3
  192. package/models/components/getcontactsresponse.js.map +1 -1
  193. package/models/components/getcreditnoteresponse.d.ts +1 -1
  194. package/models/components/getcreditnoteresponse.d.ts.map +1 -1
  195. package/models/components/getcreditnoteresponse.js +3 -3
  196. package/models/components/getcreditnoteresponse.js.map +1 -1
  197. package/models/components/getcreditnotesresponse.d.ts +1 -1
  198. package/models/components/getcreditnotesresponse.d.ts.map +1 -1
  199. package/models/components/getcreditnotesresponse.js +3 -3
  200. package/models/components/getcreditnotesresponse.js.map +1 -1
  201. package/models/components/getcustomerresponse.d.ts +1 -1
  202. package/models/components/getcustomerresponse.d.ts.map +1 -1
  203. package/models/components/getcustomerresponse.js +3 -3
  204. package/models/components/getcustomerresponse.js.map +1 -1
  205. package/models/components/getcustomersresponse.d.ts +1 -1
  206. package/models/components/getcustomersresponse.d.ts.map +1 -1
  207. package/models/components/getcustomersresponse.js +3 -3
  208. package/models/components/getcustomersresponse.js.map +1 -1
  209. package/models/components/getemployeeresponse.d.ts +1 -1
  210. package/models/components/getemployeeresponse.d.ts.map +1 -1
  211. package/models/components/getemployeeresponse.js +3 -3
  212. package/models/components/getemployeeresponse.js.map +1 -1
  213. package/models/components/getemployeesresponse.d.ts +1 -1
  214. package/models/components/getemployeesresponse.d.ts.map +1 -1
  215. package/models/components/getemployeesresponse.js +3 -3
  216. package/models/components/getemployeesresponse.js.map +1 -1
  217. package/models/components/getexpenseresponse.d.ts +1 -1
  218. package/models/components/getexpenseresponse.d.ts.map +1 -1
  219. package/models/components/getexpenseresponse.js +3 -3
  220. package/models/components/getexpenseresponse.js.map +1 -1
  221. package/models/components/getexpensesresponse.d.ts +1 -1
  222. package/models/components/getexpensesresponse.d.ts.map +1 -1
  223. package/models/components/getexpensesresponse.js +3 -3
  224. package/models/components/getexpensesresponse.js.map +1 -1
  225. package/models/components/gethriscompaniesresponse.d.ts +1 -1
  226. package/models/components/gethriscompaniesresponse.d.ts.map +1 -1
  227. package/models/components/gethriscompaniesresponse.js +3 -3
  228. package/models/components/gethriscompaniesresponse.js.map +1 -1
  229. package/models/components/gethriscompanyresponse.d.ts +1 -1
  230. package/models/components/gethriscompanyresponse.d.ts.map +1 -1
  231. package/models/components/gethriscompanyresponse.js +3 -3
  232. package/models/components/gethriscompanyresponse.js.map +1 -1
  233. package/models/components/getinvoiceresponse.d.ts +1 -1
  234. package/models/components/getinvoiceresponse.d.ts.map +1 -1
  235. package/models/components/getinvoiceresponse.js +3 -3
  236. package/models/components/getinvoiceresponse.js.map +1 -1
  237. package/models/components/getinvoicesresponse.d.ts +1 -1
  238. package/models/components/getinvoicesresponse.d.ts.map +1 -1
  239. package/models/components/getinvoicesresponse.js +3 -3
  240. package/models/components/getinvoicesresponse.js.map +1 -1
  241. package/models/components/getledgeraccountresponse.d.ts +1 -1
  242. package/models/components/getledgeraccountresponse.d.ts.map +1 -1
  243. package/models/components/getledgeraccountresponse.js +3 -3
  244. package/models/components/getledgeraccountresponse.js.map +1 -1
  245. package/models/components/getledgeraccountsresponse.d.ts +1 -1
  246. package/models/components/getledgeraccountsresponse.d.ts.map +1 -1
  247. package/models/components/getledgeraccountsresponse.js +3 -3
  248. package/models/components/getledgeraccountsresponse.js.map +1 -1
  249. package/models/components/getpipelineresponse.d.ts +67 -0
  250. package/models/components/getpipelineresponse.d.ts.map +1 -0
  251. package/models/components/getpipelineresponse.js +83 -0
  252. package/models/components/getpipelineresponse.js.map +1 -0
  253. package/models/components/getsupplierresponse.d.ts +1 -1
  254. package/models/components/getsupplierresponse.d.ts.map +1 -1
  255. package/models/components/getsupplierresponse.js +3 -3
  256. package/models/components/getsupplierresponse.js.map +1 -1
  257. package/models/components/getsuppliersresponse.d.ts +1 -1
  258. package/models/components/getsuppliersresponse.d.ts.map +1 -1
  259. package/models/components/getsuppliersresponse.js +3 -3
  260. package/models/components/getsuppliersresponse.js.map +1 -1
  261. package/models/components/getticketresponse.d.ts +1 -1
  262. package/models/components/getticketresponse.d.ts.map +1 -1
  263. package/models/components/getticketresponse.js +3 -3
  264. package/models/components/getticketresponse.js.map +1 -1
  265. package/models/components/getticketsresponse.d.ts +1 -1
  266. package/models/components/getticketsresponse.d.ts.map +1 -1
  267. package/models/components/getticketsresponse.js +3 -3
  268. package/models/components/getticketsresponse.js.map +1 -1
  269. package/models/components/{hriscompany.d.ts → hriscompanyinput.d.ts} +55 -55
  270. package/models/components/hriscompanyinput.d.ts.map +1 -0
  271. package/models/components/{hriscompany.js → hriscompanyinput.js} +54 -54
  272. package/models/components/hriscompanyinput.js.map +1 -0
  273. package/models/components/index.d.ts +26 -16
  274. package/models/components/index.d.ts.map +1 -1
  275. package/models/components/index.js +26 -16
  276. package/models/components/index.js.map +1 -1
  277. package/models/components/{invoice.d.ts → invoiceinput.d.ts} +74 -74
  278. package/models/components/invoiceinput.d.ts.map +1 -0
  279. package/models/components/{invoice.js → invoiceinput.js} +72 -72
  280. package/models/components/{invoice.js.map → invoiceinput.js.map} +1 -1
  281. package/models/components/invoiceitem.d.ts +46 -0
  282. package/models/components/invoiceitem.d.ts.map +1 -1
  283. package/models/components/invoiceitem.js +34 -0
  284. package/models/components/invoiceitem.js.map +1 -1
  285. package/models/components/{invoicelineitem.d.ts → invoicelineiteminput.d.ts} +59 -59
  286. package/models/components/invoicelineiteminput.d.ts.map +1 -0
  287. package/models/components/{invoicelineitem.js → invoicelineiteminput.js} +54 -54
  288. package/models/components/invoicelineiteminput.js.map +1 -0
  289. package/models/components/journalentrylineitem.d.ts +16 -6
  290. package/models/components/journalentrylineitem.d.ts.map +1 -1
  291. package/models/components/journalentrylineitem.js +12 -4
  292. package/models/components/journalentrylineitem.js.map +1 -1
  293. package/models/components/{ledgeraccount.d.ts → ledgeraccountinput.d.ts} +129 -129
  294. package/models/components/ledgeraccountinput.d.ts.map +1 -0
  295. package/models/components/{ledgeraccount.js → ledgeraccountinput.js} +128 -128
  296. package/models/components/ledgeraccountinput.js.map +1 -0
  297. package/models/components/linkedecommercecustomer.d.ts +6 -6
  298. package/models/components/linkedecommercecustomer.d.ts.map +1 -1
  299. package/models/components/linkedecommercecustomer.js +6 -6
  300. package/models/components/linkedecommercecustomer.js.map +1 -1
  301. package/models/components/outstandingbalancebysupplier.d.ts +40 -0
  302. package/models/components/outstandingbalancebysupplier.d.ts.map +1 -0
  303. package/models/components/outstandingbalancebysupplier.js +77 -0
  304. package/models/components/outstandingbalancebysupplier.js.map +1 -0
  305. package/models/components/pipelineinput.d.ts +117 -0
  306. package/models/components/pipelineinput.d.ts.map +1 -0
  307. package/models/components/pipelineinput.js +133 -0
  308. package/models/components/pipelineinput.js.map +1 -0
  309. package/models/components/purchaseorder.d.ts +6 -1
  310. package/models/components/purchaseorder.d.ts.map +1 -1
  311. package/models/components/purchaseorder.js +14 -5
  312. package/models/components/purchaseorder.js.map +1 -1
  313. package/models/components/simpleformfieldoption.d.ts +27 -2
  314. package/models/components/simpleformfieldoption.d.ts.map +1 -1
  315. package/models/components/simpleformfieldoption.js +33 -3
  316. package/models/components/simpleformfieldoption.js.map +1 -1
  317. package/models/components/{supplier.d.ts → supplierinput.d.ts} +70 -70
  318. package/models/components/supplierinput.d.ts.map +1 -0
  319. package/models/components/{supplier.js → supplierinput.js} +64 -64
  320. package/models/components/supplierinput.js.map +1 -0
  321. package/models/components/{ticket.d.ts → ticketinput.d.ts} +66 -66
  322. package/models/components/ticketinput.d.ts.map +1 -0
  323. package/models/components/{ticket.js → ticketinput.js} +59 -59
  324. package/models/components/ticketinput.js.map +1 -0
  325. package/models/components/updateconnectionresponse.d.ts +1 -1
  326. package/models/components/updateconnectionresponse.d.ts.map +1 -1
  327. package/models/components/updateconnectionresponse.js +3 -3
  328. package/models/components/updateconnectionresponse.js.map +1 -1
  329. package/models/components/updatepipelineresponse.d.ts +70 -0
  330. package/models/components/updatepipelineresponse.d.ts.map +1 -0
  331. package/models/components/updatepipelineresponse.js +83 -0
  332. package/models/components/updatepipelineresponse.js.map +1 -0
  333. package/models/components/updateuploadsessionresponse.d.ts +70 -0
  334. package/models/components/updateuploadsessionresponse.d.ts.map +1 -0
  335. package/models/components/updateuploadsessionresponse.js +83 -0
  336. package/models/components/updateuploadsessionresponse.js.map +1 -0
  337. package/models/operations/accountingagedcreditorsone.d.ts +135 -0
  338. package/models/operations/accountingagedcreditorsone.d.ts.map +1 -0
  339. package/models/operations/accountingagedcreditorsone.js +157 -0
  340. package/models/operations/accountingagedcreditorsone.js.map +1 -0
  341. package/models/operations/accountingattachmentsupload.d.ts +134 -0
  342. package/models/operations/accountingattachmentsupload.d.ts.map +1 -0
  343. package/models/operations/accountingattachmentsupload.js +178 -0
  344. package/models/operations/accountingattachmentsupload.js.map +1 -0
  345. package/models/operations/crmpipelinesadd.d.ts +118 -0
  346. package/models/operations/crmpipelinesadd.d.ts.map +1 -0
  347. package/models/operations/crmpipelinesadd.js +153 -0
  348. package/models/operations/crmpipelinesadd.js.map +1 -0
  349. package/models/operations/crmpipelinesdelete.d.ts +121 -0
  350. package/models/operations/crmpipelinesdelete.d.ts.map +1 -0
  351. package/models/operations/crmpipelinesdelete.js +145 -0
  352. package/models/operations/crmpipelinesdelete.js.map +1 -0
  353. package/models/operations/crmpipelinesone.d.ts +126 -0
  354. package/models/operations/crmpipelinesone.d.ts.map +1 -0
  355. package/models/operations/crmpipelinesone.js +145 -0
  356. package/models/operations/crmpipelinesone.js.map +1 -0
  357. package/models/operations/crmpipelinesupdate.d.ts +123 -0
  358. package/models/operations/crmpipelinesupdate.d.ts.map +1 -0
  359. package/models/operations/crmpipelinesupdate.js +155 -0
  360. package/models/operations/crmpipelinesupdate.js.map +1 -0
  361. package/models/operations/filestorageuploadsessionsupload.d.ts +134 -0
  362. package/models/operations/filestorageuploadsessionsupload.d.ts.map +1 -0
  363. package/models/operations/filestorageuploadsessionsupload.js +174 -0
  364. package/models/operations/filestorageuploadsessionsupload.js.map +1 -0
  365. package/models/operations/index.d.ts +7 -0
  366. package/models/operations/index.d.ts.map +1 -1
  367. package/models/operations/index.js +7 -0
  368. package/models/operations/index.js.map +1 -1
  369. package/package.json +1 -1
  370. package/sdk/accounting.d.ts +3 -0
  371. package/sdk/accounting.d.ts.map +1 -1
  372. package/sdk/accounting.js +4 -0
  373. package/sdk/accounting.js.map +1 -1
  374. package/sdk/agedcreditors.d.ts +12 -0
  375. package/sdk/agedcreditors.d.ts.map +1 -0
  376. package/sdk/agedcreditors.js +22 -0
  377. package/sdk/agedcreditors.js.map +1 -0
  378. package/sdk/attachments.d.ts +7 -0
  379. package/sdk/attachments.d.ts.map +1 -1
  380. package/sdk/attachments.js +10 -0
  381. package/sdk/attachments.js.map +1 -1
  382. package/sdk/pipelines.d.ts +28 -0
  383. package/sdk/pipelines.d.ts.map +1 -1
  384. package/sdk/pipelines.js +41 -0
  385. package/sdk/pipelines.js.map +1 -1
  386. package/sdk/uploadsessions.d.ts +7 -0
  387. package/sdk/uploadsessions.d.ts.map +1 -1
  388. package/sdk/uploadsessions.js +10 -0
  389. package/sdk/uploadsessions.js.map +1 -1
  390. package/src/funcs/accountingAgedCreditorsGet.ts +228 -0
  391. package/src/funcs/accountingAttachmentsUpload.ts +241 -0
  392. package/src/funcs/crmPipelinesCreate.ts +214 -0
  393. package/src/funcs/crmPipelinesDelete.ts +220 -0
  394. package/src/funcs/crmPipelinesGet.ts +221 -0
  395. package/src/funcs/crmPipelinesUpdate.ts +221 -0
  396. package/src/funcs/fileStorageUploadSessionsUpload.ts +239 -0
  397. package/src/hooks/types.ts +1 -1
  398. package/src/lib/config.ts +4 -4
  399. package/src/lib/security.ts +11 -3
  400. package/src/models/components/address.ts +15 -14
  401. package/src/models/components/agedcreditors.ts +120 -0
  402. package/src/models/components/billlineitem.ts +4 -4
  403. package/src/models/components/connectionimportdata.ts +24 -33
  404. package/src/models/components/consumerconnection.ts +4 -53
  405. package/src/models/components/{contact.ts → contactinput.ts} +232 -233
  406. package/src/models/components/createattachmentresponse.ts +131 -0
  407. package/src/models/components/createconnectionresponse.ts +1 -1
  408. package/src/models/components/createpipelineresponse.ts +131 -0
  409. package/src/models/components/{creditnote.ts → creditnoteinput.ts} +131 -131
  410. package/src/models/components/deletepipelineresponse.ts +131 -0
  411. package/src/models/components/{employee.ts → employeeinput.ts} +123 -114
  412. package/src/models/components/employeeschedules.ts +1 -1
  413. package/src/models/components/employeesfilter.ts +7 -0
  414. package/src/models/components/{expense.ts → expenseinput.ts} +166 -166
  415. package/src/models/components/expenselineitem.ts +19 -10
  416. package/src/models/components/expenselineiteminput.ts +19 -10
  417. package/src/models/components/formfieldoption.ts +25 -7
  418. package/src/models/components/formfieldoptiongroup.ts +50 -8
  419. package/src/models/components/getaccountinglocationresponse.ts +1 -1
  420. package/src/models/components/getaccountinglocationsresponse.ts +1 -1
  421. package/src/models/components/getagedcreditorsresponse.ts +128 -0
  422. package/src/models/components/getapplicantresponse.ts +1 -1
  423. package/src/models/components/getapplicantsresponse.ts +1 -1
  424. package/src/models/components/getbillpaymentresponse.ts +1 -1
  425. package/src/models/components/getbillpaymentsresponse.ts +1 -1
  426. package/src/models/components/getconnectionresponse.ts +1 -1
  427. package/src/models/components/getconnectionsresponse.ts +1 -1
  428. package/src/models/components/getcontactresponse.ts +1 -1
  429. package/src/models/components/getcontactsresponse.ts +1 -1
  430. package/src/models/components/getcreditnoteresponse.ts +1 -1
  431. package/src/models/components/getcreditnotesresponse.ts +1 -1
  432. package/src/models/components/getcustomerresponse.ts +1 -1
  433. package/src/models/components/getcustomersresponse.ts +1 -1
  434. package/src/models/components/getemployeeresponse.ts +1 -1
  435. package/src/models/components/getemployeesresponse.ts +1 -1
  436. package/src/models/components/getexpenseresponse.ts +1 -1
  437. package/src/models/components/getexpensesresponse.ts +1 -1
  438. package/src/models/components/gethriscompaniesresponse.ts +1 -1
  439. package/src/models/components/gethriscompanyresponse.ts +1 -1
  440. package/src/models/components/getinvoiceresponse.ts +1 -1
  441. package/src/models/components/getinvoicesresponse.ts +1 -1
  442. package/src/models/components/getledgeraccountresponse.ts +1 -1
  443. package/src/models/components/getledgeraccountsresponse.ts +1 -1
  444. package/src/models/components/getpipelineresponse.ts +128 -0
  445. package/src/models/components/getsupplierresponse.ts +1 -1
  446. package/src/models/components/getsuppliersresponse.ts +1 -1
  447. package/src/models/components/getticketresponse.ts +1 -1
  448. package/src/models/components/getticketsresponse.ts +1 -1
  449. package/src/models/components/index.ts +26 -16
  450. package/src/models/components/{invoice.ts → invoiceinput.ts} +274 -274
  451. package/src/models/components/invoiceitem.ts +74 -0
  452. package/src/models/components/{invoicelineitem.ts → invoicelineiteminput.ts} +104 -104
  453. package/src/models/components/journalentrylineitem.ts +28 -10
  454. package/src/models/components/linkedecommercecustomer.ts +12 -12
  455. package/src/models/components/outstandingbalancebysupplier.ts +109 -0
  456. package/src/models/components/pipelineinput.ts +233 -0
  457. package/src/models/components/purchaseorder.ts +19 -1
  458. package/src/models/components/simpleformfieldoption.ts +42 -4
  459. package/src/models/components/updateconnectionresponse.ts +1 -1
  460. package/src/models/components/updatepipelineresponse.ts +131 -0
  461. package/src/models/components/updateuploadsessionresponse.ts +133 -0
  462. package/src/models/operations/accountingagedcreditorsone.ts +291 -0
  463. package/src/models/operations/accountingattachmentsupload.ts +318 -0
  464. package/src/models/operations/crmpipelinesadd.ts +264 -0
  465. package/src/models/operations/crmpipelinesdelete.ts +259 -0
  466. package/src/models/operations/crmpipelinesone.ts +262 -0
  467. package/src/models/operations/crmpipelinesupdate.ts +271 -0
  468. package/src/models/operations/filestorageuploadsessionsupload.ts +326 -0
  469. package/src/models/operations/index.ts +7 -0
  470. package/src/sdk/accounting.ts +6 -0
  471. package/src/sdk/agedcreditors.ts +27 -0
  472. package/src/sdk/attachments.ts +18 -0
  473. package/src/sdk/pipelines.ts +73 -0
  474. package/src/sdk/uploadsessions.ts +18 -0
  475. package/models/components/accountinglocation.d.ts.map +0 -1
  476. package/models/components/accountinglocation.js.map +0 -1
  477. package/models/components/applicant.d.ts.map +0 -1
  478. package/models/components/applicant.js.map +0 -1
  479. package/models/components/billpayment.d.ts.map +0 -1
  480. package/models/components/billpayment.js.map +0 -1
  481. package/models/components/connection.d.ts.map +0 -1
  482. package/models/components/connection.js.map +0 -1
  483. package/models/components/contact.d.ts.map +0 -1
  484. package/models/components/creditnote.d.ts.map +0 -1
  485. package/models/components/creditnote.js.map +0 -1
  486. package/models/components/customer.d.ts.map +0 -1
  487. package/models/components/customer.js.map +0 -1
  488. package/models/components/employee.d.ts.map +0 -1
  489. package/models/components/employee.js.map +0 -1
  490. package/models/components/employeecompensation.d.ts.map +0 -1
  491. package/models/components/employeecompensation.js.map +0 -1
  492. package/models/components/expense.d.ts.map +0 -1
  493. package/models/components/expense.js.map +0 -1
  494. package/models/components/hriscompany.d.ts.map +0 -1
  495. package/models/components/hriscompany.js.map +0 -1
  496. package/models/components/invoice.d.ts.map +0 -1
  497. package/models/components/invoicelineitem.d.ts.map +0 -1
  498. package/models/components/invoicelineitem.js.map +0 -1
  499. package/models/components/ledgeraccount.d.ts.map +0 -1
  500. package/models/components/ledgeraccount.js.map +0 -1
  501. package/models/components/supplier.d.ts.map +0 -1
  502. package/models/components/supplier.js.map +0 -1
  503. package/models/components/ticket.d.ts.map +0 -1
  504. package/models/components/ticket.js.map +0 -1
  505. package/src/models/components/{accountinglocation.ts → accountinglocationinput.ts} +106 -106
  506. package/src/models/components/{applicant.ts → applicantinput.ts} +157 -157
  507. package/src/models/components/{billpayment.ts → billpaymentinput.ts} +183 -183
  508. package/src/models/components/{connection.ts → connectioninput.ts} +347 -347
  509. package/src/models/components/{customer.ts → customerinput.ts} +121 -121
  510. package/src/models/components/{employeecompensation.ts → employeecompensationinput.ts} +58 -58
  511. package/src/models/components/{hriscompany.ts → hriscompanyinput.ts} +101 -101
  512. package/src/models/components/{ledgeraccount.ts → ledgeraccountinput.ts} +253 -253
  513. package/src/models/components/{supplier.ts → supplierinput.ts} +121 -121
  514. package/src/models/components/{ticket.ts → ticketinput.ts} +125 -125
@@ -0,0 +1 @@
1
+ {"version":3,"file":"creditnoteinput.d.ts","sourceRoot":"","sources":["../../src/models/components/creditnoteinput.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,OAAO,EAEP,gBAAgB,EAEjB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,UAAU,EAEV,mBAAmB,EAEnB,eAAe,EAEf,wBAAwB,EAEzB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,QAAQ,EAGT,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,WAAW,EAEX,oBAAoB,EAErB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,cAAc,EAEd,uBAAuB,EAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,eAAe,EAEf,wBAAwB,EAExB,oBAAoB,EAEpB,6BAA6B,EAE9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,cAAc,EAEd,uBAAuB,EAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,mBAAmB,EAEnB,4BAA4B,EAE7B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,mBAAmB,EAEnB,4BAA4B,EAE7B,MAAM,0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,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,YAAY,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC;CAC5D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yBAAyB,EAAE,CAAC,CAAC,OAAO,CAC/C,mBAAmB,EACnB,CAAC,CAAC,UAAU,EACZ,UAAU,CA+DV,CAAC;AAEH;;;GAGG;AACH,yBAAiB,WAAW,CAAC;IAC3B,0DAA0D;IACnD,MAAM,aAAa,8CAA2B,CAAC;IACtD,2DAA2D;IACpD,MAAM,cAAc,0DAA4B,CAAC;IACxD,qDAAqD;IACrD,KAAY,QAAQ,GAAG,mBAAmB,CAAC;CAC5C;AAED,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAE/D;AAED,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAMjD"}
@@ -26,11 +26,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.CreditNoteInput$ = exports.CreditNoteInput$outboundSchema = exports.CreditNoteInput$inboundSchema = exports.CreditNote$ = exports.CreditNote$outboundSchema = exports.CreditNote$inboundSchema = exports.CreditNoteType$ = exports.CreditNoteType$outboundSchema = exports.CreditNoteType$inboundSchema = exports.CreditNoteStatus$ = exports.CreditNoteStatus$outboundSchema = exports.CreditNoteStatus$inboundSchema = exports.CreditNoteType = exports.CreditNoteStatus = void 0;
30
- exports.creditNoteToJSON = creditNoteToJSON;
31
- exports.creditNoteFromJSON = creditNoteFromJSON;
29
+ exports.CreditNote$ = exports.CreditNote$outboundSchema = exports.CreditNote$inboundSchema = exports.CreditNoteInput$ = exports.CreditNoteInput$outboundSchema = exports.CreditNoteInput$inboundSchema = exports.CreditNoteType$ = exports.CreditNoteType$outboundSchema = exports.CreditNoteType$inboundSchema = exports.CreditNoteStatus$ = exports.CreditNoteStatus$outboundSchema = exports.CreditNoteStatus$inboundSchema = exports.CreditNoteType = exports.CreditNoteStatus = void 0;
32
30
  exports.creditNoteInputToJSON = creditNoteInputToJSON;
33
31
  exports.creditNoteInputFromJSON = creditNoteInputFromJSON;
32
+ exports.creditNoteToJSON = creditNoteToJSON;
33
+ exports.creditNoteFromJSON = creditNoteFromJSON;
34
34
  const z = __importStar(require("zod"));
35
35
  const primitives_js_1 = require("../../lib/primitives.js");
36
36
  const schemas_js_1 = require("../../lib/schemas.js");
@@ -39,7 +39,7 @@ const allocation_js_1 = require("./allocation.js");
39
39
  const currency_js_1 = require("./currency.js");
40
40
  const customfield_js_1 = require("./customfield.js");
41
41
  const custommappings_js_1 = require("./custommappings.js");
42
- const invoicelineitem_js_1 = require("./invoicelineitem.js");
42
+ const invoicelineiteminput_js_1 = require("./invoicelineiteminput.js");
43
43
  const linkedcustomer_js_1 = require("./linkedcustomer.js");
44
44
  const linkedcustomerinput_js_1 = require("./linkedcustomerinput.js");
45
45
  const linkedledgeraccount_js_1 = require("./linkedledgeraccount.js");
@@ -94,10 +94,9 @@ var CreditNoteType$;
94
94
  CreditNoteType$.outboundSchema = exports.CreditNoteType$outboundSchema;
95
95
  })(CreditNoteType$ || (exports.CreditNoteType$ = CreditNoteType$ = {}));
96
96
  /** @internal */
97
- exports.CreditNote$inboundSchema = z.object({
98
- id: z.string(),
97
+ exports.CreditNoteInput$inboundSchema = z.object({
99
98
  number: z.nullable(z.string()).optional(),
100
- customer: z.nullable(linkedcustomer_js_1.LinkedCustomer$inboundSchema).optional(),
99
+ customer: z.nullable(linkedcustomerinput_js_1.LinkedCustomerInput$inboundSchema).optional(),
101
100
  company_id: z.nullable(z.string()).optional(),
102
101
  currency: z.nullable(currency_js_1.Currency$inboundSchema).optional(),
103
102
  currency_rate: z.nullable(z.number()).optional(),
@@ -114,21 +113,16 @@ exports.CreditNote$inboundSchema = z.object({
114
113
  .optional(),
115
114
  date_paid: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
116
115
  type: exports.CreditNoteType$inboundSchema.optional(),
117
- account: z.nullable(linkedledgeraccount_js_1.LinkedLedgerAccount$inboundSchema).optional(),
118
- line_items: z.array(invoicelineitem_js_1.InvoiceLineItem$inboundSchema).optional(),
119
- allocations: z.array(allocation_js_1.Allocation$inboundSchema).optional(),
116
+ account: z.nullable(linkedledgeraccountinput_js_1.LinkedLedgerAccountInput$inboundSchema).optional(),
117
+ line_items: z.array(invoicelineiteminput_js_1.InvoiceLineItemInput$inboundSchema).optional(),
118
+ allocations: z.array(allocation_js_1.AllocationInput$inboundSchema).optional(),
120
119
  note: z.nullable(z.string()).optional(),
121
120
  terms: z.nullable(z.string()).optional(),
122
121
  billing_address: address_js_1.Address$inboundSchema.optional(),
123
122
  shipping_address: address_js_1.Address$inboundSchema.optional(),
124
123
  tracking_categories: z.nullable(z.array(z.nullable(linkedtrackingcategory_js_1.LinkedTrackingCategory$inboundSchema))).optional(),
125
- custom_mappings: z.nullable(custommappings_js_1.CustomMappings$inboundSchema).optional(),
126
124
  custom_fields: z.array(customfield_js_1.CustomField$inboundSchema).optional(),
127
125
  row_version: z.nullable(z.string()).optional(),
128
- updated_by: z.nullable(z.string()).optional(),
129
- created_by: z.nullable(z.string()).optional(),
130
- updated_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
131
- created_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
132
126
  pass_through: z.array(passthroughbody_js_1.PassThroughBody$inboundSchema).optional(),
133
127
  }).transform((v) => {
134
128
  return (0, primitives_js_1.remap)(v, {
@@ -146,21 +140,15 @@ exports.CreditNote$inboundSchema = z.object({
146
140
  "billing_address": "billingAddress",
147
141
  "shipping_address": "shippingAddress",
148
142
  "tracking_categories": "trackingCategories",
149
- "custom_mappings": "customMappings",
150
143
  "custom_fields": "customFields",
151
144
  "row_version": "rowVersion",
152
- "updated_by": "updatedBy",
153
- "created_by": "createdBy",
154
- "updated_at": "updatedAt",
155
- "created_at": "createdAt",
156
145
  "pass_through": "passThrough",
157
146
  });
158
147
  });
159
148
  /** @internal */
160
- exports.CreditNote$outboundSchema = z.object({
161
- id: z.string(),
149
+ exports.CreditNoteInput$outboundSchema = z.object({
162
150
  number: z.nullable(z.string()).optional(),
163
- customer: z.nullable(linkedcustomer_js_1.LinkedCustomer$outboundSchema).optional(),
151
+ customer: z.nullable(linkedcustomerinput_js_1.LinkedCustomerInput$outboundSchema).optional(),
164
152
  companyId: z.nullable(z.string()).optional(),
165
153
  currency: z.nullable(currency_js_1.Currency$outboundSchema).optional(),
166
154
  currencyRate: z.nullable(z.number()).optional(),
@@ -176,21 +164,16 @@ exports.CreditNote$outboundSchema = z.object({
176
164
  dateIssued: z.date().transform(v => v.toISOString()).optional(),
177
165
  datePaid: z.nullable(z.date().transform(v => v.toISOString())).optional(),
178
166
  type: exports.CreditNoteType$outboundSchema.optional(),
179
- account: z.nullable(linkedledgeraccount_js_1.LinkedLedgerAccount$outboundSchema).optional(),
180
- lineItems: z.array(invoicelineitem_js_1.InvoiceLineItem$outboundSchema).optional(),
181
- allocations: z.array(allocation_js_1.Allocation$outboundSchema).optional(),
167
+ account: z.nullable(linkedledgeraccountinput_js_1.LinkedLedgerAccountInput$outboundSchema).optional(),
168
+ lineItems: z.array(invoicelineiteminput_js_1.InvoiceLineItemInput$outboundSchema).optional(),
169
+ allocations: z.array(allocation_js_1.AllocationInput$outboundSchema).optional(),
182
170
  note: z.nullable(z.string()).optional(),
183
171
  terms: z.nullable(z.string()).optional(),
184
172
  billingAddress: address_js_1.Address$outboundSchema.optional(),
185
173
  shippingAddress: address_js_1.Address$outboundSchema.optional(),
186
174
  trackingCategories: z.nullable(z.array(z.nullable(linkedtrackingcategory_js_1.LinkedTrackingCategory$outboundSchema))).optional(),
187
- customMappings: z.nullable(custommappings_js_1.CustomMappings$outboundSchema).optional(),
188
175
  customFields: z.array(customfield_js_1.CustomField$outboundSchema).optional(),
189
176
  rowVersion: z.nullable(z.string()).optional(),
190
- updatedBy: z.nullable(z.string()).optional(),
191
- createdBy: z.nullable(z.string()).optional(),
192
- updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
193
- createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
194
177
  passThrough: z.array(passthroughbody_js_1.PassThroughBody$outboundSchema).optional(),
195
178
  }).transform((v) => {
196
179
  return (0, primitives_js_1.remap)(v, {
@@ -208,13 +191,8 @@ exports.CreditNote$outboundSchema = z.object({
208
191
  billingAddress: "billing_address",
209
192
  shippingAddress: "shipping_address",
210
193
  trackingCategories: "tracking_categories",
211
- customMappings: "custom_mappings",
212
194
  customFields: "custom_fields",
213
195
  rowVersion: "row_version",
214
- updatedBy: "updated_by",
215
- createdBy: "created_by",
216
- updatedAt: "updated_at",
217
- createdAt: "created_at",
218
196
  passThrough: "pass_through",
219
197
  });
220
198
  });
@@ -222,23 +200,24 @@ exports.CreditNote$outboundSchema = z.object({
222
200
  * @internal
223
201
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
224
202
  */
225
- var CreditNote$;
226
- (function (CreditNote$) {
227
- /** @deprecated use `CreditNote$inboundSchema` instead. */
228
- CreditNote$.inboundSchema = exports.CreditNote$inboundSchema;
229
- /** @deprecated use `CreditNote$outboundSchema` instead. */
230
- CreditNote$.outboundSchema = exports.CreditNote$outboundSchema;
231
- })(CreditNote$ || (exports.CreditNote$ = CreditNote$ = {}));
232
- function creditNoteToJSON(creditNote) {
233
- return JSON.stringify(exports.CreditNote$outboundSchema.parse(creditNote));
203
+ var CreditNoteInput$;
204
+ (function (CreditNoteInput$) {
205
+ /** @deprecated use `CreditNoteInput$inboundSchema` instead. */
206
+ CreditNoteInput$.inboundSchema = exports.CreditNoteInput$inboundSchema;
207
+ /** @deprecated use `CreditNoteInput$outboundSchema` instead. */
208
+ CreditNoteInput$.outboundSchema = exports.CreditNoteInput$outboundSchema;
209
+ })(CreditNoteInput$ || (exports.CreditNoteInput$ = CreditNoteInput$ = {}));
210
+ function creditNoteInputToJSON(creditNoteInput) {
211
+ return JSON.stringify(exports.CreditNoteInput$outboundSchema.parse(creditNoteInput));
234
212
  }
235
- function creditNoteFromJSON(jsonString) {
236
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreditNote$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreditNote' from JSON`);
213
+ function creditNoteInputFromJSON(jsonString) {
214
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreditNoteInput$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreditNoteInput' from JSON`);
237
215
  }
238
216
  /** @internal */
239
- exports.CreditNoteInput$inboundSchema = z.object({
217
+ exports.CreditNote$inboundSchema = z.object({
218
+ id: z.string(),
240
219
  number: z.nullable(z.string()).optional(),
241
- customer: z.nullable(linkedcustomerinput_js_1.LinkedCustomerInput$inboundSchema).optional(),
220
+ customer: z.nullable(linkedcustomer_js_1.LinkedCustomer$inboundSchema).optional(),
242
221
  company_id: z.nullable(z.string()).optional(),
243
222
  currency: z.nullable(currency_js_1.Currency$inboundSchema).optional(),
244
223
  currency_rate: z.nullable(z.number()).optional(),
@@ -255,16 +234,21 @@ exports.CreditNoteInput$inboundSchema = z.object({
255
234
  .optional(),
256
235
  date_paid: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
257
236
  type: exports.CreditNoteType$inboundSchema.optional(),
258
- account: z.nullable(linkedledgeraccountinput_js_1.LinkedLedgerAccountInput$inboundSchema).optional(),
259
- line_items: z.array(invoicelineitem_js_1.InvoiceLineItemInput$inboundSchema).optional(),
260
- allocations: z.array(allocation_js_1.AllocationInput$inboundSchema).optional(),
237
+ account: z.nullable(linkedledgeraccount_js_1.LinkedLedgerAccount$inboundSchema).optional(),
238
+ line_items: z.array(invoicelineiteminput_js_1.InvoiceLineItem$inboundSchema).optional(),
239
+ allocations: z.array(allocation_js_1.Allocation$inboundSchema).optional(),
261
240
  note: z.nullable(z.string()).optional(),
262
241
  terms: z.nullable(z.string()).optional(),
263
242
  billing_address: address_js_1.Address$inboundSchema.optional(),
264
243
  shipping_address: address_js_1.Address$inboundSchema.optional(),
265
244
  tracking_categories: z.nullable(z.array(z.nullable(linkedtrackingcategory_js_1.LinkedTrackingCategory$inboundSchema))).optional(),
245
+ custom_mappings: z.nullable(custommappings_js_1.CustomMappings$inboundSchema).optional(),
266
246
  custom_fields: z.array(customfield_js_1.CustomField$inboundSchema).optional(),
267
247
  row_version: z.nullable(z.string()).optional(),
248
+ updated_by: z.nullable(z.string()).optional(),
249
+ created_by: z.nullable(z.string()).optional(),
250
+ updated_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
251
+ created_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
268
252
  pass_through: z.array(passthroughbody_js_1.PassThroughBody$inboundSchema).optional(),
269
253
  }).transform((v) => {
270
254
  return (0, primitives_js_1.remap)(v, {
@@ -282,15 +266,21 @@ exports.CreditNoteInput$inboundSchema = z.object({
282
266
  "billing_address": "billingAddress",
283
267
  "shipping_address": "shippingAddress",
284
268
  "tracking_categories": "trackingCategories",
269
+ "custom_mappings": "customMappings",
285
270
  "custom_fields": "customFields",
286
271
  "row_version": "rowVersion",
272
+ "updated_by": "updatedBy",
273
+ "created_by": "createdBy",
274
+ "updated_at": "updatedAt",
275
+ "created_at": "createdAt",
287
276
  "pass_through": "passThrough",
288
277
  });
289
278
  });
290
279
  /** @internal */
291
- exports.CreditNoteInput$outboundSchema = z.object({
280
+ exports.CreditNote$outboundSchema = z.object({
281
+ id: z.string(),
292
282
  number: z.nullable(z.string()).optional(),
293
- customer: z.nullable(linkedcustomerinput_js_1.LinkedCustomerInput$outboundSchema).optional(),
283
+ customer: z.nullable(linkedcustomer_js_1.LinkedCustomer$outboundSchema).optional(),
294
284
  companyId: z.nullable(z.string()).optional(),
295
285
  currency: z.nullable(currency_js_1.Currency$outboundSchema).optional(),
296
286
  currencyRate: z.nullable(z.number()).optional(),
@@ -306,16 +296,21 @@ exports.CreditNoteInput$outboundSchema = z.object({
306
296
  dateIssued: z.date().transform(v => v.toISOString()).optional(),
307
297
  datePaid: z.nullable(z.date().transform(v => v.toISOString())).optional(),
308
298
  type: exports.CreditNoteType$outboundSchema.optional(),
309
- account: z.nullable(linkedledgeraccountinput_js_1.LinkedLedgerAccountInput$outboundSchema).optional(),
310
- lineItems: z.array(invoicelineitem_js_1.InvoiceLineItemInput$outboundSchema).optional(),
311
- allocations: z.array(allocation_js_1.AllocationInput$outboundSchema).optional(),
299
+ account: z.nullable(linkedledgeraccount_js_1.LinkedLedgerAccount$outboundSchema).optional(),
300
+ lineItems: z.array(invoicelineiteminput_js_1.InvoiceLineItem$outboundSchema).optional(),
301
+ allocations: z.array(allocation_js_1.Allocation$outboundSchema).optional(),
312
302
  note: z.nullable(z.string()).optional(),
313
303
  terms: z.nullable(z.string()).optional(),
314
304
  billingAddress: address_js_1.Address$outboundSchema.optional(),
315
305
  shippingAddress: address_js_1.Address$outboundSchema.optional(),
316
306
  trackingCategories: z.nullable(z.array(z.nullable(linkedtrackingcategory_js_1.LinkedTrackingCategory$outboundSchema))).optional(),
307
+ customMappings: z.nullable(custommappings_js_1.CustomMappings$outboundSchema).optional(),
317
308
  customFields: z.array(customfield_js_1.CustomField$outboundSchema).optional(),
318
309
  rowVersion: z.nullable(z.string()).optional(),
310
+ updatedBy: z.nullable(z.string()).optional(),
311
+ createdBy: z.nullable(z.string()).optional(),
312
+ updatedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
313
+ createdAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
319
314
  passThrough: z.array(passthroughbody_js_1.PassThroughBody$outboundSchema).optional(),
320
315
  }).transform((v) => {
321
316
  return (0, primitives_js_1.remap)(v, {
@@ -333,8 +328,13 @@ exports.CreditNoteInput$outboundSchema = z.object({
333
328
  billingAddress: "billing_address",
334
329
  shippingAddress: "shipping_address",
335
330
  trackingCategories: "tracking_categories",
331
+ customMappings: "custom_mappings",
336
332
  customFields: "custom_fields",
337
333
  rowVersion: "row_version",
334
+ updatedBy: "updated_by",
335
+ createdBy: "created_by",
336
+ updatedAt: "updated_at",
337
+ createdAt: "created_at",
338
338
  passThrough: "pass_through",
339
339
  });
340
340
  });
@@ -342,17 +342,17 @@ exports.CreditNoteInput$outboundSchema = z.object({
342
342
  * @internal
343
343
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
344
344
  */
345
- var CreditNoteInput$;
346
- (function (CreditNoteInput$) {
347
- /** @deprecated use `CreditNoteInput$inboundSchema` instead. */
348
- CreditNoteInput$.inboundSchema = exports.CreditNoteInput$inboundSchema;
349
- /** @deprecated use `CreditNoteInput$outboundSchema` instead. */
350
- CreditNoteInput$.outboundSchema = exports.CreditNoteInput$outboundSchema;
351
- })(CreditNoteInput$ || (exports.CreditNoteInput$ = CreditNoteInput$ = {}));
352
- function creditNoteInputToJSON(creditNoteInput) {
353
- return JSON.stringify(exports.CreditNoteInput$outboundSchema.parse(creditNoteInput));
345
+ var CreditNote$;
346
+ (function (CreditNote$) {
347
+ /** @deprecated use `CreditNote$inboundSchema` instead. */
348
+ CreditNote$.inboundSchema = exports.CreditNote$inboundSchema;
349
+ /** @deprecated use `CreditNote$outboundSchema` instead. */
350
+ CreditNote$.outboundSchema = exports.CreditNote$outboundSchema;
351
+ })(CreditNote$ || (exports.CreditNote$ = CreditNote$ = {}));
352
+ function creditNoteToJSON(creditNote) {
353
+ return JSON.stringify(exports.CreditNote$outboundSchema.parse(creditNote));
354
354
  }
355
- function creditNoteInputFromJSON(jsonString) {
356
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreditNoteInput$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreditNoteInput' from JSON`);
355
+ function creditNoteFromJSON(jsonString) {
356
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreditNote$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreditNote' from JSON`);
357
357
  }
358
- //# sourceMappingURL=creditnote.js.map
358
+ //# sourceMappingURL=creditnoteinput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"creditnoteinput.js","sourceRoot":"","sources":["../../src/models/components/creditnoteinput.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA8hBH,sDAIC;AAED,0DAQC;AAyMD,4CAEC;AAED,gDAQC;AA/vBD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAIjD,6CAKsB;AACtB,mDASyB;AACzB,+CAIuB;AACvB,qDAK0B;AAC1B,2DAK6B;AAC7B,uEASmC;AACnC,2DAK6B;AAC7B,qEAKkC;AAClC,qEAKkC;AAClC,+EAKuC;AACvC,2EAKqC;AACrC,6DAK8B;AAE9B;;GAEG;AACU,QAAA,gBAAgB,GAAG;IAC9B,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,YAAY;IACxB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;CACV,CAAC;AAMX;;GAEG;AACU,QAAA,cAAc,GAAG;IAC5B,wBAAwB,EAAE,4BAA4B;IACtD,qBAAqB,EAAE,yBAAyB;CACxC,CAAC;AAgOX,gBAAgB;AACH,QAAA,8BAA8B,GAEvC,CAAC,CAAC,UAAU,CAAC,wBAAgB,CAAC,CAAC;AAEnC,gBAAgB;AACH,QAAA,+BAA+B,GAExC,sCAA8B,CAAC;AAEnC;;;GAGG;AACH,IAAiB,iBAAiB,CAKjC;AALD,WAAiB,iBAAiB;IAChC,gEAAgE;IACnD,+BAAa,GAAG,sCAA8B,CAAC;IAC5D,iEAAiE;IACpD,gCAAc,GAAG,uCAA+B,CAAC;AA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,iBAAiB;QACjC,eAAe,EAAE,kBAAkB;QACnC,kBAAkB,EAAE,qBAAqB;QACzC,cAAc,EAAE,iBAAiB;QACjC,YAAY,EAAE,eAAe;QAC7B,UAAU,EAAE,aAAa;QACzB,SAAS,EAAE,YAAY;QACvB,SAAS,EAAE,YAAY;QACvB,SAAS,EAAE,YAAY;QACvB,SAAS,EAAE,YAAY;QACvB,WAAW,EAAE,cAAc;KAC5B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,WAAW,CAO3B;AAPD,WAAiB,WAAW;IAC1B,0DAA0D;IAC7C,yBAAa,GAAG,gCAAwB,CAAC;IACtD,2DAA2D;IAC9C,0BAAc,GAAG,iCAAyB,CAAC;AAG1D,CAAC,EAPgB,WAAW,2BAAX,WAAW,QAO3B;AAED,SAAgB,gBAAgB,CAAC,UAAsB;IACrD,OAAO,IAAI,CAAC,SAAS,CAAC,iCAAyB,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC;AACrE,CAAC;AAED,SAAgB,kBAAkB,CAChC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gCAAwB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpD,wCAAwC,CACzC,CAAC;AACJ,CAAC"}
@@ -30,15 +30,7 @@ export declare const CustomerStatusStatus: {
30
30
  * Customer status
31
31
  */
32
32
  export type CustomerStatusStatus = ClosedEnum<typeof CustomerStatusStatus>;
33
- export type Customer = {
34
- /**
35
- * A unique identifier for an object.
36
- */
37
- id: string;
38
- /**
39
- * The third-party API ID of original entity
40
- */
41
- downstreamId?: string | null | undefined;
33
+ export type CustomerInput = {
42
34
  /**
43
35
  * Display ID
44
36
  */
@@ -89,13 +81,13 @@ export type Customer = {
89
81
  * Some notes about this customer
90
82
  */
91
83
  notes?: string | null | undefined;
92
- taxRate?: LinkedTaxRate | undefined;
84
+ taxRate?: LinkedTaxRateInput | undefined;
93
85
  taxNumber?: string | null | undefined;
94
86
  /**
95
87
  * Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217).
96
88
  */
97
89
  currency?: Currency | null | undefined;
98
- account?: LinkedLedgerAccount | null | undefined;
90
+ account?: LinkedLedgerAccountInput | null | undefined;
99
91
  /**
100
92
  * The parent customer this entity is linked to.
101
93
  */
@@ -113,26 +105,6 @@ export type Customer = {
113
105
  */
114
106
  channel?: string | null | undefined;
115
107
  customFields?: Array<CustomField> | undefined;
116
- /**
117
- * When custom mappings are configured on the resource, the result is included here.
118
- */
119
- customMappings?: CustomMappings | null | undefined;
120
- /**
121
- * The user who last updated the object.
122
- */
123
- updatedBy?: string | null | undefined;
124
- /**
125
- * The user who created the object.
126
- */
127
- createdBy?: string | null | undefined;
128
- /**
129
- * The date and time when the object was last updated.
130
- */
131
- updatedAt?: Date | null | undefined;
132
- /**
133
- * The date and time when the object was created.
134
- */
135
- createdAt?: Date | null | undefined;
136
108
  /**
137
109
  * A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.
138
110
  */
@@ -142,7 +114,15 @@ export type Customer = {
142
114
  */
143
115
  passThrough?: Array<PassThroughBody> | undefined;
144
116
  };
145
- export type CustomerInput = {
117
+ export type Customer = {
118
+ /**
119
+ * A unique identifier for an object.
120
+ */
121
+ id: string;
122
+ /**
123
+ * The third-party API ID of original entity
124
+ */
125
+ downstreamId?: string | null | undefined;
146
126
  /**
147
127
  * Display ID
148
128
  */
@@ -193,13 +173,13 @@ export type CustomerInput = {
193
173
  * Some notes about this customer
194
174
  */
195
175
  notes?: string | null | undefined;
196
- taxRate?: LinkedTaxRateInput | undefined;
176
+ taxRate?: LinkedTaxRate | undefined;
197
177
  taxNumber?: string | null | undefined;
198
178
  /**
199
179
  * Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217).
200
180
  */
201
181
  currency?: Currency | null | undefined;
202
- account?: LinkedLedgerAccountInput | null | undefined;
182
+ account?: LinkedLedgerAccount | null | undefined;
203
183
  /**
204
184
  * The parent customer this entity is linked to.
205
185
  */
@@ -217,6 +197,26 @@ export type CustomerInput = {
217
197
  */
218
198
  channel?: string | null | undefined;
219
199
  customFields?: Array<CustomField> | undefined;
200
+ /**
201
+ * When custom mappings are configured on the resource, the result is included here.
202
+ */
203
+ customMappings?: CustomMappings | null | undefined;
204
+ /**
205
+ * The user who last updated the object.
206
+ */
207
+ updatedBy?: string | null | undefined;
208
+ /**
209
+ * The user who created the object.
210
+ */
211
+ createdBy?: string | null | undefined;
212
+ /**
213
+ * The date and time when the object was last updated.
214
+ */
215
+ updatedAt?: Date | null | undefined;
216
+ /**
217
+ * The date and time when the object was created.
218
+ */
219
+ createdAt?: Date | null | undefined;
220
220
  /**
221
221
  * A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.
222
222
  */
@@ -253,11 +253,9 @@ export declare namespace CustomerStatusStatus$ {
253
253
  }>;
254
254
  }
255
255
  /** @internal */
256
- export declare const Customer$inboundSchema: z.ZodType<Customer, z.ZodTypeDef, unknown>;
256
+ export declare const CustomerInput$inboundSchema: z.ZodType<CustomerInput, z.ZodTypeDef, unknown>;
257
257
  /** @internal */
258
- export type Customer$Outbound = {
259
- id: string;
260
- downstream_id?: string | null | undefined;
258
+ export type CustomerInput$Outbound = {
261
259
  display_id?: string | null | undefined;
262
260
  display_name?: string | null | undefined;
263
261
  company_name?: string | null | undefined;
@@ -275,43 +273,40 @@ export type Customer$Outbound = {
275
273
  websites?: Array<Website$Outbound> | undefined;
276
274
  bank_accounts?: Array<BankAccount$Outbound> | undefined;
277
275
  notes?: string | null | undefined;
278
- tax_rate?: LinkedTaxRate$Outbound | undefined;
276
+ tax_rate?: LinkedTaxRateInput$Outbound | undefined;
279
277
  tax_number?: string | null | undefined;
280
278
  currency?: string | null | undefined;
281
- account?: LinkedLedgerAccount$Outbound | null | undefined;
279
+ account?: LinkedLedgerAccountInput$Outbound | null | undefined;
282
280
  parent?: LinkedParentCustomer$Outbound | null | undefined;
283
281
  status?: string | null | undefined;
284
282
  payment_method?: string | null | undefined;
285
283
  channel?: string | null | undefined;
286
284
  custom_fields?: Array<CustomField$Outbound> | undefined;
287
- custom_mappings?: CustomMappings$Outbound | null | undefined;
288
- updated_by?: string | null | undefined;
289
- created_by?: string | null | undefined;
290
- updated_at?: string | null | undefined;
291
- created_at?: string | null | undefined;
292
285
  row_version?: string | null | undefined;
293
286
  pass_through?: Array<PassThroughBody$Outbound> | undefined;
294
287
  };
295
288
  /** @internal */
296
- export declare const Customer$outboundSchema: z.ZodType<Customer$Outbound, z.ZodTypeDef, Customer>;
289
+ export declare const CustomerInput$outboundSchema: z.ZodType<CustomerInput$Outbound, z.ZodTypeDef, CustomerInput>;
297
290
  /**
298
291
  * @internal
299
292
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
300
293
  */
301
- export declare namespace Customer$ {
302
- /** @deprecated use `Customer$inboundSchema` instead. */
303
- const inboundSchema: z.ZodType<Customer, z.ZodTypeDef, unknown>;
304
- /** @deprecated use `Customer$outboundSchema` instead. */
305
- const outboundSchema: z.ZodType<Customer$Outbound, z.ZodTypeDef, Customer>;
306
- /** @deprecated use `Customer$Outbound` instead. */
307
- type Outbound = Customer$Outbound;
294
+ export declare namespace CustomerInput$ {
295
+ /** @deprecated use `CustomerInput$inboundSchema` instead. */
296
+ const inboundSchema: z.ZodType<CustomerInput, z.ZodTypeDef, unknown>;
297
+ /** @deprecated use `CustomerInput$outboundSchema` instead. */
298
+ const outboundSchema: z.ZodType<CustomerInput$Outbound, z.ZodTypeDef, CustomerInput>;
299
+ /** @deprecated use `CustomerInput$Outbound` instead. */
300
+ type Outbound = CustomerInput$Outbound;
308
301
  }
309
- export declare function customerToJSON(customer: Customer): string;
310
- export declare function customerFromJSON(jsonString: string): SafeParseResult<Customer, SDKValidationError>;
302
+ export declare function customerInputToJSON(customerInput: CustomerInput): string;
303
+ export declare function customerInputFromJSON(jsonString: string): SafeParseResult<CustomerInput, SDKValidationError>;
311
304
  /** @internal */
312
- export declare const CustomerInput$inboundSchema: z.ZodType<CustomerInput, z.ZodTypeDef, unknown>;
305
+ export declare const Customer$inboundSchema: z.ZodType<Customer, z.ZodTypeDef, unknown>;
313
306
  /** @internal */
314
- export type CustomerInput$Outbound = {
307
+ export type Customer$Outbound = {
308
+ id: string;
309
+ downstream_id?: string | null | undefined;
315
310
  display_id?: string | null | undefined;
316
311
  display_name?: string | null | undefined;
317
312
  company_name?: string | null | undefined;
@@ -329,32 +324,37 @@ export type CustomerInput$Outbound = {
329
324
  websites?: Array<Website$Outbound> | undefined;
330
325
  bank_accounts?: Array<BankAccount$Outbound> | undefined;
331
326
  notes?: string | null | undefined;
332
- tax_rate?: LinkedTaxRateInput$Outbound | undefined;
327
+ tax_rate?: LinkedTaxRate$Outbound | undefined;
333
328
  tax_number?: string | null | undefined;
334
329
  currency?: string | null | undefined;
335
- account?: LinkedLedgerAccountInput$Outbound | null | undefined;
330
+ account?: LinkedLedgerAccount$Outbound | null | undefined;
336
331
  parent?: LinkedParentCustomer$Outbound | null | undefined;
337
332
  status?: string | null | undefined;
338
333
  payment_method?: string | null | undefined;
339
334
  channel?: string | null | undefined;
340
335
  custom_fields?: Array<CustomField$Outbound> | undefined;
336
+ custom_mappings?: CustomMappings$Outbound | null | undefined;
337
+ updated_by?: string | null | undefined;
338
+ created_by?: string | null | undefined;
339
+ updated_at?: string | null | undefined;
340
+ created_at?: string | null | undefined;
341
341
  row_version?: string | null | undefined;
342
342
  pass_through?: Array<PassThroughBody$Outbound> | undefined;
343
343
  };
344
344
  /** @internal */
345
- export declare const CustomerInput$outboundSchema: z.ZodType<CustomerInput$Outbound, z.ZodTypeDef, CustomerInput>;
345
+ export declare const Customer$outboundSchema: z.ZodType<Customer$Outbound, z.ZodTypeDef, Customer>;
346
346
  /**
347
347
  * @internal
348
348
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
349
349
  */
350
- export declare namespace CustomerInput$ {
351
- /** @deprecated use `CustomerInput$inboundSchema` instead. */
352
- const inboundSchema: z.ZodType<CustomerInput, z.ZodTypeDef, unknown>;
353
- /** @deprecated use `CustomerInput$outboundSchema` instead. */
354
- const outboundSchema: z.ZodType<CustomerInput$Outbound, z.ZodTypeDef, CustomerInput>;
355
- /** @deprecated use `CustomerInput$Outbound` instead. */
356
- type Outbound = CustomerInput$Outbound;
350
+ export declare namespace Customer$ {
351
+ /** @deprecated use `Customer$inboundSchema` instead. */
352
+ const inboundSchema: z.ZodType<Customer, z.ZodTypeDef, unknown>;
353
+ /** @deprecated use `Customer$outboundSchema` instead. */
354
+ const outboundSchema: z.ZodType<Customer$Outbound, z.ZodTypeDef, Customer>;
355
+ /** @deprecated use `Customer$Outbound` instead. */
356
+ type Outbound = Customer$Outbound;
357
357
  }
358
- export declare function customerInputToJSON(customerInput: CustomerInput): string;
359
- export declare function customerInputFromJSON(jsonString: string): SafeParseResult<CustomerInput, SDKValidationError>;
360
- //# sourceMappingURL=customer.d.ts.map
358
+ export declare function customerToJSON(customer: Customer): string;
359
+ export declare function customerFromJSON(jsonString: string): SafeParseResult<Customer, SDKValidationError>;
360
+ //# sourceMappingURL=customerinput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customerinput.d.ts","sourceRoot":"","sources":["../../src/models/components/customerinput.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,OAAO,EAEP,gBAAgB,EAEjB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,WAAW,EAEX,oBAAoB,EAErB,MAAM,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