@moovio/sdk 0.21.16 → 0.22.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 (267) hide show
  1. package/README.md +44 -46
  2. package/bin/mcp-server.js +316 -313
  3. package/bin/mcp-server.js.map +64 -58
  4. package/examples/package-lock.json +1 -1
  5. package/funcs/imagesUpdate.d.ts +1 -2
  6. package/funcs/imagesUpdate.d.ts.map +1 -1
  7. package/funcs/imagesUpdate.js +12 -13
  8. package/funcs/imagesUpdate.js.map +1 -1
  9. package/jsr.json +1 -1
  10. package/lib/config.d.ts +3 -3
  11. package/lib/config.js +3 -3
  12. package/lib/config.js.map +1 -1
  13. package/lib/encodings.d.ts +1 -0
  14. package/lib/encodings.d.ts.map +1 -1
  15. package/lib/encodings.js +12 -1
  16. package/lib/encodings.js.map +1 -1
  17. package/mcp-server/mcp-server.js +1 -1
  18. package/mcp-server/mcp-server.js.map +1 -1
  19. package/mcp-server/server.js +1 -1
  20. package/mcp-server/server.js.map +1 -1
  21. package/mcp-server/tools/accountsUpdate.js +1 -1
  22. package/mcp-server/tools/applePayUpdateMerchantDomains.js +3 -3
  23. package/mcp-server/tools/brandingUpdate.js +1 -1
  24. package/mcp-server/tools/cardIssuingUpdate.js +1 -1
  25. package/mcp-server/tools/cardsUpdate.js +6 -6
  26. package/mcp-server/tools/imagesUpdate.d.ts.map +1 -1
  27. package/mcp-server/tools/imagesUpdate.js +1 -2
  28. package/mcp-server/tools/imagesUpdate.js.map +1 -1
  29. package/mcp-server/tools/paymentLinksUpdate.js +1 -1
  30. package/mcp-server/tools/representativesUpdate.js +2 -2
  31. package/mcp-server/tools/supportUpdateTicket.js +1 -1
  32. package/mcp-server/tools/sweepsUpdateConfig.js +1 -1
  33. package/mcp-server/tools/transfersUpdate.js +3 -3
  34. package/mcp-server/tools/walletsUpdate.js +1 -1
  35. package/models/components/achcreditsamedaypaymentmethod.d.ts +2 -11
  36. package/models/components/achcreditsamedaypaymentmethod.d.ts.map +1 -1
  37. package/models/components/achcreditsamedaypaymentmethod.js +3 -11
  38. package/models/components/achcreditsamedaypaymentmethod.js.map +1 -1
  39. package/models/components/achcreditstandardpaymentmethod.d.ts +2 -11
  40. package/models/components/achcreditstandardpaymentmethod.d.ts.map +1 -1
  41. package/models/components/achcreditstandardpaymentmethod.js +3 -11
  42. package/models/components/achcreditstandardpaymentmethod.js.map +1 -1
  43. package/models/components/achdebitcollectpaymentmethod.d.ts +2 -11
  44. package/models/components/achdebitcollectpaymentmethod.d.ts.map +1 -1
  45. package/models/components/achdebitcollectpaymentmethod.js +3 -11
  46. package/models/components/achdebitcollectpaymentmethod.js.map +1 -1
  47. package/models/components/achdebitfundpaymentmethod.d.ts +2 -11
  48. package/models/components/achdebitfundpaymentmethod.d.ts.map +1 -1
  49. package/models/components/achdebitfundpaymentmethod.js +3 -11
  50. package/models/components/achdebitfundpaymentmethod.js.map +1 -1
  51. package/models/components/applepaypaymentmethod.d.ts +2 -11
  52. package/models/components/applepaypaymentmethod.d.ts.map +1 -1
  53. package/models/components/applepaypaymentmethod.js +3 -10
  54. package/models/components/applepaypaymentmethod.js.map +1 -1
  55. package/models/components/cardpaymentpaymentmethod.d.ts +2 -11
  56. package/models/components/cardpaymentpaymentmethod.d.ts.map +1 -1
  57. package/models/components/cardpaymentpaymentmethod.js +3 -11
  58. package/models/components/cardpaymentpaymentmethod.js.map +1 -1
  59. package/models/components/cardpresentpaymentpaymentmethod.d.ts +2 -11
  60. package/models/components/cardpresentpaymentpaymentmethod.d.ts.map +1 -1
  61. package/models/components/cardpresentpaymentpaymentmethod.js +3 -11
  62. package/models/components/cardpresentpaymentpaymentmethod.js.map +1 -1
  63. package/models/components/createevidencefilemultipart.d.ts +1 -1
  64. package/models/components/createinvoice.d.ts +3 -3
  65. package/models/components/createinvoice.d.ts.map +1 -1
  66. package/models/components/createinvoice.js +3 -3
  67. package/models/components/createinvoice.js.map +1 -1
  68. package/models/components/createinvoicelineitem.d.ts +50 -0
  69. package/models/components/createinvoicelineitem.d.ts.map +1 -0
  70. package/models/components/createinvoicelineitem.js +70 -0
  71. package/models/components/createinvoicelineitem.js.map +1 -0
  72. package/models/components/createinvoicelineitemoption.d.ts +44 -0
  73. package/models/components/createinvoicelineitemoption.d.ts.map +1 -0
  74. package/models/components/createinvoicelineitemoption.js +67 -0
  75. package/models/components/createinvoicelineitemoption.js.map +1 -0
  76. package/models/components/createinvoicelineitemoptionvalidationerror.d.ts +24 -0
  77. package/models/components/createinvoicelineitemoptionvalidationerror.d.ts.map +1 -0
  78. package/models/components/createinvoicelineitemoptionvalidationerror.js +65 -0
  79. package/models/components/createinvoicelineitemoptionvalidationerror.js.map +1 -0
  80. package/models/components/createinvoicelineitems.d.ts +24 -0
  81. package/models/components/createinvoicelineitems.d.ts.map +1 -0
  82. package/models/components/{invoicelineitemsupdate.js → createinvoicelineitems.js} +13 -13
  83. package/models/components/createinvoicelineitems.js.map +1 -0
  84. package/models/components/createinvoicelineitemsupdate.d.ts +24 -0
  85. package/models/components/createinvoicelineitemsupdate.d.ts.map +1 -0
  86. package/models/components/createinvoicelineitemsupdate.js +59 -0
  87. package/models/components/createinvoicelineitemsupdate.js.map +1 -0
  88. package/models/components/createinvoicelineitemsvalidationerror.d.ts +22 -0
  89. package/models/components/createinvoicelineitemsvalidationerror.d.ts.map +1 -0
  90. package/models/components/createinvoicelineitemsvalidationerror.js +61 -0
  91. package/models/components/createinvoicelineitemsvalidationerror.js.map +1 -0
  92. package/models/components/createinvoicelineitemvalidationerror.d.ts +31 -0
  93. package/models/components/createinvoicelineitemvalidationerror.d.ts.map +1 -0
  94. package/models/components/createinvoicelineitemvalidationerror.js +70 -0
  95. package/models/components/createinvoicelineitemvalidationerror.js.map +1 -0
  96. package/models/components/createpaymentlink.d.ts +0 -2
  97. package/models/components/createpaymentlink.d.ts.map +1 -1
  98. package/models/components/createpaymentlink.js.map +1 -1
  99. package/models/components/fileuploadrequestmultipart.d.ts +1 -4
  100. package/models/components/fileuploadrequestmultipart.d.ts.map +1 -1
  101. package/models/components/fileuploadrequestmultipart.js.map +1 -1
  102. package/models/components/imageuploadrequestmultipart.d.ts +3 -3
  103. package/models/components/imageuploadrequestmultipart.d.ts.map +1 -1
  104. package/models/components/index.d.ts +8 -2
  105. package/models/components/index.d.ts.map +1 -1
  106. package/models/components/index.js +8 -2
  107. package/models/components/index.js.map +1 -1
  108. package/models/components/instantbankcreditpaymentmethod.d.ts +2 -11
  109. package/models/components/instantbankcreditpaymentmethod.d.ts.map +1 -1
  110. package/models/components/instantbankcreditpaymentmethod.js +3 -11
  111. package/models/components/instantbankcreditpaymentmethod.js.map +1 -1
  112. package/models/components/invoiceexternalpayment.d.ts +2 -11
  113. package/models/components/invoiceexternalpayment.d.ts.map +1 -1
  114. package/models/components/invoiceexternalpayment.js +3 -10
  115. package/models/components/invoiceexternalpayment.js.map +1 -1
  116. package/models/components/invoicelineitem.d.ts +9 -3
  117. package/models/components/invoicelineitem.d.ts.map +1 -1
  118. package/models/components/invoicelineitem.js +5 -2
  119. package/models/components/invoicelineitem.js.map +1 -1
  120. package/models/components/invoicelineitemimagemetadata.d.ts +35 -0
  121. package/models/components/invoicelineitemimagemetadata.d.ts.map +1 -0
  122. package/models/components/invoicelineitemimagemetadata.js +64 -0
  123. package/models/components/invoicelineitemimagemetadata.js.map +1 -0
  124. package/models/components/invoicepayment.d.ts +2 -10
  125. package/models/components/invoicepayment.d.ts.map +1 -1
  126. package/models/components/invoicepayment.js +4 -12
  127. package/models/components/invoicepayment.js.map +1 -1
  128. package/models/components/invoicetransferpayment.d.ts +2 -11
  129. package/models/components/invoicetransferpayment.d.ts.map +1 -1
  130. package/models/components/invoicetransferpayment.js +3 -11
  131. package/models/components/invoicetransferpayment.js.map +1 -1
  132. package/models/components/moovwalletpaymentmethod.d.ts +2 -11
  133. package/models/components/moovwalletpaymentmethod.d.ts.map +1 -1
  134. package/models/components/moovwalletpaymentmethod.js +3 -11
  135. package/models/components/moovwalletpaymentmethod.js.map +1 -1
  136. package/models/components/patchsweepconfig.d.ts +6 -60
  137. package/models/components/patchsweepconfig.d.ts.map +1 -1
  138. package/models/components/patchsweepconfig.js +7 -79
  139. package/models/components/patchsweepconfig.js.map +1 -1
  140. package/models/components/paymentmethod.d.ts +2 -50
  141. package/models/components/paymentmethod.d.ts.map +1 -1
  142. package/models/components/paymentmethod.js +24 -34
  143. package/models/components/paymentmethod.js.map +1 -1
  144. package/models/components/pullfromcardpaymentmethod.d.ts +2 -11
  145. package/models/components/pullfromcardpaymentmethod.d.ts.map +1 -1
  146. package/models/components/pullfromcardpaymentmethod.js +3 -11
  147. package/models/components/pullfromcardpaymentmethod.js.map +1 -1
  148. package/models/components/pushtocardpaymentmethod.d.ts +2 -11
  149. package/models/components/pushtocardpaymentmethod.d.ts.map +1 -1
  150. package/models/components/pushtocardpaymentmethod.js +3 -11
  151. package/models/components/pushtocardpaymentmethod.js.map +1 -1
  152. package/models/components/rtpcreditpaymentmethod.d.ts +2 -11
  153. package/models/components/rtpcreditpaymentmethod.d.ts.map +1 -1
  154. package/models/components/rtpcreditpaymentmethod.js +3 -11
  155. package/models/components/rtpcreditpaymentmethod.js.map +1 -1
  156. package/models/components/updateinvoice.d.ts +3 -3
  157. package/models/components/updateinvoice.d.ts.map +1 -1
  158. package/models/components/updateinvoice.js +3 -3
  159. package/models/components/updateinvoice.js.map +1 -1
  160. package/models/components/updaterepresentative.d.ts +2 -20
  161. package/models/components/updaterepresentative.d.ts.map +1 -1
  162. package/models/components/updaterepresentative.js +3 -32
  163. package/models/components/updaterepresentative.js.map +1 -1
  164. package/models/errors/createinvoiceerror.d.ts +3 -3
  165. package/models/errors/createinvoiceerror.d.ts.map +1 -1
  166. package/models/errors/createinvoiceerror.js +2 -2
  167. package/models/errors/createinvoiceerror.js.map +1 -1
  168. package/models/operations/createpaymentlink.d.ts +3 -0
  169. package/models/operations/createpaymentlink.d.ts.map +1 -1
  170. package/models/operations/createpaymentlink.js.map +1 -1
  171. package/models/operations/disablepaymentlink.d.ts +3 -0
  172. package/models/operations/disablepaymentlink.d.ts.map +1 -1
  173. package/models/operations/disablepaymentlink.js.map +1 -1
  174. package/models/operations/getpaymentlink.d.ts +3 -0
  175. package/models/operations/getpaymentlink.d.ts.map +1 -1
  176. package/models/operations/getpaymentlink.js.map +1 -1
  177. package/models/operations/getpaymentlinkqrcode.d.ts +3 -0
  178. package/models/operations/getpaymentlinkqrcode.d.ts.map +1 -1
  179. package/models/operations/getpaymentlinkqrcode.js.map +1 -1
  180. package/models/operations/listpaymentlinks.d.ts +3 -0
  181. package/models/operations/listpaymentlinks.d.ts.map +1 -1
  182. package/models/operations/listpaymentlinks.js.map +1 -1
  183. package/models/operations/updateimage.d.ts +2 -2
  184. package/models/operations/updateimage.js +4 -4
  185. package/models/operations/updatepaymentlink.d.ts +3 -0
  186. package/models/operations/updatepaymentlink.d.ts.map +1 -1
  187. package/models/operations/updatepaymentlink.js.map +1 -1
  188. package/package.json +1 -1
  189. package/sdk/images.d.ts +1 -2
  190. package/sdk/images.d.ts.map +1 -1
  191. package/sdk/images.js +1 -2
  192. package/sdk/images.js.map +1 -1
  193. package/src/funcs/imagesUpdate.ts +12 -13
  194. package/src/lib/config.ts +3 -3
  195. package/src/lib/encodings.ts +17 -3
  196. package/src/mcp-server/mcp-server.ts +1 -1
  197. package/src/mcp-server/server.ts +1 -1
  198. package/src/mcp-server/tools/accountsUpdate.ts +1 -1
  199. package/src/mcp-server/tools/applePayUpdateMerchantDomains.ts +3 -3
  200. package/src/mcp-server/tools/brandingUpdate.ts +1 -1
  201. package/src/mcp-server/tools/cardIssuingUpdate.ts +1 -1
  202. package/src/mcp-server/tools/cardsUpdate.ts +6 -6
  203. package/src/mcp-server/tools/imagesUpdate.ts +1 -2
  204. package/src/mcp-server/tools/paymentLinksUpdate.ts +1 -1
  205. package/src/mcp-server/tools/representativesUpdate.ts +2 -2
  206. package/src/mcp-server/tools/supportUpdateTicket.ts +1 -1
  207. package/src/mcp-server/tools/sweepsUpdateConfig.ts +1 -1
  208. package/src/mcp-server/tools/transfersUpdate.ts +3 -3
  209. package/src/mcp-server/tools/walletsUpdate.ts +1 -1
  210. package/src/models/components/achcreditsamedaypaymentmethod.ts +4 -23
  211. package/src/models/components/achcreditstandardpaymentmethod.ts +4 -23
  212. package/src/models/components/achdebitcollectpaymentmethod.ts +4 -23
  213. package/src/models/components/achdebitfundpaymentmethod.ts +4 -21
  214. package/src/models/components/applepaypaymentmethod.ts +4 -22
  215. package/src/models/components/cardpaymentpaymentmethod.ts +4 -21
  216. package/src/models/components/cardpresentpaymentpaymentmethod.ts +4 -23
  217. package/src/models/components/createevidencefilemultipart.ts +1 -1
  218. package/src/models/components/createinvoice.ts +9 -9
  219. package/src/models/components/createinvoicelineitem.ts +104 -0
  220. package/src/models/components/createinvoicelineitemoption.ts +93 -0
  221. package/src/models/components/createinvoicelineitemoptionvalidationerror.ts +77 -0
  222. package/src/models/components/createinvoicelineitems.ts +63 -0
  223. package/src/models/components/createinvoicelineitemsupdate.ts +65 -0
  224. package/src/models/components/createinvoicelineitemsvalidationerror.ts +64 -0
  225. package/src/models/components/createinvoicelineitemvalidationerror.ts +88 -0
  226. package/src/models/components/createpaymentlink.ts +0 -2
  227. package/src/models/components/fileuploadrequestmultipart.ts +1 -4
  228. package/src/models/components/imageuploadrequestmultipart.ts +3 -3
  229. package/src/models/components/index.ts +8 -2
  230. package/src/models/components/instantbankcreditpaymentmethod.ts +4 -23
  231. package/src/models/components/invoiceexternalpayment.ts +4 -21
  232. package/src/models/components/invoicelineitem.ts +18 -5
  233. package/src/models/components/invoicelineitemimagemetadata.ts +77 -0
  234. package/src/models/components/invoicepayment.ts +7 -25
  235. package/src/models/components/invoicetransferpayment.ts +4 -17
  236. package/src/models/components/moovwalletpaymentmethod.ts +4 -21
  237. package/src/models/components/patchsweepconfig.ts +12 -252
  238. package/src/models/components/paymentmethod.ts +48 -164
  239. package/src/models/components/pullfromcardpaymentmethod.ts +4 -21
  240. package/src/models/components/pushtocardpaymentmethod.ts +4 -21
  241. package/src/models/components/rtpcreditpaymentmethod.ts +4 -21
  242. package/src/models/components/updateinvoice.ts +9 -9
  243. package/src/models/components/updaterepresentative.ts +4 -59
  244. package/src/models/errors/createinvoiceerror.ts +7 -5
  245. package/src/models/operations/createpaymentlink.ts +3 -0
  246. package/src/models/operations/disablepaymentlink.ts +3 -0
  247. package/src/models/operations/getpaymentlink.ts +3 -0
  248. package/src/models/operations/getpaymentlinkqrcode.ts +3 -0
  249. package/src/models/operations/listpaymentlinks.ts +3 -0
  250. package/src/models/operations/updateimage.ts +8 -8
  251. package/src/models/operations/updatepaymentlink.ts +3 -0
  252. package/src/sdk/images.ts +1 -2
  253. package/src/types/unrecognized.ts +9 -1
  254. package/tsconfig.json +1 -2
  255. package/types/unrecognized.d.ts +7 -1
  256. package/types/unrecognized.d.ts.map +1 -1
  257. package/types/unrecognized.js +9 -1
  258. package/types/unrecognized.js.map +1 -1
  259. package/models/components/imageupdaterequestmultipart.d.ts +0 -67
  260. package/models/components/imageupdaterequestmultipart.d.ts.map +0 -1
  261. package/models/components/imageupdaterequestmultipart.js +0 -105
  262. package/models/components/imageupdaterequestmultipart.js.map +0 -1
  263. package/models/components/invoicelineitemsupdate.d.ts +0 -24
  264. package/models/components/invoicelineitemsupdate.d.ts.map +0 -1
  265. package/models/components/invoicelineitemsupdate.js.map +0 -1
  266. package/src/models/components/imageupdaterequestmultipart.ts +0 -178
  267. package/src/models/components/invoicelineitemsupdate.ts +0 -63
