@moovio/sdk 0.21.15 → 0.21.17

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 (218) hide show
  1. package/README.md +44 -46
  2. package/bin/mcp-server.js +302 -289
  3. package/bin/mcp-server.js.map +50 -47
  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/encodings.d.ts.map +1 -1
  13. package/lib/encodings.js +3 -1
  14. package/lib/encodings.js.map +1 -1
  15. package/mcp-server/mcp-server.js +1 -1
  16. package/mcp-server/server.js +1 -1
  17. package/mcp-server/tools/accountsUpdate.js +1 -1
  18. package/mcp-server/tools/applePayUpdateMerchantDomains.js +3 -3
  19. package/mcp-server/tools/brandingUpdate.js +1 -1
  20. package/mcp-server/tools/cardIssuingUpdate.js +1 -1
  21. package/mcp-server/tools/cardsUpdate.js +6 -6
  22. package/mcp-server/tools/imagesUpdate.d.ts.map +1 -1
  23. package/mcp-server/tools/imagesUpdate.js +1 -2
  24. package/mcp-server/tools/imagesUpdate.js.map +1 -1
  25. package/mcp-server/tools/paymentLinksUpdate.js +1 -1
  26. package/mcp-server/tools/representativesUpdate.js +2 -2
  27. package/mcp-server/tools/supportUpdateTicket.js +1 -1
  28. package/mcp-server/tools/sweepsUpdateConfig.js +1 -1
  29. package/mcp-server/tools/transfersUpdate.js +3 -3
  30. package/mcp-server/tools/walletsUpdate.js +1 -1
  31. package/models/components/createevidencefilemultipart.d.ts +1 -1
  32. package/models/components/createpaymentlink.d.ts +3 -5
  33. package/models/components/createpaymentlink.d.ts.map +1 -1
  34. package/models/components/createpaymentlink.js +3 -3
  35. package/models/components/createpaymentlink.js.map +1 -1
  36. package/models/components/createpaymentlinklineitem.d.ts +50 -0
  37. package/models/components/createpaymentlinklineitem.d.ts.map +1 -0
  38. package/models/components/createpaymentlinklineitem.js +70 -0
  39. package/models/components/createpaymentlinklineitem.js.map +1 -0
  40. package/models/components/createpaymentlinklineitemoption.d.ts +44 -0
  41. package/models/components/createpaymentlinklineitemoption.d.ts.map +1 -0
  42. package/models/components/createpaymentlinklineitemoption.js +67 -0
  43. package/models/components/createpaymentlinklineitemoption.js.map +1 -0
  44. package/models/components/createpaymentlinklineitemoptionvalidationerror.d.ts +24 -0
  45. package/models/components/createpaymentlinklineitemoptionvalidationerror.d.ts.map +1 -0
  46. package/models/components/{paymentlinklineitemoptionvalidationerror.js → createpaymentlinklineitemoptionvalidationerror.js} +10 -10
  47. package/models/components/createpaymentlinklineitemoptionvalidationerror.js.map +1 -0
  48. package/models/components/createpaymentlinklineitems.d.ts +27 -0
  49. package/models/components/createpaymentlinklineitems.d.ts.map +1 -0
  50. package/models/components/{paymentlinklineitemsupdate.js → createpaymentlinklineitems.js} +13 -13
  51. package/models/components/createpaymentlinklineitems.js.map +1 -0
  52. package/models/components/createpaymentlinklineitemsupdate.d.ts +27 -0
  53. package/models/components/createpaymentlinklineitemsupdate.d.ts.map +1 -0
  54. package/models/components/{paymentlinklineitemsvalidationerror.js → createpaymentlinklineitemsupdate.js} +13 -13
  55. package/models/components/createpaymentlinklineitemsupdate.js.map +1 -0
  56. package/models/components/createpaymentlinklineitemsvalidationerror.d.ts +22 -0
  57. package/models/components/createpaymentlinklineitemsvalidationerror.d.ts.map +1 -0
  58. package/models/components/createpaymentlinklineitemsvalidationerror.js +61 -0
  59. package/models/components/createpaymentlinklineitemsvalidationerror.js.map +1 -0
  60. package/models/components/createpaymentlinklineitemvalidationerror.d.ts +31 -0
  61. package/models/components/createpaymentlinklineitemvalidationerror.d.ts.map +1 -0
  62. package/models/components/{paymentlinklineitemvalidationerror.js → createpaymentlinklineitemvalidationerror.js} +13 -15
  63. package/models/components/createpaymentlinklineitemvalidationerror.js.map +1 -0
  64. package/models/components/fileuploadrequestmultipart.d.ts +1 -4
  65. package/models/components/fileuploadrequestmultipart.d.ts.map +1 -1
  66. package/models/components/fileuploadrequestmultipart.js.map +1 -1
  67. package/models/components/imageuploadrequestmultipart.d.ts +3 -3
  68. package/models/components/imageuploadrequestmultipart.d.ts.map +1 -1
  69. package/models/components/index.d.ts +8 -5
  70. package/models/components/index.d.ts.map +1 -1
  71. package/models/components/index.js +8 -5
  72. package/models/components/index.js.map +1 -1
  73. package/models/components/invoicepayment.d.ts.map +1 -1
  74. package/models/components/invoicepayment.js +4 -12
  75. package/models/components/invoicepayment.js.map +1 -1
  76. package/models/components/patchsweepconfig.d.ts +6 -60
  77. package/models/components/patchsweepconfig.d.ts.map +1 -1
  78. package/models/components/patchsweepconfig.js +7 -79
  79. package/models/components/patchsweepconfig.js.map +1 -1
  80. package/models/components/paymentlinklineitem.d.ts +6 -0
  81. package/models/components/paymentlinklineitem.d.ts.map +1 -1
  82. package/models/components/paymentlinklineitem.js +3 -0
  83. package/models/components/paymentlinklineitem.js.map +1 -1
  84. package/models/components/paymentlinklineitemimagemetadata.d.ts +35 -0
  85. package/models/components/paymentlinklineitemimagemetadata.d.ts.map +1 -0
  86. package/models/components/paymentlinklineitemimagemetadata.js +64 -0
  87. package/models/components/paymentlinklineitemimagemetadata.js.map +1 -0
  88. package/models/components/paymentlinklineitemoption.d.ts +6 -0
  89. package/models/components/paymentlinklineitemoption.d.ts.map +1 -1
  90. package/models/components/paymentlinklineitemoption.js +3 -0
  91. package/models/components/paymentlinklineitemoption.js.map +1 -1
  92. package/models/components/paymentmethod.d.ts.map +1 -1
  93. package/models/components/paymentmethod.js +24 -34
  94. package/models/components/paymentmethod.js.map +1 -1
  95. package/models/components/updatepaymentlink.d.ts +3 -3
  96. package/models/components/updatepaymentlink.d.ts.map +1 -1
  97. package/models/components/updatepaymentlink.js +3 -3
  98. package/models/components/updatepaymentlink.js.map +1 -1
  99. package/models/components/updaterepresentative.d.ts +2 -20
  100. package/models/components/updaterepresentative.d.ts.map +1 -1
  101. package/models/components/updaterepresentative.js +3 -32
  102. package/models/components/updaterepresentative.js.map +1 -1
  103. package/models/errors/createpaymentlinkerror.d.ts +3 -3
  104. package/models/errors/createpaymentlinkerror.d.ts.map +1 -1
  105. package/models/errors/createpaymentlinkerror.js +3 -3
  106. package/models/errors/createpaymentlinkerror.js.map +1 -1
  107. package/models/errors/updatepaymentlinkerror.d.ts +3 -3
  108. package/models/errors/updatepaymentlinkerror.d.ts.map +1 -1
  109. package/models/errors/updatepaymentlinkerror.js +3 -3
  110. package/models/errors/updatepaymentlinkerror.js.map +1 -1
  111. package/models/operations/createpaymentlink.d.ts +3 -0
  112. package/models/operations/createpaymentlink.d.ts.map +1 -1
  113. package/models/operations/createpaymentlink.js.map +1 -1
  114. package/models/operations/disablepaymentlink.d.ts +3 -0
  115. package/models/operations/disablepaymentlink.d.ts.map +1 -1
  116. package/models/operations/disablepaymentlink.js.map +1 -1
  117. package/models/operations/getpaymentlink.d.ts +3 -0
  118. package/models/operations/getpaymentlink.d.ts.map +1 -1
  119. package/models/operations/getpaymentlink.js.map +1 -1
  120. package/models/operations/getpaymentlinkqrcode.d.ts +3 -0
  121. package/models/operations/getpaymentlinkqrcode.d.ts.map +1 -1
  122. package/models/operations/getpaymentlinkqrcode.js.map +1 -1
  123. package/models/operations/listpaymentlinks.d.ts +3 -0
  124. package/models/operations/listpaymentlinks.d.ts.map +1 -1
  125. package/models/operations/listpaymentlinks.js.map +1 -1
  126. package/models/operations/updateimage.d.ts +2 -2
  127. package/models/operations/updateimage.js +4 -4
  128. package/models/operations/updatepaymentlink.d.ts +3 -0
  129. package/models/operations/updatepaymentlink.d.ts.map +1 -1
  130. package/models/operations/updatepaymentlink.js.map +1 -1
  131. package/package.json +1 -1
  132. package/sdk/images.d.ts +1 -2
  133. package/sdk/images.d.ts.map +1 -1
  134. package/sdk/images.js +1 -2
  135. package/sdk/images.js.map +1 -1
  136. package/src/funcs/imagesUpdate.ts +12 -13
  137. package/src/lib/config.ts +3 -3
  138. package/src/lib/encodings.ts +4 -3
  139. package/src/mcp-server/mcp-server.ts +1 -1
  140. package/src/mcp-server/server.ts +1 -1
  141. package/src/mcp-server/tools/accountsUpdate.ts +1 -1
  142. package/src/mcp-server/tools/applePayUpdateMerchantDomains.ts +3 -3
  143. package/src/mcp-server/tools/brandingUpdate.ts +1 -1
  144. package/src/mcp-server/tools/cardIssuingUpdate.ts +1 -1
  145. package/src/mcp-server/tools/cardsUpdate.ts +6 -6
  146. package/src/mcp-server/tools/imagesUpdate.ts +1 -2
  147. package/src/mcp-server/tools/paymentLinksUpdate.ts +1 -1
  148. package/src/mcp-server/tools/representativesUpdate.ts +2 -2
  149. package/src/mcp-server/tools/supportUpdateTicket.ts +1 -1
  150. package/src/mcp-server/tools/sweepsUpdateConfig.ts +1 -1
  151. package/src/mcp-server/tools/transfersUpdate.ts +3 -3
  152. package/src/mcp-server/tools/walletsUpdate.ts +1 -1
  153. package/src/models/components/createevidencefilemultipart.ts +1 -1
  154. package/src/models/components/createpaymentlink.ts +10 -12
  155. package/src/models/components/createpaymentlinklineitem.ts +104 -0
  156. package/src/models/components/createpaymentlinklineitemoption.ts +93 -0
  157. package/src/models/components/createpaymentlinklineitemoptionvalidationerror.ts +80 -0
  158. package/src/models/components/createpaymentlinklineitems.ts +66 -0
  159. package/src/models/components/createpaymentlinklineitemsupdate.ts +68 -0
  160. package/src/models/components/createpaymentlinklineitemsvalidationerror.ts +71 -0
  161. package/src/models/components/createpaymentlinklineitemvalidationerror.ts +96 -0
  162. package/src/models/components/fileuploadrequestmultipart.ts +1 -4
  163. package/src/models/components/imageuploadrequestmultipart.ts +3 -3
  164. package/src/models/components/index.ts +8 -5
  165. package/src/models/components/invoicepayment.ts +4 -12
  166. package/src/models/components/patchsweepconfig.ts +12 -252
  167. package/src/models/components/paymentlinklineitem.ts +13 -0
  168. package/src/models/components/paymentlinklineitemimagemetadata.ts +77 -0
  169. package/src/models/components/paymentlinklineitemoption.ts +13 -0
  170. package/src/models/components/paymentmethod.ts +24 -70
  171. package/src/models/components/updatepaymentlink.ts +10 -10
  172. package/src/models/components/updaterepresentative.ts +4 -59
  173. package/src/models/errors/createpaymentlinkerror.ts +6 -6
  174. package/src/models/errors/updatepaymentlinkerror.ts +6 -6
  175. package/src/models/operations/createpaymentlink.ts +3 -0
  176. package/src/models/operations/disablepaymentlink.ts +3 -0
  177. package/src/models/operations/getpaymentlink.ts +3 -0
  178. package/src/models/operations/getpaymentlinkqrcode.ts +3 -0
  179. package/src/models/operations/listpaymentlinks.ts +3 -0
  180. package/src/models/operations/updateimage.ts +8 -8
  181. package/src/models/operations/updatepaymentlink.ts +3 -0
  182. package/src/sdk/images.ts +1 -2
  183. package/src/types/enums.ts +1 -21
  184. package/src/types/index.ts +2 -1
  185. package/src/types/unrecognized.ts +27 -0
  186. package/types/enums.d.ts +1 -8
  187. package/types/enums.d.ts.map +1 -1
  188. package/types/enums.js +3 -21
  189. package/types/enums.js.map +1 -1
  190. package/types/index.d.ts +2 -1
  191. package/types/index.d.ts.map +1 -1
  192. package/types/index.js +15 -0
  193. package/types/index.js.map +1 -1
  194. package/types/unrecognized.d.ts +10 -0
  195. package/types/unrecognized.d.ts.map +1 -0
  196. package/types/unrecognized.js +26 -0
  197. package/types/unrecognized.js.map +1 -0
  198. package/models/components/imageupdaterequestmultipart.d.ts +0 -67
  199. package/models/components/imageupdaterequestmultipart.d.ts.map +0 -1
  200. package/models/components/imageupdaterequestmultipart.js +0 -105
  201. package/models/components/imageupdaterequestmultipart.js.map +0 -1
  202. package/models/components/paymentlinklineitemoptionvalidationerror.d.ts +0 -24
  203. package/models/components/paymentlinklineitemoptionvalidationerror.d.ts.map +0 -1
  204. package/models/components/paymentlinklineitemoptionvalidationerror.js.map +0 -1
  205. package/models/components/paymentlinklineitemsupdate.d.ts +0 -27
  206. package/models/components/paymentlinklineitemsupdate.d.ts.map +0 -1
  207. package/models/components/paymentlinklineitemsupdate.js.map +0 -1
  208. package/models/components/paymentlinklineitemsvalidationerror.d.ts +0 -22
  209. package/models/components/paymentlinklineitemsvalidationerror.d.ts.map +0 -1
  210. package/models/components/paymentlinklineitemsvalidationerror.js.map +0 -1
  211. package/models/components/paymentlinklineitemvalidationerror.d.ts +0 -31
  212. package/models/components/paymentlinklineitemvalidationerror.d.ts.map +0 -1
  213. package/models/components/paymentlinklineitemvalidationerror.js.map +0 -1
  214. package/src/models/components/imageupdaterequestmultipart.ts +0 -178
  215. package/src/models/components/paymentlinklineitemoptionvalidationerror.ts +0 -78
  216. package/src/models/components/paymentlinklineitemsupdate.ts +0 -66
  217. package/src/models/components/paymentlinklineitemsvalidationerror.ts +0 -62
  218. package/src/models/components/paymentlinklineitemvalidationerror.ts +0 -88
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.15",
34034
- genVersion: "2.755.9",
34035
- userAgent: "speakeasy-sdk/typescript 0.21.15 2.755.9 latest @moovio/sdk"
34033
+ sdkVersion: "0.21.17",
34034
+ genVersion: "2.763.3",
34035
+ userAgent: "speakeasy-sdk/typescript 0.21.17 2.763.3 latest @moovio/sdk"
34036
34036
  };
