@moovio/sdk 0.16.3 → 0.16.5

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 (201) hide show
  1. package/README.md +62 -44
  2. package/bin/mcp-server.js +1897 -591
  3. package/bin/mcp-server.js.map +41 -12
  4. package/docs/sdks/products/README.md +592 -0
  5. package/examples/package-lock.json +1 -1
  6. package/funcs/productsCreate.d.ts +15 -0
  7. package/funcs/productsCreate.d.ts.map +1 -0
  8. package/funcs/productsCreate.js +138 -0
  9. package/funcs/productsCreate.js.map +1 -0
  10. package/funcs/productsDisable.d.ts +17 -0
  11. package/funcs/productsDisable.d.ts.map +1 -0
  12. package/funcs/productsDisable.js +139 -0
  13. package/funcs/productsDisable.js.map +1 -0
  14. package/funcs/productsGet.d.ts +14 -0
  15. package/funcs/productsGet.d.ts.map +1 -0
  16. package/funcs/productsGet.js +126 -0
  17. package/funcs/productsGet.js.map +1 -0
  18. package/funcs/productsList.d.ts +14 -0
  19. package/funcs/productsList.d.ts.map +1 -0
  20. package/funcs/productsList.js +127 -0
  21. package/funcs/productsList.js.map +1 -0
  22. package/funcs/productsUpdate.d.ts +15 -0
  23. package/funcs/productsUpdate.d.ts.map +1 -0
  24. package/funcs/productsUpdate.js +142 -0
  25. package/funcs/productsUpdate.js.map +1 -0
  26. package/jsr.json +1 -1
  27. package/lib/config.d.ts +2 -2
  28. package/lib/config.js +2 -2
  29. package/mcp-server/mcp-server.js +1 -1
  30. package/mcp-server/server.d.ts.map +1 -1
  31. package/mcp-server/server.js +11 -1
  32. package/mcp-server/server.js.map +1 -1
  33. package/mcp-server/tools/productsCreate.d.ts +8 -0
  34. package/mcp-server/tools/productsCreate.d.ts.map +1 -0
  35. package/mcp-server/tools/productsCreate.js +62 -0
  36. package/mcp-server/tools/productsCreate.js.map +1 -0
  37. package/mcp-server/tools/productsDisable.d.ts +8 -0
  38. package/mcp-server/tools/productsDisable.d.ts.map +1 -0
  39. package/mcp-server/tools/productsDisable.js +63 -0
  40. package/mcp-server/tools/productsDisable.js.map +1 -0
  41. package/mcp-server/tools/productsGet.d.ts +8 -0
  42. package/mcp-server/tools/productsGet.d.ts.map +1 -0
  43. package/mcp-server/tools/productsGet.js +62 -0
  44. package/mcp-server/tools/productsGet.js.map +1 -0
  45. package/mcp-server/tools/productsList.d.ts +8 -0
  46. package/mcp-server/tools/productsList.d.ts.map +1 -0
  47. package/mcp-server/tools/productsList.js +62 -0
  48. package/mcp-server/tools/productsList.js.map +1 -0
  49. package/mcp-server/tools/productsUpdate.d.ts +8 -0
  50. package/mcp-server/tools/productsUpdate.d.ts.map +1 -0
  51. package/mcp-server/tools/productsUpdate.js +62 -0
  52. package/mcp-server/tools/productsUpdate.js.map +1 -0
  53. package/models/components/amountdecimalvalidationerror.d.ts +31 -0
  54. package/models/components/amountdecimalvalidationerror.d.ts.map +1 -0
  55. package/models/components/amountdecimalvalidationerror.js +71 -0
  56. package/models/components/amountdecimalvalidationerror.js.map +1 -0
  57. package/models/components/assignproductimage.d.ts +32 -0
  58. package/models/components/assignproductimage.d.ts.map +1 -0
  59. package/models/components/assignproductimage.js +69 -0
  60. package/models/components/assignproductimage.js.map +1 -0
  61. package/models/components/assignproductimagevalidationerror.d.ts +29 -0
  62. package/models/components/assignproductimagevalidationerror.d.ts.map +1 -0
  63. package/models/components/assignproductimagevalidationerror.js +69 -0
  64. package/models/components/assignproductimagevalidationerror.js.map +1 -0
  65. package/models/components/createproductoption.d.ts +54 -0
  66. package/models/components/createproductoption.d.ts.map +1 -0
  67. package/models/components/createproductoption.js +76 -0
  68. package/models/components/createproductoption.js.map +1 -0
  69. package/models/components/createproductoptiongroup.d.ts +60 -0
  70. package/models/components/createproductoptiongroup.d.ts.map +1 -0
  71. package/models/components/createproductoptiongroup.js +78 -0
  72. package/models/components/createproductoptiongroup.js.map +1 -0
  73. package/models/components/feeproperties.d.ts +6 -0
  74. package/models/components/feeproperties.d.ts.map +1 -1
  75. package/models/components/feeproperties.js +3 -0
  76. package/models/components/feeproperties.js.map +1 -1
  77. package/models/components/index.d.ts +13 -0
  78. package/models/components/index.d.ts.map +1 -1
  79. package/models/components/index.js +13 -0
  80. package/models/components/index.js.map +1 -1
  81. package/models/components/partnerpricing.d.ts +8 -4
  82. package/models/components/partnerpricing.d.ts.map +1 -1
  83. package/models/components/partnerpricing.js +2 -2
  84. package/models/components/partnerpricing.js.map +1 -1
  85. package/models/components/partnerpricingagreement.d.ts +7 -3
  86. package/models/components/partnerpricingagreement.d.ts.map +1 -1
  87. package/models/components/partnerpricingagreement.js +2 -2
  88. package/models/components/partnerpricingagreement.js.map +1 -1
  89. package/models/components/product.d.ts +81 -0
  90. package/models/components/product.d.ts.map +1 -0
  91. package/models/components/product.js +88 -0
  92. package/models/components/product.js.map +1 -0
  93. package/models/components/productimagemetadata.d.ts +42 -0
  94. package/models/components/productimagemetadata.d.ts.map +1 -0
  95. package/models/components/productimagemetadata.js +73 -0
  96. package/models/components/productimagemetadata.js.map +1 -0
  97. package/models/components/productoption.d.ts +57 -0
  98. package/models/components/productoption.d.ts.map +1 -0
  99. package/models/components/productoption.js +76 -0
  100. package/models/components/productoption.js.map +1 -0
  101. package/models/components/productoptiongroup.d.ts +63 -0
  102. package/models/components/productoptiongroup.d.ts.map +1 -0
  103. package/models/components/productoptiongroup.js +78 -0
  104. package/models/components/productoptiongroup.js.map +1 -0
  105. package/models/components/productoptiongroupvalidationerror.d.ts +42 -0
  106. package/models/components/productoptiongroupvalidationerror.d.ts.map +1 -0
  107. package/models/components/productoptiongroupvalidationerror.js +78 -0
  108. package/models/components/productoptiongroupvalidationerror.js.map +1 -0
  109. package/models/components/productoptionvalidationerror.d.ts +40 -0
  110. package/models/components/productoptionvalidationerror.d.ts.map +1 -0
  111. package/models/components/productoptionvalidationerror.js +76 -0
  112. package/models/components/productoptionvalidationerror.js.map +1 -0
  113. package/models/components/productrequest.d.ts +61 -0
  114. package/models/components/productrequest.d.ts.map +1 -0
  115. package/models/components/productrequest.js +80 -0
  116. package/models/components/productrequest.js.map +1 -0
  117. package/models/components/volumerange.d.ts +51 -0
  118. package/models/components/volumerange.d.ts.map +1 -0
  119. package/models/components/volumerange.js +76 -0
  120. package/models/components/volumerange.js.map +1 -0
  121. package/models/errors/index.d.ts +1 -0
  122. package/models/errors/index.d.ts.map +1 -1
  123. package/models/errors/index.js +1 -0
  124. package/models/errors/index.js.map +1 -1
  125. package/models/errors/productrequestvalidationerror.d.ts +61 -0
  126. package/models/errors/productrequestvalidationerror.d.ts.map +1 -0
  127. package/models/errors/productrequestvalidationerror.js +105 -0
  128. package/models/errors/productrequestvalidationerror.js.map +1 -0
  129. package/models/operations/createproduct.d.ts +101 -0
  130. package/models/operations/createproduct.d.ts.map +1 -0
  131. package/models/operations/createproduct.js +155 -0
  132. package/models/operations/createproduct.js.map +1 -0
  133. package/models/operations/disableproduct.d.ts +98 -0
  134. package/models/operations/disableproduct.d.ts.map +1 -0
  135. package/models/operations/disableproduct.js +142 -0
  136. package/models/operations/disableproduct.js.map +1 -0
  137. package/models/operations/getproduct.d.ts +101 -0
  138. package/models/operations/getproduct.d.ts.map +1 -0
  139. package/models/operations/getproduct.js +147 -0
  140. package/models/operations/getproduct.js.map +1 -0
  141. package/models/operations/index.d.ts +5 -0
  142. package/models/operations/index.d.ts.map +1 -1
  143. package/models/operations/index.js +5 -0
  144. package/models/operations/index.js.map +1 -1
  145. package/models/operations/listproducts.d.ts +103 -0
  146. package/models/operations/listproducts.d.ts.map +1 -0
  147. package/models/operations/listproducts.js +149 -0
  148. package/models/operations/listproducts.js.map +1 -0
  149. package/models/operations/updateproduct.d.ts +103 -0
  150. package/models/operations/updateproduct.d.ts.map +1 -0
  151. package/models/operations/updateproduct.js +157 -0
  152. package/models/operations/updateproduct.js.map +1 -0
  153. package/package.json +1 -1
  154. package/sdk/products.d.ts +27 -0
  155. package/sdk/products.d.ts.map +1 -0
  156. package/sdk/products.js +49 -0
  157. package/sdk/products.js.map +1 -0
  158. package/sdk/sdk.d.ts +3 -0
  159. package/sdk/sdk.d.ts.map +1 -1
  160. package/sdk/sdk.js +4 -0
  161. package/sdk/sdk.js.map +1 -1
  162. package/src/funcs/productsCreate.ts +200 -0
  163. package/src/funcs/productsDisable.ts +199 -0
  164. package/src/funcs/productsGet.ts +182 -0
  165. package/src/funcs/productsList.ts +182 -0
  166. package/src/funcs/productsUpdate.ts +206 -0
  167. package/src/lib/config.ts +2 -2
  168. package/src/mcp-server/mcp-server.ts +1 -1
  169. package/src/mcp-server/server.ts +11 -1
  170. package/src/mcp-server/tools/productsCreate.ts +35 -0
  171. package/src/mcp-server/tools/productsDisable.ts +35 -0
  172. package/src/mcp-server/tools/productsGet.ts +35 -0
  173. package/src/mcp-server/tools/productsList.ts +35 -0
  174. package/src/mcp-server/tools/productsUpdate.ts +35 -0
  175. package/src/models/components/amountdecimalvalidationerror.ts +72 -0
  176. package/src/models/components/assignproductimage.ts +69 -0
  177. package/src/models/components/assignproductimagevalidationerror.ts +69 -0
  178. package/src/models/components/createproductoption.ts +102 -0
  179. package/src/models/components/createproductoptiongroup.ts +110 -0
  180. package/src/models/components/feeproperties.ts +13 -0
  181. package/src/models/components/index.ts +13 -0
  182. package/src/models/components/partnerpricing.ts +10 -6
  183. package/src/models/components/partnerpricingagreement.ts +9 -5
  184. package/src/models/components/product.ts +148 -0
  185. package/src/models/components/productimagemetadata.ts +83 -0
  186. package/src/models/components/productoption.ts +101 -0
  187. package/src/models/components/productoptiongroup.ts +113 -0
  188. package/src/models/components/productoptiongroupvalidationerror.ts +91 -0
  189. package/src/models/components/productoptionvalidationerror.ts +88 -0
  190. package/src/models/components/productrequest.ts +117 -0
  191. package/src/models/components/volumerange.ts +95 -0
  192. package/src/models/errors/index.ts +1 -0
  193. package/src/models/errors/productrequestvalidationerror.ts +124 -0
  194. package/src/models/operations/createproduct.ts +231 -0
  195. package/src/models/operations/disableproduct.ts +216 -0
  196. package/src/models/operations/getproduct.ts +223 -0
  197. package/src/models/operations/index.ts +5 -0
  198. package/src/models/operations/listproducts.ts +227 -0
  199. package/src/models/operations/updateproduct.ts +235 -0
  200. package/src/sdk/products.ts +86 -0
  201. package/src/sdk/sdk.ts +6 -0
package/bin/mcp-server.js CHANGED
@@ -34175,9 +34175,9 @@ var init_config = __esm(() => {
34175
34175
  SDK_METADATA = {
34176
34176
  language: "typescript",
34177
34177
  openapiDocVersion: "latest",
34178
- sdkVersion: "0.16.3",
34178
+ sdkVersion: "0.16.5",
34179
34179
  genVersion: "2.723.11",
34180
- userAgent: "speakeasy-sdk/typescript 0.16.3 2.723.11 latest @moovio/sdk"
34180
+ userAgent: "speakeasy-sdk/typescript 0.16.5 2.723.11 latest @moovio/sdk"
34181
34181
  };
34182
34182
  });
34183
34183
 
@@ -37293,6 +37293,24 @@ var init_amount = __esm(() => {
37293
37293
  })(Amount$ ||= {});
37294
37294
  });
37295
37295
 
37296
+ // src/models/components/amountdecimalvalidationerror.ts
37297
+ var AmountDecimalValidationError$inboundSchema, AmountDecimalValidationError$outboundSchema, AmountDecimalValidationError$;
37298
+ var init_amountdecimalvalidationerror = __esm(() => {
37299
+ init_esm();
37300
+ AmountDecimalValidationError$inboundSchema = objectType({
37301
+ currency: stringType().optional(),
37302
+ valueDecimal: stringType().optional()
37303
+ });
37304
+ AmountDecimalValidationError$outboundSchema = objectType({
37305
+ currency: stringType().optional(),
37306
+ valueDecimal: stringType().optional()
37307
+ });
37308
+ ((AmountDecimalValidationError$) => {
37309
+ AmountDecimalValidationError$.inboundSchema = AmountDecimalValidationError$inboundSchema;
37310
+ AmountDecimalValidationError$.outboundSchema = AmountDecimalValidationError$outboundSchema;
37311
+ })(AmountDecimalValidationError$ ||= {});
37312
+ });
37313
+
37296
37314
  // src/models/components/amountupdate.ts
37297
37315
  var AmountUpdate$inboundSchema, AmountUpdate$outboundSchema, AmountUpdate$;
37298
37316
  var init_amountupdate = __esm(() => {
@@ -37559,6 +37577,38 @@ var init_applicationscope = __esm(() => {
37559
37577
  })(ApplicationScope$ ||= {});
37560
37578
  });
37561
37579
 
37580
+ // src/models/components/assignproductimage.ts
37581
+ var AssignProductImage$inboundSchema, AssignProductImage$outboundSchema, AssignProductImage$;
37582
+ var init_assignproductimage = __esm(() => {
37583
+ init_esm();
37584
+ AssignProductImage$inboundSchema = objectType({
37585
+ imageID: stringType()
37586
+ });
37587
+ AssignProductImage$outboundSchema = objectType({
37588
+ imageID: stringType()
37589
+ });
37590
+ ((AssignProductImage$) => {
37591
+ AssignProductImage$.inboundSchema = AssignProductImage$inboundSchema;
37592
+ AssignProductImage$.outboundSchema = AssignProductImage$outboundSchema;
37593
+ })(AssignProductImage$ ||= {});
37594
+ });
37595
+
37596
+ // src/models/components/assignproductimagevalidationerror.ts
37597
+ var AssignProductImageValidationError$inboundSchema, AssignProductImageValidationError$outboundSchema, AssignProductImageValidationError$;
37598
+ var init_assignproductimagevalidationerror = __esm(() => {
37599
+ init_esm();
37600
+ AssignProductImageValidationError$inboundSchema = objectType({
37601
+ imageID: stringType().optional()
37602
+ });
37603
+ AssignProductImageValidationError$outboundSchema = objectType({
37604
+ imageID: stringType().optional()
37605
+ });
37606
+ ((AssignProductImageValidationError$) => {
37607
+ AssignProductImageValidationError$.inboundSchema = AssignProductImageValidationError$inboundSchema;
37608
+ AssignProductImageValidationError$.outboundSchema = AssignProductImageValidationError$outboundSchema;
37609
+ })(AssignProductImageValidationError$ ||= {});
37610
+ });
37611
+
37562
37612
  // src/models/components/asynccreatedrefund.ts
37563
37613
  var AsyncCreatedRefund$inboundSchema, AsyncCreatedRefund$outboundSchema, AsyncCreatedRefund$;
37564
37614
  var init_asynccreatedrefund = __esm(() => {
@@ -38066,22 +38116,48 @@ var init_feemodel = __esm(() => {
38066
38116
  })(FeeModel$ ||= {});
38067
38117
  });
38068
38118
 
38119
+ // src/models/components/volumerange.ts
38120
+ var VolumeRange$inboundSchema, VolumeRange$outboundSchema, VolumeRange$;
38121
+ var init_volumerange = __esm(() => {
38122
+ init_esm();
38123
+ init_amountdecimal();
38124
+ VolumeRange$inboundSchema = objectType({
38125
+ fromValue: numberType().int(),
38126
+ toValue: numberType().int().optional(),
38127
+ flatAmount: AmountDecimal$inboundSchema,
38128
+ perUnitAmount: AmountDecimal$inboundSchema
38129
+ });
38130
+ VolumeRange$outboundSchema = objectType({
38131
+ fromValue: numberType().int(),
38132
+ toValue: numberType().int().optional(),
38133
+ flatAmount: AmountDecimal$outboundSchema,
38134
+ perUnitAmount: AmountDecimal$outboundSchema
38135
+ });
38136
+ ((VolumeRange$) => {
38137
+ VolumeRange$.inboundSchema = VolumeRange$inboundSchema;
38138
+ VolumeRange$.outboundSchema = VolumeRange$outboundSchema;
38139
+ })(VolumeRange$ ||= {});
38140
+ });
38141
+
38069
38142
  // src/models/components/feeproperties.ts
38070
38143
  var FeeProperties$inboundSchema, FeeProperties$outboundSchema, FeeProperties$;