package/bin/mcp-server.js CHANGED
@@ -34030,9 +34030,9 @@ var init_config = __esm(() => {
34030
34030
  SDK_METADATA = {
34031
34031
  language: "typescript",
34032
34032
  openapiDocVersion: "latest",
34033
- sdkVersion: "0.21.16",
34034
- genVersion: "2.760.2",
34035
- userAgent: "speakeasy-sdk/typescript 0.21.16 2.760.2 latest @moovio/sdk"
34033
+ sdkVersion: "0.22.0",
34034
+ genVersion: "2.770.0",
34035
+ userAgent: "speakeasy-sdk/typescript 0.22.0 2.770.0 latest @moovio/sdk"
34036
34036
  };
34037
34037
  });
34038
34038
 
@@ -34363,7 +34363,13 @@ function queryEncoder(f) {
34363
34363
  explode: options?.explode ?? true,
34364
34364
  charEncoding: options?.charEncoding ?? "percent"
34365
34365
  };
34366
+ const allowEmptySet = new Set(options?.allowEmptyValue ?? []);
34366
34367
  const encoded = Object.entries(values).map(([key, value]) => {
34368
+ if (allowEmptySet.has(key)) {
34369
+ if (value === undefined || value === null || value === "" || Array.isArray(value) && value.length === 0) {
34370
+ return `${encodeURIComponent(key)}=`;
34371
+ }
34372
+ }
34367
34373
  return f(key, value, opts);
34368
34374
  });
34369
34375
  return queryJoin(...encoded);
@@ -36489,89 +36495,69 @@ var init_paymentmethodsbankaccount = __esm(() => {
36489
36495
  });
36490
36496
 
36491
36497
  // src/models/components/achcreditsamedaypaymentmethod.ts
36492
- var AchCreditSameDayPaymentMethodPaymentMethodType, AchCreditSameDayPaymentMethodPaymentMethodType$inboundSchema, AchCreditSameDayPaymentMethodPaymentMethodType$outboundSchema, AchCreditSameDayPaymentMethod$inboundSchema, AchCreditSameDayPaymentMethod$outboundSchema;
36498
+ var AchCreditSameDayPaymentMethod$inboundSchema, AchCreditSameDayPaymentMethod$outboundSchema;
36493
36499
  var init_achcreditsamedaypaymentmethod = __esm(() => {
36494
36500
  init_esm();
36495
36501
  init_paymentmethodsbankaccount();
36496
- AchCreditSameDayPaymentMethodPaymentMethodType = {
36497
- AchCreditSameDay: "ach-credit-same-day"
36498
- };
36499
- AchCreditSameDayPaymentMethodPaymentMethodType$inboundSchema = nativeEnumType(AchCreditSameDayPaymentMethodPaymentMethodType);
36500
- AchCreditSameDayPaymentMethodPaymentMethodType$outboundSchema = AchCreditSameDayPaymentMethodPaymentMethodType$inboundSchema;
36501
36502
  AchCreditSameDayPaymentMethod$inboundSchema = objectType({
36502
36503
  paymentMethodID: stringType(),
36503
- paymentMethodType: AchCreditSameDayPaymentMethodPaymentMethodType$inboundSchema,
36504
+ paymentMethodType: literalType("ach-credit-same-day"),
36504
36505
  bankAccount: PaymentMethodsBankAccount$inboundSchema
36505
36506
  });
36506
36507
  AchCreditSameDayPaymentMethod$outboundSchema = objectType({
36507
36508
  paymentMethodID: stringType(),
36508
- paymentMethodType: AchCreditSameDayPaymentMethodPaymentMethodType$outboundSchema,
36509
+ paymentMethodType: literalType("ach-credit-same-day"),
36509
36510
  bankAccount: PaymentMethodsBankAccount$outboundSchema
36510
36511
  });
36511
36512
  });
36512
36513
 
36513
36514
  // src/models/components/achcreditstandardpaymentmethod.ts
36514
- var AchCreditStandardPaymentMethodPaymentMethodType, AchCreditStandardPaymentMethodPaymentMethodType$inboundSchema, AchCreditStandardPaymentMethodPaymentMethodType$outboundSchema, AchCreditStandardPaymentMethod$inboundSchema, AchCreditStandardPaymentMethod$outboundSchema;
36515
+ var AchCreditStandardPaymentMethod$inboundSchema, AchCreditStandardPaymentMethod$outboundSchema;
36515
36516
  var init_achcreditstandardpaymentmethod = __esm(() => {
36516
36517
  init_esm();
36517
36518
  init_paymentmethodsbankaccount();
36518
- AchCreditStandardPaymentMethodPaymentMethodType = {
36519
- AchCreditStandard: "ach-credit-standard"
36520
- };
36521
- AchCreditStandardPaymentMethodPaymentMethodType$inboundSchema = nativeEnumType(AchCreditStandardPaymentMethodPaymentMethodType);
36522
- AchCreditStandardPaymentMethodPaymentMethodType$outboundSchema = AchCreditStandardPaymentMethodPaymentMethodType$inboundSchema;
36523
36519
  AchCreditStandardPaymentMethod$inboundSchema = objectType({
36524
36520
  paymentMethodID: stringType(),
36525
- paymentMethodType: AchCreditStandardPaymentMethodPaymentMethodType$inboundSchema,
36521
+ paymentMethodType: literalType("ach-credit-standard"),
36526
36522
  bankAccount: PaymentMethodsBankAccount$inboundSchema
36527
36523
  });
36528
36524
  AchCreditStandardPaymentMethod$outboundSchema = objectType({
36529
36525
  paymentMethodID: stringType(),
36530
- paymentMethodType: AchCreditStandardPaymentMethodPaymentMethodType$outboundSchema,
36526
+ paymentMethodType: literalType("ach-credit-standard"),
36531
36527
  bankAccount: PaymentMethodsBankAccount$outboundSchema
36532
36528
  });
36533
36529
  });