34037
34037
  });
34038
34038
 
@@ -42611,90 +42611,94 @@ var init_createinvoice = __esm(() => {
42611
42611
  });
42612
42612
  });
42613
42613
 
42614
- // src/models/components/paymentlinkcustomeroptions.ts
42615
- var PaymentLinkCustomerOptions$inboundSchema, PaymentLinkCustomerOptions$outboundSchema;
42616
- var init_paymentlinkcustomeroptions = __esm(() => {
42617
- init_esm();
42618
- PaymentLinkCustomerOptions$inboundSchema = objectType({
42619
- requireAddress: booleanType().optional(),
42620
- requirePhone: booleanType().optional(),
42621
- metadata: recordType(stringType()).optional()
42622
- });
42623
- PaymentLinkCustomerOptions$outboundSchema = objectType({
42624
- requireAddress: booleanType().optional(),
42625
- requirePhone: booleanType().optional(),
42626
- metadata: recordType(stringType()).optional()
42627
- });
42628
- });
42629
-
42630
- // src/models/components/paymentlinkdisplayoptions.ts
42631
- var PaymentLinkDisplayOptions$inboundSchema, PaymentLinkDisplayOptions$outboundSchema;
42632
- var init_paymentlinkdisplayoptions = __esm(() => {
42633
- init_esm();
42634
- init_calltoaction();
42635
- PaymentLinkDisplayOptions$inboundSchema = objectType({
42636
- title: stringType(),
42637
- description: stringType(),
42638
- callToAction: CallToAction$inboundSchema
42639
- });
42640
- PaymentLinkDisplayOptions$outboundSchema = objectType({
42641
- title: stringType(),
42642
- description: stringType(),
42643
- callToAction: CallToAction$outboundSchema
42644
- });
42645
- });
42646
-
42647
- // src/models/components/paymentlinklineitemoption.ts
42648
- var PaymentLinkLineItemOption$inboundSchema, PaymentLinkLineItemOption$outboundSchema;
42649
- var init_paymentlinklineitemoption = __esm(() => {
42614
+ // src/models/components/createpaymentlinklineitemoption.ts
42615
+ var CreatePaymentLinkLineItemOption$inboundSchema, CreatePaymentLinkLineItemOption$outboundSchema;
42616
+ var init_createpaymentlinklineitemoption = __esm(() => {
42650
42617
  init_esm();
42651
42618
  init_amountdecimal();
42652
- PaymentLinkLineItemOption$inboundSchema = objectType({
42619
+ CreatePaymentLinkLineItemOption$inboundSchema = objectType({
42653
42620
  name: stringType(),
42654
42621
  quantity: numberType().int(),
42655
42622
  priceModifier: AmountDecimal$inboundSchema.optional(),
42623
+ imageIDs: arrayType(stringType()).optional(),
42656
42624
  group: stringType().optional()
42657
42625
  });
42658
- PaymentLinkLineItemOption$outboundSchema = objectType({
42626
+ CreatePaymentLinkLineItemOption$outboundSchema = objectType({
42659
42627
  name: stringType(),
42660
42628
  quantity: numberType().int(),
42661
42629
  priceModifier: AmountDecimal$outboundSchema.optional(),
42630
+ imageIDs: arrayType(stringType()).optional(),
42662
42631
  group: stringType().optional()
42663
42632
  });
42664
42633
  });
42665
42634
 
42666
- // src/models/components/paymentlinklineitem.ts
42667
- var PaymentLinkLineItem$inboundSchema, PaymentLinkLineItem$outboundSchema;
42668
- var init_paymentlinklineitem = __esm(() => {
42635
+ // src/models/components/createpaymentlinklineitem.ts
42636
+ var CreatePaymentLinkLineItem$inboundSchema, CreatePaymentLinkLineItem$outboundSchema;
42637
+ var init_createpaymentlinklineitem = __esm(() => {
42669
42638
  init_esm();
42670
42639
  init_amountdecimal();
42671
- init_paymentlinklineitemoption();
42672
- PaymentLinkLineItem$inboundSchema = objectType({
42640
+ init_createpaymentlinklineitemoption();
42641
+ CreatePaymentLinkLineItem$inboundSchema = objectType({
42673
42642
  name: stringType(),
42674
42643
  basePrice: AmountDecimal$inboundSchema,
42675
42644
  quantity: numberType().int(),
42676
- options: arrayType(PaymentLinkLineItemOption$inboundSchema).optional(),
42645
+ options: arrayType(CreatePaymentLinkLineItemOption$inboundSchema).optional(),
42646
+ imageIDs: arrayType(stringType()).optional(),
42677
42647
  productID: stringType().optional()
42678
42648
  });
42679
- PaymentLinkLineItem$outboundSchema = objectType({
42649
+ CreatePaymentLinkLineItem$outboundSchema = objectType({
42680
42650
  name: stringType(),
42681
42651
  basePrice: AmountDecimal$outboundSchema,
42682
42652
  quantity: numberType().int(),
42683
- options: arrayType(PaymentLinkLineItemOption$outboundSchema).optional(),
42653
+ options: arrayType(CreatePaymentLinkLineItemOption$outboundSchema).optional(),
42654
+ imageIDs: arrayType(stringType()).optional(),
42684
42655
  productID: stringType().optional()
42685
42656
  });
42686
42657
  });
42687
42658
 
42688
- // src/models/components/paymentlinklineitems.ts
42689
- var PaymentLinkLineItems$inboundSchema, PaymentLinkLineItems$outboundSchema;
42690
- var init_paymentlinklineitems = __esm(() => {
42659
+ // src/models/components/createpaymentlinklineitems.ts
42660
+ var CreatePaymentLinkLineItems$inboundSchema, CreatePaymentLinkLineItems$outboundSchema;
42661
+ var init_createpaymentlinklineitems = __esm(() => {
42691
42662
  init_esm();
42692
- init_paymentlinklineitem();
42693
- PaymentLinkLineItems$inboundSchema = objectType({
42694
- items: arrayType(PaymentLinkLineItem$inboundSchema)
42663
+ init_createpaymentlinklineitem();
42664
+ CreatePaymentLinkLineItems$inboundSchema = objectType({
42665
+ items: arrayType(CreatePaymentLinkLineItem$inboundSchema)
42695
42666
  });
42696
- PaymentLinkLineItems$outboundSchema = objectType({
42697
- items: arrayType(PaymentLinkLineItem$outboundSchema)
42667
+ CreatePaymentLinkLineItems$outboundSchema = objectType({
42668
+ items: arrayType(CreatePaymentLinkLineItem$outboundSchema)
42669
+ });
42670
+ });
42671
+
42672
+ // src/models/components/paymentlinkcustomeroptions.ts
42673
+ var PaymentLinkCustomerOptions$inboundSchema, PaymentLinkCustomerOptions$outboundSchema;
42674
+ var init_paymentlinkcustomeroptions = __esm(() => {
42675
+ init_esm();
42676
+ PaymentLinkCustomerOptions$inboundSchema = objectType({
42677
+ requireAddress: booleanType().optional(),
42678
+ requirePhone: booleanType().optional(),
42679
+ metadata: recordType(stringType()).optional()
42680
+ });
42681
+ PaymentLinkCustomerOptions$outboundSchema = objectType({
42682
+ requireAddress: booleanType().optional(),
42683
+ requirePhone: booleanType().optional(),
42684
+ metadata: recordType(stringType()).optional()
42685
+ });
42686
+ });
42687
+
42688
+ // src/models/components/paymentlinkdisplayoptions.ts
42689
+ var PaymentLinkDisplayOptions$inboundSchema, PaymentLinkDisplayOptions$outboundSchema;
42690
+ var init_paymentlinkdisplayoptions = __esm(() => {
42691
+ init_esm();
42692
+ init_calltoaction();
42693
+ PaymentLinkDisplayOptions$inboundSchema = objectType({
42694
+ title: stringType(),
42695
+ description: stringType(),
42696
+ callToAction: CallToAction$inboundSchema
42697
+ });
42698
+ PaymentLinkDisplayOptions$outboundSchema = objectType({
42699
+ title: stringType(),
42700
+ description: stringType(),
42701
+ callToAction: CallToAction$outboundSchema
42698
42702
  });
42699
42703
  });
42700
42704
 
@@ -42771,9 +42775,9 @@ var CreatePaymentLink$inboundSchema, CreatePaymentLink$outboundSchema;
42771
42775
  var init_createpaymentlink = __esm(() => {
42772
42776
  init_esm();
42773
42777
  init_amount();
42778
+ init_createpaymentlinklineitems();
42774
42779
  init_paymentlinkcustomeroptions();
42775
42780
  init_paymentlinkdisplayoptions();
42776
- init_paymentlinklineitems();
42777
42781
  init_paymentlinkpaymentdetails();
42778
42782
  init_paymentlinkpayoutdetails();
42779
42783
  CreatePaymentLink$inboundSchema = objectType({
@@ -42786,7 +42790,7 @@ var init_createpaymentlink = __esm(() => {
42786
42790
  customer: PaymentLinkCustomerOptions$inboundSchema.optional(),
42787
42791
  payment: PaymentLinkPaymentDetails$inboundSchema.optional(),
42788
42792
  payout: PaymentLinkPayoutDetails$inboundSchema.optional(),
42789
- lineItems: PaymentLinkLineItems$inboundSchema.optional()
42793
+ lineItems: CreatePaymentLinkLineItems$inboundSchema.optional()
42790
42794
  });
42791
42795
  CreatePaymentLink$outboundSchema = objectType({
42792
42796
  partnerAccountID: stringType(),
@@ -42798,7 +42802,74 @@ var init_createpaymentlink = __esm(() => {
42798
42802
  customer: PaymentLinkCustomerOptions$outboundSchema.optional(),
42799
42803
  payment: PaymentLinkPaymentDetails$outboundSchema.optional(),
42800
42804
  payout: PaymentLinkPayoutDetails$outboundSchema.optional(),
42801
- lineItems: PaymentLinkLineItems$outboundSchema.optional()
42805
+ lineItems: CreatePaymentLinkLineItems$outboundSchema.optional()
42806
+ });
42807
+ });
42808
+
42809
+ // src/models/components/createpaymentlinklineitemoptionvalidationerror.ts
42810
+ var CreatePaymentLinkLineItemOptionValidationError$inboundSchema, CreatePaymentLinkLineItemOptionValidationError$outboundSchema;
42811
+ var init_createpaymentlinklineitemoptionvalidationerror = __esm(() => {
42812
+ init_esm();
42813
+ init_amountdecimalvalidationerror();
42814
+ CreatePaymentLinkLineItemOptionValidationError$inboundSchema = objectType({
42815
+ name: stringType().optional(),
42816
+ group: stringType().optional(),
42817
+ priceModifier: AmountDecimalValidationError$inboundSchema.optional(),
42818
+ quantity: stringType().optional()
42819
+ });
42820
+ CreatePaymentLinkLineItemOptionValidationError$outboundSchema = objectType({
42821
+ name: stringType().optional(),
42822
+ group: stringType().optional(),
42823
+ priceModifier: AmountDecimalValidationError$outboundSchema.optional(),
42824
+ quantity: stringType().optional()
42825
+ });
42826
+ });
42827
+
42828
+ // src/models/components/createpaymentlinklineitemsupdate.ts
42829
+ var CreatePaymentLinkLineItemsUpdate$inboundSchema, CreatePaymentLinkLineItemsUpdate$outboundSchema;
42830
+ var init_createpaymentlinklineitemsupdate = __esm(() => {
42831
+ init_esm();
42832
+ init_createpaymentlinklineitem();
42833
+ CreatePaymentLinkLineItemsUpdate$inboundSchema = objectType({
42834
+ items: arrayType(CreatePaymentLinkLineItem$inboundSchema).optional()
42835
+ });
42836
+ CreatePaymentLinkLineItemsUpdate$outboundSchema = objectType({
42837
+ items: arrayType(CreatePaymentLinkLineItem$outboundSchema).optional()
42838
+ });
42839
+ });
42840
+
42841
+ // src/models/components/createpaymentlinklineitemvalidationerror.ts
42842
+ var CreatePaymentLinkLineItemValidationError$inboundSchema, CreatePaymentLinkLineItemValidationError$outboundSchema;
42843
+ var init_createpaymentlinklineitemvalidationerror = __esm(() => {
42844
+ init_esm();
42845
+ init_amountdecimalvalidationerror();
42846
+ init_createpaymentlinklineitemoptionvalidationerror();
42847
+ CreatePaymentLinkLineItemValidationError$inboundSchema = objectType({
42848
+ productID: stringType().optional(),
42849
+ name: stringType().optional(),
42850
+ basePrice: AmountDecimalValidationError$inboundSchema.optional(),
42851
+ options: recordType(CreatePaymentLinkLineItemOptionValidationError$inboundSchema).optional(),
42852
+ quantity: stringType().optional()
42853
+ });
42854
+ CreatePaymentLinkLineItemValidationError$outboundSchema = objectType({
42855
+ productID: stringType().optional(),
42856
+ name: stringType().optional(),
42857
+ basePrice: AmountDecimalValidationError$outboundSchema.optional(),
42858
+ options: recordType(CreatePaymentLinkLineItemOptionValidationError$outboundSchema).optional(),
42859
+ quantity: stringType().optional()
42860
+ });
42861
+ });
42862
+
42863
+ // src/models/components/createpaymentlinklineitemsvalidationerror.ts
42864
+ var CreatePaymentLinkLineItemsValidationError$inboundSchema, CreatePaymentLinkLineItemsValidationError$outboundSchema;
42865
+ var init_createpaymentlinklineitemsvalidationerror = __esm(() => {
42866
+ init_esm();
42867
+ init_createpaymentlinklineitemvalidationerror();
42868
+ CreatePaymentLinkLineItemsValidationError$inboundSchema = objectType({
42869
+ items: recordType(CreatePaymentLinkLineItemValidationError$inboundSchema).optional()
42870
+ });
42871
+ CreatePaymentLinkLineItemsValidationError$outboundSchema = objectType({
42872
+ items: recordType(CreatePaymentLinkLineItemValidationError$outboundSchema).optional()
42802
42873
  });
42803
42874
  });
42804
42875
 
@@ -44070,45 +44141,6 @@ var init_imagemetadatavalidationerror = __esm(() => {
44070
44141
  });
44071
44142
  });
44072
44143
 
44073
- // src/models/components/imageupdaterequestmultipart.ts
44074
- var ImageUpdateRequestMultiPartImage$inboundSchema, ImageUpdateRequestMultiPartImage$outboundSchema, Metadata$inboundSchema, Metadata$outboundSchema, ImageUpdateRequestMultiPart$inboundSchema, ImageUpdateRequestMultiPart$outboundSchema;
44075
- var init_imageupdaterequestmultipart = __esm(() => {
44076
- init_esm();
44077
- init_blobs();
44078
- ImageUpdateRequestMultiPartImage$inboundSchema = objectType({
44079
- fileName: stringType(),
44080
- content: unionType([
44081
- instanceOfType(ReadableStream),
44082
- instanceOfType(Blob),
44083
- instanceOfType(ArrayBuffer),
44084
- instanceOfType(Uint8Array)
44085
- ])
44086
- });
44087
- ImageUpdateRequestMultiPartImage$outboundSchema = objectType({
44088
- fileName: stringType(),
44089
- content: unionType([
44090
- instanceOfType(ReadableStream),
44091
- instanceOfType(Blob),
44092
- instanceOfType(ArrayBuffer),
44093
- instanceOfType(Uint8Array)
44094
- ])
44095
- });
44096
- Metadata$inboundSchema = objectType({
44097
- altText: stringType().optional()
44098
- });
44099
- Metadata$outboundSchema = objectType({
44100
- altText: stringType().optional()
44101
- });
44102
- ImageUpdateRequestMultiPart$inboundSchema = objectType({
44103
- image: lazyType(() => ImageUpdateRequestMultiPartImage$inboundSchema),
44104
- metadata: nullableType(lazyType(() => Metadata$inboundSchema)).optional()
44105
- });
44106
- ImageUpdateRequestMultiPart$outboundSchema = objectType({
44107
- image: lazyType(() => ImageUpdateRequestMultiPartImage$outboundSchema).or(blobLikeSchema),
44108
- metadata: nullableType(lazyType(() => Metadata$outboundSchema)).optional()
44109
- });
44110
- });
44111
-
44112
44144
  // src/models/components/imageuploadrequestmultipart.ts
44113
44145
  var Image$inboundSchema, Image$outboundSchema, ImageUploadRequestMultiPart$inboundSchema, ImageUploadRequestMultiPart$outboundSchema;
44114
44146
  var init_imageuploadrequestmultipart = __esm(() => {
@@ -44381,20 +44413,12 @@ var init_invoicepayment = __esm(() => {
44381
44413
  init_invoiceexternalpayment();
44382
44414
  init_invoicetransferpayment();
44383
44415
  InvoicePayment$inboundSchema = unionType([
44384
- InvoiceExternalPayment$inboundSchema.and(objectType({ paymentType: literalType("external") }).transform((v2) => ({
44385
- paymentType: v2.paymentType
44386
- }))),
44387
- InvoiceTransferPayment$inboundSchema.and(objectType({ paymentType: literalType("transfer") }).transform((v2) => ({
44388
- paymentType: v2.paymentType
44389
- })))
44416
+ InvoiceExternalPayment$inboundSchema.and(objectType({ paymentType: literalType("external") })),
44417
+ InvoiceTransferPayment$inboundSchema.and(objectType({ paymentType: literalType("transfer") }))
44390
44418
  ]);
44391
44419
  InvoicePayment$outboundSchema = unionType([
44392
- InvoiceExternalPayment$outboundSchema.and(objectType({ paymentType: literalType("external") }).transform((v2) => ({
44393
- paymentType: v2.paymentType
44394
- }))),
44395
- InvoiceTransferPayment$outboundSchema.and(objectType({ paymentType: literalType("transfer") }).transform((v2) => ({
44396
- paymentType: v2.paymentType
44397
- })))
44420
+ InvoiceExternalPayment$outboundSchema.and(objectType({ paymentType: literalType("external") })),
44421
+ InvoiceTransferPayment$outboundSchema.and(objectType({ paymentType: literalType("transfer") }))
44398
44422
  ]);
44399
44423
  });
44400
44424
 
@@ -45707,7 +45731,7 @@ var init_patchaccount = __esm(() => {
45707
45731
  });
45708
45732
 
45709
45733
  // src/models/components/patchsweepconfig.ts
45710
- 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;
45734
+ var Status, Status$inboundSchema, Status$outboundSchema, PatchSweepConfig$inboundSchema, PatchSweepConfig$outboundSchema;
45711
45735
  var init_patchsweepconfig = __esm(() => {
45712
45736
  init_esm();
45713
45737
  Status = {
@@ -45716,30 +45740,18 @@ var init_patchsweepconfig = __esm(() => {
45716
45740
  };
45717
45741
  Status$inboundSchema = nativeEnumType(Status);
45718
45742
  Status$outboundSchema = Status$inboundSchema;
45719
- PushPaymentMethodId2$inboundSchema = objectType({});
45720
- PushPaymentMethodId2$outboundSchema = objectType({});
45721
- PushPaymentMethodID$inboundSchema = unionType([stringType(), lazyType(() => PushPaymentMethodId2$inboundSchema)]);
45722
- PushPaymentMethodID$outboundSchema = unionType([stringType(), lazyType(() => PushPaymentMethodId2$outboundSchema)]);
45723
- PullPaymentMethodId2$inboundSchema = objectType({});
45724
- PullPaymentMethodId2$outboundSchema = objectType({});
45725
- PullPaymentMethodID$inboundSchema = unionType([stringType(), lazyType(() => PullPaymentMethodId2$inboundSchema)]);
45726
- PullPaymentMethodID$outboundSchema = unionType([stringType(), lazyType(() => PullPaymentMethodId2$outboundSchema)]);
45727
- StatementDescriptor2$inboundSchema = objectType({});
45728
- StatementDescriptor2$outboundSchema = objectType({});
45729
- StatementDescriptor$inboundSchema = unionType([stringType(), lazyType(() => StatementDescriptor2$inboundSchema)]);
45730
- StatementDescriptor$outboundSchema = unionType([stringType(), lazyType(() => StatementDescriptor2$outboundSchema)]);
45731
45743
  PatchSweepConfig$inboundSchema = objectType({
45732
45744
  status: nullableType(Status$inboundSchema).optional(),
45733
- pushPaymentMethodID: nullableType(unionType([stringType(), lazyType(() => PushPaymentMethodId2$inboundSchema)])).optional(),
45734
- pullPaymentMethodID: nullableType(unionType([stringType(), lazyType(() => PullPaymentMethodId2$inboundSchema)])).optional(),
45735
- statementDescriptor: nullableType(unionType([stringType(), lazyType(() => StatementDescriptor2$inboundSchema)])).optional(),
45745
+ pushPaymentMethodID: nullableType(stringType()).optional(),
45746
+ pullPaymentMethodID: nullableType(stringType()).optional(),
45747
+ statementDescriptor: nullableType(stringType()).optional(),
45736
45748
  minimumBalance: nullableType(stringType()).optional()
45737
45749
  });
45738
45750
  PatchSweepConfig$outboundSchema = objectType({
45739
45751
  status: nullableType(Status$outboundSchema).optional(),
45740
- pushPaymentMethodID: nullableType(unionType([stringType(), lazyType(() => PushPaymentMethodId2$outboundSchema)])).optional(),
45741
- pullPaymentMethodID: nullableType(unionType([stringType(), lazyType(() => PullPaymentMethodId2$outboundSchema)])).optional(),
45742
- statementDescriptor: nullableType(unionType([stringType(), lazyType(() => StatementDescriptor2$outboundSchema)])).optional(),
45752
+ pushPaymentMethodID: nullableType(stringType()).optional(),
45753
+ pullPaymentMethodID: nullableType(stringType()).optional(),
45754
+ statementDescriptor: nullableType(stringType()).optional(),
45743
45755
  minimumBalance: nullableType(stringType()).optional()
45744
45756
  });
45745
45757
  });
@@ -45809,6 +45821,84 @@ var init_paymentdetailserror = __esm(() => {
45809
45821
  });
45810
45822
  });
45811
45823
 
45824
+ // src/models/components/paymentlinklineitemimagemetadata.ts
45825
+ var PaymentLinkLineItemImageMetadata$inboundSchema, PaymentLinkLineItemImageMetadata$outboundSchema;
45826
+ var init_paymentlinklineitemimagemetadata = __esm(() => {
45827
+ init_esm();
45828
+ PaymentLinkLineItemImageMetadata$inboundSchema = objectType({
45829
+ imageID: stringType(),
45830
+ altText: stringType().optional(),
45831
+ link: stringType(),
45832
+ publicID: stringType()
45833
+ });
45834
+ PaymentLinkLineItemImageMetadata$outboundSchema = objectType({
45835
+ imageID: stringType(),
45836
+ altText: stringType().optional(),
45837
+ link: stringType(),
45838
+ publicID: stringType()
45839
+ });
45840
+ });
45841
+
45842
+ // src/models/components/paymentlinklineitemoption.ts
45843
+ var PaymentLinkLineItemOption$inboundSchema, PaymentLinkLineItemOption$outboundSchema;
45844
+ var init_paymentlinklineitemoption = __esm(() => {
45845
+ init_esm();
45846
+ init_amountdecimal();
45847
+ init_paymentlinklineitemimagemetadata();
45848
+ PaymentLinkLineItemOption$inboundSchema = objectType({
45849
+ name: stringType(),
45850
+ quantity: numberType().int(),
45851
+ priceModifier: AmountDecimal$inboundSchema.optional(),
45852
+ images: arrayType(PaymentLinkLineItemImageMetadata$inboundSchema).optional(),
45853
+ group: stringType().optional()
45854
+ });
45855
+ PaymentLinkLineItemOption$outboundSchema = objectType({
45856
+ name: stringType(),
45857
+ quantity: numberType().int(),
45858
+ priceModifier: AmountDecimal$outboundSchema.optional(),
45859
+ images: arrayType(PaymentLinkLineItemImageMetadata$outboundSchema).optional(),
45860
+ group: stringType().optional()
45861
+ });
45862
+ });
45863
+
45864
+ // src/models/components/paymentlinklineitem.ts
45865
+ var PaymentLinkLineItem$inboundSchema, PaymentLinkLineItem$outboundSchema;
45866
+ var init_paymentlinklineitem = __esm(() => {
45867
+ init_esm();
45868
+ init_amountdecimal();
45869
+ init_paymentlinklineitemimagemetadata();
45870
+ init_paymentlinklineitemoption();
45871
+ PaymentLinkLineItem$inboundSchema = objectType({
45872
+ name: stringType(),
45873
+ basePrice: AmountDecimal$inboundSchema,
45874
+ quantity: numberType().int(),
45875
+ options: arrayType(PaymentLinkLineItemOption$inboundSchema).optional(),
45876
+ images: arrayType(PaymentLinkLineItemImageMetadata$inboundSchema).optional(),
45877
+ productID: stringType().optional()
45878
+ });
45879
+ PaymentLinkLineItem$outboundSchema = objectType({
45880
+ name: stringType(),
45881
+ basePrice: AmountDecimal$outboundSchema,
45882
+ quantity: numberType().int(),
45883
+ options: arrayType(PaymentLinkLineItemOption$outboundSchema).optional(),
45884
+ images: arrayType(PaymentLinkLineItemImageMetadata$outboundSchema).optional(),
45885
+ productID: stringType().optional()
45886
+ });
45887
+ });
45888
+
45889
+ // src/models/components/paymentlinklineitems.ts
45890
+ var PaymentLinkLineItems$inboundSchema, PaymentLinkLineItems$outboundSchema;
45891
+ var init_paymentlinklineitems = __esm(() => {
45892
+ init_esm();
45893
+ init_paymentlinklineitem();
45894
+ PaymentLinkLineItems$inboundSchema = objectType({
45895
+ items: arrayType(PaymentLinkLineItem$inboundSchema)
45896
+ });
45897
+ PaymentLinkLineItems$outboundSchema = objectType({
45898
+ items: arrayType(PaymentLinkLineItem$outboundSchema)
45899
+ });
45900
+ });
45901
+
45812
45902
  // src/models/components/paymentlinkstatus.ts
45813
45903
  var PaymentLinkStatus, PaymentLinkStatus$inboundSchema, PaymentLinkStatus$outboundSchema;
45814
45904
  var init_paymentlinkstatus = __esm(() => {
@@ -45915,73 +46005,6 @@ var init_paymentlinkdisplayoptionsupdate = __esm(() => {
45915
46005
  });
45916
46006
  });
45917
46007
 
45918
- // src/models/components/paymentlinklineitemoptionvalidationerror.ts
45919
- var PaymentLinkLineItemOptionValidationError$inboundSchema, PaymentLinkLineItemOptionValidationError$outboundSchema;
45920
- var init_paymentlinklineitemoptionvalidationerror = __esm(() => {
45921
- init_esm();
45922
- init_amountdecimalvalidationerror();
45923
- PaymentLinkLineItemOptionValidationError$inboundSchema = objectType({
45924
- name: stringType().optional(),
45925
- group: stringType().optional(),
45926
- priceModifier: AmountDecimalValidationError$inboundSchema.optional(),
45927
- quantity: stringType().optional()
45928
- });
45929
- PaymentLinkLineItemOptionValidationError$outboundSchema = objectType({
45930
- name: stringType().optional(),
45931
- group: stringType().optional(),
45932
- priceModifier: AmountDecimalValidationError$outboundSchema.optional(),
45933
- quantity: stringType().optional()
45934
- });
45935
- });
45936
-
45937
- // src/models/components/paymentlinklineitemsupdate.ts
45938
- var PaymentLinkLineItemsUpdate$inboundSchema, PaymentLinkLineItemsUpdate$outboundSchema;
45939
- var init_paymentlinklineitemsupdate = __esm(() => {
45940
- init_esm();
45941
- init_paymentlinklineitem();
45942
- PaymentLinkLineItemsUpdate$inboundSchema = objectType({
45943
- items: arrayType(PaymentLinkLineItem$inboundSchema).optional()
45944
- });
45945
- PaymentLinkLineItemsUpdate$outboundSchema = objectType({
45946
- items: arrayType(PaymentLinkLineItem$outboundSchema).optional()
45947
- });
45948
- });
45949
-
45950
- // src/models/components/paymentlinklineitemvalidationerror.ts
45951
- var PaymentLinkLineItemValidationError$inboundSchema, PaymentLinkLineItemValidationError$outboundSchema;
45952
- var init_paymentlinklineitemvalidationerror = __esm(() => {
45953
- init_esm();
45954
- init_amountdecimalvalidationerror();
45955
- init_paymentlinklineitemoptionvalidationerror();
45956
- PaymentLinkLineItemValidationError$inboundSchema = objectType({
45957
- productID: stringType().optional(),
45958
- name: stringType().optional(),
45959
- basePrice: AmountDecimalValidationError$inboundSchema.optional(),
45960
- options: recordType(PaymentLinkLineItemOptionValidationError$inboundSchema).optional(),
45961
- quantity: stringType().optional()
45962
- });
45963
- PaymentLinkLineItemValidationError$outboundSchema = objectType({
45964
- productID: stringType().optional(),
45965
- name: stringType().optional(),
45966
- basePrice: AmountDecimalValidationError$outboundSchema.optional(),
45967
- options: recordType(PaymentLinkLineItemOptionValidationError$outboundSchema).optional(),
45968
- quantity: stringType().optional()
45969
- });
45970
- });
45971
-
45972
- // src/models/components/paymentlinklineitemsvalidationerror.ts
45973
- var PaymentLinkLineItemsValidationError$inboundSchema, PaymentLinkLineItemsValidationError$outboundSchema;
45974
- var init_paymentlinklineitemsvalidationerror = __esm(() => {
45975
- init_esm();
45976
- init_paymentlinklineitemvalidationerror();
45977
- PaymentLinkLineItemsValidationError$inboundSchema = objectType({
45978
- items: recordType(PaymentLinkLineItemValidationError$inboundSchema).optional()
45979
- });
45980
- PaymentLinkLineItemsValidationError$outboundSchema = objectType({
45981
- items: recordType(PaymentLinkLineItemValidationError$outboundSchema).optional()
45982
- });
45983
- });
45984
-
45985
46008
  // src/models/components/paymentlinkpaymentdetailsupdate.ts
45986
46009
  var PaymentLinkPaymentDetailsUpdate$inboundSchema, PaymentLinkPaymentDetailsUpdate$outboundSchema;
45987
46010
  var init_paymentlinkpaymentdetailsupdate = __esm(() => {
@@ -46104,40 +46127,32 @@ var init_paymentmethod = __esm(() => {
46104
46127
  init_pushtocardpaymentmethod();
46105
46128
  init_rtpcreditpaymentmethod();
46106
46129
  PaymentMethod$inboundSchema = unionType([
46107
- MoovWalletPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("moov-wallet") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46108
- AchDebitFundPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("ach-debit-fund") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46109
- AchDebitCollectPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("ach-debit-collect") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46110
- AchCreditStandardPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("ach-credit-standard") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46111
- AchCreditSameDayPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("ach-credit-same-day") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46112
- RtpCreditPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("rtp-credit") }).transform((v2) => ({
46113
- paymentMethodType: v2.paymentMethodType
46114
- }))),
46115
- CardPaymentPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("card-payment") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46116
- PushToCardPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("push-to-card") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46117
- PullFromCardPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("pull-from-card") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46118
- ApplePayPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("apple-pay") }).transform((v2) => ({
46119
- paymentMethodType: v2.paymentMethodType
46120
- }))),
46121
- InstantBankCreditPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("instant-bank-credit") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46122
- CardPresentPaymentPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("card-present-payment") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType })))
46130
+ MoovWalletPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("moov-wallet") })),
46131
+ AchDebitFundPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("ach-debit-fund") })),
46132
+ AchDebitCollectPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("ach-debit-collect") })),
46133
+ AchCreditStandardPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("ach-credit-standard") })),
46134
+ AchCreditSameDayPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("ach-credit-same-day") })),
46135
+ RtpCreditPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("rtp-credit") })),
46136
+ CardPaymentPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("card-payment") })),
46137
+ PushToCardPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("push-to-card") })),
46138
+ PullFromCardPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("pull-from-card") })),
46139
+ ApplePayPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("apple-pay") })),
46140
+ InstantBankCreditPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("instant-bank-credit") })),
46141
+ CardPresentPaymentPaymentMethod$inboundSchema.and(objectType({ paymentMethodType: literalType("card-present-payment") }))
46123
46142
  ]);