38071
38144
  var init_feeproperties = __esm(() => {
38072
38145
  init_esm();
38073
38146
  init_amountdecimal();
38147
+ init_volumerange();
38074
38148
  FeeProperties$inboundSchema = objectType({
38075
38149
  fixedAmount: AmountDecimal$inboundSchema.optional(),
38076
38150
  variableRate: stringType().optional(),
38077
38151
  minPerTransaction: AmountDecimal$inboundSchema.optional(),
38078
- maxPerTransaction: AmountDecimal$inboundSchema.optional()
38152
+ maxPerTransaction: AmountDecimal$inboundSchema.optional(),
38153
+ volumeRanges: arrayType(VolumeRange$inboundSchema)
38079
38154
  });
38080
38155
  FeeProperties$outboundSchema = objectType({
38081
38156
  fixedAmount: AmountDecimal$outboundSchema.optional(),
38082
38157
  variableRate: stringType().optional(),
38083
38158
  minPerTransaction: AmountDecimal$outboundSchema.optional(),
38084
- maxPerTransaction: AmountDecimal$outboundSchema.optional()
38159
+ maxPerTransaction: AmountDecimal$outboundSchema.optional(),
38160
+ volumeRanges: arrayType(VolumeRange$outboundSchema)
38085
38161
  });
38086
38162
  ((FeeProperties$) => {
38087
38163
  FeeProperties$.inboundSchema = FeeProperties$inboundSchema;
@@ -43474,6 +43550,54 @@ var init_createpaymentlink = __esm(() => {
43474
43550
  })(CreatePaymentLink$ ||= {});
43475
43551
  });
43476
43552
 
43553
+ // src/models/components/createproductoption.ts
43554
+ var CreateProductOption$inboundSchema, CreateProductOption$outboundSchema, CreateProductOption$;
43555
+ var init_createproductoption = __esm(() => {
43556
+ init_esm();
43557
+ init_assignproductimage();
43558
+ CreateProductOption$inboundSchema = objectType({
43559
+ name: stringType(),
43560
+ description: stringType().optional(),
43561
+ priceModifier: stringType().optional(),
43562
+ images: arrayType(AssignProductImage$inboundSchema).optional()
43563
+ });
43564
+ CreateProductOption$outboundSchema = objectType({
43565
+ name: stringType(),
43566
+ description: stringType().optional(),
43567
+ priceModifier: stringType().optional(),
43568
+ images: arrayType(AssignProductImage$outboundSchema).optional()
43569
+ });
43570
+ ((CreateProductOption$) => {
43571
+ CreateProductOption$.inboundSchema = CreateProductOption$inboundSchema;
43572
+ CreateProductOption$.outboundSchema = CreateProductOption$outboundSchema;
43573
+ })(CreateProductOption$ ||= {});
43574
+ });
43575
+
43576
+ // src/models/components/createproductoptiongroup.ts
43577
+ var CreateProductOptionGroup$inboundSchema, CreateProductOptionGroup$outboundSchema, CreateProductOptionGroup$;
43578
+ var init_createproductoptiongroup = __esm(() => {
43579
+ init_esm();
43580
+ init_createproductoption();
43581
+ CreateProductOptionGroup$inboundSchema = objectType({
43582
+ name: stringType(),
43583
+ description: stringType().optional(),
43584
+ minSelect: numberType().int(),
43585
+ maxSelect: numberType().int(),
43586
+ options: arrayType(CreateProductOption$inboundSchema)
43587
+ });
43588
+ CreateProductOptionGroup$outboundSchema = objectType({
43589
+ name: stringType(),
43590
+ description: stringType().optional(),
43591
+ minSelect: numberType().int(),
43592
+ maxSelect: numberType().int(),
43593
+ options: arrayType(CreateProductOption$outboundSchema)
43594
+ });
43595
+ ((CreateProductOptionGroup$) => {
43596
+ CreateProductOptionGroup$.inboundSchema = CreateProductOptionGroup$inboundSchema;
43597
+ CreateProductOptionGroup$.outboundSchema = CreateProductOptionGroup$outboundSchema;
43598
+ })(CreateProductOptionGroup$ ||= {});
43599
+ });
43600
+
43477
43601
  // src/models/components/createprofileerror.ts
43478
43602
  var CreateProfileError$inboundSchema, CreateProfileError$outboundSchema, CreateProfileError$;
43479
43603
  var init_createprofileerror = __esm(() => {
@@ -46404,7 +46528,7 @@ var init_partnerpricing = __esm(() => {
46404
46528
  planID: stringType(),
46405
46529
  name: stringType(),
46406
46530
  description: stringType().optional(),
46407
- revenueShare: numberType().int(),
46531
+ revenueShare: stringType(),
46408
46532
  cardAcquiringModel: CardAcquiringModel$inboundSchema,
46409
46533
  billableFees: arrayType(BillableFee$inboundSchema),
46410
46534
  minimumCommitment: MinimumCommitment$inboundSchema,
@@ -46415,7 +46539,7 @@ var init_partnerpricing = __esm(() => {
46415
46539
  planID: stringType(),
46416
46540
  name: stringType(),
46417
46541
  description: stringType().optional(),
46418
- revenueShare: numberType().int(),
46542
+ revenueShare: stringType(),
46419
46543
  cardAcquiringModel: CardAcquiringModel$outboundSchema,
46420
46544
  billableFees: arrayType(BillableFee$outboundSchema),
46421
46545
  minimumCommitment: MinimumCommitment$outboundSchema,
@@ -46449,7 +46573,7 @@ var init_partnerpricingagreement = __esm(() => {
46449
46573
  billableFees: arrayType(BillableFee$inboundSchema),
46450
46574
  minimumCommitment: MinimumCommitment$inboundSchema,
46451
46575
  monthlyPlatformFee: MonthlyPlatformFee$inboundSchema,
46452
- revenueShare: numberType().int()
46576
+ revenueShare: stringType()
46453
46577
  });
46454
46578
  PartnerPricingAgreement$outboundSchema = objectType({
46455
46579
  agreementID: stringType(),
@@ -46463,7 +46587,7 @@ var init_partnerpricingagreement = __esm(() => {
46463
46587
  billableFees: arrayType(BillableFee$outboundSchema),
46464
46588
  minimumCommitment: MinimumCommitment$outboundSchema,
46465
46589
  monthlyPlatformFee: MonthlyPlatformFee$outboundSchema,
46466
- revenueShare: numberType().int()
46590
+ revenueShare: stringType()
46467
46591
  });
46468
46592
  ((PartnerPricingAgreement$) => {
46469
46593
  PartnerPricingAgreement$.inboundSchema = PartnerPricingAgreement$inboundSchema;
@@ -47192,6 +47316,184 @@ var init_platformfees = __esm(() => {
47192
47316
  })(PlatformFees$ ||= {});
47193
47317
  });
47194
47318
 
47319
+ // src/models/components/productimagemetadata.ts
47320
+ var ProductImageMetadata$inboundSchema, ProductImageMetadata$outboundSchema, ProductImageMetadata$;
47321
+ var init_productimagemetadata = __esm(() => {
47322
+ init_esm();
47323
+ ProductImageMetadata$inboundSchema = objectType({
47324
+ imageID: stringType(),
47325
+ altText: stringType().optional(),
47326
+ link: stringType()
47327
+ });
47328
+ ProductImageMetadata$outboundSchema = objectType({
47329
+ imageID: stringType(),
47330
+ altText: stringType().optional(),
47331
+ link: stringType()
47332
+ });
47333
+ ((ProductImageMetadata$) => {
47334
+ ProductImageMetadata$.inboundSchema = ProductImageMetadata$inboundSchema;
47335
+ ProductImageMetadata$.outboundSchema = ProductImageMetadata$outboundSchema;
47336
+ })(ProductImageMetadata$ ||= {});
47337
+ });
47338
+
47339
+ // src/models/components/productoption.ts
47340
+ var ProductOption$inboundSchema, ProductOption$outboundSchema, ProductOption$;
47341
+ var init_productoption = __esm(() => {
47342
+ init_esm();
47343
+ init_productimagemetadata();
47344
+ ProductOption$inboundSchema = objectType({
47345
+ name: stringType(),
47346
+ description: stringType().optional(),
47347
+ priceModifier: stringType().optional(),
47348
+ images: arrayType(ProductImageMetadata$inboundSchema).optional()
47349
+ });
47350
+ ProductOption$outboundSchema = objectType({
47351
+ name: stringType(),
47352
+ description: stringType().optional(),
47353
+ priceModifier: stringType().optional(),
47354
+ images: arrayType(ProductImageMetadata$outboundSchema).optional()
47355
+ });
47356
+ ((ProductOption$) => {
47357
+ ProductOption$.inboundSchema = ProductOption$inboundSchema;
47358
+ ProductOption$.outboundSchema = ProductOption$outboundSchema;
47359
+ })(ProductOption$ ||= {});
47360
+ });
47361
+
47362
+ // src/models/components/productoptiongroup.ts
47363
+ var ProductOptionGroup$inboundSchema, ProductOptionGroup$outboundSchema, ProductOptionGroup$;
47364
+ var init_productoptiongroup = __esm(() => {
47365
+ init_esm();
47366
+ init_productoption();
47367
+ ProductOptionGroup$inboundSchema = objectType({
47368
+ name: stringType(),
47369
+ description: stringType().optional(),
47370
+ minSelect: numberType().int(),
47371
+ maxSelect: numberType().int(),
47372
+ options: arrayType(ProductOption$inboundSchema)
47373
+ });
47374
+ ProductOptionGroup$outboundSchema = objectType({
47375
+ name: stringType(),
47376
+ description: stringType().optional(),
47377
+ minSelect: numberType().int(),
47378
+ maxSelect: numberType().int(),
47379
+ options: arrayType(ProductOption$outboundSchema)
47380
+ });
47381
+ ((ProductOptionGroup$) => {
47382
+ ProductOptionGroup$.inboundSchema = ProductOptionGroup$inboundSchema;
47383
+ ProductOptionGroup$.outboundSchema = ProductOptionGroup$outboundSchema;
47384
+ })(ProductOptionGroup$ ||= {});
47385
+ });
47386
+
47387
+ // src/models/components/product.ts
47388
+ var Product$inboundSchema, Product$outboundSchema, Product$;
47389
+ var init_product = __esm(() => {
47390
+ init_esm();
47391
+ init_amountdecimal();
47392
+ init_productimagemetadata();
47393
+ init_productoptiongroup();
47394
+ Product$inboundSchema = objectType({
47395
+ productID: stringType(),
47396
+ title: stringType(),
47397
+ description: stringType().optional(),
47398
+ basePrice: AmountDecimal$inboundSchema,
47399
+ optionGroups: arrayType(ProductOptionGroup$inboundSchema).optional(),
47400
+ images: arrayType(ProductImageMetadata$inboundSchema).optional(),
47401
+ createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
47402
+ updatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
47403
+ disabledOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
47404
+ });
47405
+ Product$outboundSchema = objectType({
47406
+ productID: stringType(),
47407
+ title: stringType(),
47408
+ description: stringType().optional(),
47409
+ basePrice: AmountDecimal$outboundSchema,
47410
+ optionGroups: arrayType(ProductOptionGroup$outboundSchema).optional(),
47411
+ images: arrayType(ProductImageMetadata$outboundSchema).optional(),
47412
+ createdOn: dateType().transform((v2) => v2.toISOString()),
47413
+ updatedOn: dateType().transform((v2) => v2.toISOString()),
47414
+ disabledOn: dateType().transform((v2) => v2.toISOString()).optional()
47415
+ });
47416
+ ((Product$) => {
47417
+ Product$.inboundSchema = Product$inboundSchema;
47418
+ Product$.outboundSchema = Product$outboundSchema;
47419
+ })(Product$ ||= {});
47420
+ });
47421
+
47422
+ // src/models/components/productoptionvalidationerror.ts
47423
+ var ProductOptionValidationError$inboundSchema, ProductOptionValidationError$outboundSchema, ProductOptionValidationError$;
47424
+ var init_productoptionvalidationerror = __esm(() => {
47425
+ init_esm();
47426
+ init_assignproductimagevalidationerror();
47427
+ ProductOptionValidationError$inboundSchema = objectType({
47428
+ name: stringType().optional(),
47429
+ description: stringType().optional(),
47430
+ priceModifier: stringType().optional(),
47431
+ images: recordType(AssignProductImageValidationError$inboundSchema).optional()
47432
+ });
47433
+ ProductOptionValidationError$outboundSchema = objectType({
47434
+ name: stringType().optional(),
47435
+ description: stringType().optional(),
47436
+ priceModifier: stringType().optional(),
47437
+ images: recordType(AssignProductImageValidationError$outboundSchema).optional()
47438
+ });
47439
+ ((ProductOptionValidationError$) => {
47440
+ ProductOptionValidationError$.inboundSchema = ProductOptionValidationError$inboundSchema;
47441
+ ProductOptionValidationError$.outboundSchema = ProductOptionValidationError$outboundSchema;
47442
+ })(ProductOptionValidationError$ ||= {});
47443
+ });
47444
+
47445
+ // src/models/components/productoptiongroupvalidationerror.ts
47446
+ var ProductOptionGroupValidationError$inboundSchema, ProductOptionGroupValidationError$outboundSchema, ProductOptionGroupValidationError$;
47447
+ var init_productoptiongroupvalidationerror = __esm(() => {
47448
+ init_esm();
47449
+ init_productoptionvalidationerror();
47450
+ ProductOptionGroupValidationError$inboundSchema = objectType({
47451
+ name: stringType().optional(),
47452
+ description: stringType().optional(),
47453
+ minSelect: stringType().optional(),
47454
+ maxSelect: stringType().optional(),
47455
+ options: recordType(ProductOptionValidationError$inboundSchema).optional()
47456
+ });
47457
+ ProductOptionGroupValidationError$outboundSchema = objectType({
47458
+ name: stringType().optional(),
47459
+ description: stringType().optional(),
47460
+ minSelect: stringType().optional(),
47461
+ maxSelect: stringType().optional(),
47462
+ options: recordType(ProductOptionValidationError$outboundSchema).optional()
47463
+ });
47464
+ ((ProductOptionGroupValidationError$) => {
47465
+ ProductOptionGroupValidationError$.inboundSchema = ProductOptionGroupValidationError$inboundSchema;
47466
+ ProductOptionGroupValidationError$.outboundSchema = ProductOptionGroupValidationError$outboundSchema;
47467
+ })(ProductOptionGroupValidationError$ ||= {});
47468
+ });
47469
+
47470
+ // src/models/components/productrequest.ts
47471
+ var ProductRequest$inboundSchema, ProductRequest$outboundSchema, ProductRequest$;
47472
+ var init_productrequest = __esm(() => {
47473
+ init_esm();
47474
+ init_amountdecimal();
47475
+ init_assignproductimage();
47476
+ init_createproductoptiongroup();
47477
+ ProductRequest$inboundSchema = objectType({
47478
+ title: stringType(),
47479
+ description: stringType().optional(),
47480
+ basePrice: AmountDecimal$inboundSchema,
47481
+ images: arrayType(AssignProductImage$inboundSchema).optional(),
47482
+ optionGroups: arrayType(CreateProductOptionGroup$inboundSchema).optional()
47483
+ });
47484
+ ProductRequest$outboundSchema = objectType({
47485
+ title: stringType(),
47486
+ description: stringType().optional(),
47487
+ basePrice: AmountDecimal$outboundSchema,
47488
+ images: arrayType(AssignProductImage$outboundSchema).optional(),
47489
+ optionGroups: arrayType(CreateProductOptionGroup$outboundSchema).optional()
47490
+ });
47491
+ ((ProductRequest$) => {
47492
+ ProductRequest$.inboundSchema = ProductRequest$inboundSchema;
47493
+ ProductRequest$.outboundSchema = ProductRequest$outboundSchema;
47494
+ })(ProductRequest$ ||= {});
47495
+ });
47496
+
47195
47497
  // src/models/components/qrcode.ts
47196
47498
  var QRCode$inboundSchema, QRCode$outboundSchema, QRCode$;
47197
47499
  var init_qrcode = __esm(() => {
@@ -50145,6 +50447,7 @@ var init_components = __esm(() => {
50145
50447
  init_adjustment();
50146
50448
  init_amount();
50147
50449
  init_amountdecimal();
50450
+ init_amountdecimalvalidationerror();
50148
50451
  init_amountupdate();
50149
50452
  init_amountvalidationerror();
50150
50453
  init_applebillingcontact();
@@ -50153,6 +50456,8 @@ var init_components = __esm(() => {
50153
50456
  init_applepaypaymentmethod();
50154
50457
  init_applepayresponse();
50155
50458
  init_applicationscope();
50459
+ init_assignproductimage();
50460
+ init_assignproductimagevalidationerror();
50156
50461
  init_asynccreatedrefund();
50157
50462
  init_asynctransfer();
50158
50463
  init_authorizeduser();
@@ -50252,6 +50557,8 @@ var init_components = __esm(() => {
50252
50557
  init_createindividualerror();
50253
50558
  init_createindividualprofile();
50254
50559
  init_createpaymentlink();
50560
+ init_createproductoption();
50561
+ init_createproductoptiongroup();
50255
50562
  init_createprofile();
50256
50563
  init_createprofileerror();
50257
50564
  init_createrefund();
@@ -50430,6 +50737,13 @@ var init_components = __esm(() => {
50430
50737
  init_plaidpayload();
50431
50738
  init_platformfees();
50432
50739
  init_primaryregulator();
50740
+ init_product();
50741
+ init_productimagemetadata();
50742
+ init_productoption();
50743
+ init_productoptiongroup();
50744
+ init_productoptiongroupvalidationerror();
50745
+ init_productoptionvalidationerror();
50746
+ init_productrequest();
50433
50747
  init_profile();
50434
50748
  init_pullfromcardpaymentmethod();
50435
50749
  init_pushtocardpaymentmethod();
@@ -50539,6 +50853,7 @@ var init_components = __esm(() => {
50539
50853
  init_verificationstatusdetail();
50540
50854
  init_volumebycustomertype();
50541
50855
  init_volumebycustomertypeerror();
50856
+ init_volumerange();
50542
50857
  init_volumesharebycustomertype();
50543
50858
  init_volumesharebycustomertypeerror();
50544
50859
  init_wallet();
@@ -51913,6 +52228,65 @@ var init_patchwalletvalidationerror = __esm(() => {
51913
52228
  })(PatchWalletValidationError$ ||= {});
51914
52229
  });
51915
52230
 
52231
+ // src/models/errors/productrequestvalidationerror.ts
52232
+ var ProductRequestValidationError, ProductRequestValidationError$inboundSchema, ProductRequestValidationError$outboundSchema, ProductRequestValidationError$;
52233
+ var init_productrequestvalidationerror = __esm(() => {
52234
+ init_esm();
52235
+ init_components();
52236
+ init_mooverror();
52237
+ ProductRequestValidationError = class ProductRequestValidationError extends MoovError {
52238
+ title;
52239
+ description;
52240
+ basePrice;
52241
+ images;
52242
+ optionGroups;
52243
+ data$;
52244
+ constructor(err, httpMeta) {
52245
+ const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
52246
+ super(message, httpMeta);
52247
+ this.data$ = err;
52248
+ if (err.title != null)
52249
+ this.title = err.title;
52250
+ if (err.description != null)
52251
+ this.description = err.description;
52252
+ if (err.basePrice != null)
52253
+ this.basePrice = err.basePrice;
52254
+ if (err.images != null)
52255
+ this.images = err.images;
52256
+ if (err.optionGroups != null)
52257
+ this.optionGroups = err.optionGroups;
52258
+ this.name = "ProductRequestValidationError";
52259
+ }
52260
+ };
52261
+ ProductRequestValidationError$inboundSchema = objectType({
52262
+ title: stringType().optional(),
52263
+ description: stringType().optional(),
52264
+ basePrice: AmountDecimalValidationError$inboundSchema.optional(),
52265
+ images: recordType(AssignProductImageValidationError$inboundSchema).optional(),
52266
+ optionGroups: recordType(ProductOptionGroupValidationError$inboundSchema).optional(),
52267
+ request$: instanceOfType(Request),
52268
+ response$: instanceOfType(Response),
52269
+ body$: stringType()
52270
+ }).transform((v2) => {
52271
+ return new ProductRequestValidationError(v2, {
52272
+ request: v2.request$,
52273
+ response: v2.response$,
52274
+ body: v2.body$
52275
+ });
52276
+ });
52277
+ ProductRequestValidationError$outboundSchema = instanceOfType(ProductRequestValidationError).transform((v2) => v2.data$).pipe(objectType({
52278
+ title: stringType().optional(),
52279
+ description: stringType().optional(),
52280
+ basePrice: AmountDecimalValidationError$outboundSchema.optional(),
52281
+ images: recordType(AssignProductImageValidationError$outboundSchema).optional(),
52282
+ optionGroups: recordType(ProductOptionGroupValidationError$outboundSchema).optional()
52283
+ }));
52284
+ ((ProductRequestValidationError$) => {
52285
+ ProductRequestValidationError$.inboundSchema = ProductRequestValidationError$inboundSchema;
52286
+ ProductRequestValidationError$.outboundSchema = ProductRequestValidationError$outboundSchema;
52287
+ })(ProductRequestValidationError$ ||= {});
52288
+ });
52289
+
51916
52290
  // src/models/errors/refundvalidationerror.ts
51917
52291
  var RefundValidationError, RefundValidationError$inboundSchema, RefundValidationError$outboundSchema, RefundValidationError$;
51918
52292
  var init_refundvalidationerror = __esm(() => {
@@ -53006,6 +53380,7 @@ var init_errors2 = __esm(() => {
53006
53380
  init_patchsweepconfigerror();
53007
53381
  init_patchtransfervalidationerror();
53008
53382
  init_patchwalletvalidationerror();
53383
+ init_productrequestvalidationerror();
53009
53384
  init_refundvalidationerror();
53010
53385
  init_representativevalidationerror();
53011
53386
  init_requestcarderror();
@@ -53825,6 +54200,74 @@ var init_createpaymentlink2 = __esm(() => {
53825
54200
  })(CreatePaymentLinkResponse$ ||= {});
53826
54201
  });
53827
54202
 
54203
+ // src/models/operations/createproduct.ts
54204
+ var CreateProductGlobals$inboundSchema, CreateProductGlobals$outboundSchema, CreateProductGlobals$, CreateProductRequest$inboundSchema, CreateProductRequest$outboundSchema, CreateProductRequest$, CreateProductResponse$inboundSchema, CreateProductResponse$outboundSchema, CreateProductResponse$;
54205
+ var init_createproduct = __esm(() => {
54206
+ init_esm();
54207
+ init_primitives();
54208
+ init_components();
54209
+ CreateProductGlobals$inboundSchema = objectType({
54210
+ "x-moov-version": stringType().default("v2024.01.00")
54211
+ }).transform((v2) => {
54212
+ return remap(v2, {
54213
+ "x-moov-version": "xMoovVersion"
54214
+ });
54215
+ });
54216
+ CreateProductGlobals$outboundSchema = objectType({
54217
+ xMoovVersion: stringType().default("v2024.01.00")
54218
+ }).transform((v2) => {
54219
+ return remap(v2, {
54220
+ xMoovVersion: "x-moov-version"
54221
+ });
54222
+ });
54223
+ ((CreateProductGlobals$) => {
54224
+ CreateProductGlobals$.inboundSchema = CreateProductGlobals$inboundSchema;
54225
+ CreateProductGlobals$.outboundSchema = CreateProductGlobals$outboundSchema;
54226
+ })(CreateProductGlobals$ ||= {});
54227
+ CreateProductRequest$inboundSchema = objectType({
54228
+ accountID: stringType(),
54229
+ ProductRequest: ProductRequest$inboundSchema
54230
+ }).transform((v2) => {
54231
+ return remap(v2, {
54232
+ ProductRequest: "productRequest"
54233
+ });
54234
+ });
54235
+ CreateProductRequest$outboundSchema = objectType({
54236
+ accountID: stringType(),
54237
+ productRequest: ProductRequest$outboundSchema
54238
+ }).transform((v2) => {
54239
+ return remap(v2, {
54240
+ productRequest: "ProductRequest"
54241
+ });
54242
+ });
54243
+ ((CreateProductRequest$) => {
54244
+ CreateProductRequest$.inboundSchema = CreateProductRequest$inboundSchema;
54245
+ CreateProductRequest$.outboundSchema = CreateProductRequest$outboundSchema;
54246
+ })(CreateProductRequest$ ||= {});
54247
+ CreateProductResponse$inboundSchema = objectType({
54248
+ Headers: recordType(arrayType(stringType())),
54249
+ Result: Product$inboundSchema
54250
+ }).transform((v2) => {
54251
+ return remap(v2, {
54252
+ Headers: "headers",
54253
+ Result: "result"
54254
+ });
54255
+ });
54256
+ CreateProductResponse$outboundSchema = objectType({
54257
+ headers: recordType(arrayType(stringType())),
54258
+ result: Product$outboundSchema
54259
+ }).transform((v2) => {
54260
+ return remap(v2, {
54261
+ headers: "Headers",
54262
+ result: "Result"
54263
+ });
54264
+ });
54265
+ ((CreateProductResponse$) => {
54266
+ CreateProductResponse$.inboundSchema = CreateProductResponse$inboundSchema;
54267
+ CreateProductResponse$.outboundSchema = CreateProductResponse$outboundSchema;
54268
+ })(CreateProductResponse$ ||= {});
54269
+ });
54270
+
53828
54271
  // src/models/operations/createreceipts.ts
53829
54272
  var CreateReceiptsGlobals$inboundSchema, CreateReceiptsGlobals$outboundSchema, CreateReceiptsGlobals$, CreateReceiptsResponse$inboundSchema, CreateReceiptsResponse$outboundSchema, CreateReceiptsResponse$;
53830
54273
  var init_createreceipts = __esm(() => {
@@ -55010,6 +55453,61 @@ var init_disablepaymentlink = __esm(() => {
55010
55453
  })(DisablePaymentLinkResponse$ ||= {});
55011
55454
  });
55012
55455
 
55456
+ // src/models/operations/disableproduct.ts
55457
+ var DisableProductGlobals$inboundSchema, DisableProductGlobals$outboundSchema, DisableProductGlobals$, DisableProductRequest$inboundSchema, DisableProductRequest$outboundSchema, DisableProductRequest$, DisableProductResponse$inboundSchema, DisableProductResponse$outboundSchema, DisableProductResponse$;
55458
+ var init_disableproduct = __esm(() => {
55459
+ init_esm();
55460
+ init_primitives();
55461
+ DisableProductGlobals$inboundSchema = objectType({
55462
+ "x-moov-version": stringType().default("v2024.01.00")
55463
+ }).transform((v2) => {
55464
+ return remap(v2, {
55465
+ "x-moov-version": "xMoovVersion"
55466
+ });
55467
+ });
55468
+ DisableProductGlobals$outboundSchema = objectType({
55469
+ xMoovVersion: stringType().default("v2024.01.00")
55470
+ }).transform((v2) => {
55471
+ return remap(v2, {
55472
+ xMoovVersion: "x-moov-version"
55473
+ });
55474
+ });
55475
+ ((DisableProductGlobals$) => {
55476
+ DisableProductGlobals$.inboundSchema = DisableProductGlobals$inboundSchema;
55477
+ DisableProductGlobals$.outboundSchema = DisableProductGlobals$outboundSchema;
55478
+ })(DisableProductGlobals$ ||= {});
55479
+ DisableProductRequest$inboundSchema = objectType({
55480
+ accountID: stringType(),
55481
+ productID: stringType()
55482
+ });
55483
+ DisableProductRequest$outboundSchema = objectType({
55484
+ accountID: stringType(),
55485
+ productID: stringType()
55486
+ });
55487
+ ((DisableProductRequest$) => {
55488
+ DisableProductRequest$.inboundSchema = DisableProductRequest$inboundSchema;
55489
+ DisableProductRequest$.outboundSchema = DisableProductRequest$outboundSchema;
55490
+ })(DisableProductRequest$ ||= {});
55491
+ DisableProductResponse$inboundSchema = objectType({
55492
+ Headers: recordType(arrayType(stringType()))
55493
+ }).transform((v2) => {
55494
+ return remap(v2, {
55495
+ Headers: "headers"
55496
+ });
55497
+ });
55498
+ DisableProductResponse$outboundSchema = objectType({
55499
+ headers: recordType(arrayType(stringType()))
55500
+ }).transform((v2) => {
55501
+ return remap(v2, {
55502
+ headers: "Headers"
55503
+ });
55504
+ });
55505
+ ((DisableProductResponse$) => {
55506
+ DisableProductResponse$.inboundSchema = DisableProductResponse$inboundSchema;
55507
+ DisableProductResponse$.outboundSchema = DisableProductResponse$outboundSchema;
55508
+ })(DisableProductResponse$ ||= {});
55509
+ });
55510
+
55013
55511
  // src/models/operations/disconnectaccount.ts
55014
55512
  var DisconnectAccountGlobals$inboundSchema, DisconnectAccountGlobals$outboundSchema, DisconnectAccountGlobals$, DisconnectAccountRequest$inboundSchema, DisconnectAccountRequest$outboundSchema, DisconnectAccountRequest$, DisconnectAccountResponse$inboundSchema, DisconnectAccountResponse$outboundSchema, DisconnectAccountResponse$;
55015
55513
  var init_disconnectaccount = __esm(() => {
@@ -56846,6 +57344,66 @@ var init_getpaymentmethod = __esm(() => {
56846
57344
  })(GetPaymentMethodResponse$ ||= {});
56847
57345
  });
56848
57346
 
57347
+ // src/models/operations/getproduct.ts
57348
+ var GetProductGlobals$inboundSchema, GetProductGlobals$outboundSchema, GetProductGlobals$, GetProductRequest$inboundSchema, GetProductRequest$outboundSchema, GetProductRequest$, GetProductResponse$inboundSchema, GetProductResponse$outboundSchema, GetProductResponse$;
57349
+ var init_getproduct = __esm(() => {
57350
+ init_esm();
57351
+ init_primitives();
57352
+ init_components();
57353
+ GetProductGlobals$inboundSchema = objectType({
57354
+ "x-moov-version": stringType().default("v2024.01.00")
57355
+ }).transform((v2) => {
57356
+ return remap(v2, {
57357
+ "x-moov-version": "xMoovVersion"
57358
+ });
57359
+ });
57360
+ GetProductGlobals$outboundSchema = objectType({
57361
+ xMoovVersion: stringType().default("v2024.01.00")
57362
+ }).transform((v2) => {
57363
+ return remap(v2, {
57364
+ xMoovVersion: "x-moov-version"
57365
+ });
57366
+ });
57367
+ ((GetProductGlobals$) => {
57368
+ GetProductGlobals$.inboundSchema = GetProductGlobals$inboundSchema;
57369
+ GetProductGlobals$.outboundSchema = GetProductGlobals$outboundSchema;
57370
+ })(GetProductGlobals$ ||= {});
57371
+ GetProductRequest$inboundSchema = objectType({
57372
+ accountID: stringType(),
57373
+ productID: stringType()
57374
+ });
57375
+ GetProductRequest$outboundSchema = objectType({
57376
+ accountID: stringType(),
57377
+ productID: stringType()
57378
+ });
57379
+ ((GetProductRequest$) => {
57380
+ GetProductRequest$.inboundSchema = GetProductRequest$inboundSchema;
57381
+ GetProductRequest$.outboundSchema = GetProductRequest$outboundSchema;
57382
+ })(GetProductRequest$ ||= {});
57383
+ GetProductResponse$inboundSchema = objectType({
57384
+ Headers: recordType(arrayType(stringType())),
57385
+ Result: Product$inboundSchema
57386
+ }).transform((v2) => {
57387
+ return remap(v2, {
57388
+ Headers: "headers",
57389
+ Result: "result"
57390
+ });
57391
+ });
57392
+ GetProductResponse$outboundSchema = objectType({
57393
+ headers: recordType(arrayType(stringType())),
57394
+ result: Product$outboundSchema
57395
+ }).transform((v2) => {
57396
+ return remap(v2, {
57397
+ headers: "Headers",
57398
+ result: "Result"
57399
+ });
57400
+ });
57401
+ ((GetProductResponse$) => {
57402
+ GetProductResponse$.inboundSchema = GetProductResponse$inboundSchema;
57403
+ GetProductResponse$.outboundSchema = GetProductResponse$outboundSchema;
57404
+ })(GetProductResponse$ ||= {});
57405
+ });
57406
+
56849
57407
  // src/models/operations/getpublicimage.ts
56850
57408
  var GetPublicImageRequest$inboundSchema, GetPublicImageRequest$outboundSchema, GetPublicImageRequest$, GetPublicImageResponseResult$inboundSchema, GetPublicImageResponseResult$outboundSchema, GetPublicImageResponseResult$, GetPublicImageResponse$inboundSchema, GetPublicImageResponse$outboundSchema, GetPublicImageResponse$;
56851
57409
  var init_getpublicimage = __esm(() => {
@@ -59844,6 +60402,68 @@ var init_listpaymentmethods = __esm(() => {
59844
60402
  })(ListPaymentMethodsResponse$ ||= {});
59845
60403
  });
59846
60404
 
60405
+ // src/models/operations/listproducts.ts
60406
+ var ListProductsGlobals$inboundSchema, ListProductsGlobals$outboundSchema, ListProductsGlobals$, ListProductsRequest$inboundSchema, ListProductsRequest$outboundSchema, ListProductsRequest$, ListProductsResponse$inboundSchema, ListProductsResponse$outboundSchema, ListProductsResponse$;
60407
+ var init_listproducts = __esm(() => {
60408
+ init_esm();
60409
+ init_primitives();
60410
+ init_components();
60411
+ ListProductsGlobals$inboundSchema = objectType({
60412
+ "x-moov-version": stringType().default("v2024.01.00")
60413
+ }).transform((v2) => {
60414
+ return remap(v2, {
60415
+ "x-moov-version": "xMoovVersion"
60416
+ });
60417
+ });
60418
+ ListProductsGlobals$outboundSchema = objectType({
60419
+ xMoovVersion: stringType().default("v2024.01.00")
60420
+ }).transform((v2) => {
60421
+ return remap(v2, {
60422
+ xMoovVersion: "x-moov-version"
60423
+ });
60424
+ });
60425
+ ((ListProductsGlobals$) => {
60426
+ ListProductsGlobals$.inboundSchema = ListProductsGlobals$inboundSchema;
60427
+ ListProductsGlobals$.outboundSchema = ListProductsGlobals$outboundSchema;
60428
+ })(ListProductsGlobals$ ||= {});
60429
+ ListProductsRequest$inboundSchema = objectType({
60430
+ accountID: stringType(),
60431
+ skip: numberType().int().optional(),
60432
+ count: numberType().int().optional()
60433
+ });
60434
+ ListProductsRequest$outboundSchema = objectType({
60435
+ accountID: stringType(),
60436
+ skip: numberType().int().optional(),
60437
+ count: numberType().int().optional()
60438
+ });
60439
+ ((ListProductsRequest$) => {
60440
+ ListProductsRequest$.inboundSchema = ListProductsRequest$inboundSchema;
60441
+ ListProductsRequest$.outboundSchema = ListProductsRequest$outboundSchema;
60442
+ })(ListProductsRequest$ ||= {});
60443
+ ListProductsResponse$inboundSchema = objectType({
60444
+ Headers: recordType(arrayType(stringType())),
60445
+ Result: arrayType(Product$inboundSchema)
60446
+ }).transform((v2) => {
60447
+ return remap(v2, {
60448
+ Headers: "headers",
60449
+ Result: "result"
60450
+ });
60451
+ });
60452
+ ListProductsResponse$outboundSchema = objectType({
60453
+ headers: recordType(arrayType(stringType())),
60454
+ result: arrayType(Product$outboundSchema)
60455
+ }).transform((v2) => {
60456
+ return remap(v2, {
60457
+ headers: "Headers",
60458
+ result: "Result"
60459
+ });
60460
+ });
60461
+ ((ListProductsResponse$) => {
60462
+ ListProductsResponse$.inboundSchema = ListProductsResponse$inboundSchema;
60463
+ ListProductsResponse$.outboundSchema = ListProductsResponse$outboundSchema;
60464
+ })(ListProductsResponse$ ||= {});
60465
+ });
60466
+
59847
60467
  // src/models/operations/listreceipts.ts
59848
60468
  var ListReceiptsGlobals$inboundSchema, ListReceiptsGlobals$outboundSchema, ListReceiptsGlobals$, ListReceiptsRequest$inboundSchema, ListReceiptsRequest$outboundSchema, ListReceiptsRequest$, ListReceiptsResponse$inboundSchema, ListReceiptsResponse$outboundSchema, ListReceiptsResponse$;
59849
60469
  var init_listreceipts = __esm(() => {
@@ -61839,6 +62459,76 @@ var init_updatepaymentlink2 = __esm(() => {
61839
62459
  })(UpdatePaymentLinkResponse$ ||= {});
61840
62460
  });
61841
62461
 
62462
+ // src/models/operations/updateproduct.ts
62463
+ var UpdateProductGlobals$inboundSchema, UpdateProductGlobals$outboundSchema, UpdateProductGlobals$, UpdateProductRequest$inboundSchema, UpdateProductRequest$outboundSchema, UpdateProductRequest$, UpdateProductResponse$inboundSchema, UpdateProductResponse$outboundSchema, UpdateProductResponse$;
62464
+ var init_updateproduct = __esm(() => {
62465
+ init_esm();
62466
+ init_primitives();
62467
+ init_components();
62468
+ UpdateProductGlobals$inboundSchema = objectType({
62469
+ "x-moov-version": stringType().default("v2024.01.00")
62470
+ }).transform((v2) => {
62471
+ return remap(v2, {
62472
+ "x-moov-version": "xMoovVersion"
62473
+ });
62474
+ });
62475
+ UpdateProductGlobals$outboundSchema = objectType({
62476
+ xMoovVersion: stringType().default("v2024.01.00")
62477
+ }).transform((v2) => {
62478
+ return remap(v2, {
62479
+ xMoovVersion: "x-moov-version"
62480
+ });
62481
+ });
62482
+ ((UpdateProductGlobals$) => {
62483
+ UpdateProductGlobals$.inboundSchema = UpdateProductGlobals$inboundSchema;
62484
+ UpdateProductGlobals$.outboundSchema = UpdateProductGlobals$outboundSchema;
62485
+ })(UpdateProductGlobals$ ||= {});
62486
+ UpdateProductRequest$inboundSchema = objectType({
62487
+ accountID: stringType(),
62488
+ productID: stringType(),
62489
+ ProductRequest: ProductRequest$inboundSchema
62490
+ }).transform((v2) => {
62491
+ return remap(v2, {
62492
+ ProductRequest: "productRequest"
62493
+ });
62494
+ });
62495
+ UpdateProductRequest$outboundSchema = objectType({
62496
+ accountID: stringType(),
62497
+ productID: stringType(),
62498
+ productRequest: ProductRequest$outboundSchema
62499
+ }).transform((v2) => {
62500
+ return remap(v2, {
62501
+ productRequest: "ProductRequest"
62502
+ });
62503
+ });
62504
+ ((UpdateProductRequest$) => {
62505
+ UpdateProductRequest$.inboundSchema = UpdateProductRequest$inboundSchema;
62506
+ UpdateProductRequest$.outboundSchema = UpdateProductRequest$outboundSchema;
62507
+ })(UpdateProductRequest$ ||= {});
62508
+ UpdateProductResponse$inboundSchema = objectType({
62509
+ Headers: recordType(arrayType(stringType())),
62510
+ Result: Product$inboundSchema
62511
+ }).transform((v2) => {
62512
+ return remap(v2, {
62513
+ Headers: "headers",
62514
+ Result: "result"
62515
+ });
62516
+ });
62517
+ UpdateProductResponse$outboundSchema = objectType({
62518
+ headers: recordType(arrayType(stringType())),
62519
+ result: Product$outboundSchema
62520
+ }).transform((v2) => {
62521
+ return remap(v2, {
62522
+ headers: "Headers",
62523
+ result: "Result"
62524
+ });
62525
+ });
62526
+ ((UpdateProductResponse$) => {
62527
+ UpdateProductResponse$.inboundSchema = UpdateProductResponse$inboundSchema;
62528
+ UpdateProductResponse$.outboundSchema = UpdateProductResponse$outboundSchema;
62529
+ })(UpdateProductResponse$ ||= {});
62530
+ });
62531
+
61842
62532
  // src/models/operations/updaterepresentative.ts
61843
62533
  var UpdateRepresentativeGlobals$inboundSchema, UpdateRepresentativeGlobals$outboundSchema, UpdateRepresentativeGlobals$, UpdateRepresentativeRequest$inboundSchema, UpdateRepresentativeRequest$outboundSchema, UpdateRepresentativeRequest$, UpdateRepresentativeResponse$inboundSchema, UpdateRepresentativeResponse$outboundSchema, UpdateRepresentativeResponse$;
61844
62534
  var init_updaterepresentative2 = __esm(() => {
@@ -62618,6 +63308,7 @@ var init_operations = __esm(() => {
62618
63308
  init_createfeeplanagreements();
62619
63309
  init_createonboardinginvite();
62620
63310
  init_createpaymentlink2();
63311
+ init_createproduct();
62621
63312
  init_createreceipts();
62622
63313
  init_createrepresentative2();
62623
63314
  init_createreversal2();
@@ -62637,6 +63328,7 @@ var init_operations = __esm(() => {
62637
63328
  init_disablecapability();
62638
63329
  init_disablecard();
62639
63330
  init_disablepaymentlink();
63331
+ init_disableproduct();
62640
63332
  init_disconnectaccount();
62641
63333
  init_generateendtoendkey();
62642
63334
  init_getaccount();
@@ -62667,6 +63359,7 @@ var init_operations = __esm(() => {
62667
63359
  init_getpaymentlink();
62668
63360
  init_getpaymentlinkqrcode();
62669
63361
  init_getpaymentmethod();
63362
+ init_getproduct();
62670
63363
  init_getpublicimage();
62671
63364
  init_getrefund();
62672
63365
  init_getrepresentative();
@@ -62714,6 +63407,7 @@ var init_operations = __esm(() => {
62714
63407
  init_listpartnerpricingagreements();
62715
63408
  init_listpaymentlinks();
62716
63409
  init_listpaymentmethods();
63410
+ init_listproducts();
62717
63411
  init_listreceipts();
62718
63412
  init_listrefunds();
62719
63413
  init_listrepresentatives();
@@ -62745,6 +63439,7 @@ var init_operations = __esm(() => {
62745
63439
  init_updatedisputeevidence();
62746
63440
  init_updateissuedcard2();
62747
63441
  init_updatepaymentlink2();
63442
+ init_updateproduct();
62748
63443
  init_updaterepresentative2();
62749
63444
  init_updateschedule();
62750
63445
  init_updatesweepconfig();
@@ -74800,257 +75495,24 @@ you'll need to specify the \`/ping.read\` scope.`,
74800
75495
  };
74801
75496
  });
74802
75497
 
74803
- // src/funcs/receiptsCreate.ts
74804
- function receiptsCreate(client, request, options) {
75498
+ // src/funcs/productsCreate.ts
75499
+ function productsCreate(client, request, options) {
74805
75500
  return new APIPromise($do101(client, request, options));
74806
75501
  }
74807
75502
  async function $do101(client, request, options) {
74808
- const parsed = safeParse(request, (value) => arrayType(ReceiptRequest$outboundSchema).parse(value), "Input validation failed");
74809
- if (!parsed.ok) {
74810
- return [parsed, { status: "invalid" }];
74811
- }
74812
- const payload = parsed.value;
74813
- const body = encodeJSON("body", payload, { explode: true });
74814
- const path = pathToFunc("/receipts")();
74815
- const headers = new Headers(compactMap({
74816
- "Content-Type": "application/json",
74817
- Accept: "application/json",
74818
- "x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
74819
- }));
74820
- const securityInput = await extractSecurity(client._options.security);
74821
- const requestSecurity = resolveGlobalSecurity(securityInput);
74822
- const context = {
74823
- options: client._options,
74824
- baseURL: options?.serverURL ?? client._baseURL ?? "",
74825
- operationID: "createReceipts",
74826
- oAuth2Scopes: null,
74827
- resolvedSecurity: requestSecurity,
74828
- securitySource: client._options.security,
74829
- retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
74830
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
74831
- };
74832
- const requestRes = client._createRequest(context, {
74833
- security: requestSecurity,
74834
- method: "POST",
74835
- baseURL: options?.serverURL,
74836
- path,
74837
- headers,
74838
- body,
74839
- userAgent: client._options.userAgent,
74840
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
74841
- }, options);
74842
- if (!requestRes.ok) {
74843
- return [requestRes, { status: "invalid" }];
74844
- }
74845
- const req = requestRes.value;
74846
- const doResult = await client._do(req, {
74847
- context,
74848
- errorCodes: [
74849
- "400",
74850
- "401",
74851
- "403",
74852
- "404",
74853
- "409",
74854
- "422",
74855
- "429",
74856
- "4XX",
74857
- "500",
74858
- "504",
74859
- "5XX"
74860
- ],
74861
- retryConfig: context.retryConfig,
74862
- retryCodes: context.retryCodes
74863
- });
74864
- if (!doResult.ok) {
74865
- return [doResult, { status: "request-error", request: req }];
74866
- }
74867
- const response = doResult.value;
74868
- const responseFields = {
74869
- HttpMeta: { Response: response, Request: req }
74870
- };
74871
- const [result] = await match(json(201, CreateReceiptsResponse$inboundSchema, {
74872
- hdrs: true,
74873
- key: "Result"
74874
- }), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), fail([401, 403, 404, 422, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
74875
- if (!result.ok) {
74876
- return [result, { status: "complete", request: req, response }];
74877
- }
74878
- return [result, { status: "complete", request: req, response }];
74879
- }
74880
- var init_receiptsCreate = __esm(() => {
74881
- init_esm();
74882
- init_encodings();
74883
- init_matchers();
74884
- init_primitives();
74885
- init_schemas();
74886
- init_security();
74887
- init_url();
74888
- init_components();
74889
- init_errors2();
74890
- init_operations();
74891
- init_async();
74892
- });
74893
-
74894
- // src/mcp-server/tools/receiptsCreate.ts
74895
- var args101, tool$receiptsCreate;
74896
- var init_receiptsCreate2 = __esm(() => {
74897
- init_esm();
74898
- init_receiptsCreate();
74899
- init_components();
74900
- init_tools();
74901
- args101 = {
74902
- request: arrayType(ReceiptRequest$inboundSchema)
74903
- };
74904
- tool$receiptsCreate = {
74905
- name: "receipts-create",
74906
- description: ` Create receipts for transfers and scheduled transfers.
74907
-
74908
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
74909
- you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
74910
- args: args101,
74911
- tool: async (client, args102, ctx) => {
74912
- const [result, apiCall] = await receiptsCreate(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74913
- if (!result.ok) {
74914
- return {
74915
- content: [{ type: "text", text: result.error.message }],
74916
- isError: true
74917
- };
74918
- }
74919
- const value = result.value.result;
74920
- return formatResult(value, apiCall);
74921
- }
74922
- };
74923
- });
74924
-
74925
- // src/funcs/receiptsList.ts
74926
- function receiptsList(client, request, options) {
74927
- return new APIPromise($do102(client, request, options));
74928
- }
74929
- async function $do102(client, request, options) {
74930
- const parsed = safeParse(request, (value) => ListReceiptsRequest$outboundSchema.parse(value), "Input validation failed");
74931
- if (!parsed.ok) {
74932
- return [parsed, { status: "invalid" }];
74933
- }
74934
- const payload = parsed.value;
74935
- const body = null;
74936
- const path = pathToFunc("/receipts")();
74937
- const query = encodeFormQuery({
74938
- id: payload.id
74939
- }, { explode: false });
74940
- const headers = new Headers(compactMap({
74941
- Accept: "application/json",
74942
- "x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
74943
- }));
74944
- const securityInput = await extractSecurity(client._options.security);
74945
- const requestSecurity = resolveGlobalSecurity(securityInput);
74946
- const context = {
74947
- options: client._options,
74948
- baseURL: options?.serverURL ?? client._baseURL ?? "",
74949
- operationID: "listReceipts",
74950
- oAuth2Scopes: null,
74951
- resolvedSecurity: requestSecurity,
74952
- securitySource: client._options.security,
74953
- retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
74954
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
74955
- };
74956
- const requestRes = client._createRequest(context, {
74957
- security: requestSecurity,
74958
- method: "GET",
74959
- baseURL: options?.serverURL,
74960
- path,
74961
- headers,
74962
- query,
74963
- body,
74964
- userAgent: client._options.userAgent,
74965
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
74966
- }, options);
74967
- if (!requestRes.ok) {
74968
- return [requestRes, { status: "invalid" }];
74969
- }
74970
- const req = requestRes.value;
74971
- const doResult = await client._do(req, {
74972
- context,
74973
- errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
74974
- retryConfig: context.retryConfig,
74975
- retryCodes: context.retryCodes
74976
- });
74977
- if (!doResult.ok) {
74978
- return [doResult, { status: "request-error", request: req }];
74979
- }
74980
- const response = doResult.value;
74981
- const responseFields = {
74982
- HttpMeta: { Response: response, Request: req }
74983
- };
74984
- const [result] = await match(json(200, ListReceiptsResponse$inboundSchema, {
74985
- hdrs: true,
74986
- key: "Result"
74987
- }), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
74988
- if (!result.ok) {
74989
- return [result, { status: "complete", request: req, response }];
74990
- }
74991
- return [result, { status: "complete", request: req, response }];
74992
- }
74993
- var init_receiptsList = __esm(() => {
74994
- init_encodings();
74995
- init_matchers();
74996
- init_primitives();
74997
- init_schemas();
74998
- init_security();
74999
- init_url();
75000
- init_operations();
75001
- init_async();
75002
- });
75003
-
75004
- // src/mcp-server/tools/receiptsList.ts
75005
- var args102, tool$receiptsList;
75006
- var init_receiptsList2 = __esm(() => {
75007
- init_receiptsList();
75008
- init_operations();
75009
- init_tools();
75010
- args102 = {
75011
- request: ListReceiptsRequest$inboundSchema
75012
- };
75013
- tool$receiptsList = {
75014
- name: "receipts-list",
75015
- description: `List receipts by transferID, scheduleID, or occurrenceID.
75016
-
75017
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
75018
- you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
75019
- args: args102,
75020
- tool: async (client, args103, ctx) => {
75021
- const [result, apiCall] = await receiptsList(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75022
- if (!result.ok) {
75023
- return {
75024
- content: [{ type: "text", text: result.error.message }],
75025
- isError: true
75026
- };
75027
- }
75028
- const value = result.value.result;
75029
- return formatResult(value, apiCall);
75030
- }
75031
- };
75032
- });
75033
-
75034
- // src/funcs/representativesCreate.ts
75035
- function representativesCreate(client, request, options) {
75036
- return new APIPromise($do103(client, request, options));
75037
- }
75038
- async function $do103(client, request, options) {
75039
- const parsed = safeParse(request, (value) => CreateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
75503
+ const parsed = safeParse(request, (value) => CreateProductRequest$outboundSchema.parse(value), "Input validation failed");
75040
75504
  if (!parsed.ok) {
75041
75505
  return [parsed, { status: "invalid" }];
75042
75506
  }
75043
75507
  const payload = parsed.value;
75044
- const body = encodeJSON("body", payload.CreateRepresentative, {
75045
- explode: true
75046
- });
75508
+ const body = encodeJSON("body", payload.ProductRequest, { explode: true });
75047
75509
  const pathParams = {
75048
75510
  accountID: encodeSimple("accountID", payload.accountID, {
75049
75511
  explode: false,
75050
75512
  charEncoding: "percent"
75051
75513
  })
75052
75514
  };
75053
- const path = pathToFunc("/accounts/{accountID}/representatives")(pathParams);
75515
+ const path = pathToFunc("/accounts/{accountID}/products")(pathParams);
75054
75516
  const headers = new Headers(compactMap({
75055
75517
  "Content-Type": "application/json",
75056
75518
  Accept: "application/json",
@@ -75061,7 +75523,841 @@ async function $do103(client, request, options) {
75061
75523
  const context = {
75062
75524
  options: client._options,
75063
75525
  baseURL: options?.serverURL ?? client._baseURL ?? "",
75064
- operationID: "createRepresentative",
75526
+ operationID: "createProduct",
75527
+ oAuth2Scopes: null,
75528
+ resolvedSecurity: requestSecurity,
75529
+ securitySource: client._options.security,
75530
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
75531
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
75532
+ };
75533
+ const requestRes = client._createRequest(context, {
75534
+ security: requestSecurity,
75535
+ method: "POST",
75536
+ baseURL: options?.serverURL,
75537
+ path,
75538
+ headers,
75539
+ body,
75540
+ userAgent: client._options.userAgent,
75541
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
75542
+ }, options);
75543
+ if (!requestRes.ok) {
75544
+ return [requestRes, { status: "invalid" }];
75545
+ }
75546
+ const req = requestRes.value;
75547
+ const doResult = await client._do(req, {
75548
+ context,
75549
+ errorCodes: [
75550
+ "400",
75551
+ "401",
75552
+ "403",
75553
+ "404",
75554
+ "409",
75555
+ "422",
75556
+ "429",
75557
+ "4XX",
75558
+ "500",
75559
+ "504",
75560
+ "5XX"
75561
+ ],
75562
+ retryConfig: context.retryConfig,
75563
+ retryCodes: context.retryCodes
75564
+ });
75565
+ if (!doResult.ok) {
75566
+ return [doResult, { status: "request-error", request: req }];
75567
+ }
75568
+ const response = doResult.value;
75569
+ const responseFields = {
75570
+ HttpMeta: { Response: response, Request: req }
75571
+ };
75572
+ const [result] = await match(json(201, CreateProductResponse$inboundSchema, {
75573
+ hdrs: true,
75574
+ key: "Result"
75575
+ }), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, ProductRequestValidationError$inboundSchema, {
75576
+ hdrs: true
75577
+ }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
75578
+ if (!result.ok) {
75579
+ return [result, { status: "complete", request: req, response }];
75580
+ }
75581
+ return [result, { status: "complete", request: req, response }];
75582
+ }
75583
+ var init_productsCreate = __esm(() => {
75584
+ init_encodings();
75585
+ init_matchers();
75586
+ init_primitives();
75587
+ init_schemas();
75588
+ init_security();
75589
+ init_url();
75590
+ init_errors2();
75591
+ init_operations();
75592
+ init_async();
75593
+ });
75594
+
75595
+ // src/mcp-server/tools/productsCreate.ts
75596
+ var args101, tool$productsCreate;
75597
+ var init_productsCreate2 = __esm(() => {
75598
+ init_productsCreate();
75599
+ init_operations();
75600
+ init_tools();
75601
+ args101 = {
75602
+ request: CreateProductRequest$inboundSchema
75603
+ };
75604
+ tool$productsCreate = {
75605
+ name: "products-create",
75606
+ description: `Creates a new product for the specified account.`,
75607
+ args: args101,
75608
+ tool: async (client, args102, ctx) => {
75609
+ const [result, apiCall] = await productsCreate(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75610
+ if (!result.ok) {
75611
+ return {
75612
+ content: [{ type: "text", text: result.error.message }],
75613
+ isError: true
75614
+ };
75615
+ }
75616
+ const value = result.value.result;
75617
+ return formatResult(value, apiCall);
75618
+ }
75619
+ };
75620
+ });
75621
+
75622
+ // src/funcs/productsDisable.ts
75623
+ function productsDisable(client, request, options) {
75624
+ return new APIPromise($do102(client, request, options));
75625
+ }
75626
+ async function $do102(client, request, options) {
75627
+ const parsed = safeParse(request, (value) => DisableProductRequest$outboundSchema.parse(value), "Input validation failed");
75628
+ if (!parsed.ok) {
75629
+ return [parsed, { status: "invalid" }];
75630
+ }
75631
+ const payload = parsed.value;
75632
+ const body = null;
75633
+ const pathParams = {
75634
+ accountID: encodeSimple("accountID", payload.accountID, {
75635
+ explode: false,
75636
+ charEncoding: "percent"
75637
+ }),
75638
+ productID: encodeSimple("productID", payload.productID, {
75639
+ explode: false,
75640
+ charEncoding: "percent"
75641
+ })
75642
+ };
75643
+ const path = pathToFunc("/accounts/{accountID}/products/{productID}")(pathParams);
75644
+ const headers = new Headers(compactMap({
75645
+ Accept: "application/json",
75646
+ "x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
75647
+ }));
75648
+ const securityInput = await extractSecurity(client._options.security);
75649
+ const requestSecurity = resolveGlobalSecurity(securityInput);
75650
+ const context = {
75651
+ options: client._options,
75652
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
75653
+ operationID: "disableProduct",
75654
+ oAuth2Scopes: null,
75655
+ resolvedSecurity: requestSecurity,
75656
+ securitySource: client._options.security,
75657
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
75658
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
75659
+ };
75660
+ const requestRes = client._createRequest(context, {
75661
+ security: requestSecurity,
75662
+ method: "DELETE",
75663
+ baseURL: options?.serverURL,
75664
+ path,
75665
+ headers,
75666
+ body,
75667
+ userAgent: client._options.userAgent,
75668
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
75669
+ }, options);
75670
+ if (!requestRes.ok) {
75671
+ return [requestRes, { status: "invalid" }];
75672
+ }
75673
+ const req = requestRes.value;
75674
+ const doResult = await client._do(req, {
75675
+ context,
75676
+ errorCodes: [
75677
+ "400",
75678
+ "401",
75679
+ "403",
75680
+ "404",
75681
+ "409",
75682
+ "429",
75683
+ "4XX",
75684
+ "500",
75685
+ "504",
75686
+ "5XX"
75687
+ ],
75688
+ retryConfig: context.retryConfig,
75689
+ retryCodes: context.retryCodes
75690
+ });
75691
+ if (!doResult.ok) {
75692
+ return [doResult, { status: "request-error", request: req }];
75693
+ }
75694
+ const response = doResult.value;
75695
+ const responseFields = {
75696
+ HttpMeta: { Response: response, Request: req }
75697
+ };
75698
+ const [result] = await match(nil(204, DisableProductResponse$inboundSchema.optional(), {
75699
+ hdrs: true
75700
+ }), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
75701
+ if (!result.ok) {
75702
+ return [result, { status: "complete", request: req, response }];
75703
+ }
75704
+ return [result, { status: "complete", request: req, response }];
75705
+ }
75706
+ var init_productsDisable = __esm(() => {
75707
+ init_encodings();
75708
+ init_matchers();
75709
+ init_primitives();
75710
+ init_schemas();
75711
+ init_security();
75712
+ init_url();
75713
+ init_errors2();
75714
+ init_operations();
75715
+ init_async();
75716
+ });
75717
+
75718
+ // src/mcp-server/tools/productsDisable.ts
75719
+ var args102, tool$productsDisable;
75720
+ var init_productsDisable2 = __esm(() => {
75721
+ init_productsDisable();
75722
+ init_operations();
75723
+ init_tools();
75724
+ args102 = {
75725
+ request: DisableProductRequest$inboundSchema
75726
+ };
75727
+ tool$productsDisable = {
75728
+ name: "products-disable",
75729
+ description: `Disable a product by ID.
75730
+
75731
+ The product will no longer be available, but will remain in the system for historical and reporting purposes.`,
75732
+ args: args102,
75733
+ tool: async (client, args103, ctx) => {
75734
+ const [result, apiCall] = await productsDisable(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75735
+ if (!result.ok) {
75736
+ return {
75737
+ content: [{ type: "text", text: result.error.message }],
75738
+ isError: true
75739
+ };
75740
+ }
75741
+ return formatResult(undefined, apiCall);
75742
+ }
75743
+ };
75744
+ });
75745
+
75746
+ // src/funcs/productsGet.ts
75747
+ function productsGet(client, request, options) {
75748
+ return new APIPromise($do103(client, request, options));
75749
+ }
75750
+ async function $do103(client, request, options) {
75751
+ const parsed = safeParse(request, (value) => GetProductRequest$outboundSchema.parse(value), "Input validation failed");
75752
+ if (!parsed.ok) {
75753
+ return [parsed, { status: "invalid" }];
75754
+ }
75755
+ const payload = parsed.value;
75756
+ const body = null;
75757
+ const pathParams = {
75758
+ accountID: encodeSimple("accountID", payload.accountID, {
75759
+ explode: false,
75760
+ charEncoding: "percent"
75761
+ }),
75762
+ productID: encodeSimple("productID", payload.productID, {
75763
+ explode: false,
75764
+ charEncoding: "percent"
75765
+ })
75766
+ };
75767
+ const path = pathToFunc("/accounts/{accountID}/products/{productID}")(pathParams);
75768
+ const headers = new Headers(compactMap({
75769
+ Accept: "application/json",
75770
+ "x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
75771
+ }));
75772
+ const securityInput = await extractSecurity(client._options.security);
75773
+ const requestSecurity = resolveGlobalSecurity(securityInput);
75774
+ const context = {
75775
+ options: client._options,
75776
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
75777
+ operationID: "getProduct",
75778
+ oAuth2Scopes: null,
75779
+ resolvedSecurity: requestSecurity,
75780
+ securitySource: client._options.security,
75781
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
75782
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
75783
+ };
75784
+ const requestRes = client._createRequest(context, {
75785
+ security: requestSecurity,
75786
+ method: "GET",
75787
+ baseURL: options?.serverURL,
75788
+ path,
75789
+ headers,
75790
+ body,
75791
+ userAgent: client._options.userAgent,
75792
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
75793
+ }, options);
75794
+ if (!requestRes.ok) {
75795
+ return [requestRes, { status: "invalid" }];
75796
+ }
75797
+ const req = requestRes.value;
75798
+ const doResult = await client._do(req, {
75799
+ context,
75800
+ errorCodes: ["401", "403", "404", "429", "4XX", "500", "504", "5XX"],
75801
+ retryConfig: context.retryConfig,
75802
+ retryCodes: context.retryCodes
75803
+ });
75804
+ if (!doResult.ok) {
75805
+ return [doResult, { status: "request-error", request: req }];
75806
+ }
75807
+ const response = doResult.value;
75808
+ const responseFields = {
75809
+ HttpMeta: { Response: response, Request: req }
75810
+ };
75811
+ const [result] = await match(json(200, GetProductResponse$inboundSchema, {
75812
+ hdrs: true,
75813
+ key: "Result"
75814
+ }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
75815
+ if (!result.ok) {
75816
+ return [result, { status: "complete", request: req, response }];
75817
+ }
75818
+ return [result, { status: "complete", request: req, response }];
75819
+ }
75820
+ var init_productsGet = __esm(() => {
75821
+ init_encodings();
75822
+ init_matchers();
75823
+ init_primitives();
75824
+ init_schemas();
75825
+ init_security();
75826
+ init_url();
75827
+ init_operations();
75828
+ init_async();
75829
+ });
75830
+
75831
+ // src/mcp-server/tools/productsGet.ts
75832
+ var args103, tool$productsGet;
75833
+ var init_productsGet2 = __esm(() => {
75834
+ init_productsGet();
75835
+ init_operations();
75836
+ init_tools();
75837
+ args103 = {
75838
+ request: GetProductRequest$inboundSchema
75839
+ };
75840
+ tool$productsGet = {
75841
+ name: "products-get",
75842
+ description: `Retrieve a product by ID.`,
75843
+ args: args103,
75844
+ tool: async (client, args104, ctx) => {
75845
+ const [result, apiCall] = await productsGet(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75846
+ if (!result.ok) {
75847
+ return {
75848
+ content: [{ type: "text", text: result.error.message }],
75849
+ isError: true
75850
+ };
75851
+ }
75852
+ const value = result.value.result;
75853
+ return formatResult(value, apiCall);
75854
+ }
75855
+ };
75856
+ });
75857
+
75858
+ // src/funcs/productsList.ts
75859
+ function productsList(client, request, options) {
75860
+ return new APIPromise($do104(client, request, options));
75861
+ }
75862
+ async function $do104(client, request, options) {
75863
+ const parsed = safeParse(request, (value) => ListProductsRequest$outboundSchema.parse(value), "Input validation failed");
75864
+ if (!parsed.ok) {
75865
+ return [parsed, { status: "invalid" }];
75866
+ }
75867
+ const payload = parsed.value;
75868
+ const body = null;
75869
+ const pathParams = {
75870
+ accountID: encodeSimple("accountID", payload.accountID, {
75871
+ explode: false,
75872
+ charEncoding: "percent"
75873
+ })
75874
+ };
75875
+ const path = pathToFunc("/accounts/{accountID}/products")(pathParams);
75876
+ const query = encodeFormQuery({
75877
+ count: payload.count,
75878
+ skip: payload.skip
75879
+ }, { explode: false });
75880
+ const headers = new Headers(compactMap({
75881
+ Accept: "application/json",
75882
+ "x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
75883
+ }));
75884
+ const securityInput = await extractSecurity(client._options.security);
75885
+ const requestSecurity = resolveGlobalSecurity(securityInput);
75886
+ const context = {
75887
+ options: client._options,
75888
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
75889
+ operationID: "listProducts",
75890
+ oAuth2Scopes: null,
75891
+ resolvedSecurity: requestSecurity,
75892
+ securitySource: client._options.security,
75893
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
75894
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
75895
+ };
75896
+ const requestRes = client._createRequest(context, {
75897
+ security: requestSecurity,
75898
+ method: "GET",
75899
+ baseURL: options?.serverURL,
75900
+ path,
75901
+ headers,
75902
+ query,
75903
+ body,
75904
+ userAgent: client._options.userAgent,
75905
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
75906
+ }, options);
75907
+ if (!requestRes.ok) {
75908
+ return [requestRes, { status: "invalid" }];
75909
+ }
75910
+ const req = requestRes.value;
75911
+ const doResult = await client._do(req, {
75912
+ context,
75913
+ errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
75914
+ retryConfig: context.retryConfig,
75915
+ retryCodes: context.retryCodes
75916
+ });
75917
+ if (!doResult.ok) {
75918
+ return [doResult, { status: "request-error", request: req }];
75919
+ }
75920
+ const response = doResult.value;
75921
+ const responseFields = {
75922
+ HttpMeta: { Response: response, Request: req }
75923
+ };
75924
+ const [result] = await match(json(200, ListProductsResponse$inboundSchema, {
75925
+ hdrs: true,
75926
+ key: "Result"
75927
+ }), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
75928
+ if (!result.ok) {
75929
+ return [result, { status: "complete", request: req, response }];
75930
+ }
75931
+ return [result, { status: "complete", request: req, response }];
75932
+ }
75933
+ var init_productsList = __esm(() => {
75934
+ init_encodings();
75935
+ init_matchers();
75936
+ init_primitives();
75937
+ init_schemas();
75938
+ init_security();
75939
+ init_url();
75940
+ init_operations();
75941
+ init_async();
75942
+ });
75943
+
75944
+ // src/mcp-server/tools/productsList.ts
75945
+ var args104, tool$productsList;
75946
+ var init_productsList2 = __esm(() => {
75947
+ init_productsList();
75948
+ init_operations();
75949
+ init_tools();
75950
+ args104 = {
75951
+ request: ListProductsRequest$inboundSchema
75952
+ };
75953
+ tool$productsList = {
75954
+ name: "products-list",
75955
+ description: `List active (non-disabled) products for an account.`,
75956
+ args: args104,
75957
+ tool: async (client, args105, ctx) => {
75958
+ const [result, apiCall] = await productsList(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75959
+ if (!result.ok) {
75960
+ return {
75961
+ content: [{ type: "text", text: result.error.message }],
75962
+ isError: true
75963
+ };
75964
+ }
75965
+ const value = result.value.result;
75966
+ return formatResult(value, apiCall);
75967
+ }
75968
+ };
75969
+ });
75970
+
75971
+ // src/funcs/productsUpdate.ts
75972
+ function productsUpdate(client, request, options) {
75973
+ return new APIPromise($do105(client, request, options));
75974
+ }
75975
+ async function $do105(client, request, options) {
75976
+ const parsed = safeParse(request, (value) => UpdateProductRequest$outboundSchema.parse(value), "Input validation failed");
75977
+ if (!parsed.ok) {
75978
+ return [parsed, { status: "invalid" }];
75979
+ }
75980
+ const payload = parsed.value;
75981
+ const body = encodeJSON("body", payload.ProductRequest, { explode: true });
75982
+ const pathParams = {
75983
+ accountID: encodeSimple("accountID", payload.accountID, {
75984
+ explode: false,
75985
+ charEncoding: "percent"
75986
+ }),
75987
+ productID: encodeSimple("productID", payload.productID, {
75988
+ explode: false,
75989
+ charEncoding: "percent"
75990
+ })
75991
+ };
75992
+ const path = pathToFunc("/accounts/{accountID}/products/{productID}")(pathParams);
75993
+ const headers = new Headers(compactMap({
75994
+ "Content-Type": "application/json",
75995
+ Accept: "application/json",
75996
+ "x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
75997
+ }));
75998
+ const securityInput = await extractSecurity(client._options.security);
75999
+ const requestSecurity = resolveGlobalSecurity(securityInput);
76000
+ const context = {
76001
+ options: client._options,
76002
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
76003
+ operationID: "updateProduct",
76004
+ oAuth2Scopes: null,
76005
+ resolvedSecurity: requestSecurity,
76006
+ securitySource: client._options.security,
76007
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
76008
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
76009
+ };
76010
+ const requestRes = client._createRequest(context, {
76011
+ security: requestSecurity,
76012
+ method: "PUT",
76013
+ baseURL: options?.serverURL,
76014
+ path,
76015
+ headers,
76016
+ body,
76017
+ userAgent: client._options.userAgent,
76018
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
76019
+ }, options);
76020
+ if (!requestRes.ok) {
76021
+ return [requestRes, { status: "invalid" }];
76022
+ }
76023
+ const req = requestRes.value;
76024
+ const doResult = await client._do(req, {
76025
+ context,
76026
+ errorCodes: [
76027
+ "400",
76028
+ "401",
76029
+ "403",
76030
+ "404",
76031
+ "409",
76032
+ "422",
76033
+ "429",
76034
+ "4XX",
76035
+ "500",
76036
+ "504",
76037
+ "5XX"
76038
+ ],
76039
+ retryConfig: context.retryConfig,
76040
+ retryCodes: context.retryCodes
76041
+ });
76042
+ if (!doResult.ok) {
76043
+ return [doResult, { status: "request-error", request: req }];
76044
+ }
76045
+ const response = doResult.value;
76046
+ const responseFields = {
76047
+ HttpMeta: { Response: response, Request: req }
76048
+ };
76049
+ const [result] = await match(json(200, UpdateProductResponse$inboundSchema, {
76050
+ hdrs: true,
76051
+ key: "Result"
76052
+ }), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, ProductRequestValidationError$inboundSchema, {
76053
+ hdrs: true
76054
+ }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
76055
+ if (!result.ok) {
76056
+ return [result, { status: "complete", request: req, response }];
76057
+ }
76058
+ return [result, { status: "complete", request: req, response }];
76059
+ }
76060
+ var init_productsUpdate = __esm(() => {
76061
+ init_encodings();
76062
+ init_matchers();
76063
+ init_primitives();
76064
+ init_schemas();
76065
+ init_security();
76066
+ init_url();
76067
+ init_errors2();
76068
+ init_operations();
76069
+ init_async();
76070
+ });
76071
+
76072
+ // src/mcp-server/tools/productsUpdate.ts
76073
+ var args105, tool$productsUpdate;
76074
+ var init_productsUpdate2 = __esm(() => {
76075
+ init_productsUpdate();
76076
+ init_operations();
76077
+ init_tools();
76078
+ args105 = {
76079
+ request: UpdateProductRequest$inboundSchema
76080
+ };
76081
+ tool$productsUpdate = {
76082
+ name: "products-update",
76083
+ description: `Update a product and its options.`,
76084
+ args: args105,
76085
+ tool: async (client, args106, ctx) => {
76086
+ const [result, apiCall] = await productsUpdate(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76087
+ if (!result.ok) {
76088
+ return {
76089
+ content: [{ type: "text", text: result.error.message }],
76090
+ isError: true
76091
+ };
76092
+ }
76093
+ const value = result.value.result;
76094
+ return formatResult(value, apiCall);
76095
+ }
76096
+ };
76097
+ });
76098
+
76099
+ // src/funcs/receiptsCreate.ts
76100
+ function receiptsCreate(client, request, options) {
76101
+ return new APIPromise($do106(client, request, options));
76102
+ }
76103
+ async function $do106(client, request, options) {
76104
+ const parsed = safeParse(request, (value) => arrayType(ReceiptRequest$outboundSchema).parse(value), "Input validation failed");
76105
+ if (!parsed.ok) {
76106
+ return [parsed, { status: "invalid" }];
76107
+ }
76108
+ const payload = parsed.value;
76109
+ const body = encodeJSON("body", payload, { explode: true });
76110
+ const path = pathToFunc("/receipts")();
76111
+ const headers = new Headers(compactMap({
76112
+ "Content-Type": "application/json",
76113
+ Accept: "application/json",
76114
+ "x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
76115
+ }));
76116
+ const securityInput = await extractSecurity(client._options.security);
76117
+ const requestSecurity = resolveGlobalSecurity(securityInput);
76118
+ const context = {
76119
+ options: client._options,
76120
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
76121
+ operationID: "createReceipts",
76122
+ oAuth2Scopes: null,
76123
+ resolvedSecurity: requestSecurity,
76124
+ securitySource: client._options.security,
76125
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
76126
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
76127
+ };
76128
+ const requestRes = client._createRequest(context, {
76129
+ security: requestSecurity,
76130
+ method: "POST",
76131
+ baseURL: options?.serverURL,
76132
+ path,
76133
+ headers,
76134
+ body,
76135
+ userAgent: client._options.userAgent,
76136
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
76137
+ }, options);
76138
+ if (!requestRes.ok) {
76139
+ return [requestRes, { status: "invalid" }];
76140
+ }
76141
+ const req = requestRes.value;
76142
+ const doResult = await client._do(req, {
76143
+ context,
76144
+ errorCodes: [
76145
+ "400",
76146
+ "401",
76147
+ "403",
76148
+ "404",
76149
+ "409",
76150
+ "422",
76151
+ "429",
76152
+ "4XX",
76153
+ "500",
76154
+ "504",
76155
+ "5XX"
76156
+ ],
76157
+ retryConfig: context.retryConfig,
76158
+ retryCodes: context.retryCodes
76159
+ });
76160
+ if (!doResult.ok) {
76161
+ return [doResult, { status: "request-error", request: req }];
76162
+ }
76163
+ const response = doResult.value;
76164
+ const responseFields = {
76165
+ HttpMeta: { Response: response, Request: req }
76166
+ };
76167
+ const [result] = await match(json(201, CreateReceiptsResponse$inboundSchema, {
76168
+ hdrs: true,
76169
+ key: "Result"
76170
+ }), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), fail([401, 403, 404, 422, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
76171
+ if (!result.ok) {
76172
+ return [result, { status: "complete", request: req, response }];
76173
+ }
76174
+ return [result, { status: "complete", request: req, response }];
76175
+ }
76176
+ var init_receiptsCreate = __esm(() => {
76177
+ init_esm();
76178
+ init_encodings();
76179
+ init_matchers();
76180
+ init_primitives();
76181
+ init_schemas();
76182
+ init_security();
76183
+ init_url();
76184
+ init_components();
76185
+ init_errors2();
76186
+ init_operations();
76187
+ init_async();
76188
+ });
76189
+
76190
+ // src/mcp-server/tools/receiptsCreate.ts
76191
+ var args106, tool$receiptsCreate;
76192
+ var init_receiptsCreate2 = __esm(() => {
76193
+ init_esm();
76194
+ init_receiptsCreate();
76195
+ init_components();
76196
+ init_tools();
76197
+ args106 = {
76198
+ request: arrayType(ReceiptRequest$inboundSchema)
76199
+ };
76200
+ tool$receiptsCreate = {
76201
+ name: "receipts-create",
76202
+ description: ` Create receipts for transfers and scheduled transfers.
76203
+
76204
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
76205
+ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
76206
+ args: args106,
76207
+ tool: async (client, args107, ctx) => {
76208
+ const [result, apiCall] = await receiptsCreate(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76209
+ if (!result.ok) {
76210
+ return {
76211
+ content: [{ type: "text", text: result.error.message }],
76212
+ isError: true
76213
+ };
76214
+ }
76215
+ const value = result.value.result;
76216
+ return formatResult(value, apiCall);
76217
+ }
76218
+ };
76219
+ });
76220
+
76221
+ // src/funcs/receiptsList.ts
76222
+ function receiptsList(client, request, options) {
76223
+ return new APIPromise($do107(client, request, options));
76224
+ }
76225
+ async function $do107(client, request, options) {
76226
+ const parsed = safeParse(request, (value) => ListReceiptsRequest$outboundSchema.parse(value), "Input validation failed");
76227
+ if (!parsed.ok) {
76228
+ return [parsed, { status: "invalid" }];
76229
+ }
76230
+ const payload = parsed.value;
76231
+ const body = null;
76232
+ const path = pathToFunc("/receipts")();
76233
+ const query = encodeFormQuery({
76234
+ id: payload.id
76235
+ }, { explode: false });
76236
+ const headers = new Headers(compactMap({
76237
+ Accept: "application/json",
76238
+ "x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
76239
+ }));
76240
+ const securityInput = await extractSecurity(client._options.security);
76241
+ const requestSecurity = resolveGlobalSecurity(securityInput);
76242
+ const context = {
76243
+ options: client._options,
76244
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
76245
+ operationID: "listReceipts",
76246
+ oAuth2Scopes: null,
76247
+ resolvedSecurity: requestSecurity,
76248
+ securitySource: client._options.security,
76249
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
76250
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
76251
+ };
76252
+ const requestRes = client._createRequest(context, {
76253
+ security: requestSecurity,
76254
+ method: "GET",
76255
+ baseURL: options?.serverURL,
76256
+ path,
76257
+ headers,
76258
+ query,
76259
+ body,
76260
+ userAgent: client._options.userAgent,
76261
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
76262
+ }, options);
76263
+ if (!requestRes.ok) {
76264
+ return [requestRes, { status: "invalid" }];
76265
+ }
76266
+ const req = requestRes.value;
76267
+ const doResult = await client._do(req, {
76268
+ context,
76269
+ errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
76270
+ retryConfig: context.retryConfig,
76271
+ retryCodes: context.retryCodes
76272
+ });
76273
+ if (!doResult.ok) {
76274
+ return [doResult, { status: "request-error", request: req }];
76275
+ }
76276
+ const response = doResult.value;
76277
+ const responseFields = {
76278
+ HttpMeta: { Response: response, Request: req }
76279
+ };
76280
+ const [result] = await match(json(200, ListReceiptsResponse$inboundSchema, {
76281
+ hdrs: true,
76282
+ key: "Result"
76283
+ }), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
76284
+ if (!result.ok) {
76285
+ return [result, { status: "complete", request: req, response }];
76286
+ }
76287
+ return [result, { status: "complete", request: req, response }];
76288
+ }
76289
+ var init_receiptsList = __esm(() => {
76290
+ init_encodings();
76291
+ init_matchers();
76292
+ init_primitives();
76293
+ init_schemas();
76294
+ init_security();
76295
+ init_url();
76296
+ init_operations();
76297
+ init_async();
76298
+ });
76299
+
76300
+ // src/mcp-server/tools/receiptsList.ts
76301
+ var args107, tool$receiptsList;
76302
+ var init_receiptsList2 = __esm(() => {
76303
+ init_receiptsList();
76304
+ init_operations();
76305
+ init_tools();
76306
+ args107 = {
76307
+ request: ListReceiptsRequest$inboundSchema
76308
+ };
76309
+ tool$receiptsList = {
76310
+ name: "receipts-list",
76311
+ description: `List receipts by transferID, scheduleID, or occurrenceID.
76312
+
76313
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
76314
+ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
76315
+ args: args107,
76316
+ tool: async (client, args108, ctx) => {
76317
+ const [result, apiCall] = await receiptsList(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76318
+ if (!result.ok) {
76319
+ return {
76320
+ content: [{ type: "text", text: result.error.message }],
76321
+ isError: true
76322
+ };
76323
+ }
76324
+ const value = result.value.result;
76325
+ return formatResult(value, apiCall);
76326
+ }
76327
+ };
76328
+ });
76329
+
76330
+ // src/funcs/representativesCreate.ts
76331
+ function representativesCreate(client, request, options) {
76332
+ return new APIPromise($do108(client, request, options));
76333
+ }
76334
+ async function $do108(client, request, options) {
76335
+ const parsed = safeParse(request, (value) => CreateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
76336
+ if (!parsed.ok) {
76337
+ return [parsed, { status: "invalid" }];
76338
+ }
76339
+ const payload = parsed.value;
76340
+ const body = encodeJSON("body", payload.CreateRepresentative, {
76341
+ explode: true
76342
+ });
76343
+ const pathParams = {
76344
+ accountID: encodeSimple("accountID", payload.accountID, {
76345
+ explode: false,
76346
+ charEncoding: "percent"
76347
+ })
76348
+ };
76349
+ const path = pathToFunc("/accounts/{accountID}/representatives")(pathParams);
76350
+ const headers = new Headers(compactMap({
76351
+ "Content-Type": "application/json",
76352
+ Accept: "application/json",
76353
+ "x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
76354
+ }));
76355
+ const securityInput = await extractSecurity(client._options.security);
76356
+ const requestSecurity = resolveGlobalSecurity(securityInput);
76357
+ const context = {
76358
+ options: client._options,
76359
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
76360
+ operationID: "createRepresentative",
75065
76361
  oAuth2Scopes: null,
75066
76362
  resolvedSecurity: requestSecurity,
75067
76363
  securitySource: client._options.security,
@@ -75131,12 +76427,12 @@ var init_representativesCreate = __esm(() => {
75131
76427
  });
75132
76428
 
75133
76429
  // src/mcp-server/tools/representativesCreate.ts
75134
- var args103, tool$representativesCreate;
76430
+ var args108, tool$representativesCreate;
75135
76431
  var init_representativesCreate2 = __esm(() => {
75136
76432
  init_representativesCreate();
75137
76433
  init_operations();
75138
76434
  init_tools();
75139
- args103 = {
76435
+ args108 = {
75140
76436
  request: CreateRepresentativeRequest$inboundSchema
75141
76437
  };
75142
76438
  tool$representativesCreate = {
@@ -75147,9 +76443,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
75147
76443
 
75148
76444
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
75149
76445
  you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
75150
- args: args103,
75151
- tool: async (client, args104, ctx) => {
75152
- const [result, apiCall] = await representativesCreate(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76446
+ args: args108,
76447
+ tool: async (client, args109, ctx) => {
76448
+ const [result, apiCall] = await representativesCreate(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75153
76449
  if (!result.ok) {
75154
76450
  return {
75155
76451
  content: [{ type: "text", text: result.error.message }],
@@ -75164,9 +76460,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
75164
76460
 
75165
76461
  // src/funcs/representativesDelete.ts
75166
76462
  function representativesDelete(client, request, options) {
75167
- return new APIPromise($do104(client, request, options));
76463
+ return new APIPromise($do109(client, request, options));
75168
76464
  }
75169
- async function $do104(client, request, options) {
76465
+ async function $do109(client, request, options) {
75170
76466
  const parsed = safeParse(request, (value) => DeleteRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
75171
76467
  if (!parsed.ok) {
75172
76468
  return [parsed, { status: "invalid" }];
@@ -75254,12 +76550,12 @@ var init_representativesDelete = __esm(() => {
75254
76550
  });
75255
76551
 
75256
76552
  // src/mcp-server/tools/representativesDelete.ts
75257
- var args104, tool$representativesDelete;
76553
+ var args109, tool$representativesDelete;
75258
76554
  var init_representativesDelete2 = __esm(() => {
75259
76555
  init_representativesDelete();
75260
76556
  init_operations();
75261
76557
  init_tools();
75262
- args104 = {
76558
+ args109 = {
75263
76559
  request: DeleteRepresentativeRequest$inboundSchema
75264
76560
  };
75265
76561
  tool$representativesDelete = {
@@ -75268,9 +76564,9 @@ var init_representativesDelete2 = __esm(() => {
75268
76564
 
75269
76565
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
75270
76566
  you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
75271
- args: args104,
75272
- tool: async (client, args105, ctx) => {
75273
- const [result, apiCall] = await representativesDelete(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76567
+ args: args109,
76568
+ tool: async (client, args110, ctx) => {
76569
+ const [result, apiCall] = await representativesDelete(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75274
76570
  if (!result.ok) {
75275
76571
  return {
75276
76572
  content: [{ type: "text", text: result.error.message }],
@@ -75284,9 +76580,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
75284
76580
 
75285
76581
  // src/funcs/representativesGet.ts
75286
76582
  function representativesGet(client, request, options) {
75287
- return new APIPromise($do105(client, request, options));
76583
+ return new APIPromise($do110(client, request, options));
75288
76584
  }
75289
- async function $do105(client, request, options) {
76585
+ async function $do110(client, request, options) {
75290
76586
  const parsed = safeParse(request, (value) => GetRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
75291
76587
  if (!parsed.ok) {
75292
76588
  return [parsed, { status: "invalid" }];
@@ -75365,12 +76661,12 @@ var init_representativesGet = __esm(() => {
75365
76661
  });
75366
76662
 
75367
76663
  // src/mcp-server/tools/representativesGet.ts
75368
- var args105, tool$representativesGet;
76664
+ var args110, tool$representativesGet;
75369
76665
  var init_representativesGet2 = __esm(() => {
75370
76666
  init_representativesGet();
75371
76667
  init_operations();
75372
76668
  init_tools();
75373
- args105 = {
76669
+ args110 = {
75374
76670
  request: GetRepresentativeRequest$inboundSchema
75375
76671
  };
75376
76672
  tool$representativesGet = {
@@ -75379,9 +76675,9 @@ var init_representativesGet2 = __esm(() => {
75379
76675
 
75380
76676
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
75381
76677
  you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
75382
- args: args105,
75383
- tool: async (client, args106, ctx) => {
75384
- const [result, apiCall] = await representativesGet(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76678
+ args: args110,
76679
+ tool: async (client, args111, ctx) => {
76680
+ const [result, apiCall] = await representativesGet(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75385
76681
  if (!result.ok) {
75386
76682
  return {
75387
76683
  content: [{ type: "text", text: result.error.message }],
@@ -75396,9 +76692,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
75396
76692
 
75397
76693
  // src/funcs/representativesList.ts
75398
76694
  function representativesList(client, request, options) {
75399
- return new APIPromise($do106(client, request, options));
76695
+ return new APIPromise($do111(client, request, options));
75400
76696
  }
75401
- async function $do106(client, request, options) {
76697
+ async function $do111(client, request, options) {
75402
76698
  const parsed = safeParse(request, (value) => ListRepresentativesRequest$outboundSchema.parse(value), "Input validation failed");
75403
76699
  if (!parsed.ok) {
75404
76700
  return [parsed, { status: "invalid" }];
@@ -75476,12 +76772,12 @@ var init_representativesList = __esm(() => {
75476
76772
  });
75477
76773
 
75478
76774
  // src/mcp-server/tools/representativesList.ts
75479
- var args106, tool$representativesList;
76775
+ var args111, tool$representativesList;
75480
76776
  var init_representativesList2 = __esm(() => {
75481
76777
  init_representativesList();
75482
76778
  init_operations();
75483
76779
  init_tools();
75484
- args106 = {
76780
+ args111 = {
75485
76781
  request: ListRepresentativesRequest$inboundSchema
75486
76782
  };
75487
76783
  tool$representativesList = {
@@ -75493,9 +76789,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
75493
76789
 
75494
76790
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
75495
76791
  you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
75496
- args: args106,
75497
- tool: async (client, args107, ctx) => {
75498
- const [result, apiCall] = await representativesList(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76792
+ args: args111,
76793
+ tool: async (client, args112, ctx) => {
76794
+ const [result, apiCall] = await representativesList(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75499
76795
  if (!result.ok) {
75500
76796
  return {
75501
76797
  content: [{ type: "text", text: result.error.message }],
@@ -75510,9 +76806,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
75510
76806
 
75511
76807
  // src/funcs/representativesUpdate.ts
75512
76808
  function representativesUpdate(client, request, options) {
75513
- return new APIPromise($do107(client, request, options));
76809
+ return new APIPromise($do112(client, request, options));
75514
76810
  }
75515
- async function $do107(client, request, options) {
76811
+ async function $do112(client, request, options) {
75516
76812
  const parsed = safeParse(request, (value) => UpdateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
75517
76813
  if (!parsed.ok) {
75518
76814
  return [parsed, { status: "invalid" }];
@@ -75606,12 +76902,12 @@ var init_representativesUpdate = __esm(() => {
75606
76902
  });
75607
76903
 
75608
76904
  // src/mcp-server/tools/representativesUpdate.ts
75609
- var args107, tool$representativesUpdate;
76905
+ var args112, tool$representativesUpdate;
75610
76906
  var init_representativesUpdate2 = __esm(() => {
75611
76907
  init_representativesUpdate();
75612
76908
  init_operations();
75613
76909
  init_tools();
75614
- args107 = {
76910
+ args112 = {
75615
76911
  request: UpdateRepresentativeRequest$inboundSchema
75616
76912
  };
75617
76913
  tool$representativesUpdate = {
@@ -75633,9 +76929,9 @@ If you need to update information in a locked state, please contact Moov support
75633
76929
 
75634
76930
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
75635
76931
  you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
75636
- args: args107,
75637
- tool: async (client, args108, ctx) => {
75638
- const [result, apiCall] = await representativesUpdate(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76932
+ args: args112,
76933
+ tool: async (client, args113, ctx) => {
76934
+ const [result, apiCall] = await representativesUpdate(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75639
76935
  if (!result.ok) {
75640
76936
  return {
75641
76937
  content: [{ type: "text", text: result.error.message }],
@@ -75650,9 +76946,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
75650
76946
 
75651
76947
  // src/funcs/schedulingCancel.ts
75652
76948
  function schedulingCancel(client, request, options) {
75653
- return new APIPromise($do108(client, request, options));
76949
+ return new APIPromise($do113(client, request, options));
75654
76950
  }
75655
- async function $do108(client, request, options) {
76951
+ async function $do113(client, request, options) {
75656
76952
  const parsed = safeParse(request, (value) => CancelScheduleRequest$outboundSchema.parse(value), "Input validation failed");
75657
76953
  if (!parsed.ok) {
75658
76954
  return [parsed, { status: "invalid" }];
@@ -75745,12 +77041,12 @@ var init_schedulingCancel = __esm(() => {
75745
77041
  });
75746
77042
 
75747
77043
  // src/mcp-server/tools/schedulingCancel.ts
75748
- var args108, tool$schedulingCancel;
77044
+ var args113, tool$schedulingCancel;
75749
77045
  var init_schedulingCancel2 = __esm(() => {
75750
77046
  init_schedulingCancel();
75751
77047
  init_operations();
75752
77048
  init_tools();
75753
- args108 = {
77049
+ args113 = {
75754
77050
  request: CancelScheduleRequest$inboundSchema
75755
77051
  };
75756
77052
  tool$schedulingCancel = {
@@ -75759,9 +77055,9 @@ var init_schedulingCancel2 = __esm(() => {
75759
77055
 
75760
77056
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
75761
77057
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
75762
- args: args108,
75763
- tool: async (client, args109, ctx) => {
75764
- const [result, apiCall] = await schedulingCancel(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77058
+ args: args113,
77059
+ tool: async (client, args114, ctx) => {
77060
+ const [result, apiCall] = await schedulingCancel(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75765
77061
  if (!result.ok) {
75766
77062
  return {
75767
77063
  content: [{ type: "text", text: result.error.message }],
@@ -75775,9 +77071,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
75775
77071
 
75776
77072
  // src/funcs/schedulingCreate.ts
75777
77073
  function schedulingCreate(client, request, options) {
75778
- return new APIPromise($do109(client, request, options));
77074
+ return new APIPromise($do114(client, request, options));
75779
77075
  }
75780
- async function $do109(client, request, options) {
77076
+ async function $do114(client, request, options) {
75781
77077
  const parsed = safeParse(request, (value) => CreateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
75782
77078
  if (!parsed.ok) {
75783
77079
  return [parsed, { status: "invalid" }];
@@ -75871,12 +77167,12 @@ var init_schedulingCreate = __esm(() => {
75871
77167
  });
75872
77168
 
75873
77169
  // src/mcp-server/tools/schedulingCreate.ts
75874
- var args109, tool$schedulingCreate;
77170
+ var args114, tool$schedulingCreate;
75875
77171
  var init_schedulingCreate2 = __esm(() => {
75876
77172
  init_schedulingCreate();
75877
77173
  init_operations();
75878
77174
  init_tools();
75879
- args109 = {
77175
+ args114 = {
75880
77176
  request: CreateScheduleRequest$inboundSchema
75881
77177
  };
75882
77178
  tool$schedulingCreate = {
@@ -75885,9 +77181,9 @@ var init_schedulingCreate2 = __esm(() => {
75885
77181
 
75886
77182
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
75887
77183
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
75888
- args: args109,
75889
- tool: async (client, args110, ctx) => {
75890
- const [result, apiCall] = await schedulingCreate(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77184
+ args: args114,
77185
+ tool: async (client, args115, ctx) => {
77186
+ const [result, apiCall] = await schedulingCreate(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75891
77187
  if (!result.ok) {
75892
77188
  return {
75893
77189
  content: [{ type: "text", text: result.error.message }],
@@ -75902,9 +77198,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
75902
77198
 
75903
77199
  // src/funcs/schedulingGet.ts
75904
77200
  function schedulingGet(client, request, options) {
75905
- return new APIPromise($do110(client, request, options));
77201
+ return new APIPromise($do115(client, request, options));
75906
77202
  }
75907
- async function $do110(client, request, options) {
77203
+ async function $do115(client, request, options) {
75908
77204
  const parsed = safeParse(request, (value) => GetSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
75909
77205
  if (!parsed.ok) {
75910
77206
  return [parsed, { status: "invalid" }];
@@ -75986,12 +77282,12 @@ var init_schedulingGet = __esm(() => {
75986
77282
  });
75987
77283
 
75988
77284
  // src/mcp-server/tools/schedulingGet.ts
75989
- var args110, tool$schedulingGet;
77285
+ var args115, tool$schedulingGet;
75990
77286
  var init_schedulingGet2 = __esm(() => {
75991
77287
  init_schedulingGet();
75992
77288
  init_operations();
75993
77289
  init_tools();
75994
- args110 = {
77290
+ args115 = {
75995
77291
  request: GetSchedulesRequest$inboundSchema
75996
77292
  };
75997
77293
  tool$schedulingGet = {
@@ -76000,9 +77296,9 @@ var init_schedulingGet2 = __esm(() => {
76000
77296
 
76001
77297
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
76002
77298
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
76003
- args: args110,
76004
- tool: async (client, args111, ctx) => {
76005
- const [result, apiCall] = await schedulingGet(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77299
+ args: args115,
77300
+ tool: async (client, args116, ctx) => {
77301
+ const [result, apiCall] = await schedulingGet(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76006
77302
  if (!result.ok) {
76007
77303
  return {
76008
77304
  content: [{ type: "text", text: result.error.message }],
@@ -76017,9 +77313,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
76017
77313
 
76018
77314
  // src/funcs/schedulingGetOccurrance.ts
76019
77315
  function schedulingGetOccurrance(client, request, options) {
76020
- return new APIPromise($do111(client, request, options));
77316
+ return new APIPromise($do116(client, request, options));
76021
77317
  }
76022
- async function $do111(client, request, options) {
77318
+ async function $do116(client, request, options) {
76023
77319
  const parsed = safeParse(request, (value) => GetScheduledOccurrenceRequest$outboundSchema.parse(value), "Input validation failed");
76024
77320
  if (!parsed.ok) {
76025
77321
  return [parsed, { status: "invalid" }];
@@ -76102,12 +77398,12 @@ var init_schedulingGetOccurrance = __esm(() => {
76102
77398
  });
76103
77399
 
76104
77400
  // src/mcp-server/tools/schedulingGetOccurrance.ts
76105
- var args111, tool$schedulingGetOccurrance;
77401
+ var args116, tool$schedulingGetOccurrance;
76106
77402
  var init_schedulingGetOccurrance2 = __esm(() => {
76107
77403
  init_schedulingGetOccurrance();
76108
77404
  init_operations();
76109
77405
  init_tools();
76110
- args111 = {
77406
+ args116 = {
76111
77407
  request: GetScheduledOccurrenceRequest$inboundSchema
76112
77408
  };
76113
77409
  tool$schedulingGetOccurrance = {
@@ -76116,9 +77412,9 @@ var init_schedulingGetOccurrance2 = __esm(() => {
76116
77412
 
76117
77413
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
76118
77414
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
76119
- args: args111,
76120
- tool: async (client, args112, ctx) => {
76121
- const [result, apiCall] = await schedulingGetOccurrance(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77415
+ args: args116,
77416
+ tool: async (client, args117, ctx) => {
77417
+ const [result, apiCall] = await schedulingGetOccurrance(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76122
77418
  if (!result.ok) {
76123
77419
  return {
76124
77420
  content: [{ type: "text", text: result.error.message }],
@@ -76133,9 +77429,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
76133
77429
 
76134
77430
  // src/funcs/schedulingList.ts
76135
77431
  function schedulingList(client, request, options) {
76136
- return new APIPromise($do112(client, request, options));
77432
+ return new APIPromise($do117(client, request, options));
76137
77433
  }
76138
- async function $do112(client, request, options) {
77434
+ async function $do117(client, request, options) {
76139
77435
  const parsed = safeParse(request, (value) => ListSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
76140
77436
  if (!parsed.ok) {
76141
77437
  return [parsed, { status: "invalid" }];
@@ -76219,12 +77515,12 @@ var init_schedulingList = __esm(() => {
76219
77515
  });
76220
77516
 
76221
77517
  // src/mcp-server/tools/schedulingList.ts
76222
- var args112, tool$schedulingList;
77518
+ var args117, tool$schedulingList;
76223
77519
  var init_schedulingList2 = __esm(() => {
76224
77520
  init_schedulingList();
76225
77521
  init_operations();
76226
77522
  init_tools();
76227
- args112 = {
77523
+ args117 = {
76228
77524
  request: ListSchedulesRequest$inboundSchema
76229
77525
  };
76230
77526
  tool$schedulingList = {
@@ -76233,9 +77529,9 @@ var init_schedulingList2 = __esm(() => {
76233
77529
 
76234
77530
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
76235
77531
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
76236
- args: args112,
76237
- tool: async (client, args113, ctx) => {
76238
- const [result, apiCall] = await schedulingList(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77532
+ args: args117,
77533
+ tool: async (client, args118, ctx) => {
77534
+ const [result, apiCall] = await schedulingList(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76239
77535
  if (!result.ok) {
76240
77536
  return {
76241
77537
  content: [{ type: "text", text: result.error.message }],
@@ -76250,9 +77546,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
76250
77546
 
76251
77547
  // src/funcs/schedulingUpdate.ts
76252
77548
  function schedulingUpdate(client, request, options) {
76253
- return new APIPromise($do113(client, request, options));
77549
+ return new APIPromise($do118(client, request, options));
76254
77550
  }
76255
- async function $do113(client, request, options) {
77551
+ async function $do118(client, request, options) {
76256
77552
  const parsed = safeParse(request, (value) => UpdateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
76257
77553
  if (!parsed.ok) {
76258
77554
  return [parsed, { status: "invalid" }];
@@ -76350,12 +77646,12 @@ var init_schedulingUpdate = __esm(() => {
76350
77646
  });
76351
77647
 
76352
77648
  // src/mcp-server/tools/schedulingUpdate.ts
76353
- var args113, tool$schedulingUpdate;
77649
+ var args118, tool$schedulingUpdate;
76354
77650
  var init_schedulingUpdate2 = __esm(() => {
76355
77651
  init_schedulingUpdate();
76356
77652
  init_operations();
76357
77653
  init_tools();
76358
- args113 = {
77654
+ args118 = {
76359
77655
  request: UpdateScheduleRequest$inboundSchema
76360
77656
  };
76361
77657
  tool$schedulingUpdate = {
@@ -76364,9 +77660,9 @@ var init_schedulingUpdate2 = __esm(() => {
76364
77660
 
76365
77661
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
76366
77662
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
76367
- args: args113,
76368
- tool: async (client, args114, ctx) => {
76369
- const [result, apiCall] = await schedulingUpdate(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77663
+ args: args118,
77664
+ tool: async (client, args119, ctx) => {
77665
+ const [result, apiCall] = await schedulingUpdate(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76370
77666
  if (!result.ok) {
76371
77667
  return {
76372
77668
  content: [{ type: "text", text: result.error.message }],
@@ -76381,9 +77677,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
76381
77677
 
76382
77678
  // src/funcs/statementsGet.ts
76383
77679
  function statementsGet(client, request, options) {
76384
- return new APIPromise($do114(client, request, options));
77680
+ return new APIPromise($do119(client, request, options));
76385
77681
  }
76386
- async function $do114(client, request, options) {
77682
+ async function $do119(client, request, options) {
76387
77683
  const parsed = safeParse(request, (value) => GetStatementRequest$outboundSchema.parse(value), "Input validation failed");
76388
77684
  if (!parsed.ok) {
76389
77685
  return [parsed, { status: "invalid" }];
@@ -76469,12 +77765,12 @@ var init_statementsGet = __esm(() => {
76469
77765
  });
76470
77766
 
76471
77767
  // src/mcp-server/tools/statementsGet.ts
76472
- var args114, tool$statementsGet;
77768
+ var args119, tool$statementsGet;
76473
77769
  var init_statementsGet2 = __esm(() => {
76474
77770
  init_statementsGet();
76475
77771
  init_operations();
76476
77772
  init_tools();
76477
- args114 = {
77773
+ args119 = {
76478
77774
  request: GetStatementRequest$inboundSchema
76479
77775
  };
76480
77776
  tool$statementsGet = {
@@ -76485,9 +77781,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
76485
77781
 
76486
77782
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
76487
77783
  you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
76488
- args: args114,
76489
- tool: async (client, args115, ctx) => {
76490
- const [result, apiCall] = await statementsGet(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77784
+ args: args119,
77785
+ tool: async (client, args120, ctx) => {
77786
+ const [result, apiCall] = await statementsGet(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76491
77787
  if (!result.ok) {
76492
77788
  return {
76493
77789
  content: [{ type: "text", text: result.error.message }],
@@ -76502,9 +77798,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
76502
77798
 
76503
77799
  // src/funcs/statementsList.ts
76504
77800
  function statementsList(client, request, options) {
76505
- return new APIPromise($do115(client, request, options));
77801
+ return new APIPromise($do120(client, request, options));
76506
77802
  }
76507
- async function $do115(client, request, options) {
77803
+ async function $do120(client, request, options) {
76508
77804
  const parsed = safeParse(request, (value) => ListStatementsRequest$outboundSchema.parse(value), "Input validation failed");
76509
77805
  if (!parsed.ok) {
76510
77806
  return [parsed, { status: "invalid" }];
@@ -76590,12 +77886,12 @@ var init_statementsList = __esm(() => {
76590
77886
  });
76591
77887
 
76592
77888
  // src/mcp-server/tools/statementsList.ts
76593
- var args115, tool$statementsList;
77889
+ var args120, tool$statementsList;
76594
77890
  var init_statementsList2 = __esm(() => {
76595
77891
  init_statementsList();
76596
77892
  init_operations();
76597
77893
  init_tools();
76598
- args115 = {
77894
+ args120 = {
76599
77895
  request: ListStatementsRequest$inboundSchema
76600
77896
  };
76601
77897
  tool$statementsList = {
@@ -76604,9 +77900,9 @@ var init_statementsList2 = __esm(() => {
76604
77900
 
76605
77901
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
76606
77902
  you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
76607
- args: args115,
76608
- tool: async (client, args116, ctx) => {
76609
- const [result, apiCall] = await statementsList(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77903
+ args: args120,
77904
+ tool: async (client, args121, ctx) => {
77905
+ const [result, apiCall] = await statementsList(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76610
77906
  if (!result.ok) {
76611
77907
  return {
76612
77908
  content: [{ type: "text", text: result.error.message }],
@@ -76621,9 +77917,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
76621
77917
 
76622
77918
  // src/funcs/supportCreateTicket.ts
76623
77919
  function supportCreateTicket(client, request, options) {
76624
- return new APIPromise($do116(client, request, options));
77920
+ return new APIPromise($do121(client, request, options));
76625
77921
  }
76626
- async function $do116(client, request, options) {
77922
+ async function $do121(client, request, options) {
76627
77923
  const parsed = safeParse(request, (value) => CreateTicketRequest$outboundSchema.parse(value), "Input validation failed");
76628
77924
  if (!parsed.ok) {
76629
77925
  return [parsed, { status: "invalid" }];
@@ -76715,12 +78011,12 @@ var init_supportCreateTicket = __esm(() => {
76715
78011
  });
76716
78012
 
76717
78013
  // src/mcp-server/tools/supportCreateTicket.ts
76718
- var args116, tool$supportCreateTicket;
78014
+ var args121, tool$supportCreateTicket;
76719
78015
  var init_supportCreateTicket2 = __esm(() => {
76720
78016
  init_supportCreateTicket();
76721
78017
  init_operations();
76722
78018
  init_tools();
76723
- args116 = {
78019
+ args121 = {
76724
78020
  request: CreateTicketRequest$inboundSchema
76725
78021
  };
76726
78022
  tool$supportCreateTicket = {
@@ -76732,9 +78028,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
76732
78028
 
76733
78029
  If you're creating the ticket on behalf of another account, then you'll need to
76734
78030
  specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
76735
- args: args116,
76736
- tool: async (client, args117, ctx) => {
76737
- const [result, apiCall] = await supportCreateTicket(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
78031
+ args: args121,
78032
+ tool: async (client, args122, ctx) => {
78033
+ const [result, apiCall] = await supportCreateTicket(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76738
78034
  if (!result.ok) {
76739
78035
  return {
76740
78036
  content: [{ type: "text", text: result.error.message }],
@@ -76749,9 +78045,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
76749
78045
 
76750
78046
  // src/funcs/supportGetTicket.ts
76751
78047
  function supportGetTicket(client, request, options) {
76752
- return new APIPromise($do117(client, request, options));
78048
+ return new APIPromise($do122(client, request, options));
76753
78049
  }
76754
- async function $do117(client, request, options) {
78050
+ async function $do122(client, request, options) {
76755
78051
  const parsed = safeParse(request, (value) => GetTicketRequest$outboundSchema.parse(value), "Input validation failed");
76756
78052
  if (!parsed.ok) {
76757
78053
  return [parsed, { status: "invalid" }];
@@ -76833,12 +78129,12 @@ var init_supportGetTicket = __esm(() => {
76833
78129
  });
76834
78130
 
76835
78131
  // src/mcp-server/tools/supportGetTicket.ts
76836
- var args117, tool$supportGetTicket;
78132
+ var args122, tool$supportGetTicket;
76837
78133
  var init_supportGetTicket2 = __esm(() => {
76838
78134
  init_supportGetTicket();
76839
78135
  init_operations();
76840
78136
  init_tools();
76841
- args117 = {
78137
+ args122 = {
76842
78138
  request: GetTicketRequest$inboundSchema
76843
78139
  };
76844
78140
  tool$supportGetTicket = {
@@ -76850,9 +78146,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
76850
78146
 
76851
78147
  If you're retrieving another account's ticket, then you'll need to
76852
78148
  specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
76853
- args: args117,
76854
- tool: async (client, args118, ctx) => {
76855
- const [result, apiCall] = await supportGetTicket(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
78149
+ args: args122,
78150
+ tool: async (client, args123, ctx) => {
78151
+ const [result, apiCall] = await supportGetTicket(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76856
78152
  if (!result.ok) {
76857
78153
  return {
76858
78154
  content: [{ type: "text", text: result.error.message }],
@@ -76867,9 +78163,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
76867
78163
 
76868
78164
  // src/funcs/supportListTicketMessages.ts
76869
78165
  function supportListTicketMessages(client, request, options) {
76870
- return new APIPromise($do118(client, request, options));
78166
+ return new APIPromise($do123(client, request, options));
76871
78167
  }
76872
- async function $do118(client, request, options) {
78168
+ async function $do123(client, request, options) {
76873
78169
  const parsed = safeParse(request, (value) => ListTicketMessagesRequest$outboundSchema.parse(value), "Input validation failed");
76874
78170
  if (!parsed.ok) {
76875
78171
  return [parsed, { status: "invalid" }];
@@ -76951,12 +78247,12 @@ var init_supportListTicketMessages = __esm(() => {
76951
78247
  });
76952
78248
 
76953
78249
  // src/mcp-server/tools/supportListTicketMessages.ts
76954
- var args118, tool$supportListTicketMessages;
78250
+ var args123, tool$supportListTicketMessages;
76955
78251
  var init_supportListTicketMessages2 = __esm(() => {
76956
78252
  init_supportListTicketMessages();
76957
78253
  init_operations();
76958
78254
  init_tools();
76959
- args118 = {
78255
+ args123 = {
76960
78256
  request: ListTicketMessagesRequest$inboundSchema
76961
78257
  };
76962
78258
  tool$supportListTicketMessages = {
@@ -76968,9 +78264,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
76968
78264
 
76969
78265
  If you're listing another account's messages, then you'll need to
76970
78266
  specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
76971
- args: args118,
76972
- tool: async (client, args119, ctx) => {
76973
- const [result, apiCall] = await supportListTicketMessages(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
78267
+ args: args123,
78268
+ tool: async (client, args124, ctx) => {
78269
+ const [result, apiCall] = await supportListTicketMessages(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76974
78270
  if (!result.ok) {
76975
78271
  return {
76976
78272
  content: [{ type: "text", text: result.error.message }],
@@ -76985,9 +78281,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
76985
78281
 
76986
78282
  // src/funcs/supportListTickets.ts
76987
78283
  function supportListTickets(client, request, options) {
76988
- return new APIPromise($do119(client, request, options));
78284
+ return new APIPromise($do124(client, request, options));
76989
78285
  }
76990
- async function $do119(client, request, options) {
78286
+ async function $do124(client, request, options) {
76991
78287
  const parsed = safeParse(request, (value) => ListTicketsRequest$outboundSchema.parse(value), "Input validation failed");
76992
78288
  if (!parsed.ok) {
76993
78289
  return [parsed, { status: "invalid" }];
@@ -77072,12 +78368,12 @@ var init_supportListTickets = __esm(() => {
77072
78368
  });
77073
78369
 
77074
78370
  // src/mcp-server/tools/supportListTickets.ts
77075
- var args119, tool$supportListTickets;
78371
+ var args124, tool$supportListTickets;
77076
78372
  var init_supportListTickets2 = __esm(() => {
77077
78373
  init_supportListTickets();
77078
78374
  init_operations();
77079
78375
  init_tools();
77080
- args119 = {
78376
+ args124 = {
77081
78377
  request: ListTicketsRequest$inboundSchema
77082
78378
  };
77083
78379
  tool$supportListTickets = {
@@ -77089,9 +78385,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
77089
78385
 
77090
78386
  If you're listing another account's tickets, then you'll need to
77091
78387
  specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
77092
- args: args119,
77093
- tool: async (client, args120, ctx) => {
77094
- const [result, apiCall] = await supportListTickets(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
78388
+ args: args124,
78389
+ tool: async (client, args125, ctx) => {
78390
+ const [result, apiCall] = await supportListTickets(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77095
78391
  if (!result.ok) {
77096
78392
  return {
77097
78393
  content: [{ type: "text", text: result.error.message }],
@@ -77106,9 +78402,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
77106
78402
 
77107
78403
  // src/funcs/supportUpdateTicket.ts
77108
78404
  function supportUpdateTicket(client, request, options) {
77109
- return new APIPromise($do120(client, request, options));
78405
+ return new APIPromise($do125(client, request, options));
77110
78406
  }
77111
- async function $do120(client, request, options) {
78407
+ async function $do125(client, request, options) {
77112
78408
  const parsed = safeParse(request, (value) => UpdateTicketRequest$outboundSchema.parse(value), "Input validation failed");
77113
78409
  if (!parsed.ok) {
77114
78410
  return [parsed, { status: "invalid" }];
@@ -77204,12 +78500,12 @@ var init_supportUpdateTicket = __esm(() => {
77204
78500
  });
77205
78501
 
77206
78502
  // src/mcp-server/tools/supportUpdateTicket.ts
77207
- var args120, tool$supportUpdateTicket;
78503
+ var args125, tool$supportUpdateTicket;
77208
78504
  var init_supportUpdateTicket2 = __esm(() => {
77209
78505
  init_supportUpdateTicket();
77210
78506
  init_operations();
77211
78507
  init_tools();
77212
- args120 = {
78508
+ args125 = {
77213
78509
  request: UpdateTicketRequest$inboundSchema
77214
78510
  };
77215
78511
  tool$supportUpdateTicket = {
@@ -77221,9 +78517,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
77221
78517
 
77222
78518
  If you're updating the ticket on behalf of another account, then you'll need to
77223
78519
  specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
77224
- args: args120,
77225
- tool: async (client, args121, ctx) => {
77226
- const [result, apiCall] = await supportUpdateTicket(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
78520
+ args: args125,
78521
+ tool: async (client, args126, ctx) => {
78522
+ const [result, apiCall] = await supportUpdateTicket(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77227
78523
  if (!result.ok) {
77228
78524
  return {
77229
78525
  content: [{ type: "text", text: result.error.message }],
@@ -77238,9 +78534,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
77238
78534
 
77239
78535
  // src/funcs/sweepsCreateConfig.ts
77240
78536
  function sweepsCreateConfig(client, request, options) {
77241
- return new APIPromise($do121(client, request, options));
78537
+ return new APIPromise($do126(client, request, options));
77242
78538
  }
77243
- async function $do121(client, request, options) {
78539
+ async function $do126(client, request, options) {
77244
78540
  const parsed = safeParse(request, (value) => CreateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
77245
78541
  if (!parsed.ok) {
77246
78542
  return [parsed, { status: "invalid" }];
@@ -77332,12 +78628,12 @@ var init_sweepsCreateConfig = __esm(() => {
77332
78628
  });
77333
78629
 
77334
78630
  // src/mcp-server/tools/sweepsCreateConfig.ts
77335
- var args121, tool$sweepsCreateConfig;
78631
+ var args126, tool$sweepsCreateConfig;
77336
78632
  var init_sweepsCreateConfig2 = __esm(() => {
77337
78633
  init_sweepsCreateConfig();
77338
78634
  init_operations();
77339
78635
  init_tools();
77340
- args121 = {
78636
+ args126 = {
77341
78637
  request: CreateSweepConfigRequest$inboundSchema
77342
78638
  };
77343
78639
  tool$sweepsCreateConfig = {
@@ -77346,9 +78642,9 @@ var init_sweepsCreateConfig2 = __esm(() => {
77346
78642
 
77347
78643
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
77348
78644
  you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
77349
- args: args121,
77350
- tool: async (client, args122, ctx) => {
77351
- const [result, apiCall] = await sweepsCreateConfig(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
78645
+ args: args126,
78646
+ tool: async (client, args127, ctx) => {
78647
+ const [result, apiCall] = await sweepsCreateConfig(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77352
78648
  if (!result.ok) {
77353
78649
  return {
77354
78650
  content: [{ type: "text", text: result.error.message }],
@@ -77363,9 +78659,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
77363
78659
 
77364
78660
  // src/funcs/sweepsGet.ts
77365
78661
  function sweepsGet(client, request, options) {
77366
- return new APIPromise($do122(client, request, options));
78662
+ return new APIPromise($do127(client, request, options));
77367
78663
  }
77368
- async function $do122(client, request, options) {
78664
+ async function $do127(client, request, options) {
77369
78665
  const parsed = safeParse(request, (value) => GetSweepRequest$outboundSchema.parse(value), "Input validation failed");
77370
78666
  if (!parsed.ok) {
77371
78667
  return [parsed, { status: "invalid" }];
@@ -77451,12 +78747,12 @@ var init_sweepsGet = __esm(() => {
77451
78747
  });
77452
78748
 
77453
78749
  // src/mcp-server/tools/sweepsGet.ts
77454
- var args122, tool$sweepsGet;
78750
+ var args127, tool$sweepsGet;
77455
78751
  var init_sweepsGet2 = __esm(() => {
77456
78752
  init_sweepsGet();
77457
78753
  init_operations();
77458
78754
  init_tools();
77459
- args122 = {
78755
+ args127 = {
77460
78756
  request: GetSweepRequest$inboundSchema
77461
78757
  };
77462
78758
  tool$sweepsGet = {
@@ -77465,9 +78761,9 @@ var init_sweepsGet2 = __esm(() => {
77465
78761
 
77466
78762
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
77467
78763
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
77468
- args: args122,
77469
- tool: async (client, args123, ctx) => {
77470
- const [result, apiCall] = await sweepsGet(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
78764
+ args: args127,
78765
+ tool: async (client, args128, ctx) => {
78766
+ const [result, apiCall] = await sweepsGet(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77471
78767
  if (!result.ok) {
77472
78768
  return {
77473
78769
  content: [{ type: "text", text: result.error.message }],
@@ -77482,9 +78778,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
77482
78778
 
77483
78779
  // src/funcs/sweepsGetConfig.ts
77484
78780
  function sweepsGetConfig(client, request, options) {
77485
- return new APIPromise($do123(client, request, options));
78781
+ return new APIPromise($do128(client, request, options));
77486
78782
  }
77487
- async function $do123(client, request, options) {
78783
+ async function $do128(client, request, options) {
77488
78784
  const parsed = safeParse(request, (value) => GetSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
77489
78785
  if (!parsed.ok) {
77490
78786
  return [parsed, { status: "invalid" }];
@@ -77566,12 +78862,12 @@ var init_sweepsGetConfig = __esm(() => {
77566
78862
  });
77567
78863
 
77568
78864
  // src/mcp-server/tools/sweepsGetConfig.ts
77569
- var args123, tool$sweepsGetConfig;
78865
+ var args128, tool$sweepsGetConfig;
77570
78866
  var init_sweepsGetConfig2 = __esm(() => {
77571
78867
  init_sweepsGetConfig();
77572
78868
  init_operations();
77573
78869
  init_tools();
77574
- args123 = {
78870
+ args128 = {
77575
78871
  request: GetSweepConfigRequest$inboundSchema
77576
78872
  };
77577
78873
  tool$sweepsGetConfig = {
@@ -77580,9 +78876,9 @@ var init_sweepsGetConfig2 = __esm(() => {
77580
78876
 
77581
78877
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
77582
78878
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
77583
- args: args123,
77584
- tool: async (client, args124, ctx) => {
77585
- const [result, apiCall] = await sweepsGetConfig(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
78879
+ args: args128,
78880
+ tool: async (client, args129, ctx) => {
78881
+ const [result, apiCall] = await sweepsGetConfig(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77586
78882
  if (!result.ok) {
77587
78883
  return {
77588
78884
  content: [{ type: "text", text: result.error.message }],
@@ -77597,9 +78893,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
77597
78893
 
77598
78894
  // src/funcs/sweepsList.ts
77599
78895
  function sweepsList(client, request, options) {
77600
- return new APIPromise($do124(client, request, options));
78896
+ return new APIPromise($do129(client, request, options));
77601
78897
  }
77602
- async function $do124(client, request, options) {
78898
+ async function $do129(client, request, options) {
77603
78899
  const parsed = safeParse(request, (value) => ListSweepsRequest$outboundSchema.parse(value), "Input validation failed");
77604
78900
  if (!parsed.ok) {
77605
78901
  return [parsed, { status: "invalid" }];
@@ -77688,12 +78984,12 @@ var init_sweepsList = __esm(() => {
77688
78984
  });
77689
78985
 
77690
78986
  // src/mcp-server/tools/sweepsList.ts
77691
- var args124, tool$sweepsList;
78987
+ var args129, tool$sweepsList;
77692
78988
  var init_sweepsList2 = __esm(() => {
77693
78989
  init_sweepsList();
77694
78990
  init_operations();
77695
78991
  init_tools();
77696
- args124 = {
78992
+ args129 = {
77697
78993
  request: ListSweepsRequest$inboundSchema
77698
78994
  };
77699
78995
  tool$sweepsList = {
@@ -77702,9 +78998,9 @@ var init_sweepsList2 = __esm(() => {
77702
78998
 
77703
78999
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
77704
79000
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
77705
- args: args124,
77706
- tool: async (client, args125, ctx) => {
77707
- const [result, apiCall] = await sweepsList(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
79001
+ args: args129,
79002
+ tool: async (client, args130, ctx) => {
79003
+ const [result, apiCall] = await sweepsList(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77708
79004
  if (!result.ok) {
77709
79005
  return {
77710
79006
  content: [{ type: "text", text: result.error.message }],
@@ -77719,9 +79015,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
77719
79015
 
77720
79016
  // src/funcs/sweepsListConfigs.ts
77721
79017
  function sweepsListConfigs(client, request, options) {
77722
- return new APIPromise($do125(client, request, options));
79018
+ return new APIPromise($do130(client, request, options));
77723
79019
  }
77724
- async function $do125(client, request, options) {
79020
+ async function $do130(client, request, options) {
77725
79021
  const parsed = safeParse(request, (value) => ListSweepConfigsRequest$outboundSchema.parse(value), "Input validation failed");
77726
79022
  if (!parsed.ok) {
77727
79023
  return [parsed, { status: "invalid" }];
@@ -77799,12 +79095,12 @@ var init_sweepsListConfigs = __esm(() => {
77799
79095
  });
77800
79096
 
77801
79097
  // src/mcp-server/tools/sweepsListConfigs.ts
77802
- var args125, tool$sweepsListConfigs;
79098
+ var args130, tool$sweepsListConfigs;
77803
79099
  var init_sweepsListConfigs2 = __esm(() => {
77804
79100
  init_sweepsListConfigs();
77805
79101
  init_operations();
77806
79102
  init_tools();
77807
- args125 = {
79103
+ args130 = {
77808
79104
  request: ListSweepConfigsRequest$inboundSchema
77809
79105
  };
77810
79106
  tool$sweepsListConfigs = {
@@ -77813,9 +79109,9 @@ var init_sweepsListConfigs2 = __esm(() => {
77813
79109
 
77814
79110
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
77815
79111
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
77816
- args: args125,
77817
- tool: async (client, args126, ctx) => {
77818
- const [result, apiCall] = await sweepsListConfigs(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
79112
+ args: args130,
79113
+ tool: async (client, args131, ctx) => {
79114
+ const [result, apiCall] = await sweepsListConfigs(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77819
79115
  if (!result.ok) {
77820
79116
  return {
77821
79117
  content: [{ type: "text", text: result.error.message }],
@@ -77830,9 +79126,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
77830
79126
 
77831
79127
  // src/funcs/sweepsUpdateConfig.ts
77832
79128
  function sweepsUpdateConfig(client, request, options) {
77833
- return new APIPromise($do126(client, request, options));
79129
+ return new APIPromise($do131(client, request, options));
77834
79130
  }
77835
- async function $do126(client, request, options) {
79131
+ async function $do131(client, request, options) {
77836
79132
  const parsed = safeParse(request, (value) => UpdateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
77837
79133
  if (!parsed.ok) {
77838
79134
  return [parsed, { status: "invalid" }];
@@ -77928,12 +79224,12 @@ var init_sweepsUpdateConfig = __esm(() => {
77928
79224
  });
77929
79225
 
77930
79226
  // src/mcp-server/tools/sweepsUpdateConfig.ts
77931
- var args126, tool$sweepsUpdateConfig;
79227
+ var args131, tool$sweepsUpdateConfig;
77932
79228
  var init_sweepsUpdateConfig2 = __esm(() => {
77933
79229
  init_sweepsUpdateConfig();
77934
79230
  init_operations();
77935
79231
  init_tools();
77936
- args126 = {
79232
+ args131 = {
77937
79233
  request: UpdateSweepConfigRequest$inboundSchema
77938
79234
  };
77939
79235
  tool$sweepsUpdateConfig = {
@@ -77942,9 +79238,9 @@ var init_sweepsUpdateConfig2 = __esm(() => {
77942
79238
 
77943
79239
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
77944
79240
  you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
77945
- args: args126,
77946
- tool: async (client, args127, ctx) => {
77947
- const [result, apiCall] = await sweepsUpdateConfig(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
79241
+ args: args131,
79242
+ tool: async (client, args132, ctx) => {
79243
+ const [result, apiCall] = await sweepsUpdateConfig(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77948
79244
  if (!result.ok) {
77949
79245
  return {
77950
79246
  content: [{ type: "text", text: result.error.message }],
@@ -77959,9 +79255,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
77959
79255
 
77960
79256
  // src/funcs/terminalApplicationsCreate.ts
77961
79257
  function terminalApplicationsCreate(client, request, options) {
77962
- return new APIPromise($do127(client, request, options));
79258
+ return new APIPromise($do132(client, request, options));
77963
79259
  }
77964
- async function $do127(client, request, options) {
79260
+ async function $do132(client, request, options) {
77965
79261
  const parsed = safeParse(request, (value) => CreateTerminalApplication$outboundSchema.parse(value), "Input validation failed");
77966
79262
  if (!parsed.ok) {
77967
79263
  return [parsed, { status: "invalid" }];
@@ -78050,12 +79346,12 @@ var init_terminalApplicationsCreate = __esm(() => {
78050
79346
  });
78051
79347
 
78052
79348
  // src/mcp-server/tools/terminalApplicationsCreate.ts
78053
- var args127, tool$terminalApplicationsCreate;
79349
+ var args132, tool$terminalApplicationsCreate;
78054
79350
  var init_terminalApplicationsCreate2 = __esm(() => {
78055
79351
  init_terminalApplicationsCreate();
78056
79352
  init_components();
78057
79353
  init_tools();
78058
- args127 = {
79354
+ args132 = {
78059
79355
  request: CreateTerminalApplication$inboundSchema
78060
79356
  };
78061
79357
  tool$terminalApplicationsCreate = {
@@ -78064,9 +79360,9 @@ var init_terminalApplicationsCreate2 = __esm(() => {
78064
79360
 
78065
79361
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
78066
79362
  you'll need to specify the \`/terminal-applications.write\` scope.`,
78067
- args: args127,
78068
- tool: async (client, args128, ctx) => {
78069
- const [result, apiCall] = await terminalApplicationsCreate(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
79363
+ args: args132,
79364
+ tool: async (client, args133, ctx) => {
79365
+ const [result, apiCall] = await terminalApplicationsCreate(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
78070
79366
  if (!result.ok) {
78071
79367
  return {
78072
79368
  content: [{ type: "text", text: result.error.message }],
@@ -78081,9 +79377,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
78081
79377
 
78082
79378
  // src/funcs/terminalApplicationsCreateVersion.ts
78083
79379
  function terminalApplicationsCreateVersion(client, request, options) {
78084
- return new APIPromise($do128(client, request, options));
79380
+ return new APIPromise($do133(client, request, options));
78085
79381
  }
78086
- async function $do128(client, request, options) {
79382
+ async function $do133(client, request, options) {
78087
79383
  const parsed = safeParse(request, (value) => CreateTerminalApplicationVersionRequest$outboundSchema.parse(value), "Input validation failed");
78088
79384
  if (!parsed.ok) {
78089
79385
  return [parsed, { status: "invalid" }];
@@ -78173,12 +79469,12 @@ var init_terminalApplicationsCreateVersion = __esm(() => {
78173
79469
  });
78174
79470
 
78175
79471
  // src/mcp-server/tools/terminalApplicationsCreateVersion.ts
78176
- var args128, tool$terminalApplicationsCreateVersion;
79472
+ var args133, tool$terminalApplicationsCreateVersion;
78177
79473
  var init_terminalApplicationsCreateVersion2 = __esm(() => {
78178
79474
  init_terminalApplicationsCreateVersion();
78179
79475
  init_operations();
78180
79476
  init_tools();
78181
- args128 = {
79477
+ args133 = {
78182
79478
  request: CreateTerminalApplicationVersionRequest$inboundSchema
78183
79479
  };
78184
79480
  tool$terminalApplicationsCreateVersion = {
@@ -78187,9 +79483,9 @@ var init_terminalApplicationsCreateVersion2 = __esm(() => {
78187
79483
 
78188
79484
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
78189
79485
  you'll need to specify the \`/terminal-applications.write\` scope.`,
78190
- args: args128,
78191
- tool: async (client, args129, ctx) => {
78192
- const [result, apiCall] = await terminalApplicationsCreateVersion(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
79486
+ args: args133,
79487
+ tool: async (client, args134, ctx) => {
79488
+ const [result, apiCall] = await terminalApplicationsCreateVersion(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
78193
79489
  if (!result.ok) {
78194
79490
  return {
78195
79491
  content: [{ type: "text", text: result.error.message }],
@@ -78204,9 +79500,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
78204
79500
 
78205
79501
  // src/funcs/terminalApplicationsDelete.ts
78206
79502
  function terminalApplicationsDelete(client, request, options) {
78207
- return new APIPromise($do129(client, request, options));
79503
+ return new APIPromise($do134(client, request, options));
78208
79504
  }
78209
- async function $do129(client, request, options) {
79505
+ async function $do134(client, request, options) {
78210
79506
  const parsed = safeParse(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
78211
79507
  if (!parsed.ok) {
78212
79508
  return [parsed, { status: "invalid" }];
@@ -78290,12 +79586,12 @@ var init_terminalApplicationsDelete = __esm(() => {
78290
79586
  });
78291
79587
 
78292
79588
  // src/mcp-server/tools/terminalApplicationsDelete.ts
78293
- var args129, tool$terminalApplicationsDelete;
79589
+ var args134, tool$terminalApplicationsDelete;
78294
79590
  var init_terminalApplicationsDelete2 = __esm(() => {
78295
79591
  init_terminalApplicationsDelete();
78296
79592
  init_operations();
78297
79593
  init_tools();
78298
- args129 = {
79594
+ args134 = {
78299
79595
  request: DeleteTerminalApplicationRequest$inboundSchema
78300
79596
  };
78301
79597
  tool$terminalApplicationsDelete = {
@@ -78304,9 +79600,9 @@ var init_terminalApplicationsDelete2 = __esm(() => {
78304
79600
 
78305
79601
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
78306
79602
  you'll need to specify the \`/terminal-applications.write\` scope.`,
78307
- args: args129,
78308
- tool: async (client, args130, ctx) => {
78309
- const [result, apiCall] = await terminalApplicationsDelete(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
79603
+ args: args134,
79604
+ tool: async (client, args135, ctx) => {
79605
+ const [result, apiCall] = await terminalApplicationsDelete(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
78310
79606
  if (!result.ok) {
78311
79607
  return {
78312
79608
  content: [{ type: "text", text: result.error.message }],
@@ -78320,9 +79616,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
78320
79616
 
78321
79617
  // src/funcs/terminalApplicationsGet.ts
78322
79618
  function terminalApplicationsGet(client, request, options) {
78323
- return new APIPromise($do130(client, request, options));
79619
+ return new APIPromise($do135(client, request, options));
78324
79620
  }
78325
- async function $do130(client, request, options) {
79621
+ async function $do135(client, request, options) {
78326
79622
  const parsed = safeParse(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
78327
79623
  if (!parsed.ok) {
78328
79624
  return [parsed, { status: "invalid" }];
@@ -78397,12 +79693,12 @@ var init_terminalApplicationsGet = __esm(() => {
78397
79693
  });
78398
79694
 
78399
79695
  // src/mcp-server/tools/terminalApplicationsGet.ts
78400
- var args130, tool$terminalApplicationsGet;
79696
+ var args135, tool$terminalApplicationsGet;
78401
79697
  var init_terminalApplicationsGet2 = __esm(() => {
78402
79698
  init_terminalApplicationsGet();
78403
79699
  init_operations();
78404
79700
  init_tools();
78405
- args130 = {
79701
+ args135 = {
78406
79702
  request: GetTerminalApplicationRequest$inboundSchema
78407
79703
  };
78408
79704
  tool$terminalApplicationsGet = {
@@ -78411,9 +79707,9 @@ var init_terminalApplicationsGet2 = __esm(() => {
78411
79707
 
78412
79708
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
78413
79709
  you'll need to specify the \`/terminal-applications.read\` scope.`,
78414
- args: args130,
78415
- tool: async (client, args131, ctx) => {
78416
- const [result, apiCall] = await terminalApplicationsGet(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
79710
+ args: args135,
79711
+ tool: async (client, args136, ctx) => {
79712
+ const [result, apiCall] = await terminalApplicationsGet(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
78417
79713
  if (!result.ok) {
78418
79714
  return {
78419
79715
  content: [{ type: "text", text: result.error.message }],
@@ -78428,9 +79724,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
78428
79724
 
78429
79725
  // src/funcs/terminalApplicationsList.ts
78430
79726
  function terminalApplicationsList(client, _request, options) {
78431
- return new APIPromise($do131(client, _request, options));
79727
+ return new APIPromise($do136(client, _request, options));
78432
79728
  }
78433
- async function $do131(client, _request, options) {
79729
+ async function $do136(client, _request, options) {
78434
79730
  const path = pathToFunc("/terminal-applications")();
78435
79731
  const headers = new Headers(compactMap({
78436
79732
  Accept: "application/json",
@@ -78494,12 +79790,12 @@ var init_terminalApplicationsList = __esm(() => {
78494
79790
  });
78495
79791
 
78496
79792
  // src/mcp-server/tools/terminalApplicationsList.ts
78497
- var args131, tool$terminalApplicationsList;
79793
+ var args136, tool$terminalApplicationsList;
78498
79794
  var init_terminalApplicationsList2 = __esm(() => {
78499
79795
  init_terminalApplicationsList();
78500
79796
  init_operations();
78501
79797
  init_tools();
78502
- args131 = {
79798
+ args136 = {
78503
79799
  request: ListTerminalApplicationsRequest$inboundSchema
78504
79800
  };
78505
79801
  tool$terminalApplicationsList = {
@@ -78508,9 +79804,9 @@ var init_terminalApplicationsList2 = __esm(() => {
78508
79804
 
78509
79805
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
78510
79806
  you'll need to specify the \`/terminal-applications.read\` scope.`,
78511
- args: args131,
78512
- tool: async (client, args132, ctx) => {
78513
- const [result, apiCall] = await terminalApplicationsList(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
79807
+ args: args136,
79808
+ tool: async (client, args137, ctx) => {
79809
+ const [result, apiCall] = await terminalApplicationsList(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
78514
79810
  if (!result.ok) {
78515
79811
  return {
78516
79812
  content: [{ type: "text", text: result.error.message }],
@@ -78525,9 +79821,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
78525
79821
 
78526
79822
  // src/funcs/transfersCreate.ts
78527
79823
  function transfersCreate(client, request, options) {
78528
- return new APIPromise($do132(client, request, options));
79824
+ return new APIPromise($do137(client, request, options));
78529
79825
  }
78530
- async function $do132(client, request, options) {
79826
+ async function $do137(client, request, options) {
78531
79827
  const parsed = safeParse(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
78532
79828
  if (!parsed.ok) {
78533
79829
  return [parsed, { status: "invalid" }];
@@ -78620,12 +79916,12 @@ var init_transfersCreate = __esm(() => {
78620
79916
  });
78621
79917
 
78622
79918
  // src/mcp-server/tools/transfersCreate.ts
78623
- var args132, tool$transfersCreate;
79919
+ var args137, tool$transfersCreate;
78624
79920
  var init_transfersCreate2 = __esm(() => {
78625
79921
  init_transfersCreate();
78626
79922
  init_operations();
78627
79923
  init_tools();
78628
- args132 = {
79924
+ args137 = {
78629
79925
  request: CreateTransferRequest$inboundSchema
78630
79926
  };
78631
79927
  tool$transfersCreate = {
@@ -78636,9 +79932,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
78636
79932
 
78637
79933
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
78638
79934
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
78639
- args: args132,
78640
- tool: async (client, args133, ctx) => {
78641
- const [result, apiCall] = await transfersCreate(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
79935
+ args: args137,
79936
+ tool: async (client, args138, ctx) => {
79937
+ const [result, apiCall] = await transfersCreate(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
78642
79938
  if (!result.ok) {
78643
79939
  return {
78644
79940
  content: [{ type: "text", text: result.error.message }],
@@ -78653,9 +79949,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
78653
79949
 
78654
79950
  // src/funcs/transfersCreateCancellation.ts
78655
79951
  function transfersCreateCancellation(client, request, options) {
78656
- return new APIPromise($do133(client, request, options));
79952
+ return new APIPromise($do138(client, request, options));
78657
79953
  }
78658
- async function $do133(client, request, options) {
79954
+ async function $do138(client, request, options) {
78659
79955
  const parsed = safeParse(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
78660
79956
  if (!parsed.ok) {
78661
79957
  return [parsed, { status: "invalid" }];
@@ -78738,12 +80034,12 @@ var init_transfersCreateCancellation = __esm(() => {
78738
80034
  });
78739
80035
 
78740
80036
  // src/mcp-server/tools/transfersCreateCancellation.ts
78741
- var args133, tool$transfersCreateCancellation;
80037
+ var args138, tool$transfersCreateCancellation;
78742
80038
  var init_transfersCreateCancellation2 = __esm(() => {
78743
80039
  init_transfersCreateCancellation();
78744
80040
  init_operations();
78745
80041
  init_tools();
78746
- args133 = {
80042
+ args138 = {
78747
80043
  request: CreateCancellationRequest$inboundSchema
78748
80044
  };
78749
80045
  tool$transfersCreateCancellation = {
@@ -78752,9 +80048,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
78752
80048
 
78753
80049
  To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
78754
80050
  to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
78755
- args: args133,
78756
- tool: async (client, args134, ctx) => {
78757
- const [result, apiCall] = await transfersCreateCancellation(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
80051
+ args: args138,
80052
+ tool: async (client, args139, ctx) => {
80053
+ const [result, apiCall] = await transfersCreateCancellation(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
78758
80054
  if (!result.ok) {
78759
80055
  return {
78760
80056
  content: [{ type: "text", text: result.error.message }],
@@ -78769,9 +80065,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
78769
80065
 
78770
80066
  // src/funcs/transfersCreateReversal.ts
78771
80067
  function transfersCreateReversal(client, request, options) {
78772
- return new APIPromise($do134(client, request, options));
80068
+ return new APIPromise($do139(client, request, options));
78773
80069
  }
78774
- async function $do134(client, request, options) {
80070
+ async function $do139(client, request, options) {
78775
80071
  const parsed = safeParse(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
78776
80072
  if (!parsed.ok) {
78777
80073
  return [parsed, { status: "invalid" }];
@@ -78870,12 +80166,12 @@ var init_transfersCreateReversal = __esm(() => {
78870
80166
  });
78871
80167
 
78872
80168
  // src/mcp-server/tools/transfersCreateReversal.ts
78873
- var args134, tool$transfersCreateReversal;
80169
+ var args139, tool$transfersCreateReversal;
78874
80170
  var init_transfersCreateReversal2 = __esm(() => {
78875
80171
  init_transfersCreateReversal();
78876
80172
  init_operations();
78877
80173
  init_tools();
78878
- args134 = {
80174
+ args139 = {
78879
80175
  request: CreateReversalRequest$inboundSchema
78880
80176
  };
78881
80177
  tool$transfersCreateReversal = {
@@ -78886,9 +80182,9 @@ to learn more.
78886
80182
 
78887
80183
  To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
78888
80184
  to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
78889
- args: args134,
78890
- tool: async (client, args135, ctx) => {
78891
- const [result, apiCall] = await transfersCreateReversal(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
80185
+ args: args139,
80186
+ tool: async (client, args140, ctx) => {
80187
+ const [result, apiCall] = await transfersCreateReversal(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
78892
80188
  if (!result.ok) {
78893
80189
  return {
78894
80190
  content: [{ type: "text", text: result.error.message }],
@@ -78903,9 +80199,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
78903
80199
 
78904
80200
  // src/funcs/transfersGenerateOptions.ts
78905
80201
  function transfersGenerateOptions(client, request, options) {
78906
- return new APIPromise($do135(client, request, options));
80202
+ return new APIPromise($do140(client, request, options));
78907
80203
  }
78908
- async function $do135(client, request, options) {
80204
+ async function $do140(client, request, options) {
78909
80205
  const parsed = safeParse(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
78910
80206
  if (!parsed.ok) {
78911
80207
  return [parsed, { status: "invalid" }];
@@ -78989,12 +80285,12 @@ var init_transfersGenerateOptions = __esm(() => {
78989
80285
  });
78990
80286
 
78991
80287
  // src/mcp-server/tools/transfersGenerateOptions.ts
78992
- var args135, tool$transfersGenerateOptions;
80288
+ var args140, tool$transfersGenerateOptions;
78993
80289
  var init_transfersGenerateOptions2 = __esm(() => {
78994
80290
  init_transfersGenerateOptions();
78995
80291
  init_operations();
78996
80292
  init_tools();
78997
- args135 = {
80293
+ args140 = {
78998
80294
  request: CreateTransferOptionsRequest$inboundSchema
78999
80295
  };
79000
80296
  tool$transfersGenerateOptions = {
@@ -79008,9 +80304,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
79008
80304
 
79009
80305
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
79010
80306
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
79011
- args: args135,
79012
- tool: async (client, args136, ctx) => {
79013
- const [result, apiCall] = await transfersGenerateOptions(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
80307
+ args: args140,
80308
+ tool: async (client, args141, ctx) => {
80309
+ const [result, apiCall] = await transfersGenerateOptions(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
79014
80310
  if (!result.ok) {
79015
80311
  return {
79016
80312
  content: [{ type: "text", text: result.error.message }],
@@ -79025,9 +80321,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
79025
80321
 
79026
80322
  // src/funcs/transfersGet.ts
79027
80323
  function transfersGet(client, request, options) {
79028
- return new APIPromise($do136(client, request, options));
80324
+ return new APIPromise($do141(client, request, options));
79029
80325
  }
79030
- async function $do136(client, request, options) {
80326
+ async function $do141(client, request, options) {
79031
80327
  const parsed = safeParse(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
79032
80328
  if (!parsed.ok) {
79033
80329
  return [parsed, { status: "invalid" }];
@@ -79109,12 +80405,12 @@ var init_transfersGet = __esm(() => {
79109
80405
  });
79110
80406
 
79111
80407
  // src/mcp-server/tools/transfersGet.ts
79112
- var args136, tool$transfersGet;
80408
+ var args141, tool$transfersGet;
79113
80409
  var init_transfersGet2 = __esm(() => {
79114
80410
  init_transfersGet();
79115
80411
  init_operations();
79116
80412
  init_tools();
79117
- args136 = {
80413
+ args141 = {
79118
80414
  request: GetTransferRequest$inboundSchema
79119
80415
  };
79120
80416
  tool$transfersGet = {
@@ -79126,9 +80422,9 @@ to learn more.
79126
80422
 
79127
80423
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
79128
80424
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
79129
- args: args136,
79130
- tool: async (client, args137, ctx) => {
79131
- const [result, apiCall] = await transfersGet(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
80425
+ args: args141,
80426
+ tool: async (client, args142, ctx) => {
80427
+ const [result, apiCall] = await transfersGet(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
79132
80428
  if (!result.ok) {
79133
80429
  return {
79134
80430
  content: [{ type: "text", text: result.error.message }],
@@ -79143,9 +80439,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
79143
80439
 
79144
80440
  // src/funcs/transfersGetCancellation.ts
79145
80441
  function transfersGetCancellation(client, request, options) {
79146
- return new APIPromise($do137(client, request, options));
80442
+ return new APIPromise($do142(client, request, options));
79147
80443
  }
79148
- async function $do137(client, request, options) {
80444
+ async function $do142(client, request, options) {
79149
80445
  const parsed = safeParse(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
79150
80446
  if (!parsed.ok) {
79151
80447
  return [parsed, { status: "invalid" }];
@@ -79231,12 +80527,12 @@ var init_transfersGetCancellation = __esm(() => {
79231
80527
  });
79232
80528
 
79233
80529
  // src/mcp-server/tools/transfersGetCancellation.ts
79234
- var args137, tool$transfersGetCancellation;
80530
+ var args142, tool$transfersGetCancellation;
79235
80531
  var init_transfersGetCancellation2 = __esm(() => {
79236
80532
  init_transfersGetCancellation();
79237
80533
  init_operations();
79238
80534
  init_tools();
79239
- args137 = {
80535
+ args142 = {
79240
80536
  request: GetCancellationRequest$inboundSchema
79241
80537
  };
79242
80538
  tool$transfersGetCancellation = {
@@ -79245,9 +80541,9 @@ var init_transfersGetCancellation2 = __esm(() => {
79245
80541
 
79246
80542
  To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
79247
80543
  to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
79248
- args: args137,
79249
- tool: async (client, args138, ctx) => {
79250
- const [result, apiCall] = await transfersGetCancellation(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
80544
+ args: args142,
80545
+ tool: async (client, args143, ctx) => {
80546
+ const [result, apiCall] = await transfersGetCancellation(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
79251
80547
  if (!result.ok) {
79252
80548
  return {
79253
80549
  content: [{ type: "text", text: result.error.message }],
@@ -79262,9 +80558,9 @@ var init_transfersGetCancellation2 = __esm(() => {
79262
80558
 
79263
80559
  // src/funcs/transfersGetRefund.ts
79264
80560
  function transfersGetRefund(client, request, options) {
79265
- return new APIPromise($do138(client, request, options));
80561
+ return new APIPromise($do143(client, request, options));
79266
80562
  }
79267
- async function $do138(client, request, options) {
80563
+ async function $do143(client, request, options) {
79268
80564
  const parsed = safeParse(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
79269
80565
  if (!parsed.ok) {
79270
80566
  return [parsed, { status: "invalid" }];
@@ -79350,12 +80646,12 @@ var init_transfersGetRefund = __esm(() => {
79350
80646
  });
79351
80647
 
79352
80648
  // src/mcp-server/tools/transfersGetRefund.ts
79353
- var args138, tool$transfersGetRefund;
80649
+ var args143, tool$transfersGetRefund;
79354
80650
  var init_transfersGetRefund2 = __esm(() => {
79355
80651
  init_transfersGetRefund();
79356
80652
  init_operations();
79357
80653
  init_tools();
79358
- args138 = {
80654
+ args143 = {
79359
80655
  request: GetRefundRequest$inboundSchema
79360
80656
  };
79361
80657
  tool$transfersGetRefund = {
@@ -79364,9 +80660,9 @@ var init_transfersGetRefund2 = __esm(() => {
79364
80660
 
79365
80661
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
79366
80662
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
79367
- args: args138,
79368
- tool: async (client, args139, ctx) => {
79369
- const [result, apiCall] = await transfersGetRefund(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
80663
+ args: args143,
80664
+ tool: async (client, args144, ctx) => {
80665
+ const [result, apiCall] = await transfersGetRefund(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
79370
80666
  if (!result.ok) {
79371
80667
  return {
79372
80668
  content: [{ type: "text", text: result.error.message }],
@@ -79381,9 +80677,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
79381
80677
 
79382
80678
  // src/funcs/transfersInitiateRefund.ts
79383
80679
  function transfersInitiateRefund(client, request, options) {
79384
- return new APIPromise($do139(client, request, options));
80680
+ return new APIPromise($do144(client, request, options));
79385
80681
  }
79386
- async function $do139(client, request, options) {
80682
+ async function $do144(client, request, options) {
79387
80683
  const parsed = safeParse(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
79388
80684
  if (!parsed.ok) {
79389
80685
  return [parsed, { status: "invalid" }];
@@ -79475,12 +80771,12 @@ var init_transfersInitiateRefund = __esm(() => {
79475
80771
  });
79476
80772
 
79477
80773
  // src/mcp-server/tools/transfersInitiateRefund.ts
79478
- var args139, tool$transfersInitiateRefund;
80774
+ var args144, tool$transfersInitiateRefund;
79479
80775
  var init_transfersInitiateRefund2 = __esm(() => {
79480
80776
  init_transfersInitiateRefund();
79481
80777
  init_operations();
79482
80778
  init_tools();
79483
- args139 = {
80779
+ args144 = {
79484
80780
  request: InitiateRefundRequest$inboundSchema
79485
80781
  };
79486
80782
  tool$transfersInitiateRefund = {
@@ -79492,9 +80788,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
79492
80788
 
79493
80789
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
79494
80790
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
79495
- args: args139,
79496
- tool: async (client, args140, ctx) => {
79497
- const [result, apiCall] = await transfersInitiateRefund(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
80791
+ args: args144,
80792
+ tool: async (client, args145, ctx) => {
80793
+ const [result, apiCall] = await transfersInitiateRefund(client, args145.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
79498
80794
  if (!result.ok) {
79499
80795
  return {
79500
80796
  content: [{ type: "text", text: result.error.message }],
@@ -79509,9 +80805,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
79509
80805
 
79510
80806
  // src/funcs/transfersList.ts
79511
80807
  function transfersList(client, request, options) {
79512
- return new APIPromise($do140(client, request, options));
80808
+ return new APIPromise($do145(client, request, options));
79513
80809
  }
79514
- async function $do140(client, request, options) {
80810
+ async function $do145(client, request, options) {
79515
80811
  const parsed = safeParse(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
79516
80812
  if (!parsed.ok) {
79517
80813
  return [parsed, { status: "invalid" }];
@@ -79607,12 +80903,12 @@ var init_transfersList = __esm(() => {
79607
80903
  });
79608
80904
 
79609
80905
  // src/mcp-server/tools/transfersList.ts
79610
- var args140, tool$transfersList;
80906
+ var args145, tool$transfersList;
79611
80907
  var init_transfersList2 = __esm(() => {
79612
80908
  init_transfersList();
79613
80909
  init_operations();
79614
80910
  init_tools();
79615
- args140 = {
80911
+ args145 = {
79616
80912
  request: ListTransfersRequest$inboundSchema
79617
80913
  };
79618
80914
  tool$transfersList = {
@@ -79628,9 +80924,9 @@ period of time. You can run multiple requests in smaller time window increments
79628
80924
 
79629
80925
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
79630
80926
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
79631
- args: args140,
79632
- tool: async (client, args141, ctx) => {
79633
- const [result, apiCall] = await transfersList(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
80927
+ args: args145,
80928
+ tool: async (client, args146, ctx) => {
80929
+ const [result, apiCall] = await transfersList(client, args146.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
79634
80930
  if (!result.ok) {
79635
80931
  return {
79636
80932
  content: [{ type: "text", text: result.error.message }],
@@ -79645,9 +80941,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
79645
80941
 
79646
80942
  // src/funcs/transfersListRefunds.ts
79647
80943
  function transfersListRefunds(client, request, options) {
79648
- return new APIPromise($do141(client, request, options));
80944
+ return new APIPromise($do146(client, request, options));
79649
80945
  }
79650
- async function $do141(client, request, options) {
80946
+ async function $do146(client, request, options) {
79651
80947
  const parsed = safeParse(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
79652
80948
  if (!parsed.ok) {
79653
80949
  return [parsed, { status: "invalid" }];
@@ -79729,12 +81025,12 @@ var init_transfersListRefunds = __esm(() => {
79729
81025
  });
79730
81026
 
79731
81027
  // src/mcp-server/tools/transfersListRefunds.ts
79732
- var args141, tool$transfersListRefunds;
81028
+ var args146, tool$transfersListRefunds;
79733
81029
  var init_transfersListRefunds2 = __esm(() => {
79734
81030
  init_transfersListRefunds();
79735
81031
  init_operations();
79736
81032
  init_tools();
79737
- args141 = {
81033
+ args146 = {
79738
81034
  request: ListRefundsRequest$inboundSchema
79739
81035
  };
79740
81036
  tool$transfersListRefunds = {
@@ -79743,9 +81039,9 @@ var init_transfersListRefunds2 = __esm(() => {
79743
81039
 
79744
81040
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
79745
81041
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
79746
- args: args141,
79747
- tool: async (client, args142, ctx) => {
79748
- const [result, apiCall] = await transfersListRefunds(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
81042
+ args: args146,
81043
+ tool: async (client, args147, ctx) => {
81044
+ const [result, apiCall] = await transfersListRefunds(client, args147.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
79749
81045
  if (!result.ok) {
79750
81046
  return {
79751
81047
  content: [{ type: "text", text: result.error.message }],
@@ -79760,9 +81056,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
79760
81056
 
79761
81057
  // src/funcs/transfersUpdate.ts
79762
81058
  function transfersUpdate(client, request, options) {
79763
- return new APIPromise($do142(client, request, options));
81059
+ return new APIPromise($do147(client, request, options));
79764
81060
  }
79765
- async function $do142(client, request, options) {
81061
+ async function $do147(client, request, options) {
79766
81062
  const parsed = safeParse(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
79767
81063
  if (!parsed.ok) {
79768
81064
  return [parsed, { status: "invalid" }];
@@ -79848,12 +81144,12 @@ var init_transfersUpdate = __esm(() => {
79848
81144
  });
79849
81145
 
79850
81146
  // src/mcp-server/tools/transfersUpdate.ts
79851
- var args142, tool$transfersUpdate;
81147
+ var args147, tool$transfersUpdate;
79852
81148
  var init_transfersUpdate2 = __esm(() => {
79853
81149
  init_transfersUpdate();
79854
81150
  init_operations();
79855
81151
  init_tools();
79856
- args142 = {
81152
+ args147 = {
79857
81153
  request: UpdateTransferRequest$inboundSchema
79858
81154
  };
79859
81155
  tool$transfersUpdate = {
@@ -79864,9 +81160,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
79864
81160
 
79865
81161
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
79866
81162
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
79867
- args: args142,
79868
- tool: async (client, args143, ctx) => {
79869
- const [result, apiCall] = await transfersUpdate(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
81163
+ args: args147,
81164
+ tool: async (client, args148, ctx) => {
81165
+ const [result, apiCall] = await transfersUpdate(client, args148.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
79870
81166
  if (!result.ok) {
79871
81167
  return {
79872
81168
  content: [{ type: "text", text: result.error.message }],
@@ -79881,9 +81177,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
79881
81177
 
79882
81178
  // src/funcs/underwritingGet.ts
79883
81179
  function underwritingGet(client, request, options) {
79884
- return new APIPromise($do143(client, request, options));
81180
+ return new APIPromise($do148(client, request, options));
79885
81181
  }
79886
- async function $do143(client, request, options) {
81182
+ async function $do148(client, request, options) {
79887
81183
  const parsed = safeParse(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
79888
81184
  if (!parsed.ok) {
79889
81185
  return [parsed, { status: "invalid" }];
@@ -79961,12 +81257,12 @@ var init_underwritingGet = __esm(() => {
79961
81257
  });
79962
81258
 
79963
81259
  // src/mcp-server/tools/underwritingGet.ts
79964
- var args143, tool$underwritingGet;
81260
+ var args148, tool$underwritingGet;
79965
81261
  var init_underwritingGet2 = __esm(() => {
79966
81262
  init_underwritingGet();
79967
81263
  init_operations();
79968
81264
  init_tools();
79969
- args143 = {
81265
+ args148 = {
79970
81266
  request: GetUnderwritingRequest$inboundSchema
79971
81267
  };
79972
81268
  tool$underwritingGet = {
@@ -79977,9 +81273,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
79977
81273
 
79978
81274
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
79979
81275
  you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
79980
- args: args143,
79981
- tool: async (client, args144, ctx) => {
79982
- const [result, apiCall] = await underwritingGet(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
81276
+ args: args148,
81277
+ tool: async (client, args149, ctx) => {
81278
+ const [result, apiCall] = await underwritingGet(client, args149.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
79983
81279
  if (!result.ok) {
79984
81280
  return {
79985
81281
  content: [{ type: "text", text: result.error.message }],
@@ -79994,9 +81290,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
79994
81290
 
79995
81291
  // src/funcs/underwritingSave.ts
79996
81292
  function underwritingSave(client, request, options) {
79997
- return new APIPromise($do144(client, request, options));
81293
+ return new APIPromise($do149(client, request, options));
79998
81294
  }
79999
- async function $do144(client, request, options) {
81295
+ async function $do149(client, request, options) {
80000
81296
  const parsed = safeParse(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
80001
81297
  if (!parsed.ok) {
80002
81298
  return [parsed, { status: "invalid" }];
@@ -80092,12 +81388,12 @@ var init_underwritingSave = __esm(() => {
80092
81388
  });
80093
81389
 
80094
81390
  // src/mcp-server/tools/underwritingSave.ts
80095
- var args144, tool$underwritingSave;
81391
+ var args149, tool$underwritingSave;
80096
81392
  var init_underwritingSave2 = __esm(() => {
80097
81393
  init_underwritingSave();
80098
81394
  init_operations();
80099
81395
  init_tools();
80100
- args144 = {
81396
+ args149 = {
80101
81397
  request: SaveUnderwritingRequest$inboundSchema
80102
81398
  };
80103
81399
  tool$underwritingSave = {
@@ -80108,9 +81404,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
80108
81404
 
80109
81405
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
80110
81406
  you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
80111
- args: args144,
80112
- tool: async (client, args145, ctx) => {
80113
- const [result, apiCall] = await underwritingSave(client, args145.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
81407
+ args: args149,
81408
+ tool: async (client, args150, ctx) => {
81409
+ const [result, apiCall] = await underwritingSave(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
80114
81410
  if (!result.ok) {
80115
81411
  return {
80116
81412
  content: [{ type: "text", text: result.error.message }],
@@ -80125,9 +81421,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
80125
81421
 
80126
81422
  // src/funcs/underwritingUpsert.ts
80127
81423
  function underwritingUpsert(client, request, options) {
80128
- return new APIPromise($do145(client, request, options));
81424
+ return new APIPromise($do150(client, request, options));
80129
81425
  }
80130
- async function $do145(client, request, options) {
81426
+ async function $do150(client, request, options) {
80131
81427
  const parsed = safeParse(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
80132
81428
  if (!parsed.ok) {
80133
81429
  return [parsed, { status: "invalid" }];
@@ -80223,12 +81519,12 @@ var init_underwritingUpsert = __esm(() => {
80223
81519
  });
80224
81520
 
80225
81521
  // src/mcp-server/tools/underwritingUpsert.ts
80226
- var args145, tool$underwritingUpsert;
81522
+ var args150, tool$underwritingUpsert;
80227
81523
  var init_underwritingUpsert2 = __esm(() => {
80228
81524
  init_underwritingUpsert();
80229
81525
  init_operations();
80230
81526
  init_tools();
80231
- args145 = {
81527
+ args150 = {
80232
81528
  request: UpsertUnderwritingRequest$inboundSchema
80233
81529
  };
80234
81530
  tool$underwritingUpsert = {
@@ -80239,9 +81535,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
80239
81535
 
80240
81536
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
80241
81537
  you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
80242
- args: args145,
80243
- tool: async (client, args146, ctx) => {
80244
- const [result, apiCall] = await underwritingUpsert(client, args146.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
81538
+ args: args150,
81539
+ tool: async (client, args151, ctx) => {
81540
+ const [result, apiCall] = await underwritingUpsert(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
80245
81541
  if (!result.ok) {
80246
81542
  return {
80247
81543
  content: [{ type: "text", text: result.error.message }],
@@ -80256,9 +81552,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
80256
81552
 
80257
81553
  // src/funcs/walletsCreate.ts
80258
81554
  function walletsCreate(client, request, options) {
80259
- return new APIPromise($do146(client, request, options));
81555
+ return new APIPromise($do151(client, request, options));
80260
81556
  }
80261
- async function $do146(client, request, options) {
81557
+ async function $do151(client, request, options) {
80262
81558
  const parsed = safeParse(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
80263
81559
  if (!parsed.ok) {
80264
81560
  return [parsed, { status: "invalid" }];
@@ -80352,12 +81648,12 @@ var init_walletsCreate = __esm(() => {
80352
81648
  });
80353
81649
 
80354
81650
  // src/mcp-server/tools/walletsCreate.ts
80355
- var args146, tool$walletsCreate;
81651
+ var args151, tool$walletsCreate;
80356
81652
  var init_walletsCreate2 = __esm(() => {
80357
81653
  init_walletsCreate();
80358
81654
  init_operations();
80359
81655
  init_tools();
80360
- args146 = {
81656
+ args151 = {
80361
81657
  request: CreateWalletRequest$inboundSchema
80362
81658
  };
80363
81659
  tool$walletsCreate = {
@@ -80368,9 +81664,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
80368
81664
 
80369
81665
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
80370
81666
  you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
80371
- args: args146,
80372
- tool: async (client, args147, ctx) => {
80373
- const [result, apiCall] = await walletsCreate(client, args147.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
81667
+ args: args151,
81668
+ tool: async (client, args152, ctx) => {
81669
+ const [result, apiCall] = await walletsCreate(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
80374
81670
  if (!result.ok) {
80375
81671
  return {
80376
81672
  content: [{ type: "text", text: result.error.message }],
@@ -80385,9 +81681,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
80385
81681
 
80386
81682
  // src/funcs/walletsGet.ts
80387
81683
  function walletsGet(client, request, options) {
80388
- return new APIPromise($do147(client, request, options));
81684
+ return new APIPromise($do152(client, request, options));
80389
81685
  }
80390
- async function $do147(client, request, options) {
81686
+ async function $do152(client, request, options) {
80391
81687
  const parsed = safeParse(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
80392
81688
  if (!parsed.ok) {
80393
81689
  return [parsed, { status: "invalid" }];
@@ -80469,12 +81765,12 @@ var init_walletsGet = __esm(() => {
80469
81765
  });
80470
81766
 
80471
81767
  // src/mcp-server/tools/walletsGet.ts
80472
- var args147, tool$walletsGet;
81768
+ var args152, tool$walletsGet;
80473
81769
  var init_walletsGet2 = __esm(() => {
80474
81770
  init_walletsGet();
80475
81771
  init_operations();
80476
81772
  init_tools();
80477
- args147 = {
81773
+ args152 = {
80478
81774
  request: GetWalletRequest$inboundSchema
80479
81775
  };
80480
81776
  tool$walletsGet = {
@@ -80485,9 +81781,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
80485
81781
 
80486
81782
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
80487
81783
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
80488
- args: args147,
80489
- tool: async (client, args148, ctx) => {
80490
- const [result, apiCall] = await walletsGet(client, args148.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
81784
+ args: args152,
81785
+ tool: async (client, args153, ctx) => {
81786
+ const [result, apiCall] = await walletsGet(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
80491
81787
  if (!result.ok) {
80492
81788
  return {
80493
81789
  content: [{ type: "text", text: result.error.message }],
@@ -80502,9 +81798,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
80502
81798
 
80503
81799
  // src/funcs/walletsList.ts
80504
81800
  function walletsList(client, request, options) {
80505
- return new APIPromise($do148(client, request, options));
81801
+ return new APIPromise($do153(client, request, options));
80506
81802
  }
80507
- async function $do148(client, request, options) {
81803
+ async function $do153(client, request, options) {
80508
81804
  const parsed = safeParse(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
80509
81805
  if (!parsed.ok) {
80510
81806
  return [parsed, { status: "invalid" }];
@@ -80592,12 +81888,12 @@ var init_walletsList = __esm(() => {
80592
81888
  });
80593
81889
 
80594
81890
  // src/mcp-server/tools/walletsList.ts
80595
- var args148, tool$walletsList;
81891
+ var args153, tool$walletsList;
80596
81892
  var init_walletsList2 = __esm(() => {
80597
81893
  init_walletsList();
80598
81894
  init_operations();
80599
81895
  init_tools();
80600
- args148 = {
81896
+ args153 = {
80601
81897
  request: ListWalletsRequest$inboundSchema
80602
81898
  };
80603
81899
  tool$walletsList = {
@@ -80608,9 +81904,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
80608
81904
 
80609
81905
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
80610
81906
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
80611
- args: args148,
80612
- tool: async (client, args149, ctx) => {
80613
- const [result, apiCall] = await walletsList(client, args149.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
81907
+ args: args153,
81908
+ tool: async (client, args154, ctx) => {
81909
+ const [result, apiCall] = await walletsList(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
80614
81910
  if (!result.ok) {
80615
81911
  return {
80616
81912
  content: [{ type: "text", text: result.error.message }],
@@ -80625,9 +81921,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
80625
81921
 
80626
81922
  // src/funcs/walletsUpdate.ts
80627
81923
  function walletsUpdate(client, request, options) {
80628
- return new APIPromise($do149(client, request, options));
81924
+ return new APIPromise($do154(client, request, options));
80629
81925
  }
80630
- async function $do149(client, request, options) {
81926
+ async function $do154(client, request, options) {
80631
81927
  const parsed = safeParse(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
80632
81928
  if (!parsed.ok) {
80633
81929
  return [parsed, { status: "invalid" }];
@@ -80725,12 +82021,12 @@ var init_walletsUpdate = __esm(() => {
80725
82021
  });
80726
82022
 
80727
82023
  // src/mcp-server/tools/walletsUpdate.ts
80728
- var args149, tool$walletsUpdate;
82024
+ var args154, tool$walletsUpdate;
80729
82025
  var init_walletsUpdate2 = __esm(() => {
80730
82026
  init_walletsUpdate();
80731
82027
  init_operations();
80732
82028
  init_tools();
80733
- args149 = {
82029
+ args154 = {
80734
82030
  request: UpdateWalletRequest$inboundSchema
80735
82031
  };
80736
82032
  tool$walletsUpdate = {
@@ -80741,9 +82037,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
80741
82037
 
80742
82038
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
80743
82039
  you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
80744
- args: args149,
80745
- tool: async (client, args150, ctx) => {
80746
- const [result, apiCall] = await walletsUpdate(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
82040
+ args: args154,
82041
+ tool: async (client, args155, ctx) => {
82042
+ const [result, apiCall] = await walletsUpdate(client, args155.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
80747
82043
  if (!result.ok) {
80748
82044
  return {
80749
82045
  content: [{ type: "text", text: result.error.message }],
@@ -80758,9 +82054,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
80758
82054
 
80759
82055
  // src/funcs/walletTransactionsGet.ts
80760
82056
  function walletTransactionsGet(client, request, options) {
80761
- return new APIPromise($do150(client, request, options));
82057
+ return new APIPromise($do155(client, request, options));
80762
82058
  }
80763
- async function $do150(client, request, options) {
82059
+ async function $do155(client, request, options) {
80764
82060
  const parsed = safeParse(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
80765
82061
  if (!parsed.ok) {
80766
82062
  return [parsed, { status: "invalid" }];
@@ -80846,12 +82142,12 @@ var init_walletTransactionsGet = __esm(() => {
80846
82142
  });
80847
82143
 
80848
82144
  // src/mcp-server/tools/walletTransactionsGet.ts
80849
- var args150, tool$walletTransactionsGet;
82145
+ var args155, tool$walletTransactionsGet;
80850
82146
  var init_walletTransactionsGet2 = __esm(() => {
80851
82147
  init_walletTransactionsGet();
80852
82148
  init_operations();
80853
82149
  init_tools();
80854
- args150 = {
82150
+ args155 = {
80855
82151
  request: GetWalletTransactionRequest$inboundSchema
80856
82152
  };
80857
82153
  tool$walletTransactionsGet = {
@@ -80862,9 +82158,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
80862
82158
 
80863
82159
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
80864
82160
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
80865
- args: args150,
80866
- tool: async (client, args151, ctx) => {
80867
- const [result, apiCall] = await walletTransactionsGet(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
82161
+ args: args155,
82162
+ tool: async (client, args156, ctx) => {
82163
+ const [result, apiCall] = await walletTransactionsGet(client, args156.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
80868
82164
  if (!result.ok) {
80869
82165
  return {
80870
82166
  content: [{ type: "text", text: result.error.message }],
@@ -80879,9 +82175,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
80879
82175
 
80880
82176
  // src/funcs/walletTransactionsList.ts
80881
82177
  function walletTransactionsList(client, request, options) {
80882
- return new APIPromise($do151(client, request, options));
82178
+ return new APIPromise($do156(client, request, options));
80883
82179
  }
80884
- async function $do151(client, request, options) {
82180
+ async function $do156(client, request, options) {
80885
82181
  const parsed = safeParse(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
80886
82182
  if (!parsed.ok) {
80887
82183
  return [parsed, { status: "invalid" }];
@@ -80981,12 +82277,12 @@ var init_walletTransactionsList = __esm(() => {
80981
82277
  });
80982
82278
 
80983
82279
  // src/mcp-server/tools/walletTransactionsList.ts
80984
- var args151, tool$walletTransactionsList;
82280
+ var args156, tool$walletTransactionsList;
80985
82281
  var init_walletTransactionsList2 = __esm(() => {
80986
82282
  init_walletTransactionsList();
80987
82283
  init_operations();
80988
82284
  init_tools();
80989
- args151 = {
82285
+ args156 = {
80990
82286
  request: ListWalletTransactionsRequest$inboundSchema
80991
82287
  };
80992
82288
  tool$walletTransactionsList = {
@@ -80997,9 +82293,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
80997
82293
 
80998
82294
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
80999
82295
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
81000
- args: args151,
81001
- tool: async (client, args152, ctx) => {
81002
- const [result, apiCall] = await walletTransactionsList(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
82296
+ args: args156,
82297
+ tool: async (client, args157, ctx) => {
82298
+ const [result, apiCall] = await walletTransactionsList(client, args157.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
81003
82299
  if (!result.ok) {
81004
82300
  return {
81005
82301
  content: [{ type: "text", text: result.error.message }],
@@ -81016,7 +82312,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
81016
82312
  function createMCPServer(deps) {
81017
82313
  const server = new McpServer({
81018
82314
  name: "Moov",
81019
- version: "0.16.3"
82315
+ version: "0.16.5"
81020
82316
  });
81021
82317
  const client = new MoovCore({
81022
82318
  security: deps.security,
@@ -81102,6 +82398,11 @@ function createMCPServer(deps) {
81102
82398
  tool(tool$paymentLinksGetQRCode);
81103
82399
  tool(tool$paymentMethodsList);
81104
82400
  tool(tool$paymentMethodsGet);
82401
+ tool(tool$productsList);
82402
+ tool(tool$productsCreate);
82403
+ tool(tool$productsGet);
82404
+ tool(tool$productsUpdate);
82405
+ tool(tool$productsDisable);
81105
82406
  tool(tool$representativesCreate);
81106
82407
  tool(tool$representativesList);
81107
82408
  tool(tool$representativesDelete);
@@ -81289,6 +82590,11 @@ var init_server2 = __esm(() => {
81289
82590
  init_paymentMethodsGet2();
81290
82591
  init_paymentMethodsList2();
81291
82592
  init_pingPing2();
82593
+ init_productsCreate2();
82594
+ init_productsDisable2();
82595
+ init_productsGet2();
82596
+ init_productsList2();
82597
+ init_productsUpdate2();
81292
82598
  init_receiptsCreate2();
81293
82599
  init_receiptsList2();
81294
82600
  init_representativesCreate2();
@@ -82542,7 +83848,7 @@ var routes = rn({
82542
83848
  var app = Ve(routes, {
82543
83849
  name: "mcp",
82544
83850
  versionInfo: {
82545
- currentVersion: "0.16.3"
83851
+ currentVersion: "0.16.5"
82546
83852
  }
82547
83853
  });
82548
83854
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -82550,5 +83856,5 @@ export {
82550
83856
  app
82551
83857
  };
82552
83858
 
82553
- //# debugId=B9A557D9803F5A9664756E2164756E21
83859
+ //# debugId=FB9192464406F64164756E2164756E21
82554
83860
  //# sourceMappingURL=mcp-server.js.map