36534
36530
 
36535
36531
  // src/models/components/achdebitcollectpaymentmethod.ts
36536
- var AchDebitCollectPaymentMethodPaymentMethodType, AchDebitCollectPaymentMethodPaymentMethodType$inboundSchema, AchDebitCollectPaymentMethodPaymentMethodType$outboundSchema, AchDebitCollectPaymentMethod$inboundSchema, AchDebitCollectPaymentMethod$outboundSchema;
36532
+ var AchDebitCollectPaymentMethod$inboundSchema, AchDebitCollectPaymentMethod$outboundSchema;
36537
36533
  var init_achdebitcollectpaymentmethod = __esm(() => {
36538
36534
  init_esm();
36539
36535
  init_paymentmethodsbankaccount();
36540
- AchDebitCollectPaymentMethodPaymentMethodType = {
36541
- AchDebitCollect: "ach-debit-collect"
36542
- };
36543
- AchDebitCollectPaymentMethodPaymentMethodType$inboundSchema = nativeEnumType(AchDebitCollectPaymentMethodPaymentMethodType);
36544
- AchDebitCollectPaymentMethodPaymentMethodType$outboundSchema = AchDebitCollectPaymentMethodPaymentMethodType$inboundSchema;
36545
36536
  AchDebitCollectPaymentMethod$inboundSchema = objectType({
36546
36537
  paymentMethodID: stringType(),
36547
- paymentMethodType: AchDebitCollectPaymentMethodPaymentMethodType$inboundSchema,
36538
+ paymentMethodType: literalType("ach-debit-collect"),
36548
36539
  bankAccount: PaymentMethodsBankAccount$inboundSchema
36549
36540
  });
36550
36541
  AchDebitCollectPaymentMethod$outboundSchema = objectType({
36551
36542
  paymentMethodID: stringType(),
36552
- paymentMethodType: AchDebitCollectPaymentMethodPaymentMethodType$outboundSchema,
36543
+ paymentMethodType: literalType("ach-debit-collect"),
36553
36544
  bankAccount: PaymentMethodsBankAccount$outboundSchema
36554
36545
  });
36555
36546
  });
36556
36547
 
36557
36548
  // src/models/components/achdebitfundpaymentmethod.ts
36558
- var AchDebitFundPaymentMethodPaymentMethodType, AchDebitFundPaymentMethodPaymentMethodType$inboundSchema, AchDebitFundPaymentMethodPaymentMethodType$outboundSchema, AchDebitFundPaymentMethod$inboundSchema, AchDebitFundPaymentMethod$outboundSchema;
36549
+ var AchDebitFundPaymentMethod$inboundSchema, AchDebitFundPaymentMethod$outboundSchema;
36559
36550
  var init_achdebitfundpaymentmethod = __esm(() => {
36560
36551
  init_esm();
36561
36552
  init_paymentmethodsbankaccount();
36562
- AchDebitFundPaymentMethodPaymentMethodType = {
36563
- AchDebitFund: "ach-debit-fund"
36564
- };
36565
- AchDebitFundPaymentMethodPaymentMethodType$inboundSchema = nativeEnumType(AchDebitFundPaymentMethodPaymentMethodType);
36566
- AchDebitFundPaymentMethodPaymentMethodType$outboundSchema = AchDebitFundPaymentMethodPaymentMethodType$inboundSchema;
36567
36553
  AchDebitFundPaymentMethod$inboundSchema = objectType({
36568
36554
  paymentMethodID: stringType(),
36569
- paymentMethodType: AchDebitFundPaymentMethodPaymentMethodType$inboundSchema,
36555
+ paymentMethodType: literalType("ach-debit-fund"),
36570
36556
  bankAccount: PaymentMethodsBankAccount$inboundSchema
36571
36557
  });
36572
36558
  AchDebitFundPaymentMethod$outboundSchema = objectType({
36573
36559
  paymentMethodID: stringType(),
36574
- paymentMethodType: AchDebitFundPaymentMethodPaymentMethodType$outboundSchema,
36560
+ paymentMethodType: literalType("ach-debit-fund"),
36575
36561
  bankAccount: PaymentMethodsBankAccount$outboundSchema
36576
36562
  });
36577
36563
  });
@@ -37212,23 +37198,18 @@ var init_applepayresponse = __esm(() => {
37212
37198
  });
37213
37199
 
37214
37200
  // src/models/components/applepaypaymentmethod.ts
37215
- var ApplePayPaymentMethodPaymentMethodType, ApplePayPaymentMethodPaymentMethodType$inboundSchema, ApplePayPaymentMethodPaymentMethodType$outboundSchema, ApplePayPaymentMethod$inboundSchema, ApplePayPaymentMethod$outboundSchema;
37201
+ var ApplePayPaymentMethod$inboundSchema, ApplePayPaymentMethod$outboundSchema;
37216
37202
  var init_applepaypaymentmethod = __esm(() => {
37217
37203
  init_esm();
37218
37204
  init_applepayresponse();
37219
- ApplePayPaymentMethodPaymentMethodType = {
37220
- ApplePay: "apple-pay"
37221
- };
37222
- ApplePayPaymentMethodPaymentMethodType$inboundSchema = nativeEnumType(ApplePayPaymentMethodPaymentMethodType);
37223
- ApplePayPaymentMethodPaymentMethodType$outboundSchema = ApplePayPaymentMethodPaymentMethodType$inboundSchema;
37224
37205
  ApplePayPaymentMethod$inboundSchema = objectType({
37225
37206
  paymentMethodID: stringType(),
37226
- paymentMethodType: ApplePayPaymentMethodPaymentMethodType$inboundSchema,
37207
+ paymentMethodType: literalType("apple-pay"),
37227
37208
  applePay: ApplePayResponse$inboundSchema
37228
37209
  });
37229
37210
  ApplePayPaymentMethod$outboundSchema = objectType({
37230
37211
  paymentMethodID: stringType(),
37231
- paymentMethodType: ApplePayPaymentMethodPaymentMethodType$outboundSchema,
37212
+ paymentMethodType: literalType("apple-pay"),
37232
37213
  applePay: ApplePayResponse$outboundSchema
37233
37214
  });
37234
37215
  });
@@ -41090,23 +41071,18 @@ var init_paymentmethodscard = __esm(() => {
41090
41071
  });
41091
41072
 
41092
41073
  // src/models/components/cardpaymentpaymentmethod.ts
41093
- var CardPaymentPaymentMethodPaymentMethodType, CardPaymentPaymentMethodPaymentMethodType$inboundSchema, CardPaymentPaymentMethodPaymentMethodType$outboundSchema, CardPaymentPaymentMethod$inboundSchema, CardPaymentPaymentMethod$outboundSchema;
41074
+ var CardPaymentPaymentMethod$inboundSchema, CardPaymentPaymentMethod$outboundSchema;
41094
41075
  var init_cardpaymentpaymentmethod = __esm(() => {
41095
41076
  init_esm();
41096
41077
  init_paymentmethodscard();
41097
- CardPaymentPaymentMethodPaymentMethodType = {
41098
- CardPayment: "card-payment"
41099
- };
41100
- CardPaymentPaymentMethodPaymentMethodType$inboundSchema = nativeEnumType(CardPaymentPaymentMethodPaymentMethodType);
41101
- CardPaymentPaymentMethodPaymentMethodType$outboundSchema = CardPaymentPaymentMethodPaymentMethodType$inboundSchema;
41102
41078
  CardPaymentPaymentMethod$inboundSchema = objectType({
41103
41079
  paymentMethodID: stringType(),
41104
- paymentMethodType: CardPaymentPaymentMethodPaymentMethodType$inboundSchema,
41080
+ paymentMethodType: literalType("card-payment"),
41105
41081
  card: PaymentMethodsCard$inboundSchema
41106
41082
  });
41107
41083
  CardPaymentPaymentMethod$outboundSchema = objectType({
41108
41084
  paymentMethodID: stringType(),
41109
- paymentMethodType: CardPaymentPaymentMethodPaymentMethodType$outboundSchema,
41085
+ paymentMethodType: literalType("card-payment"),
41110
41086
  card: PaymentMethodsCard$outboundSchema
41111
41087
  });
41112
41088
  });
@@ -41161,23 +41137,18 @@ var init_terminalcard = __esm(() => {
41161
41137
  });
41162
41138
 
41163
41139
  // src/models/components/cardpresentpaymentpaymentmethod.ts
41164
- var CardPresentPaymentPaymentMethodPaymentMethodType, CardPresentPaymentPaymentMethodPaymentMethodType$inboundSchema, CardPresentPaymentPaymentMethodPaymentMethodType$outboundSchema, CardPresentPaymentPaymentMethod$inboundSchema, CardPresentPaymentPaymentMethod$outboundSchema;
41140
+ var CardPresentPaymentPaymentMethod$inboundSchema, CardPresentPaymentPaymentMethod$outboundSchema;
41165
41141
  var init_cardpresentpaymentpaymentmethod = __esm(() => {
41166
41142
  init_esm();
41167
41143
  init_terminalcard();
41168
- CardPresentPaymentPaymentMethodPaymentMethodType = {
41169
- CardPresentPayment: "card-present-payment"
41170
- };
41171
- CardPresentPaymentPaymentMethodPaymentMethodType$inboundSchema = nativeEnumType(CardPresentPaymentPaymentMethodPaymentMethodType);
41172
- CardPresentPaymentPaymentMethodPaymentMethodType$outboundSchema = CardPresentPaymentPaymentMethodPaymentMethodType$inboundSchema;
41173
41144
  CardPresentPaymentPaymentMethod$inboundSchema = objectType({
41174
41145
  paymentMethodID: stringType(),
41175
- paymentMethodType: CardPresentPaymentPaymentMethodPaymentMethodType$inboundSchema,
41146
+ paymentMethodType: literalType("card-present-payment"),
41176
41147
  terminalCard: TerminalCard$inboundSchema.optional()
41177
41148
  });
41178
41149
  CardPresentPaymentPaymentMethod$outboundSchema = objectType({
41179
41150
  paymentMethodID: stringType(),
41180
- paymentMethodType: CardPresentPaymentPaymentMethodPaymentMethodType$outboundSchema,
41151
+ paymentMethodType: literalType("card-present-payment"),
41181
41152
  terminalCard: TerminalCard$outboundSchema.optional()
41182
41153
  });
41183
41154
  });
@@ -42533,57 +42504,61 @@ var init_createindividualerror = __esm(() => {
42533
42504
  });
42534
42505
  });
42535
42506
 