46124
46143
  PaymentMethod$outboundSchema = unionType([
46125
- MoovWalletPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("moov-wallet") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46126
- AchDebitFundPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("ach-debit-fund") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46127
- AchDebitCollectPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("ach-debit-collect") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46128
- AchCreditStandardPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("ach-credit-standard") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46129
- AchCreditSameDayPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("ach-credit-same-day") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46130
- RtpCreditPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("rtp-credit") }).transform((v2) => ({
46131
- paymentMethodType: v2.paymentMethodType
46132
- }))),
46133
- CardPaymentPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("card-payment") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46134
- PushToCardPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("push-to-card") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46135
- PullFromCardPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("pull-from-card") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46136
- ApplePayPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("apple-pay") }).transform((v2) => ({
46137
- paymentMethodType: v2.paymentMethodType
46138
- }))),
46139
- InstantBankCreditPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("instant-bank-credit") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType }))),
46140
- CardPresentPaymentPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("card-present-payment") }).transform((v2) => ({ paymentMethodType: v2.paymentMethodType })))
46144
+ MoovWalletPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("moov-wallet") })),
46145
+ AchDebitFundPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("ach-debit-fund") })),
46146
+ AchDebitCollectPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("ach-debit-collect") })),
46147
+ AchCreditStandardPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("ach-credit-standard") })),
46148
+ AchCreditSameDayPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("ach-credit-same-day") })),
46149
+ RtpCreditPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("rtp-credit") })),
46150
+ CardPaymentPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("card-payment") })),
46151
+ PushToCardPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("push-to-card") })),
46152
+ PullFromCardPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("pull-from-card") })),
46153
+ ApplePayPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("apple-pay") })),
46154
+ InstantBankCreditPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("instant-bank-credit") })),
46155
+ CardPresentPaymentPaymentMethod$outboundSchema.and(objectType({ paymentMethodType: literalType("card-present-payment") }))
46141
46156
  ]);