42536
- // src/models/components/invoicelineitemoption.ts
42537
- var InvoiceLineItemOption$inboundSchema, InvoiceLineItemOption$outboundSchema;
42538
- var init_invoicelineitemoption = __esm(() => {
42507
+ // src/models/components/createinvoicelineitemoption.ts
42508
+ var CreateInvoiceLineItemOption$inboundSchema, CreateInvoiceLineItemOption$outboundSchema;
42509
+ var init_createinvoicelineitemoption = __esm(() => {
42539
42510
  init_esm();
42540
42511
  init_amountdecimal();
42541
- InvoiceLineItemOption$inboundSchema = objectType({
42512
+ CreateInvoiceLineItemOption$inboundSchema = objectType({
42542
42513
  name: stringType(),
42543
42514
  quantity: numberType().int(),
42544
42515
  priceModifier: AmountDecimal$inboundSchema.optional(),
42545
- group: stringType().optional()
42516
+ group: stringType().optional(),
42517
+ imageIDs: arrayType(stringType()).optional()
42546
42518
  });
42547
- InvoiceLineItemOption$outboundSchema = objectType({
42519
+ CreateInvoiceLineItemOption$outboundSchema = objectType({
42548
42520
  name: stringType(),
42549
42521
  quantity: numberType().int(),
42550
42522
  priceModifier: AmountDecimal$outboundSchema.optional(),
42551
- group: stringType().optional()
42523
+ group: stringType().optional(),
42524
+ imageIDs: arrayType(stringType()).optional()
42552
42525
  });
42553
42526
  });
42554
42527
 
42555
- // src/models/components/invoicelineitem.ts
42556
- var InvoiceLineItem$inboundSchema, InvoiceLineItem$outboundSchema;
42557
- var init_invoicelineitem = __esm(() => {
42528
+ // src/models/components/createinvoicelineitem.ts
42529
+ var CreateInvoiceLineItem$inboundSchema, CreateInvoiceLineItem$outboundSchema;
42530
+ var init_createinvoicelineitem = __esm(() => {
42558
42531
  init_esm();
42559
42532
  init_amountdecimal();
42560
- init_invoicelineitemoption();
42561
- InvoiceLineItem$inboundSchema = objectType({
42533
+ init_createinvoicelineitemoption();
42534
+ CreateInvoiceLineItem$inboundSchema = objectType({
42562
42535
  name: stringType(),
42563
42536
  basePrice: AmountDecimal$inboundSchema,
42564
42537
  quantity: numberType().int(),
42565
- options: arrayType(InvoiceLineItemOption$inboundSchema).optional(),
42566
- productID: stringType().optional()
42538
+ productID: stringType().optional(),
42539
+ options: arrayType(CreateInvoiceLineItemOption$inboundSchema).optional(),
42540
+ imageIDs: arrayType(stringType()).optional()
42567
42541
  });
42568
- InvoiceLineItem$outboundSchema = objectType({
42542
+ CreateInvoiceLineItem$outboundSchema = objectType({
42569
42543
  name: stringType(),
42570
42544
  basePrice: AmountDecimal$outboundSchema,
42571
42545
  quantity: numberType().int(),
42572
- options: arrayType(InvoiceLineItemOption$outboundSchema).optional(),
42573
- productID: stringType().optional()
42546
+ productID: stringType().optional(),
42547
+ options: arrayType(CreateInvoiceLineItemOption$outboundSchema).optional(),
42548
+ imageIDs: arrayType(stringType()).optional()
42574
42549
  });
42575
42550
  });
42576
42551
 
42577
- // src/models/components/invoicelineitems.ts
42578
- var InvoiceLineItems$inboundSchema, InvoiceLineItems$outboundSchema;
42579
- var init_invoicelineitems = __esm(() => {
42552
+ // src/models/components/createinvoicelineitems.ts
42553
+ var CreateInvoiceLineItems$inboundSchema, CreateInvoiceLineItems$outboundSchema;
42554
+ var init_createinvoicelineitems = __esm(() => {
42580
42555
  init_esm();
42581
- init_invoicelineitem();
42582
- InvoiceLineItems$inboundSchema = objectType({
42583
- items: arrayType(InvoiceLineItem$inboundSchema)
42556
+ init_createinvoicelineitem();
42557
+ CreateInvoiceLineItems$inboundSchema = objectType({
42558
+ items: arrayType(CreateInvoiceLineItem$inboundSchema)
42584
42559
  });
42585
- InvoiceLineItems$outboundSchema = objectType({
42586
- items: arrayType(InvoiceLineItem$outboundSchema)
42560
+ CreateInvoiceLineItems$outboundSchema = objectType({
42561
+ items: arrayType(CreateInvoiceLineItem$outboundSchema)
42587
42562
  });
42588
42563
  });
42589
42564
 
@@ -42592,11 +42567,11 @@ var CreateInvoice$inboundSchema, CreateInvoice$outboundSchema;
42592
42567
  var init_createinvoice = __esm(() => {
42593
42568
  init_esm();
42594
42569
  init_amountdecimal();
42595
- init_invoicelineitems();
42570
+ init_createinvoicelineitems();
42596
42571
  CreateInvoice$inboundSchema = objectType({
42597
42572
  customerAccountID: stringType(),
42598
42573
  description: stringType(),
42599
- lineItems: InvoiceLineItems$inboundSchema,
42574
+ lineItems: CreateInvoiceLineItems$inboundSchema,
42600
42575
  invoiceDate: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
42601
42576
  dueDate: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
42602
42577
  taxAmount: AmountDecimal$inboundSchema.optional()
@@ -42604,13 +42579,80 @@ var init_createinvoice = __esm(() => {
42604
42579
  CreateInvoice$outboundSchema = objectType({
42605
42580
  customerAccountID: stringType(),
42606
42581
  description: stringType(),
42607
- lineItems: InvoiceLineItems$outboundSchema,
42582
+ lineItems: CreateInvoiceLineItems$outboundSchema,
42608
42583
  invoiceDate: dateType().transform((v2) => v2.toISOString()).optional(),
42609
42584
  dueDate: dateType().transform((v2) => v2.toISOString()).optional(),
42610
42585
  taxAmount: AmountDecimal$outboundSchema.optional()
42611
42586
  });
42612
42587
  });
42613
42588
 
42589
+ // src/models/components/createinvoicelineitemoptionvalidationerror.ts
42590
+ var CreateInvoiceLineItemOptionValidationError$inboundSchema, CreateInvoiceLineItemOptionValidationError$outboundSchema;
42591
+ var init_createinvoicelineitemoptionvalidationerror = __esm(() => {
42592
+ init_esm();
42593
+ init_amountdecimalvalidationerror();
42594
+ CreateInvoiceLineItemOptionValidationError$inboundSchema = objectType({
42595
+ name: stringType().optional(),
42596
+ group: stringType().optional(),
42597
+ priceModifier: AmountDecimalValidationError$inboundSchema.optional(),
42598
+ quantity: stringType().optional()
42599
+ });
42600
+ CreateInvoiceLineItemOptionValidationError$outboundSchema = objectType({
42601
+ name: stringType().optional(),
42602
+ group: stringType().optional(),
42603
+ priceModifier: AmountDecimalValidationError$outboundSchema.optional(),
42604
+ quantity: stringType().optional()
42605
+ });
42606
+ });
42607
+
42608
+ // src/models/components/createinvoicelineitemsupdate.ts
42609
+ var CreateInvoiceLineItemsUpdate$inboundSchema, CreateInvoiceLineItemsUpdate$outboundSchema;
42610
+ var init_createinvoicelineitemsupdate = __esm(() => {
42611
+ init_esm();
42612
+ init_createinvoicelineitem();
42613
+ CreateInvoiceLineItemsUpdate$inboundSchema = objectType({
42614
+ items: arrayType(CreateInvoiceLineItem$inboundSchema).optional()
42615
+ });
42616
+ CreateInvoiceLineItemsUpdate$outboundSchema = objectType({
42617
+ items: arrayType(CreateInvoiceLineItem$outboundSchema).optional()
42618
+ });
42619
+ });
42620
+
42621
+ // src/models/components/createinvoicelineitemvalidationerror.ts
42622
+ var CreateInvoiceLineItemValidationError$inboundSchema, CreateInvoiceLineItemValidationError$outboundSchema;
42623
+ var init_createinvoicelineitemvalidationerror = __esm(() => {
42624
+ init_esm();
42625
+ init_amountdecimalvalidationerror();
42626
+ init_createinvoicelineitemoptionvalidationerror();
42627
+ CreateInvoiceLineItemValidationError$inboundSchema = objectType({
42628
+ productID: stringType().optional(),
42629
+ name: stringType().optional(),
42630
+ basePrice: AmountDecimalValidationError$inboundSchema.optional(),
42631
+ options: recordType(CreateInvoiceLineItemOptionValidationError$inboundSchema).optional(),
42632
+ quantity: stringType().optional()
42633
+ });
42634
+ CreateInvoiceLineItemValidationError$outboundSchema = objectType({
42635
+ productID: stringType().optional(),
42636
+ name: stringType().optional(),
42637
+ basePrice: AmountDecimalValidationError$outboundSchema.optional(),
42638
+ options: recordType(CreateInvoiceLineItemOptionValidationError$outboundSchema).optional(),
42639
+ quantity: stringType().optional()
42640
+ });
42641
+ });
42642
+
42643
+ // src/models/components/createinvoicelineitemsvalidationerror.ts
42644
+ var CreateInvoiceLineItemsValidationError$inboundSchema, CreateInvoiceLineItemsValidationError$outboundSchema;
42645
+ var init_createinvoicelineitemsvalidationerror = __esm(() => {
42646
+ init_esm();
42647
+ init_createinvoicelineitemvalidationerror();
42648
+ CreateInvoiceLineItemsValidationError$inboundSchema = objectType({
42649
+ items: recordType(CreateInvoiceLineItemValidationError$inboundSchema).optional()
42650
+ });
42651
+ CreateInvoiceLineItemsValidationError$outboundSchema = objectType({
42652
+ items: recordType(CreateInvoiceLineItemValidationError$outboundSchema).optional()
42653
+ });
42654
+ });
42655
+
42614
42656
  // src/models/components/createpaymentlinklineitemoption.ts
42615
42657
  var CreatePaymentLinkLineItemOption$inboundSchema, CreatePaymentLinkLineItemOption$outboundSchema;
42616
42658
  var init_createpaymentlinklineitemoption = __esm(() => {
@@ -44141,45 +44183,6 @@ var init_imagemetadatavalidationerror = __esm(() => {
44141
44183
  });
44142
44184
  });
44143
44185
 
44144
- // src/models/components/imageupdaterequestmultipart.ts
44145
- var ImageUpdateRequestMultiPartImage$inboundSchema, ImageUpdateRequestMultiPartImage$outboundSchema, Metadata$inboundSchema, Metadata$outboundSchema, ImageUpdateRequestMultiPart$inboundSchema, ImageUpdateRequestMultiPart$outboundSchema;
44146
- var init_imageupdaterequestmultipart = __esm(() => {
44147
- init_esm();
44148
- init_blobs();
44149
- ImageUpdateRequestMultiPartImage$inboundSchema = objectType({
44150
- fileName: stringType(),
44151
- content: unionType([
44152
- instanceOfType(ReadableStream),
44153
- instanceOfType(Blob),
44154
- instanceOfType(ArrayBuffer),
44155
- instanceOfType(Uint8Array)
44156
- ])
44157
- });
44158
- ImageUpdateRequestMultiPartImage$outboundSchema = objectType({
44159
- fileName: stringType(),
44160
- content: unionType([
44161
- instanceOfType(ReadableStream),
44162
- instanceOfType(Blob),
44163
- instanceOfType(ArrayBuffer),
44164
- instanceOfType(Uint8Array)
44165
- ])
44166
- });
44167
- Metadata$inboundSchema = objectType({
44168
- altText: stringType().optional()
44169
- });
44170
- Metadata$outboundSchema = objectType({
44171
- altText: stringType().optional()
44172
- });
44173
- ImageUpdateRequestMultiPart$inboundSchema = objectType({
44174
- image: lazyType(() => ImageUpdateRequestMultiPartImage$inboundSchema),
44175
- metadata: nullableType(lazyType(() => Metadata$inboundSchema)).optional()
44176
- });
44177
- ImageUpdateRequestMultiPart$outboundSchema = objectType({
44178
- image: lazyType(() => ImageUpdateRequestMultiPartImage$outboundSchema).or(blobLikeSchema),
44179
- metadata: nullableType(lazyType(() => Metadata$outboundSchema)).optional()
44180
- });
44181
- });
44182
-
44183
44186
  // src/models/components/imageuploadrequestmultipart.ts
44184
44187
  var Image$inboundSchema, Image$outboundSchema, ImageUploadRequestMultiPart$inboundSchema, ImageUploadRequestMultiPart$outboundSchema;
44185
44188
  var init_imageuploadrequestmultipart = __esm(() => {
@@ -44261,23 +44264,18 @@ var init_individualnameupdate = __esm(() => {
44261
44264
  });
44262
44265
 
44263
44266
  // src/models/components/instantbankcreditpaymentmethod.ts
44264
- var InstantBankCreditPaymentMethodPaymentMethodType, InstantBankCreditPaymentMethodPaymentMethodType$inboundSchema, InstantBankCreditPaymentMethodPaymentMethodType$outboundSchema, InstantBankCreditPaymentMethod$inboundSchema, InstantBankCreditPaymentMethod$outboundSchema;
44267
+ var InstantBankCreditPaymentMethod$inboundSchema, InstantBankCreditPaymentMethod$outboundSchema;
44265
44268
  var init_instantbankcreditpaymentmethod = __esm(() => {
44266
44269
  init_esm();
44267
44270
  init_paymentmethodsbankaccount();
44268
- InstantBankCreditPaymentMethodPaymentMethodType = {
44269
- InstantBankCredit: "instant-bank-credit"
44270
- };
44271
- InstantBankCreditPaymentMethodPaymentMethodType$inboundSchema = nativeEnumType(InstantBankCreditPaymentMethodPaymentMethodType);
44272
- InstantBankCreditPaymentMethodPaymentMethodType$outboundSchema = InstantBankCreditPaymentMethodPaymentMethodType$inboundSchema;
44273
44271
  InstantBankCreditPaymentMethod$inboundSchema = objectType({
44274
44272
  paymentMethodID: stringType(),
44275
- paymentMethodType: InstantBankCreditPaymentMethodPaymentMethodType$inboundSchema,
44273
+ paymentMethodType: literalType("instant-bank-credit"),
44276
44274
  bankAccount: PaymentMethodsBankAccount$inboundSchema
44277
44275
  });
44278
44276
  InstantBankCreditPaymentMethod$outboundSchema = objectType({
44279
44277
  paymentMethodID: stringType(),
44280
- paymentMethodType: InstantBankCreditPaymentMethodPaymentMethodType$outboundSchema,
44278
+ paymentMethodType: literalType("instant-bank-credit"),
44281
44279
  bankAccount: PaymentMethodsBankAccount$outboundSchema
44282
44280
  });
44283
44281
  });
@@ -44400,25 +44398,95 @@ var init_institutionssearchresponse = __esm(() => {
44400
44398
  });
44401
44399
  });
44402
44400
 
44401
+ // src/models/components/invoicelineitemimagemetadata.ts
44402
+ var InvoiceLineItemImageMetadata$inboundSchema, InvoiceLineItemImageMetadata$outboundSchema;
44403
+ var init_invoicelineitemimagemetadata = __esm(() => {
44404
+ init_esm();
44405
+ InvoiceLineItemImageMetadata$inboundSchema = objectType({
44406
+ imageID: stringType(),
44407
+ altText: stringType().optional(),
44408
+ link: stringType(),
44409
+ publicID: stringType()
44410
+ });
44411
+ InvoiceLineItemImageMetadata$outboundSchema = objectType({
44412
+ imageID: stringType(),
44413
+ altText: stringType().optional(),
44414
+ link: stringType(),
44415
+ publicID: stringType()
44416
+ });
44417
+ });
44418
+
44419
+ // src/models/components/invoicelineitemoption.ts
44420
+ var InvoiceLineItemOption$inboundSchema, InvoiceLineItemOption$outboundSchema;
44421
+ var init_invoicelineitemoption = __esm(() => {
44422
+ init_esm();
44423
+ init_amountdecimal();
44424
+ InvoiceLineItemOption$inboundSchema = objectType({
44425
+ name: stringType(),
44426
+ quantity: numberType().int(),
44427
+ priceModifier: AmountDecimal$inboundSchema.optional(),
44428
+ group: stringType().optional()
44429
+ });
44430
+ InvoiceLineItemOption$outboundSchema = objectType({
44431
+ name: stringType(),
44432
+ quantity: numberType().int(),
44433
+ priceModifier: AmountDecimal$outboundSchema.optional(),
44434
+ group: stringType().optional()
44435
+ });
44436
+ });
44437
+
44438
+ // src/models/components/invoicelineitem.ts
44439
+ var InvoiceLineItem$inboundSchema, InvoiceLineItem$outboundSchema;
44440
+ var init_invoicelineitem = __esm(() => {
44441
+ init_esm();
44442
+ init_amountdecimal();
44443
+ init_invoicelineitemimagemetadata();
44444
+ init_invoicelineitemoption();
44445
+ InvoiceLineItem$inboundSchema = objectType({
44446
+ name: stringType(),
44447
+ basePrice: AmountDecimal$inboundSchema,
44448
+ quantity: numberType().int(),
44449
+ productID: stringType().optional(),
44450
+ options: arrayType(InvoiceLineItemOption$inboundSchema).optional(),
44451
+ images: arrayType(InvoiceLineItemImageMetadata$inboundSchema).optional()
44452
+ });
44453
+ InvoiceLineItem$outboundSchema = objectType({
44454
+ name: stringType(),
44455
+ basePrice: AmountDecimal$outboundSchema,
44456
+ quantity: numberType().int(),
44457
+ productID: stringType().optional(),
44458
+ options: arrayType(InvoiceLineItemOption$outboundSchema).optional(),
44459
+ images: arrayType(InvoiceLineItemImageMetadata$outboundSchema).optional()
44460
+ });
44461
+ });
44462
+
44463
+ // src/models/components/invoicelineitems.ts
44464
+ var InvoiceLineItems$inboundSchema, InvoiceLineItems$outboundSchema;
44465
+ var init_invoicelineitems = __esm(() => {
44466
+ init_esm();
44467
+ init_invoicelineitem();
44468
+ InvoiceLineItems$inboundSchema = objectType({
44469
+ items: arrayType(InvoiceLineItem$inboundSchema)
44470
+ });
44471
+ InvoiceLineItems$outboundSchema = objectType({
44472
+ items: arrayType(InvoiceLineItem$outboundSchema)
44473
+ });
44474
+ });
44475
+
44403
44476
  // src/models/components/invoiceexternalpayment.ts
44404
- var InvoiceExternalPaymentPaymentType, InvoiceExternalPaymentPaymentType$inboundSchema, InvoiceExternalPaymentPaymentType$outboundSchema, InvoiceExternalPayment$inboundSchema, InvoiceExternalPayment$outboundSchema;
44477
+ var InvoiceExternalPayment$inboundSchema, InvoiceExternalPayment$outboundSchema;
44405
44478
  var init_invoiceexternalpayment = __esm(() => {
44406
44479
  init_esm();
44407
44480
  init_amountdecimal();
44408
- InvoiceExternalPaymentPaymentType = {
44409
- External: "external"
44410
- };
44411
- InvoiceExternalPaymentPaymentType$inboundSchema = nativeEnumType(InvoiceExternalPaymentPaymentType);
44412
- InvoiceExternalPaymentPaymentType$outboundSchema = InvoiceExternalPaymentPaymentType$inboundSchema;
44413
44481
  InvoiceExternalPayment$inboundSchema = objectType({
44414
- paymentType: InvoiceExternalPaymentPaymentType$inboundSchema,
44482
+ paymentType: literalType("external"),
44415
44483
  description: stringType(),
44416
44484
  foreignID: stringType().optional(),
44417
44485
  paymentDate: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
44418
44486
  amount: AmountDecimal$inboundSchema
44419
44487
  });
44420
44488
  InvoiceExternalPayment$outboundSchema = objectType({
44421
- paymentType: InvoiceExternalPaymentPaymentType$outboundSchema,
44489
+ paymentType: literalType("external"),
44422
44490
  description: stringType(),
44423
44491
  foreignID: stringType().optional(),
44424
44492
  paymentDate: dateType().transform((v2) => v2.toISOString()).optional(),
@@ -44427,20 +44495,15 @@ var init_invoiceexternalpayment = __esm(() => {
44427
44495
  });
44428
44496
 
44429
44497
  // src/models/components/invoicetransferpayment.ts
44430
- var PaymentType, PaymentType$inboundSchema, PaymentType$outboundSchema, InvoiceTransferPayment$inboundSchema, InvoiceTransferPayment$outboundSchema;
44498
+ var InvoiceTransferPayment$inboundSchema, InvoiceTransferPayment$outboundSchema;
44431
44499
  var init_invoicetransferpayment = __esm(() => {
44432
44500
  init_esm();
44433
- PaymentType = {
44434
- Transfer: "transfer"
44435
- };
44436
- PaymentType$inboundSchema = nativeEnumType(PaymentType);
44437
- PaymentType$outboundSchema = PaymentType$inboundSchema;
44438
44501
  InvoiceTransferPayment$inboundSchema = objectType({
44439
- paymentType: PaymentType$inboundSchema,
44502
+ paymentType: literalType("transfer"),
44440
44503
  transferID: stringType()
44441
44504
  });
44442
44505
  InvoiceTransferPayment$outboundSchema = objectType({
44443
- paymentType: PaymentType$outboundSchema,
44506
+ paymentType: literalType("transfer"),
44444
44507
  transferID: stringType()
44445
44508
  });
44446
44509
  });
@@ -44452,20 +44515,12 @@ var init_invoicepayment = __esm(() => {
44452
44515
  init_invoiceexternalpayment();
44453
44516
  init_invoicetransferpayment();
44454
44517
  InvoicePayment$inboundSchema = unionType([
44455
- InvoiceExternalPayment$inboundSchema.and(objectType({ paymentType: literalType("external") }).transform((v2) => ({
44456
- paymentType: v2.paymentType
44457
- }))),
44458
- InvoiceTransferPayment$inboundSchema.and(objectType({ paymentType: literalType("transfer") }).transform((v2) => ({
44459
- paymentType: v2.paymentType
44460
- })))
44518
+ InvoiceTransferPayment$inboundSchema,
44519
+ InvoiceExternalPayment$inboundSchema
44461
44520
  ]);
44462
44521
  InvoicePayment$outboundSchema = unionType([
44463
- InvoiceExternalPayment$outboundSchema.and(objectType({ paymentType: literalType("external") }).transform((v2) => ({
44464
- paymentType: v2.paymentType
44465
- }))),
44466
- InvoiceTransferPayment$outboundSchema.and(objectType({ paymentType: literalType("transfer") }).transform((v2) => ({
44467
- paymentType: v2.paymentType
44468
- })))
44522
+ InvoiceTransferPayment$outboundSchema,
44523
+ InvoiceExternalPayment$outboundSchema
44469
44524
  ]);
44470
44525
  });
44471
44526
 
@@ -44562,19 +44617,6 @@ var init_invoicelineitemoptionvalidationerror = __esm(() => {
44562
44617
  });
44563
44618
  });
44564
44619
 
44565
- // src/models/components/invoicelineitemsupdate.ts
44566
- var InvoiceLineItemsUpdate$inboundSchema, InvoiceLineItemsUpdate$outboundSchema;
44567
- var init_invoicelineitemsupdate = __esm(() => {
44568
- init_esm();
44569
- init_invoicelineitem();
44570
- InvoiceLineItemsUpdate$inboundSchema = objectType({
44571
- items: arrayType(InvoiceLineItem$inboundSchema).optional()
44572
- });
44573
- InvoiceLineItemsUpdate$outboundSchema = objectType({
44574
- items: arrayType(InvoiceLineItem$outboundSchema).optional()
44575
- });
44576
- });
44577
-
44578
44620
  // src/models/components/invoicelineitemvalidationerror.ts
44579
44621
  var InvoiceLineItemValidationError$inboundSchema, InvoiceLineItemValidationError$outboundSchema;
44580
44622
  var init_invoicelineitemvalidationerror = __esm(() => {
@@ -45282,23 +45324,18 @@ var init_moovfee = __esm(() => {
45282
45324
  });
45283
45325
 
45284
45326
  // src/models/components/moovwalletpaymentmethod.ts
45285
- var MoovWalletPaymentMethodPaymentMethodType, MoovWalletPaymentMethodPaymentMethodType$inboundSchema, MoovWalletPaymentMethodPaymentMethodType$outboundSchema, MoovWalletPaymentMethod$inboundSchema, MoovWalletPaymentMethod$outboundSchema;
45327
+ var MoovWalletPaymentMethod$inboundSchema, MoovWalletPaymentMethod$outboundSchema;
45286
45328
  var init_moovwalletpaymentmethod = __esm(() => {
45287
45329
  init_esm();
45288
45330
  init_paymentmethodswallet();
45289
- MoovWalletPaymentMethodPaymentMethodType = {
45290
- MoovWallet: "moov-wallet"
45291
- };
45292
- MoovWalletPaymentMethodPaymentMethodType$inboundSchema = nativeEnumType(MoovWalletPaymentMethodPaymentMethodType);
45293
- MoovWalletPaymentMethodPaymentMethodType$outboundSchema = MoovWalletPaymentMethodPaymentMethodType$inboundSchema;
45294
45331
  MoovWalletPaymentMethod$inboundSchema = objectType({
45295
45332
  paymentMethodID: stringType(),
45296
- paymentMethodType: MoovWalletPaymentMethodPaymentMethodType$inboundSchema,
45333
+ paymentMethodType: literalType("moov-wallet"),
45297
45334
  wallet: PaymentMethodsWallet$inboundSchema
45298
45335
  });
45299
45336
  MoovWalletPaymentMethod$outboundSchema = objectType({
45300
45337
  paymentMethodID: stringType(),
45301
- paymentMethodType: MoovWalletPaymentMethodPaymentMethodType$outboundSchema,
45338
+ paymentMethodType: literalType("moov-wallet"),
45302
45339
  wallet: PaymentMethodsWallet$outboundSchema
45303
45340
  });
45304
45341
  });
@@ -45778,7 +45815,7 @@ var init_patchaccount = __esm(() => {
45778
45815
  });
45779
45816
 
45780
45817
  // src/models/components/patchsweepconfig.ts
45781
- var Status, Status$inboundSchema, Status$outboundSchema, PushPaymentMethodId2$inboundSchema, PushPaymentMethodId2$outboundSchema, PushPaymentMethodID$inboundSchema, PushPaymentMethodID$outboundSchema, PullPaymentMethodId2$inboundSchema, PullPaymentMethodId2$outboundSchema, PullPaymentMethodID$inboundSchema, PullPaymentMethodID$outboundSchema, StatementDescriptor2$inboundSchema, StatementDescriptor2$outboundSchema, StatementDescriptor$inboundSchema, StatementDescriptor$outboundSchema, PatchSweepConfig$inboundSchema, PatchSweepConfig$outboundSchema;
45818
+ var Status, Status$inboundSchema, Status$outboundSchema, PatchSweepConfig$inboundSchema, PatchSweepConfig$outboundSchema;
45782
45819
  var init_patchsweepconfig = __esm(() => {
45783
45820
  init_esm();
45784
45821
  Status = {
@@ -45787,30 +45824,18 @@ var init_patchsweepconfig = __esm(() => {
45787
45824
  };
45788
45825
  Status$inboundSchema = nativeEnumType(Status);
45789
45826
  Status$outboundSchema = Status$inboundSchema;
45790
- PushPaymentMethodId2$inboundSchema = objectType({});
45791
- PushPaymentMethodId2$outboundSchema = objectType({});
45792
- PushPaymentMethodID$inboundSchema = unionType([stringType(), lazyType(() => PushPaymentMethodId2$inboundSchema)]);
45793
- PushPaymentMethodID$outboundSchema = unionType([stringType(), lazyType(() => PushPaymentMethodId2$outboundSchema)]);
45794
- PullPaymentMethodId2$inboundSchema = objectType({});
45795
- PullPaymentMethodId2$outboundSchema = objectType({});
45796
- PullPaymentMethodID$inboundSchema = unionType([stringType(), lazyType(() => PullPaymentMethodId2$inboundSchema)]);
45797
- PullPaymentMethodID$outboundSchema = unionType([stringType(), lazyType(() => PullPaymentMethodId2$outboundSchema)]);
45798
- StatementDescriptor2$inboundSchema = objectType({});
45799
- StatementDescriptor2$outboundSchema = objectType({});
45800
- StatementDescriptor$inboundSchema = unionType([stringType(), lazyType(() => StatementDescriptor2$inboundSchema)]);
45801
- StatementDescriptor$outboundSchema = unionType([stringType(), lazyType(() => StatementDescriptor2$outboundSchema)]);
45802
45827
  PatchSweepConfig$inboundSchema = objectType({
45803
45828
  status: nullableType(Status$inboundSchema).optional(),
45804
- pushPaymentMethodID: nullableType(unionType([stringType(), lazyType(() => PushPaymentMethodId2$inboundSchema)])).optional(),
45805
- pullPaymentMethodID: nullableType(unionType([stringType(), lazyType(() => PullPaymentMethodId2$inboundSchema)])).optional(),
45806
- statementDescriptor: nullableType(unionType([stringType(), lazyType(() => StatementDescriptor2$inboundSchema)])).optional(),
45829
+ pushPaymentMethodID: nullableType(stringType()).optional(),
45830
+ pullPaymentMethodID: nullableType(stringType()).optional(),
45831
+ statementDescriptor: nullableType(stringType()).optional(),
45807
45832
  minimumBalance: nullableType(stringType()).optional()
45808
45833
  });
45809
45834
  PatchSweepConfig$outboundSchema = objectType({
45810
45835
  status: nullableType(Status$outboundSchema).optional(),
45811
- pushPaymentMethodID: nullableType(unionType([stringType(), lazyType(() => PushPaymentMethodId2$outboundSchema)])).optional(),
45812
- pullPaymentMethodID: nullableType(unionType([stringType(), lazyType(() => PullPaymentMethodId2$outboundSchema)])).optional(),
45813
- statementDescriptor: nullableType(unionType([stringType(), lazyType(() => StatementDescriptor2$outboundSchema)])).optional(),
45836
+ pushPaymentMethodID: nullableType(stringType()).optional(),
45837
+ pullPaymentMethodID: nullableType(stringType()).optional(),
45838
+ statementDescriptor: nullableType(stringType()).optional(),
45814
45839
  minimumBalance: nullableType(stringType()).optional()
45815
45840
  });
45816
45841
  });
@@ -46104,67 +46129,52 @@ var init_paymentlinkpayoutdetailsupdate = __esm(() => {
46104
46129
  });
46105
46130
 
46106
46131
  // src/models/components/pullfromcardpaymentmethod.ts
46107
- var PullFromCardPaymentMethodPaymentMethodType, PullFromCardPaymentMethodPaymentMethodType$inboundSchema, PullFromCardPaymentMethodPaymentMethodType$outboundSchema, PullFromCardPaymentMethod$inboundSchema, PullFromCardPaymentMethod$outboundSchema;
46132
+ var PullFromCardPaymentMethod$inboundSchema, PullFromCardPaymentMethod$outboundSchema;
46108
46133
  var init_pullfromcardpaymentmethod = __esm(() => {
46109
46134
  init_esm();
46110
46135
  init_paymentmethodscard();
46111
- PullFromCardPaymentMethodPaymentMethodType = {
46112
- PullFromCard: "pull-from-card"
46113
- };
46114
- PullFromCardPaymentMethodPaymentMethodType$inboundSchema = nativeEnumType(PullFromCardPaymentMethodPaymentMethodType);
46115
- PullFromCardPaymentMethodPaymentMethodType$outboundSchema = PullFromCardPaymentMethodPaymentMethodType$inboundSchema;
46116
46136
  PullFromCardPaymentMethod$inboundSchema = objectType({
46117
46137
  paymentMethodID: stringType(),
46118
- paymentMethodType: PullFromCardPaymentMethodPaymentMethodType$inboundSchema,
46138
+ paymentMethodType: literalType("pull-from-card"),
46119
46139
  card: PaymentMethodsCard$inboundSchema
46120
46140
  });
46121
46141
  PullFromCardPaymentMethod$outboundSchema = objectType({
46122
46142
  paymentMethodID: stringType(),
46123
- paymentMethodType: PullFromCardPaymentMethodPaymentMethodType$outboundSchema,
46143
+ paymentMethodType: literalType("pull-from-card"),
46124
46144
  card: PaymentMethodsCard$outboundSchema
46125
46145
  });
46126
46146
  });
46127
46147
 
46128
46148
  // src/models/components/pushtocardpaymentmethod.ts
46129
- var PushToCardPaymentMethodPaymentMethodType, PushToCardPaymentMethodPaymentMethodType$inboundSchema, PushToCardPaymentMethodPaymentMethodType$outboundSchema, PushToCardPaymentMethod$inboundSchema, PushToCardPaymentMethod$outboundSchema;
46149
+ var PushToCardPaymentMethod$inboundSchema, PushToCardPaymentMethod$outboundSchema;
46130
46150
  var init_pushtocardpaymentmethod = __esm(() => {
46131
46151
  init_esm();
46132
46152
  init_paymentmethodscard();
46133
- PushToCardPaymentMethodPaymentMethodType = {
46134
- PushToCard: "push-to-card"
46135
- };
46136
- PushToCardPaymentMethodPaymentMethodType$inboundSchema = nativeEnumType(PushToCardPaymentMethodPaymentMethodType);
46137
- PushToCardPaymentMethodPaymentMethodType$outboundSchema = PushToCardPaymentMethodPaymentMethodType$inboundSchema;
46138
46153
  PushToCardPaymentMethod$inboundSchema = objectType({
46139
46154
  paymentMethodID: stringType(),
46140
- paymentMethodType: PushToCardPaymentMethodPaymentMethodType$inboundSchema,
46155
+ paymentMethodType: literalType("push-to-card"),
46141
46156
  card: PaymentMethodsCard$inboundSchema
46142
46157
  });
46143
46158
  PushToCardPaymentMethod$outboundSchema = objectType({
46144
46159
  paymentMethodID: stringType(),
46145
- paymentMethodType: PushToCardPaymentMethodPaymentMethodType$outboundSchema,
46160
+ paymentMethodType: literalType("push-to-card"),
46146
46161
  card: PaymentMethodsCard$outboundSchema
46147
46162
  });
46148
46163
  });
46149
46164
 
46150
46165
  // src/models/components/rtpcreditpaymentmethod.ts
46151
- var RtpCreditPaymentMethodPaymentMethodType, RtpCreditPaymentMethodPaymentMethodType$inboundSchema, RtpCreditPaymentMethodPaymentMethodType$outboundSchema, RtpCreditPaymentMethod$inboundSchema, RtpCreditPaymentMethod$outboundSchema;
46166
+ var RtpCreditPaymentMethod$inboundSchema, RtpCreditPaymentMethod$outboundSchema;
46152
46167
  var init_rtpcreditpaymentmethod = __esm(() => {
46153
46168
  init_esm();
46154
46169
  init_paymentmethodsbankaccount();
46155
- RtpCreditPaymentMethodPaymentMethodType = {
46156
- RtpCredit: "rtp-credit"
46157
- };
46158
- RtpCreditPaymentMethodPaymentMethodType$inboundSchema = nativeEnumType(RtpCreditPaymentMethodPaymentMethodType);
46159
- RtpCreditPaymentMethodPaymentMethodType$outboundSchema = RtpCreditPaymentMethodPaymentMethodType$inboundSchema;
46160
46170
  RtpCreditPaymentMethod$inboundSchema = objectType({
46161
46171
  paymentMethodID: stringType(),
46162
- paymentMethodType: RtpCreditPaymentMethodPaymentMethodType$inboundSchema,
46172
+ paymentMethodType: literalType("rtp-credit"),
46163
46173
  bankAccount: PaymentMethodsBankAccount$inboundSchema
46164
46174
  });
46165
46175
  RtpCreditPaymentMethod$outboundSchema = objectType({
46166
46176
  paymentMethodID: stringType(),
46167
- paymentMethodType: RtpCreditPaymentMethodPaymentMethodType$outboundSchema,
46177
+ paymentMethodType: literalType("rtp-credit"),
46168
46178
  bankAccount: PaymentMethodsBankAccount$outboundSchema
46169
46179
  });
46170
46180
  });
@@ -46186,40 +46196,32 @@ var init_paymentmethod = __esm(() => {
46186
46196
  init_pushtocardpaymentmethod();
46187
46197
  init_rtpcreditpaymentmethod();
46188
46198
  PaymentMethod$inboundSchema = unionType([
46189
- MoovWalletPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("moov-wallet") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46190
- AchDebitFundPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("ach-debit-fund") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46191
- AchDebitCollectPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("ach-debit-collect") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46192
- AchCreditStandardPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("ach-credit-standard") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46193
- AchCreditSameDayPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("ach-credit-same-day") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46194
- RtpCreditPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("rtp-credit") }).transform((v2) => ({
46195
- paymentMethodType: v2.paymentMethodType
46196
- }))),
46197
- CardPaymentPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("card-payment") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46198
- PushToCardPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("push-to-card") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46199
- PullFromCardPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("pull-from-card") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46200
- ApplePayPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("apple-pay") }).transform((v2) => ({
46201
- paymentMethodType: v2.paymentMethodType
46202
- }))),
46203
- InstantBankCreditPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("instant-bank-credit") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46204
- CardPresentPaymentPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("card-present-payment") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType })))
46199
+ MoovWalletPaymentMethod$inboundSchema,
46200
+ AchDebitFundPaymentMethod$inboundSchema,
46201
+ AchDebitCollectPaymentMethod$inboundSchema,
46202
+ AchCreditStandardPaymentMethod$inboundSchema,
46203
+ AchCreditSameDayPaymentMethod$inboundSchema,
46204
+ RtpCreditPaymentMethod$inboundSchema,
46205
+ CardPaymentPaymentMethod$inboundSchema,
46206
+ PushToCardPaymentMethod$inboundSchema,
46207
+ PullFromCardPaymentMethod$inboundSchema,
46208
+ ApplePayPaymentMethod$inboundSchema,
46209
+ CardPresentPaymentPaymentMethod$inboundSchema,
46210
+ InstantBankCreditPaymentMethod$inboundSchema
46205
46211
  ]);
46206
46212
  PaymentMethod$outboundSchema = unionType([
46207
- MoovWalletPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("moov-wallet") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46208
- AchDebitFundPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("ach-debit-fund") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46209
- AchDebitCollectPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("ach-debit-collect") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46210
- AchCreditStandardPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("ach-credit-standard") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46211
- AchCreditSameDayPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("ach-credit-same-day") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46212
- RtpCreditPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("rtp-credit") }).transform((v2) => ({
46213
- paymentMethodType: v2.paymentMethodType
46214
- }))),
46215
- CardPaymentPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("card-payment") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46216
- PushToCardPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("push-to-card") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46217
- PullFromCardPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("pull-from-card") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46218
- ApplePayPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("apple-pay") }).transform((v2) => ({
46219
- paymentMethodType: v2.paymentMethodType
46220
- }))),
46221
- InstantBankCreditPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("instant-bank-credit") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46222
- CardPresentPaymentPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("card-present-payment") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType })))
46213
+ MoovWalletPaymentMethod$outboundSchema,
46214
+ AchDebitFundPaymentMethod$outboundSchema,
46215
+ AchDebitCollectPaymentMethod$outboundSchema,
46216
+ AchCreditStandardPaymentMethod$outboundSchema,
46217
+ AchCreditSameDayPaymentMethod$outboundSchema,
46218
+ RtpCreditPaymentMethod$outboundSchema,
46219
+ CardPaymentPaymentMethod$outboundSchema,
46220
+ PushToCardPaymentMethod$outboundSchema,
46221
+ PullFromCardPaymentMethod$outboundSchema,
46222
+ ApplePayPaymentMethod$outboundSchema,
46223
+ CardPresentPaymentPaymentMethod$outboundSchema,
46224
+ InstantBankCreditPaymentMethod$outboundSchema
46223
46225
  ]);
46224
46226
  });
46225
46227
 
@@ -47746,11 +47748,11 @@ var UpdateInvoice$inboundSchema, UpdateInvoice$outboundSchema;
47746
47748
  var init_updateinvoice = __esm(() => {
47747
47749
  init_esm();
47748
47750
  init_amountdecimalupdate();
47749
- init_invoicelineitemsupdate();
47751
+ init_createinvoicelineitemsupdate();
47750
47752
  init_invoicestatus();
47751
47753
  UpdateInvoice$inboundSchema = objectType({
47752
47754
  description: stringType().optional(),
47753
- lineItems: InvoiceLineItemsUpdate$inboundSchema.optional(),
47755
+ lineItems: CreateInvoiceLineItemsUpdate$inboundSchema.optional(),
47754
47756
  invoiceDate: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional(),
47755
47757
  dueDate: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional(),
47756
47758
  status: InvoiceStatus$inboundSchema.optional(),
@@ -47758,7 +47760,7 @@ var init_updateinvoice = __esm(() => {
47758
47760
  });
47759
47761
  UpdateInvoice$outboundSchema = objectType({
47760
47762
  description: stringType().optional(),
47761
- lineItems: InvoiceLineItemsUpdate$outboundSchema.optional(),
47763
+ lineItems: CreateInvoiceLineItemsUpdate$outboundSchema.optional(),
47762
47764
  invoiceDate: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
47763
47765
  dueDate: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
47764
47766
  status: InvoiceStatus$outboundSchema.optional(),
@@ -47815,7 +47817,7 @@ var init_updatepaymentlink = __esm(() => {
47815
47817
  });
47816
47818
 
47817
47819
  // src/models/components/updaterepresentative.ts
47818
- var Phone$inboundSchema, Phone$outboundSchema, Two$inboundSchema, Two$outboundSchema, Email$inboundSchema, Email$outboundSchema, UpdateRepresentativeAddress$inboundSchema, UpdateRepresentativeAddress$outboundSchema, UpdateRepresentativeBirthDate$inboundSchema, UpdateRepresentativeBirthDate$outboundSchema, UpdateRepresentativeSsn$inboundSchema, UpdateRepresentativeSsn$outboundSchema, UpdateRepresentativeItin$inboundSchema, UpdateRepresentativeItin$outboundSchema, UpdateRepresentativeGovernmentID$inboundSchema, UpdateRepresentativeGovernmentID$outboundSchema, Responsibilities$inboundSchema, Responsibilities$outboundSchema, UpdateRepresentative$inboundSchema, UpdateRepresentative$outboundSchema;
47820
+ var Phone$inboundSchema, Phone$outboundSchema, UpdateRepresentativeAddress$inboundSchema, UpdateRepresentativeAddress$outboundSchema, UpdateRepresentativeBirthDate$inboundSchema, UpdateRepresentativeBirthDate$outboundSchema, UpdateRepresentativeSsn$inboundSchema, UpdateRepresentativeSsn$outboundSchema, UpdateRepresentativeItin$inboundSchema, UpdateRepresentativeItin$outboundSchema, UpdateRepresentativeGovernmentID$inboundSchema, UpdateRepresentativeGovernmentID$outboundSchema, Responsibilities$inboundSchema, Responsibilities$outboundSchema, UpdateRepresentative$inboundSchema, UpdateRepresentative$outboundSchema;
47819
47821
  var init_updaterepresentative = __esm(() => {
47820
47822
  init_esm();
47821
47823
  init_individualnameupdate();
@@ -47827,10 +47829,6 @@ var init_updaterepresentative = __esm(() => {
47827
47829
  number: stringType().optional(),
47828
47830
  countryCode: stringType().optional()
47829
47831
  });
47830
- Two$inboundSchema = objectType({});
47831
- Two$outboundSchema = objectType({});
47832
- Email$inboundSchema = unionType([stringType(), lazyType(() => Two$inboundSchema)]);
47833
- Email$outboundSchema = unionType([stringType(), lazyType(() => Two$outboundSchema)]);
47834
47832
  UpdateRepresentativeAddress$inboundSchema = objectType({
47835
47833
  addressLine1: stringType().optional(),
47836
47834
  addressLine2: stringType().optional(),
@@ -47896,7 +47894,7 @@ var init_updaterepresentative = __esm(() => {
47896
47894
  UpdateRepresentative$inboundSchema = objectType({
47897
47895
  name: IndividualNameUpdate$inboundSchema.optional(),
47898
47896
  phone: nullableType(lazyType(() => Phone$inboundSchema)).optional(),
47899
- email: nullableType(unionType([stringType(), lazyType(() => Two$inboundSchema)])).optional(),
47897
+ email: nullableType(stringType()).optional(),
47900
47898
  address: nullableType(lazyType(() => UpdateRepresentativeAddress$inboundSchema)).optional(),
47901
47899
  birthDate: nullableType(lazyType(() => UpdateRepresentativeBirthDate$inboundSchema)).optional(),
47902
47900
  governmentID: nullableType(lazyType(() => UpdateRepresentativeGovernmentID$inboundSchema)).optional(),
@@ -47905,7 +47903,7 @@ var init_updaterepresentative = __esm(() => {
47905
47903
  UpdateRepresentative$outboundSchema = objectType({
47906
47904
  name: IndividualNameUpdate$outboundSchema.optional(),
47907
47905
  phone: nullableType(lazyType(() => Phone$outboundSchema)).optional(),
47908
- email: nullableType(unionType([stringType(), lazyType(() => Two$outboundSchema)])).optional(),
47906
+ email: nullableType(stringType()).optional(),
47909
47907
  address: nullableType(lazyType(() => UpdateRepresentativeAddress$outboundSchema)).optional(),
47910
47908
  birthDate: nullableType(lazyType(() => UpdateRepresentativeBirthDate$outboundSchema)).optional(),
47911
47909
  governmentID: nullableType(lazyType(() => UpdateRepresentativeGovernmentID$outboundSchema)).optional(),
@@ -49185,6 +49183,13 @@ var init_components = __esm(() => {
49185
49183
  init_createindividualerror();
49186
49184
  init_createindividualprofile();
49187
49185
  init_createinvoice();
49186
+ init_createinvoicelineitem();
49187
+ init_createinvoicelineitemoption();
49188
+ init_createinvoicelineitemoptionvalidationerror();
49189
+ init_createinvoicelineitems();
49190
+ init_createinvoicelineitemsupdate();
49191
+ init_createinvoicelineitemsvalidationerror();
49192
+ init_createinvoicelineitemvalidationerror();
49188
49193
  init_createpaymentlink();
49189
49194
  init_createpaymentlinklineitem();
49190
49195
  init_createpaymentlinklineitemoption();
@@ -49272,7 +49277,6 @@ var init_components = __esm(() => {
49272
49277
  init_imagemetadata();
49273
49278
  init_imagemetadatarequest();
49274
49279
  init_imagemetadatavalidationerror();
49275
- init_imageupdaterequestmultipart();
49276
49280
  init_imageuploadrequestmultipart();
49277
49281
  init_incurredfee();
49278
49282
  init_individualname();
@@ -49287,10 +49291,10 @@ var init_components = __esm(() => {
49287
49291
  init_invoice();
49288
49292
  init_invoiceexternalpayment();
49289
49293
  init_invoicelineitem();
49294
+ init_invoicelineitemimagemetadata();
49290
49295
  init_invoicelineitemoption();
49291
49296
  init_invoicelineitemoptionvalidationerror();
49292
49297
  init_invoicelineitems();
49293
- init_invoicelineitemsupdate();
49294
49298
  init_invoicelineitemsvalidationerror();
49295
49299
  init_invoicelineitemvalidationerror();
49296
49300
  init_invoicepayment();
@@ -49770,7 +49774,7 @@ var init_createinvoiceerror = __esm(() => {
49770
49774
  CreateInvoiceError$inboundSchema = objectType({
49771
49775
  customerAccountID: stringType().optional(),
49772
49776
  description: stringType().optional(),
49773
- lineItems: InvoiceLineItemsValidationError$inboundSchema.optional(),
49777
+ lineItems: CreateInvoiceLineItemsValidationError$inboundSchema.optional(),
49774
49778
  invoiceDate: stringType().optional(),
49775
49779
  dueDate: stringType().optional(),
49776
49780
  taxAmount: AmountDecimalValidationError$inboundSchema.optional(),
@@ -49787,7 +49791,7 @@ var init_createinvoiceerror = __esm(() => {
49787
49791
  CreateInvoiceError$outboundSchema = instanceOfType(CreateInvoiceError).transform((v2) => v2.data$).pipe(objectType({
49788
49792
  customerAccountID: stringType().optional(),
49789
49793
  description: stringType().optional(),
49790
- lineItems: InvoiceLineItemsValidationError$outboundSchema.optional(),
49794
+ lineItems: CreateInvoiceLineItemsValidationError$outboundSchema.optional(),
49791
49795
  invoiceDate: stringType().optional(),
49792
49796
  dueDate: stringType().optional(),
49793
49797
  taxAmount: AmountDecimalValidationError$outboundSchema.optional()
@@ -59895,19 +59899,19 @@ var init_updateimage = __esm(() => {
59895
59899
  UpdateImageRequest$inboundSchema = objectType({
59896
59900
  accountID: stringType(),
59897
59901
  imageID: stringType(),
59898
- ImageUpdateRequestMultiPart: ImageUpdateRequestMultiPart$inboundSchema
59902
+ ImageUploadRequestMultiPart: ImageUploadRequestMultiPart$inboundSchema
59899
59903
  }).transform((v2) => {
59900
59904
  return remap(v2, {
59901
- ImageUpdateRequestMultiPart: "imageUpdateRequestMultiPart"
59905
+ ImageUploadRequestMultiPart: "imageUploadRequestMultiPart"
59902
59906
  });
59903
59907
  });
59904
59908
  UpdateImageRequest$outboundSchema = objectType({
59905
59909
  accountID: stringType(),
59906
59910
  imageID: stringType(),
59907
- imageUpdateRequestMultiPart: ImageUpdateRequestMultiPart$outboundSchema
59911
+ imageUploadRequestMultiPart: ImageUploadRequestMultiPart$outboundSchema
59908
59912
  }).transform((v2) => {
59909
59913
  return remap(v2, {
59910
- imageUpdateRequestMultiPart: "ImageUpdateRequestMultiPart"
59914
+ imageUploadRequestMultiPart: "ImageUploadRequestMultiPart"
59911
59915
  });
59912
59916
  });
59913
59917
  UpdateImageResponse$inboundSchema = objectType({
@@ -62164,7 +62168,7 @@ var init_accountsUpdate2 = __esm(() => {
62164
62168
 
62165
62169
  If you need to update information in a locked state, please contact Moov support.
62166
62170
 
62167
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
62171
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
62168
62172
  to specify the \`/accounts/{accountID}/profile.write\` scope.`,
62169
62173
  args: args9,
62170
62174
  tool: async (client, args10, ctx) => {
@@ -63470,12 +63474,12 @@ var init_applePayUpdateMerchantDomains2 = __esm(() => {
63470
63474
  };
63471
63475
  tool$applePayUpdateMerchantDomains = {
63472
63476
  name: "apple-pay-update-merchant-domains",
63473
- description: `Add or remove domains to be registered with Apple Pay.
63477
+ description: `Add or remove domains to be registered with Apple Pay.
63474
63478
 
63475
- Any domains that will be used to accept payments must first be [verified](https://docs.moov.io/guides/sources/cards/apple-pay/#register-your-domains)
63479
+ Any domains that will be used to accept payments must first be [verified](https://docs.moov.io/guides/sources/cards/apple-pay/#register-your-domains)
63476
63480
  with Apple.
63477
63481
 
63478
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
63482
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
63479
63483
  you'll need to specify the \`/accounts/{accountID}/apple-pay.write\` scope.`,
63480
63484
  args: args20,
63481
63485
  tool: async (client, args21, ctx) => {
@@ -65321,7 +65325,7 @@ var init_brandingUpdate2 = __esm(() => {
65321
65325
  name: "branding-update",
65322
65326
  description: `Updates the brand properties for the specified account.
65323
65327
 
65324
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
65328
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
65325
65329
  you'll need to specify the \`/accounts/{accountID}/branding.write\` scope.`,
65326
65330
  args: args35,
65327
65331
  tool: async (client, args36, ctx) => {
@@ -66525,7 +66529,7 @@ var init_cardIssuingUpdate2 = __esm(() => {
66525
66529
  name: "card-issuing-update",
66526
66530
  description: `Update a Moov issued card.
66527
66531
 
66528
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
66532
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
66529
66533
  you'll need to specify the \`/accounts/{accountID}/issued-cards.write\` scope.`,
66530
66534
  args: args45,
66531
66535
  tool: async (client, args46, ctx) => {
@@ -67149,18 +67153,18 @@ var init_cardsUpdate2 = __esm(() => {
67149
67153
  };
67150
67154
  tool$cardsUpdate = {
67151
67155
  name: "cards-update",
67152
- description: `Update a linked card and/or resubmit it for verification.
67156
+ description: `Update a linked card and/or resubmit it for verification.
67153
67157
 
67154
- If a value is provided for CVV, a new verification ($0 authorization) will be submitted for the card. Updating the expiration
67155
- date or
67158
+ If a value is provided for CVV, a new verification ($0 authorization) will be submitted for the card. Updating the expiration
67159
+ date or
67156
67160
  address will update the information stored on file for the card but will not be verified.
67157
67161
 
67158
- Read our [accept card payments guide](https://docs.moov.io/guides/sources/cards/accept-card-payments/#reverify-a-card) to learn
67162
+ Read our [accept card payments guide](https://docs.moov.io/guides/sources/cards/accept-card-payments/#reverify-a-card) to learn
67159
67163
  more.
67160
67164
 
67161
- Only use this endpoint if you have provided Moov with a copy of your PCI attestation of compliance.
67165
+ Only use this endpoint if you have provided Moov with a copy of your PCI attestation of compliance.
67162
67166
 
67163
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
67167
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
67164
67168
  you'll need to specify the \`/accounts/{accountID}/cards.write\` scope.`,
67165
67169
  args: args50,
67166
67170
  tool: async (client, args51, ctx) => {
@@ -71223,21 +71227,21 @@ async function $do84(client, request, options) {
71223
71227
  }
71224
71228
  const payload = parsed.value;
71225
71229
  const body = new FormData;
71226
- if (isBlobLike(payload.ImageUpdateRequestMultiPart.image)) {
71227
- appendForm(body, "image", payload.ImageUpdateRequestMultiPart.image);
71228
- } else if (isReadableStream(payload.ImageUpdateRequestMultiPart.image.content)) {
71229
- const buffer = await readableStreamToArrayBuffer(payload.ImageUpdateRequestMultiPart.image.content);
71230
- const contentType2 = getContentTypeFromFileName(payload.ImageUpdateRequestMultiPart.image.fileName) || "application/octet-stream";
71230
+ if (isBlobLike(payload.ImageUploadRequestMultiPart.image)) {
71231
+ appendForm(body, "image", payload.ImageUploadRequestMultiPart.image);
71232
+ } else if (isReadableStream(payload.ImageUploadRequestMultiPart.image.content)) {
71233
+ const buffer = await readableStreamToArrayBuffer(payload.ImageUploadRequestMultiPart.image.content);
71234
+ const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
71231
71235
  const blob = new Blob([buffer], { type: contentType2 });
71232
- appendForm(body, "image", blob, payload.ImageUpdateRequestMultiPart.image.fileName);
71236
+ appendForm(body, "image", blob, payload.ImageUploadRequestMultiPart.image.fileName);
71233
71237
  } else {
71234
- const contentType2 = getContentTypeFromFileName(payload.ImageUpdateRequestMultiPart.image.fileName) || "application/octet-stream";
71235
- appendForm(body, "image", new Blob([payload.ImageUpdateRequestMultiPart.image.content], {
71238
+ const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
71239
+ appendForm(body, "image", new Blob([payload.ImageUploadRequestMultiPart.image.content], {
71236
71240
  type: contentType2
71237
- }), payload.ImageUpdateRequestMultiPart.image.fileName);
71241
+ }), payload.ImageUploadRequestMultiPart.image.fileName);
71238
71242
  }
71239
- if (payload.ImageUpdateRequestMultiPart.metadata !== undefined) {
71240
- appendForm(body, "metadata", encodeJSON("metadata", payload.ImageUpdateRequestMultiPart.metadata, {
71243
+ if (payload.ImageUploadRequestMultiPart.metadata !== undefined) {
71244
+ appendForm(body, "metadata", encodeJSON("metadata", payload.ImageUploadRequestMultiPart.metadata, {
71241
71245
  explode: true
71242
71246
  }));
71243
71247
  }
@@ -71345,8 +71349,7 @@ var init_imagesUpdate2 = __esm(() => {
71345
71349
  description: `Replace an existing image and, optionally, its metadata.
71346
71350
 
71347
71351
  This endpoint replaces the existing image with the new PNG, JPEG, or WebP. Omit
71348
- the metadata form section to keep existing metadata, or send \`null\` to clear it.
71349
- Duplicate images, and requests larger than 16MB will be rejected.`,
71352
+ the metadata form section to keep existing metadata. Duplicate images, and requests larger than 16MB will be rejected.`,
71350
71353
  args: args84,
71351
71354
  tool: async (client, args85, ctx) => {
71352
71355
  const [result, apiCall] = await imagesUpdate(client, args85.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
@@ -74302,7 +74305,7 @@ var init_paymentLinksUpdate2 = __esm(() => {
74302
74305
  name: "payment-links-update",
74303
74306
  description: `Update a payment link.
74304
74307
 
74305
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
74308
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
74306
74309
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
74307
74310
  args: args109,
74308
74311
  tool: async (client, args110, ctx) => {
@@ -76063,7 +76066,7 @@ var init_representativesUpdate2 = __esm(() => {
76063
76066
  };
76064
76067
  tool$representativesUpdate = {
76065
76068
  name: "representatives-update",
76066
- description: `If a representative's information has changed you can patch the information associated with a specific representative ID.
76069
+ description: `If a representative's information has changed you can patch the information associated with a specific representative ID.
76067
76070
  Read our [business representatives guide](https://docs.moov.io/guides/accounts/requirements/business-representatives/) to learn more.
76068
76071
 
76069
76072
  When **can** profile data be updated:
@@ -76078,7 +76081,7 @@ When **can't** profile data be updated:
76078
76081
 
76079
76082
  If you need to update information in a locked state, please contact Moov support.
76080
76083
 
76081
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
76084
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
76082
76085
  you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
76083
76086
  args: args124,
76084
76087
  tool: async (client, args125, ctx) => {
@@ -77663,7 +77666,7 @@ var init_supportUpdateTicket2 = __esm(() => {
77663
77666
  name: "support-update-ticket",
77664
77667
  description: `Updates a support ticket.
77665
77668
 
77666
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
77669
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
77667
77670
  you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
77668
77671
 
77669
77672
  If you're updating the ticket on behalf of another account, then you'll need to
@@ -78387,7 +78390,7 @@ var init_sweepsUpdateConfig2 = __esm(() => {
78387
78390
  name: "sweeps-update-config",
78388
78391
  description: `Update settings on a sweep config.
78389
78392
 
78390
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
78393
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
78391
78394
  you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
78392
78395
  args: args143,
78393
78396
  tool: async (client, args144, ctx) => {
@@ -80305,11 +80308,11 @@ var init_transfersUpdate2 = __esm(() => {
80305
80308
  };
80306
80309
  tool$transfersUpdate = {
80307
80310
  name: "transfers-update",
80308
- description: `Update the metadata contained on a transfer.
80311
+ description: `Update the metadata contained on a transfer.
80309
80312
 
80310
- Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/overview/) to learn more.
80313
+ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/overview/) to learn more.
80311
80314
 
80312
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
80315
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
80313
80316
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
80314
80317
  args: args159,
80315
80318
  tool: async (client, args160, ctx) => {
@@ -81186,7 +81189,7 @@ var init_walletsUpdate2 = __esm(() => {
81186
81189
 
81187
81190
  Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to learn more.
81188
81191
 
81189
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
81192
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
81190
81193
  you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
81191
81194
  args: args166,
81192
81195
  tool: async (client, args167, ctx) => {
@@ -81463,7 +81466,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
81463
81466
  function createMCPServer(deps) {
81464
81467
  const server = new McpServer({
81465
81468
  name: "Moov",
81466
- version: "0.21.16"
81469
+ version: "0.22.0"
81467
81470
  });
81468
81471
  const client = new MoovCore({
81469
81472
  security: deps.security,
@@ -83023,7 +83026,7 @@ var routes = rn({
83023
83026
  var app = Ve(routes, {
83024
83027
  name: "mcp",
83025
83028
  versionInfo: {
83026
- currentVersion: "0.21.16"
83029
+ currentVersion: "0.22.0"
83027
83030
  }
83028
83031
  });
83029
83032
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -83031,5 +83034,5 @@ export {
83031
83034
  app
83032
83035
  };
83033
83036
 
83034
- //# debugId=C07E726DBC15D39A64756E2164756E21
83037
+ //# debugId=75E6AA129C96AF1664756E2164756E21
83035
83038
  //# sourceMappingURL=mcp-server.js.map