46142
46157
  });
46143
46158
 
@@ -47707,9 +47722,9 @@ var UpdatePaymentLink$inboundSchema, UpdatePaymentLink$outboundSchema;
47707
47722
  var init_updatepaymentlink = __esm(() => {
47708
47723
  init_esm();
47709
47724
  init_amountupdate();
47725
+ init_createpaymentlinklineitemsupdate();
47710
47726
  init_paymentlinkcustomeroptions();
47711
47727
  init_paymentlinkdisplayoptionsupdate();
47712
- init_paymentlinklineitemsupdate();
47713
47728
  init_paymentlinkpaymentdetailsupdate();
47714
47729
  init_paymentlinkpayoutdetailsupdate();
47715
47730
  UpdatePaymentLink$inboundSchema = objectType({
@@ -47719,7 +47734,7 @@ var init_updatepaymentlink = __esm(() => {
47719
47734
  customer: PaymentLinkCustomerOptions$inboundSchema.optional(),
47720
47735
  payment: PaymentLinkPaymentDetailsUpdate$inboundSchema.optional(),
47721
47736
  payout: PaymentLinkPayoutDetailsUpdate$inboundSchema.optional(),
47722
- lineItems: PaymentLinkLineItemsUpdate$inboundSchema.optional()
47737
+ lineItems: CreatePaymentLinkLineItemsUpdate$inboundSchema.optional()
47723
47738
  });
47724
47739
  UpdatePaymentLink$outboundSchema = objectType({
47725
47740
  amount: AmountUpdate$outboundSchema.optional(),
@@ -47728,12 +47743,12 @@ var init_updatepaymentlink = __esm(() => {
47728
47743
  customer: PaymentLinkCustomerOptions$outboundSchema.optional(),
47729
47744
  payment: PaymentLinkPaymentDetailsUpdate$outboundSchema.optional(),
47730
47745
  payout: PaymentLinkPayoutDetailsUpdate$outboundSchema.optional(),
47731
- lineItems: PaymentLinkLineItemsUpdate$outboundSchema.optional()
47746
+ lineItems: CreatePaymentLinkLineItemsUpdate$outboundSchema.optional()
47732
47747
  });
47733
47748
  });
47734
47749
 
47735
47750
  // src/models/components/updaterepresentative.ts
47736
- 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;
47751
+ 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;
47737
47752
  var init_updaterepresentative = __esm(() => {
47738
47753
  init_esm();
47739
47754
  init_individualnameupdate();
@@ -47745,10 +47760,6 @@ var init_updaterepresentative = __esm(() => {
47745
47760
  number: stringType().optional(),
47746
47761
  countryCode: stringType().optional()
47747
47762
  });
47748
- Two$inboundSchema = objectType({});
47749
- Two$outboundSchema = objectType({});
47750
- Email$inboundSchema = unionType([stringType(), lazyType(() => Two$inboundSchema)]);
47751
- Email$outboundSchema = unionType([stringType(), lazyType(() => Two$outboundSchema)]);
47752
47763
  UpdateRepresentativeAddress$inboundSchema = objectType({
47753
47764
  addressLine1: stringType().optional(),
47754
47765
  addressLine2: stringType().optional(),
@@ -47814,7 +47825,7 @@ var init_updaterepresentative = __esm(() => {
47814
47825
  UpdateRepresentative$inboundSchema = objectType({
47815
47826
  name: IndividualNameUpdate$inboundSchema.optional(),
47816
47827
  phone: nullableType(lazyType(() => Phone$inboundSchema)).optional(),
47817
- email: nullableType(unionType([stringType(), lazyType(() => Two$inboundSchema)])).optional(),
47828
+ email: nullableType(stringType()).optional(),
47818
47829
  address: nullableType(lazyType(() => UpdateRepresentativeAddress$inboundSchema)).optional(),
47819
47830
  birthDate: nullableType(lazyType(() => UpdateRepresentativeBirthDate$inboundSchema)).optional(),
47820
47831
  governmentID: nullableType(lazyType(() => UpdateRepresentativeGovernmentID$inboundSchema)).optional(),
@@ -47823,7 +47834,7 @@ var init_updaterepresentative = __esm(() => {
47823
47834
  UpdateRepresentative$outboundSchema = objectType({
47824
47835
  name: IndividualNameUpdate$outboundSchema.optional(),
47825
47836
  phone: nullableType(lazyType(() => Phone$outboundSchema)).optional(),
47826
- email: nullableType(unionType([stringType(), lazyType(() => Two$outboundSchema)])).optional(),
47837
+ email: nullableType(stringType()).optional(),
47827
47838
  address: nullableType(lazyType(() => UpdateRepresentativeAddress$outboundSchema)).optional(),
47828
47839
  birthDate: nullableType(lazyType(() => UpdateRepresentativeBirthDate$outboundSchema)).optional(),
47829
47840
  governmentID: nullableType(lazyType(() => UpdateRepresentativeGovernmentID$outboundSchema)).optional(),
@@ -49104,6 +49115,13 @@ var init_components = __esm(() => {
49104
49115
  init_createindividualprofile();
49105
49116
  init_createinvoice();
49106
49117
  init_createpaymentlink();
49118
+ init_createpaymentlinklineitem();
49119
+ init_createpaymentlinklineitemoption();
49120
+ init_createpaymentlinklineitemoptionvalidationerror();
49121
+ init_createpaymentlinklineitems();
49122
+ init_createpaymentlinklineitemsupdate();
49123
+ init_createpaymentlinklineitemsvalidationerror();
49124
+ init_createpaymentlinklineitemvalidationerror();
49107
49125
  init_createproductoption();
49108
49126
  init_createproductoptiongroup();
49109
49127
  init_createprofile();
@@ -49183,7 +49201,6 @@ var init_components = __esm(() => {
49183
49201
  init_imagemetadata();
49184
49202
  init_imagemetadatarequest();
49185
49203
  init_imagemetadatavalidationerror();
49186
- init_imageupdaterequestmultipart();
49187
49204
  init_imageuploadrequestmultipart();
49188
49205
  init_incurredfee();
49189
49206
  init_individualname();
@@ -49276,12 +49293,9 @@ var init_components = __esm(() => {
49276
49293
  init_paymentlinkdisplayoptions();
49277
49294
  init_paymentlinkdisplayoptionsupdate();
49278
49295
  init_paymentlinklineitem();
49296
+ init_paymentlinklineitemimagemetadata();
49279
49297
  init_paymentlinklineitemoption();
49280
- init_paymentlinklineitemoptionvalidationerror();
49281
49298
  init_paymentlinklineitems();
49282
- init_paymentlinklineitemsupdate();
49283
- init_paymentlinklineitemsvalidationerror();
49284
- init_paymentlinklineitemvalidationerror();
49285
49299
  init_paymentlinkpaymentdetails();
49286
49300
  init_paymentlinkpaymentdetailsupdate();
49287
49301
  init_paymentlinkpayoutdetails();
@@ -49761,7 +49775,7 @@ var init_createpaymentlinkerror = __esm(() => {
49761
49775
  display: DisplayOptionsError$inboundSchema.optional(),
49762
49776
  payment: PaymentDetailsError$inboundSchema.optional(),
49763
49777
  payout: PayoutDetailsError$inboundSchema.optional(),
49764
- lineItems: PaymentLinkLineItemsValidationError$inboundSchema.optional(),
49778
+ lineItems: CreatePaymentLinkLineItemsValidationError$inboundSchema.optional(),
49765
49779
  request$: instanceOfType(Request),
49766
49780
  response$: instanceOfType(Response),
49767
49781
  body$: stringType()
@@ -49781,7 +49795,7 @@ var init_createpaymentlinkerror = __esm(() => {
49781
49795
  display: DisplayOptionsError$outboundSchema.optional(),
49782
49796
  payment: PaymentDetailsError$outboundSchema.optional(),
49783
49797
  payout: PayoutDetailsError$outboundSchema.optional(),
49784
- lineItems: PaymentLinkLineItemsValidationError$outboundSchema.optional()
49798
+ lineItems: CreatePaymentLinkLineItemsValidationError$outboundSchema.optional()
49785
49799
  }));
49786
49800
  });
49787
49801
 
@@ -51856,7 +51870,7 @@ var init_updatepaymentlinkerror = __esm(() => {
51856
51870
  display: DisplayOptionsError$inboundSchema.optional(),
51857
51871
  payment: PaymentDetailsError$inboundSchema.optional(),
51858
51872
  payout: PayoutDetailsError$inboundSchema.optional(),
51859
- lineItems: PaymentLinkLineItemsValidationError$inboundSchema.optional(),
51873
+ lineItems: CreatePaymentLinkLineItemsValidationError$inboundSchema.optional(),
51860
51874
  request$: instanceOfType(Request),
51861
51875
  response$: instanceOfType(Response),
51862
51876
  body$: stringType()
@@ -51873,7 +51887,7 @@ var init_updatepaymentlinkerror = __esm(() => {
51873
51887
  display: DisplayOptionsError$outboundSchema.optional(),
51874
51888
  payment: PaymentDetailsError$outboundSchema.optional(),
51875
51889
  payout: PayoutDetailsError$outboundSchema.optional(),
51876
- lineItems: PaymentLinkLineItemsValidationError$outboundSchema.optional()
51890
+ lineItems: CreatePaymentLinkLineItemsValidationError$outboundSchema.optional()
51877
51891
  }));
51878
51892
  });
51879
51893
 
@@ -59809,19 +59823,19 @@ var init_updateimage = __esm(() => {
59809
59823
  UpdateImageRequest$inboundSchema = objectType({
59810
59824
  accountID: stringType(),
59811
59825
  imageID: stringType(),
59812
- ImageUpdateRequestMultiPart: ImageUpdateRequestMultiPart$inboundSchema
59826
+ ImageUploadRequestMultiPart: ImageUploadRequestMultiPart$inboundSchema
59813
59827
  }).transform((v2) => {
59814
59828
  return remap(v2, {
59815
- ImageUpdateRequestMultiPart: "imageUpdateRequestMultiPart"
59829
+ ImageUploadRequestMultiPart: "imageUploadRequestMultiPart"
59816
59830
  });
59817
59831
  });
59818
59832
  UpdateImageRequest$outboundSchema = objectType({
59819
59833
  accountID: stringType(),
59820
59834
  imageID: stringType(),
59821
- imageUpdateRequestMultiPart: ImageUpdateRequestMultiPart$outboundSchema
59835
+ imageUploadRequestMultiPart: ImageUploadRequestMultiPart$outboundSchema
59822
59836
  }).transform((v2) => {
59823
59837
  return remap(v2, {
59824
- imageUpdateRequestMultiPart: "ImageUpdateRequestMultiPart"
59838
+ imageUploadRequestMultiPart: "ImageUploadRequestMultiPart"
59825
59839
  });
59826
59840
  });
59827
59841
  UpdateImageResponse$inboundSchema = objectType({
@@ -62078,7 +62092,7 @@ var init_accountsUpdate2 = __esm(() => {
62078
62092
 
62079
62093
  If you need to update information in a locked state, please contact Moov support.
62080
62094
 
62081
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
62095
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
62082
62096
  to specify the \`/accounts/{accountID}/profile.write\` scope.`,
62083
62097
  args: args9,
62084
62098
  tool: async (client, args10, ctx) => {
@@ -63384,12 +63398,12 @@ var init_applePayUpdateMerchantDomains2 = __esm(() => {
63384
63398
  };
63385
63399
  tool$applePayUpdateMerchantDomains = {
63386
63400
  name: "apple-pay-update-merchant-domains",
63387
- description: `Add or remove domains to be registered with Apple Pay.
63401
+ description: `Add or remove domains to be registered with Apple Pay.
63388
63402
 
63389
- 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)
63403
+ 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)
63390
63404
  with Apple.
63391
63405
 
63392
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
63406
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
63393
63407
  you'll need to specify the \`/accounts/{accountID}/apple-pay.write\` scope.`,
63394
63408
  args: args20,
63395
63409
  tool: async (client, args21, ctx) => {
@@ -65235,7 +65249,7 @@ var init_brandingUpdate2 = __esm(() => {
65235
65249
  name: "branding-update",
65236
65250
  description: `Updates the brand properties for the specified account.
65237
65251
 
65238
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
65252
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
65239
65253
  you'll need to specify the \`/accounts/{accountID}/branding.write\` scope.`,
65240
65254
  args: args35,
65241
65255
  tool: async (client, args36, ctx) => {
@@ -66439,7 +66453,7 @@ var init_cardIssuingUpdate2 = __esm(() => {
66439
66453
  name: "card-issuing-update",
66440
66454
  description: `Update a Moov issued card.
66441
66455
 
66442
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
66456
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
66443
66457
  you'll need to specify the \`/accounts/{accountID}/issued-cards.write\` scope.`,
66444
66458
  args: args45,
66445
66459
  tool: async (client, args46, ctx) => {
@@ -67063,18 +67077,18 @@ var init_cardsUpdate2 = __esm(() => {
67063
67077
  };
67064
67078
  tool$cardsUpdate = {
67065
67079
  name: "cards-update",
67066
- description: `Update a linked card and/or resubmit it for verification.
67080
+ description: `Update a linked card and/or resubmit it for verification.
67067
67081
 
67068
- If a value is provided for CVV, a new verification ($0 authorization) will be submitted for the card. Updating the expiration
67069
- date or
67082
+ If a value is provided for CVV, a new verification ($0 authorization) will be submitted for the card. Updating the expiration
67083
+ date or
67070
67084
  address will update the information stored on file for the card but will not be verified.
67071
67085
 
67072
- Read our [accept card payments guide](https://docs.moov.io/guides/sources/cards/accept-card-payments/#reverify-a-card) to learn
67086
+ Read our [accept card payments guide](https://docs.moov.io/guides/sources/cards/accept-card-payments/#reverify-a-card) to learn
67073
67087
  more.
67074
67088
 
67075
- Only use this endpoint if you have provided Moov with a copy of your PCI attestation of compliance.
67089
+ Only use this endpoint if you have provided Moov with a copy of your PCI attestation of compliance.
67076
67090
 
67077
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
67091
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
67078
67092
  you'll need to specify the \`/accounts/{accountID}/cards.write\` scope.`,
67079
67093
  args: args50,
67080
67094
  tool: async (client, args51, ctx) => {
@@ -71137,21 +71151,21 @@ async function $do84(client, request, options) {
71137
71151
  }
71138
71152
  const payload = parsed.value;
71139
71153
  const body = new FormData;
71140
- if (isBlobLike(payload.ImageUpdateRequestMultiPart.image)) {
71141
- appendForm(body, "image", payload.ImageUpdateRequestMultiPart.image);
71142
- } else if (isReadableStream(payload.ImageUpdateRequestMultiPart.image.content)) {
71143
- const buffer = await readableStreamToArrayBuffer(payload.ImageUpdateRequestMultiPart.image.content);
71144
- const contentType2 = getContentTypeFromFileName(payload.ImageUpdateRequestMultiPart.image.fileName) || "application/octet-stream";
71154
+ if (isBlobLike(payload.ImageUploadRequestMultiPart.image)) {
71155
+ appendForm(body, "image", payload.ImageUploadRequestMultiPart.image);
71156
+ } else if (isReadableStream(payload.ImageUploadRequestMultiPart.image.content)) {
71157
+ const buffer = await readableStreamToArrayBuffer(payload.ImageUploadRequestMultiPart.image.content);
71158
+ const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
71145
71159
  const blob = new Blob([buffer], { type: contentType2 });
71146
- appendForm(body, "image", blob, payload.ImageUpdateRequestMultiPart.image.fileName);
71160
+ appendForm(body, "image", blob, payload.ImageUploadRequestMultiPart.image.fileName);
71147
71161
  } else {
71148
- const contentType2 = getContentTypeFromFileName(payload.ImageUpdateRequestMultiPart.image.fileName) || "application/octet-stream";
71149
- appendForm(body, "image", new Blob([payload.ImageUpdateRequestMultiPart.image.content], {
71162
+ const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
71163
+ appendForm(body, "image", new Blob([payload.ImageUploadRequestMultiPart.image.content], {
71150
71164
  type: contentType2
71151
- }), payload.ImageUpdateRequestMultiPart.image.fileName);
71165
+ }), payload.ImageUploadRequestMultiPart.image.fileName);
71152
71166
  }
71153
- if (payload.ImageUpdateRequestMultiPart.metadata !== undefined) {
71154
- appendForm(body, "metadata", encodeJSON("metadata", payload.ImageUpdateRequestMultiPart.metadata, {
71167
+ if (payload.ImageUploadRequestMultiPart.metadata !== undefined) {
71168
+ appendForm(body, "metadata", encodeJSON("metadata", payload.ImageUploadRequestMultiPart.metadata, {
71155
71169
  explode: true
71156
71170
  }));
71157
71171
  }
@@ -71259,8 +71273,7 @@ var init_imagesUpdate2 = __esm(() => {
71259
71273
  description: `Replace an existing image and, optionally, its metadata.
71260
71274
 
71261
71275
  This endpoint replaces the existing image with the new PNG, JPEG, or WebP. Omit
71262
- the metadata form section to keep existing metadata, or send \`null\` to clear it.
71263
- Duplicate images, and requests larger than 16MB will be rejected.`,
71276
+ the metadata form section to keep existing metadata. Duplicate images, and requests larger than 16MB will be rejected.`,
71264
71277
  args: args84,
71265
71278
  tool: async (client, args85, ctx) => {
71266
71279
  const [result, apiCall] = await imagesUpdate(client, args85.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
@@ -74216,7 +74229,7 @@ var init_paymentLinksUpdate2 = __esm(() => {
74216
74229
  name: "payment-links-update",
74217
74230
  description: `Update a payment link.
74218
74231
 
74219
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
74232
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
74220
74233
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
74221
74234
  args: args109,
74222
74235
  tool: async (client, args110, ctx) => {
@@ -75977,7 +75990,7 @@ var init_representativesUpdate2 = __esm(() => {
75977
75990
  };
75978
75991
  tool$representativesUpdate = {
75979
75992
  name: "representatives-update",
75980
- description: `If a representative's information has changed you can patch the information associated with a specific representative ID.
75993
+ description: `If a representative's information has changed you can patch the information associated with a specific representative ID.
75981
75994
  Read our [business representatives guide](https://docs.moov.io/guides/accounts/requirements/business-representatives/) to learn more.
75982
75995
 
75983
75996
  When **can** profile data be updated:
@@ -75992,7 +76005,7 @@ When **can't** profile data be updated:
75992
76005
 
75993
76006
  If you need to update information in a locked state, please contact Moov support.
75994
76007
 
75995
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
76008
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
75996
76009
  you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
75997
76010
  args: args124,
75998
76011
  tool: async (client, args125, ctx) => {
@@ -77577,7 +77590,7 @@ var init_supportUpdateTicket2 = __esm(() => {
77577
77590
  name: "support-update-ticket",
77578
77591
  description: `Updates a support ticket.
77579
77592
 
77580
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
77593
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
77581
77594
  you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
77582
77595
 
77583
77596
  If you're updating the ticket on behalf of another account, then you'll need to
@@ -78301,7 +78314,7 @@ var init_sweepsUpdateConfig2 = __esm(() => {
78301
78314
  name: "sweeps-update-config",
78302
78315
  description: `Update settings on a sweep config.
78303
78316
 
78304
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
78317
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
78305
78318
  you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
78306
78319
  args: args143,
78307
78320
  tool: async (client, args144, ctx) => {
@@ -80219,11 +80232,11 @@ var init_transfersUpdate2 = __esm(() => {
80219
80232
  };
80220
80233
  tool$transfersUpdate = {
80221
80234
  name: "transfers-update",
80222
- description: `Update the metadata contained on a transfer.
80235
+ description: `Update the metadata contained on a transfer.
80223
80236
 
80224
- Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/overview/) to learn more.
80237
+ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/overview/) to learn more.
80225
80238
 
80226
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
80239
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
80227
80240
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
80228
80241
  args: args159,
80229
80242
  tool: async (client, args160, ctx) => {
@@ -81100,7 +81113,7 @@ var init_walletsUpdate2 = __esm(() => {
81100
81113
 
81101
81114
  Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to learn more.
81102
81115
 
81103
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
81116
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
81104
81117
  you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
81105
81118
  args: args166,
81106
81119
  tool: async (client, args167, ctx) => {
@@ -81377,7 +81390,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
81377
81390
  function createMCPServer(deps) {
81378
81391
  const server = new McpServer({
81379
81392
  name: "Moov",
81380
- version: "0.21.15"
81393
+ version: "0.21.17"
81381
81394
  });
81382
81395
  const client = new MoovCore({
81383
81396
  security: deps.security,
@@ -82937,7 +82950,7 @@ var routes = rn({
82937
82950
  var app = Ve(routes, {
82938
82951
  name: "mcp",
82939
82952
  versionInfo: {
82940
- currentVersion: "0.21.15"
82953
+ currentVersion: "0.21.17"
82941
82954
  }
82942
82955
  });
82943
82956
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -82945,5 +82958,5 @@ export {
82945
82958
  app
82946
82959
  };
82947
82960
 
82948
- //# debugId=88F89244FDD160AE64756E2164756E21
82961
+ //# debugId=990BC42FF8290C7264756E2164756E21
82949
82962
  //# sourceMappingURL=mcp-server.js.map