@moovio/sdk 26.7.0-dev.5 → 26.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (182) hide show
  1. package/README.md +121 -59
  2. package/bin/mcp-server.js +520 -187
  3. package/bin/mcp-server.js.map +38 -28
  4. package/funcs/avatarsDelete.d.ts +23 -0
  5. package/funcs/avatarsDelete.d.ts.map +1 -0
  6. package/funcs/avatarsDelete.js +135 -0
  7. package/funcs/avatarsDelete.js.map +1 -0
  8. package/funcs/avatarsUpload.d.ts +23 -0
  9. package/funcs/avatarsUpload.d.ts.map +1 -0
  10. package/funcs/avatarsUpload.js +155 -0
  11. package/funcs/avatarsUpload.js.map +1 -0
  12. package/funcs/productsList.js +1 -0
  13. package/funcs/productsList.js.map +1 -1
  14. package/funcs/productsListCategories.d.ts +14 -0
  15. package/funcs/productsListCategories.d.ts.map +1 -0
  16. package/funcs/productsListCategories.js +107 -0
  17. package/funcs/productsListCategories.js.map +1 -0
  18. package/hooks/oauth2scopes.d.ts +5 -0
  19. package/hooks/oauth2scopes.d.ts.map +1 -0
  20. package/hooks/oauth2scopes.js +6 -0
  21. package/hooks/oauth2scopes.js.map +1 -0
  22. package/jsr.json +1 -1
  23. package/lib/config.d.ts +3 -3
  24. package/lib/config.d.ts.map +1 -1
  25. package/lib/config.js +3 -3
  26. package/lib/config.js.map +1 -1
  27. package/lib/http.d.ts +1 -1
  28. package/lib/http.d.ts.map +1 -1
  29. package/lib/http.js +1 -1
  30. package/lib/http.js.map +1 -1
  31. package/lib/security.d.ts +5 -4
  32. package/lib/security.d.ts.map +1 -1
  33. package/lib/security.js +6 -7
  34. package/lib/security.js.map +1 -1
  35. package/mcp-server/mcp-server.js +1 -1
  36. package/mcp-server/mcp-server.js.map +1 -1
  37. package/mcp-server/server.d.ts.map +1 -1
  38. package/mcp-server/server.js +3 -1
  39. package/mcp-server/server.js.map +1 -1
  40. package/mcp-server/tools/productsListCategories.d.ts +3 -0
  41. package/mcp-server/tools/productsListCategories.d.ts.map +1 -0
  42. package/mcp-server/tools/productsListCategories.js +24 -0
  43. package/mcp-server/tools/productsListCategories.js.map +1 -0
  44. package/models/components/avataruploadrequest.d.ts +35 -0
  45. package/models/components/avataruploadrequest.d.ts.map +1 -0
  46. package/models/components/avataruploadrequest.js +88 -0
  47. package/models/components/avataruploadrequest.js.map +1 -0
  48. package/models/components/capabilityid.d.ts +1 -0
  49. package/models/components/capabilityid.d.ts.map +1 -1
  50. package/models/components/capabilityid.js +1 -0
  51. package/models/components/capabilityid.js.map +1 -1
  52. package/models/components/cardbrandfees.d.ts +5 -0
  53. package/models/components/cardbrandfees.d.ts.map +1 -1
  54. package/models/components/cardbrandfees.js +2 -0
  55. package/models/components/cardbrandfees.js.map +1 -1
  56. package/models/components/createtransfer.d.ts +6 -0
  57. package/models/components/createtransfer.d.ts.map +1 -1
  58. package/models/components/createtransfer.js +3 -0
  59. package/models/components/createtransfer.js.map +1 -1
  60. package/models/components/feepaidby.d.ts +18 -0
  61. package/models/components/feepaidby.d.ts.map +1 -0
  62. package/models/components/feepaidby.js +52 -0
  63. package/models/components/feepaidby.js.map +1 -0
  64. package/models/components/filedetails.d.ts +1 -1
  65. package/models/components/filepurpose.d.ts +2 -2
  66. package/models/components/filepurpose.js +1 -1
  67. package/models/components/incurredfee.d.ts +6 -0
  68. package/models/components/incurredfee.d.ts.map +1 -1
  69. package/models/components/incurredfee.js +3 -0
  70. package/models/components/incurredfee.js.map +1 -1
  71. package/models/components/index.d.ts +5 -0
  72. package/models/components/index.d.ts.map +1 -1
  73. package/models/components/index.js +5 -0
  74. package/models/components/index.js.map +1 -1
  75. package/models/components/issuingintervallimit.d.ts +2 -2
  76. package/models/components/issuingintervallimit.js +1 -1
  77. package/models/components/issuingvelocitylimit.d.ts +1 -1
  78. package/models/components/onboardinginvite.d.ts +1 -1
  79. package/models/components/paymentlinkpayoutdetails.d.ts +14 -0
  80. package/models/components/paymentlinkpayoutdetails.d.ts.map +1 -1
  81. package/models/components/paymentlinkpayoutdetails.js +3 -0
  82. package/models/components/paymentlinkpayoutdetails.js.map +1 -1
  83. package/models/components/paymentlinkpayoutdetailsupdate.d.ts +14 -0
  84. package/models/components/paymentlinkpayoutdetailsupdate.d.ts.map +1 -1
  85. package/models/components/paymentlinkpayoutdetailsupdate.js +3 -0
  86. package/models/components/paymentlinkpayoutdetailsupdate.js.map +1 -1
  87. package/models/components/payoutdetailserror.d.ts +2 -0
  88. package/models/components/payoutdetailserror.d.ts.map +1 -1
  89. package/models/components/payoutdetailserror.js +2 -0
  90. package/models/components/payoutdetailserror.js.map +1 -1
  91. package/models/components/product.d.ts +6 -0
  92. package/models/components/product.d.ts.map +1 -1
  93. package/models/components/product.js +3 -0
  94. package/models/components/product.js.map +1 -1
  95. package/models/components/productcategories.d.ts +21 -0
  96. package/models/components/productcategories.d.ts.map +1 -0
  97. package/models/components/productcategories.js +59 -0
  98. package/models/components/productcategories.js.map +1 -0
  99. package/models/components/productcategory.d.ts +43 -0
  100. package/models/components/productcategory.d.ts.map +1 -0
  101. package/models/components/productcategory.js +67 -0
  102. package/models/components/productcategory.js.map +1 -0
  103. package/models/components/productrequest.d.ts +5 -0
  104. package/models/components/productrequest.d.ts.map +1 -1
  105. package/models/components/productrequest.js +2 -0
  106. package/models/components/productrequest.js.map +1 -1
  107. package/models/components/transferfeepaidby.d.ts +24 -0
  108. package/models/components/transferfeepaidby.d.ts.map +1 -0
  109. package/models/components/transferfeepaidby.js +60 -0
  110. package/models/components/transferfeepaidby.js.map +1 -0
  111. package/models/errors/productrequestvalidationerror.d.ts +3 -0
  112. package/models/errors/productrequestvalidationerror.d.ts.map +1 -1
  113. package/models/errors/productrequestvalidationerror.js +4 -0
  114. package/models/errors/productrequestvalidationerror.js.map +1 -1
  115. package/models/operations/deleteavatar.d.ts +52 -0
  116. package/models/operations/deleteavatar.d.ts.map +1 -0
  117. package/models/operations/deleteavatar.js +102 -0
  118. package/models/operations/deleteavatar.js.map +1 -0
  119. package/models/operations/index.d.ts +3 -0
  120. package/models/operations/index.d.ts.map +1 -1
  121. package/models/operations/index.js +3 -0
  122. package/models/operations/index.js.map +1 -1
  123. package/models/operations/listproductcategories.d.ts +24 -0
  124. package/models/operations/listproductcategories.d.ts.map +1 -0
  125. package/models/operations/listproductcategories.js +72 -0
  126. package/models/operations/listproductcategories.js.map +1 -0
  127. package/models/operations/listproducts.d.ts +9 -0
  128. package/models/operations/listproducts.d.ts.map +1 -1
  129. package/models/operations/listproducts.js +2 -0
  130. package/models/operations/listproducts.js.map +1 -1
  131. package/models/operations/uploadavatar.d.ts +55 -0
  132. package/models/operations/uploadavatar.d.ts.map +1 -0
  133. package/models/operations/uploadavatar.js +113 -0
  134. package/models/operations/uploadavatar.js.map +1 -0
  135. package/package.json +1 -1
  136. package/sdk/avatars.d.ts +24 -0
  137. package/sdk/avatars.d.ts.map +1 -1
  138. package/sdk/avatars.js +30 -0
  139. package/sdk/avatars.js.map +1 -1
  140. package/sdk/products.d.ts +4 -0
  141. package/sdk/products.d.ts.map +1 -1
  142. package/sdk/products.js +7 -0
  143. package/sdk/products.js.map +1 -1
  144. package/src/funcs/avatarsDelete.ts +194 -0
  145. package/src/funcs/avatarsUpload.ts +231 -0
  146. package/src/funcs/productsList.ts +1 -0
  147. package/src/funcs/productsListCategories.ts +149 -0
  148. package/src/hooks/oauth2scopes.ts +8 -0
  149. package/src/lib/config.ts +3 -4
  150. package/src/lib/http.ts +3 -1
  151. package/src/lib/security.ts +10 -5
  152. package/src/mcp-server/mcp-server.ts +1 -1
  153. package/src/mcp-server/server.ts +3 -1
  154. package/src/mcp-server/tools/productsListCategories.ts +29 -0
  155. package/src/models/components/avataruploadrequest.ts +113 -0
  156. package/src/models/components/capabilityid.ts +1 -0
  157. package/src/models/components/cardbrandfees.ts +7 -0
  158. package/src/models/components/createtransfer.ts +13 -0
  159. package/src/models/components/feepaidby.ts +32 -0
  160. package/src/models/components/filedetails.ts +1 -1
  161. package/src/models/components/filepurpose.ts +2 -2
  162. package/src/models/components/incurredfee.ts +12 -0
  163. package/src/models/components/index.ts +5 -0
  164. package/src/models/components/issuingintervallimit.ts +2 -2
  165. package/src/models/components/issuingvelocitylimit.ts +1 -1
  166. package/src/models/components/onboardinginvite.ts +1 -1
  167. package/src/models/components/paymentlinkpayoutdetails.ts +16 -0
  168. package/src/models/components/paymentlinkpayoutdetailsupdate.ts +16 -0
  169. package/src/models/components/payoutdetailserror.ts +4 -0
  170. package/src/models/components/product.ts +13 -0
  171. package/src/models/components/productcategories.ts +60 -0
  172. package/src/models/components/productcategory.ts +84 -0
  173. package/src/models/components/productrequest.ts +7 -0
  174. package/src/models/components/transferfeepaidby.ts +63 -0
  175. package/src/models/errors/productrequestvalidationerror.ts +6 -0
  176. package/src/models/operations/deleteavatar.ts +154 -0
  177. package/src/models/operations/index.ts +3 -0
  178. package/src/models/operations/listproductcategories.ts +69 -0
  179. package/src/models/operations/listproducts.ts +11 -0
  180. package/src/models/operations/uploadavatar.ts +167 -0
  181. package/src/sdk/avatars.ts +50 -0
  182. package/src/sdk/products.ts +13 -0
package/bin/mcp-server.js CHANGED
@@ -53651,9 +53651,9 @@ var init_config = __esm(() => {
53651
53651
  SDK_METADATA = {
53652
53652
  language: "typescript",
53653
53653
  openapiDocVersion: "v2026.07.00",
53654
- sdkVersion: "26.7.0-dev.5",
53655
- genVersion: "2.916.2",
53656
- userAgent: "speakeasy-sdk/typescript 26.7.0-dev.5 2.916.2 v2026.07.00 @moovio/sdk"
53654
+ sdkVersion: "26.7.0",
53655
+ genVersion: "2.924.0",
53656
+ userAgent: "speakeasy-sdk/typescript 26.7.0 2.924.0 v2026.07.00 @moovio/sdk"
53657
53657
  };
53658
53658
  });
53659
53659
 
@@ -54075,11 +54075,11 @@ var init_encodings = __esm(() => {
54075
54075
 
54076
54076
  // src/lib/http.ts
54077
54077
  class HTTPClient {
54078
- options;
54079
54078
  fetcher;
54080
54079
  requestHooks = [];
54081
54080
  requestErrorHooks = [];
54082
54081
  responseHooks = [];
54082
+ options;
54083
54083
  constructor(options = {}) {
54084
54084
  this.options = options;
54085
54085
  this.fetcher = options.fetcher || DEFAULT_FETCHER;
@@ -55285,8 +55285,12 @@ async function extractSecurity(sec) {
55285
55285
  }
55286
55286
  return typeof sec === "function" ? sec() : sec;
55287
55287
  }
55288
- var SecurityError;
55288
+ var SecurityErrorCode, SecurityError;
55289
55289
  var init_security = __esm(() => {
55290
+ SecurityErrorCode = {
55291
+ Incomplete: "incomplete",
55292
+ UnrecognisedSecurityType: "unrecognized_security_type"
55293
+ };
55290
55294
  SecurityError = class SecurityError extends Error {
55291
55295
  code;
55292
55296
  constructor(code, message) {
@@ -55295,10 +55299,10 @@ var init_security = __esm(() => {
55295
55299
  this.name = "SecurityError";
55296
55300
  }
55297
55301
  static incomplete() {
55298
- return new SecurityError("incomplete" /* Incomplete */, "Security requirements not met in order to perform the operation");
55302
+ return new SecurityError(SecurityErrorCode.Incomplete, "Security requirements not met in order to perform the operation");
55299
55303
  }
55300
55304
  static unrecognizedType(type) {
55301
- return new SecurityError("unrecognized_security_type" /* UnrecognisedSecurityType */, `Unrecognised security type: ${type}`);
55305
+ return new SecurityError(SecurityErrorCode.UnrecognisedSecurityType, `Unrecognised security type: ${type}`);
55302
55306
  }
55303
55307
  };
55304
55308
  });
@@ -56924,6 +56928,7 @@ var init_capabilityid = __esm(() => {
56924
56928
  SendFundsAch: "send-funds.ach",
56925
56929
  SendFundsRtp: "send-funds.rtp",
56926
56930
  SendFundsInstantBank: "send-funds.instant-bank",
56931
+ SendFundsWire: "send-funds.wire",
56927
56932
  CollectFunds: "collect-funds",
56928
56933
  CollectFundsCardPayments: "collect-funds.card-payments",
56929
56934
  MoneyTransferPullFromCard: "money-transfer.pull-from-card",
@@ -57578,6 +57583,64 @@ var init_authtokenrequest = __esm(() => {
57578
57583
  });
57579
57584
  });
57580
57585
 
57586
+ // src/types/blobs.ts
57587
+ function isBlobLike2(val) {
57588
+ if (val instanceof Blob) {
57589
+ return true;
57590
+ }
57591
+ if (typeof val !== "object" || val == null || !(Symbol.toStringTag in val)) {
57592
+ return false;
57593
+ }
57594
+ const name = val[Symbol.toStringTag];
57595
+ if (typeof name !== "string") {
57596
+ return false;
57597
+ }
57598
+ if (name !== "Blob" && name !== "File") {
57599
+ return false;
57600
+ }
57601
+ return "stream" in val && typeof val.stream === "function";
57602
+ }
57603
+ var blobLikeSchema;
57604
+ var init_blobs = __esm(() => {
57605
+ init_v3();
57606
+ blobLikeSchema = custom(isBlobLike2, {
57607
+ message: "expected a Blob, File or Blob-like object",
57608
+ fatal: true
57609
+ });
57610
+ });
57611
+
57612
+ // src/models/components/avataruploadrequest.ts
57613
+ var AvatarUploadRequestFile$inboundSchema, AvatarUploadRequestFile$outboundSchema, AvatarUploadRequest$inboundSchema, AvatarUploadRequest$outboundSchema;
57614
+ var init_avataruploadrequest = __esm(() => {
57615
+ init_v3();
57616
+ init_blobs();
57617
+ init_primitives2();
57618
+ AvatarUploadRequestFile$inboundSchema = objectType({
57619
+ fileName: string4(),
57620
+ content: unionType([
57621
+ instanceOfType(ReadableStream),
57622
+ instanceOfType(Blob),
57623
+ instanceOfType(ArrayBuffer),
57624
+ instanceOfType(Uint8Array)
57625
+ ])
57626
+ });
57627
+ AvatarUploadRequestFile$outboundSchema = objectType({
57628
+ fileName: stringType(),
57629
+ content: unionType([
57630
+ instanceOfType(ReadableStream),
57631
+ instanceOfType(Blob),
57632
+ instanceOfType(ArrayBuffer),
57633
+ instanceOfType(Uint8Array)
57634
+ ])
57635
+ });
57636
+ AvatarUploadRequest$inboundSchema = objectType({
57637
+ file: lazyType(() => AvatarUploadRequestFile$inboundSchema)
57638
+ });
57639
+ AvatarUploadRequest$outboundSchema = objectType({
57640
+ file: lazyType(() => AvatarUploadRequestFile$outboundSchema).or(blobLikeSchema)
57641
+ });
57642
+ });
57643
+
57581
57644
  // src/models/components/rtprejectioncode.ts
57582
57645
  var RTPRejectionCode, RTPRejectionCode$inboundSchema, RTPRejectionCode$outboundSchema;
57583
57646
  var init_rtprejectioncode = __esm(() => {
@@ -61098,6 +61161,7 @@ var init_cardbrandfees = __esm(() => {
61098
61161
  completedInternationalInPerson: optional3(BillingCountAndAmount$inboundSchema),
61099
61162
  declines: optional3(BillingCountAndAmount$inboundSchema),
61100
61163
  refunds: optional3(BillingCountAndAmount$inboundSchema),
61164
+ cardCancellations: optional3(BillingCountAndAmount$inboundSchema),
61101
61165
  total: BillingCountAndAmount$inboundSchema
61102
61166
  });
61103
61167
  CardBrandFees$outboundSchema = objectType({
@@ -61110,6 +61174,7 @@ var init_cardbrandfees = __esm(() => {
61110
61174
  completedInternationalInPerson: BillingCountAndAmount$outboundSchema.optional(),
61111
61175
  declines: BillingCountAndAmount$outboundSchema.optional(),
61112
61176
  refunds: BillingCountAndAmount$outboundSchema.optional(),
61177
+ cardCancellations: BillingCountAndAmount$outboundSchema.optional(),
61113
61178
  total: BillingCountAndAmount$outboundSchema
61114
61179
  });
61115
61180
  });
@@ -62983,32 +63048,6 @@ var init_createdtransfer = __esm(() => {
62983
63048
  });
62984
63049
  });
62985
63050
 
62986
- // src/types/blobs.ts
62987
- function isBlobLike2(val) {
62988
- if (val instanceof Blob) {
62989
- return true;
62990
- }
62991
- if (typeof val !== "object" || val == null || !(Symbol.toStringTag in val)) {
62992
- return false;
62993
- }
62994
- const name = val[Symbol.toStringTag];
62995
- if (typeof name !== "string") {
62996
- return false;
62997
- }
62998
- if (name !== "Blob" && name !== "File") {
62999
- return false;
63000
- }
63001
- return "stream" in val && typeof val.stream === "function";
63002
- }
63003
- var blobLikeSchema;
63004
- var init_blobs = __esm(() => {
63005
- init_v3();
63006
- blobLikeSchema = custom(isBlobLike2, {
63007
- message: "expected a Blob, File or Blob-like object",
63008
- fatal: true
63009
- });
63010
- });
63011
-
63012
63051
  // src/models/components/evidencetype.ts
63013
63052
  var EvidenceType, EvidenceType$inboundSchema, EvidenceType$outboundSchema;
63014
63053
  var init_evidencetype = __esm(() => {
@@ -63512,6 +63551,18 @@ var init_disbursementpaymentmethodtype = __esm(() => {
63512
63551
  DisbursementPaymentMethodType$outboundSchema = outboundSchema(DisbursementPaymentMethodType);
63513
63552
  });
63514
63553
 
63554
+ // src/models/components/feepaidby.ts
63555
+ var FeePaidBy, FeePaidBy$inboundSchema, FeePaidBy$outboundSchema;
63556
+ var init_feepaidby = __esm(() => {
63557
+ init_enums();
63558
+ FeePaidBy = {
63559
+ Source: "source",
63560
+ Destination: "destination"
63561
+ };
63562
+ FeePaidBy$inboundSchema = inboundSchema(FeePaidBy);
63563
+ FeePaidBy$outboundSchema = outboundSchema(FeePaidBy);
63564
+ });
63565
+
63515
63566
  // src/models/components/payoutrecipient.ts
63516
63567
  var PayoutRecipient$inboundSchema, PayoutRecipient$outboundSchema;
63517
63568
  var init_payoutrecipient = __esm(() => {
@@ -63562,19 +63613,22 @@ var init_paymentlinkpayoutdetails = __esm(() => {
63562
63613
  init_v3();
63563
63614
  init_primitives2();
63564
63615
  init_disbursementpaymentmethodtype();
63616
+ init_feepaidby();
63565
63617
  init_payoutrecipient();
63566
63618
  init_pushoptions();
63567
63619
  PaymentLinkPayoutDetails$inboundSchema = objectType({
63568
63620
  allowedMethods: arrayType(DisbursementPaymentMethodType$inboundSchema),
63569
63621
  recipient: PayoutRecipient$inboundSchema,
63570
63622
  metadata: optional3(recordType(string4())),
63571
- pushOptions: optional3(PushOptions$inboundSchema)
63623
+ pushOptions: optional3(PushOptions$inboundSchema),
63624
+ feePaidBy: optional3(recordType(FeePaidBy$inboundSchema))
63572
63625
  });
63573
63626
  PaymentLinkPayoutDetails$outboundSchema = objectType({
63574
63627
  allowedMethods: arrayType(DisbursementPaymentMethodType$outboundSchema),
63575
63628
  recipient: PayoutRecipient$outboundSchema,
63576
63629
  metadata: recordType(stringType()).optional(),
63577
- pushOptions: PushOptions$outboundSchema.optional()
63630
+ pushOptions: PushOptions$outboundSchema.optional(),
63631
+ feePaidBy: recordType(FeePaidBy$outboundSchema).optional()
63578
63632
  });
63579
63633
  });
63580
63634
 
@@ -64540,6 +64594,20 @@ var init_createtransfersource = __esm(() => {
64540
64594
  });
64541
64595
  });
64542
64596
 
64597
+ // src/models/components/transferfeepaidby.ts
64598
+ var TransferFeePaidBy$inboundSchema, TransferFeePaidBy$outboundSchema;
64599
+ var init_transferfeepaidby = __esm(() => {
64600
+ init_v3();
64601
+ init_primitives2();
64602
+ init_feepaidby();
64603
+ TransferFeePaidBy$inboundSchema = objectType({
64604
+ payout: optional3(FeePaidBy$inboundSchema)
64605
+ });
64606
+ TransferFeePaidBy$outboundSchema = objectType({
64607
+ payout: FeePaidBy$outboundSchema.optional()
64608
+ });
64609
+ });
64610
+
64543
64611
  // src/models/components/createtransfer.ts
64544
64612
  var CreateTransfer$inboundSchema, CreateTransfer$outboundSchema;
64545
64613
  var init_createtransfer = __esm(() => {
@@ -64551,6 +64619,7 @@ var init_createtransfer = __esm(() => {
64551
64619
  init_createtransferlineitems();
64552
64620
  init_createtransfersource();
64553
64621
  init_facilitatorfee();
64622
+ init_transferfeepaidby();
64554
64623
  CreateTransfer$inboundSchema = objectType({
64555
64624
  source: CreateTransferSource$inboundSchema,
64556
64625
  destination: CreateTransferDestination$inboundSchema,
@@ -64560,7 +64629,8 @@ var init_createtransfer = __esm(() => {
64560
64629
  metadata: optional3(recordType(string4())),
64561
64630
  foreignID: optional3(string4()),
64562
64631
  lineItems: optional3(CreateTransferLineItems$inboundSchema),
64563
- amountDetails: optional3(CreateTransferAmountDetails$inboundSchema)
64632
+ amountDetails: optional3(CreateTransferAmountDetails$inboundSchema),
64633
+ feePaidBy: optional3(TransferFeePaidBy$inboundSchema)
64564
64634
  });
64565
64635
  CreateTransfer$outboundSchema = objectType({
64566
64636
  source: CreateTransferSource$outboundSchema,
@@ -64571,7 +64641,8 @@ var init_createtransfer = __esm(() => {
64571
64641
  metadata: recordType(stringType()).optional(),
64572
64642
  foreignID: stringType().optional(),
64573
64643
  lineItems: CreateTransferLineItems$outboundSchema.optional(),
64574
- amountDetails: CreateTransferAmountDetails$outboundSchema.optional()
64644
+ amountDetails: CreateTransferAmountDetails$outboundSchema.optional(),
64645
+ feePaidBy: TransferFeePaidBy$outboundSchema.optional()
64575
64646
  });
64576
64647
  });
64577
64648
 
@@ -65978,6 +66049,7 @@ var init_incurredfee = __esm(() => {
65978
66049
  init_v3();
65979
66050
  init_primitives2();
65980
66051
  init_amountdecimal();
66052
+ init_feepaidby();
65981
66053
  init_generatedby();
65982
66054
  IncurredFee$inboundSchema = objectType({
65983
66055
  feeID: optional3(string4()),
@@ -65988,7 +66060,8 @@ var init_incurredfee = __esm(() => {
65988
66060
  amount: optional3(AmountDecimal$inboundSchema),
65989
66061
  generatedBy: optional3(GeneratedBy$inboundSchema),
65990
66062
  feeGroup: optional3(string4()),
65991
- residualID: optional3(string4())
66063
+ residualID: optional3(string4()),
66064
+ feePaidBy: optional3(FeePaidBy$inboundSchema)
65992
66065
  });
65993
66066
  IncurredFee$outboundSchema = objectType({
65994
66067
  feeID: stringType().optional(),
@@ -65999,7 +66072,8 @@ var init_incurredfee = __esm(() => {
65999
66072
  amount: AmountDecimal$outboundSchema.optional(),
66000
66073
  generatedBy: GeneratedBy$outboundSchema.optional(),
66001
66074
  feeGroup: stringType().optional(),
66002
- residualID: stringType().optional()
66075
+ residualID: stringType().optional(),
66076
+ feePaidBy: FeePaidBy$outboundSchema.optional()
66003
66077
  });
66004
66078
  });
66005
66079
 
@@ -68146,19 +68220,22 @@ var init_paymentlinkpayoutdetailsupdate = __esm(() => {
68146
68220
  init_v3();
68147
68221
  init_primitives2();
68148
68222
  init_disbursementpaymentmethodtype();
68223
+ init_feepaidby();
68149
68224
  init_payoutrecipient();
68150
68225
  init_pushoptionsupdate();
68151
68226
  PaymentLinkPayoutDetailsUpdate$inboundSchema = objectType({
68152
68227
  allowedMethods: optional3(arrayType(DisbursementPaymentMethodType$inboundSchema)),
68153
68228
  recipient: optional3(PayoutRecipient$inboundSchema),
68154
68229
  metadata: optional3(recordType(string4())),
68155
- pushOptions: optional3(PushOptionsUpdate$inboundSchema)
68230
+ pushOptions: optional3(PushOptionsUpdate$inboundSchema),
68231
+ feePaidBy: optional3(recordType(FeePaidBy$inboundSchema))
68156
68232
  });
68157
68233
  PaymentLinkPayoutDetailsUpdate$outboundSchema = objectType({
68158
68234
  allowedMethods: arrayType(DisbursementPaymentMethodType$outboundSchema).optional(),
68159
68235
  recipient: PayoutRecipient$outboundSchema.optional(),
68160
68236
  metadata: recordType(stringType()).optional(),
68161
- pushOptions: PushOptionsUpdate$outboundSchema.optional()
68237
+ pushOptions: PushOptionsUpdate$outboundSchema.optional(),
68238
+ feePaidBy: recordType(FeePaidBy$outboundSchema).optional()
68162
68239
  });
68163
68240
  });
68164
68241
 
@@ -68392,13 +68469,15 @@ var init_payoutdetailserror = __esm(() => {
68392
68469
  allowedMethods: optional3(string4()),
68393
68470
  recipient: optional3(PayoutRecipientError$inboundSchema),
68394
68471
  metadata: optional3(string4()),
68395
- pushOptions: optional3(PushOptionsError$inboundSchema)
68472
+ pushOptions: optional3(PushOptionsError$inboundSchema),
68473
+ feePaidBy: optional3(string4())
68396
68474
  });
68397
68475
  PayoutDetailsError$outboundSchema = objectType({
68398
68476
  allowedMethods: stringType().optional(),
68399
68477
  recipient: PayoutRecipientError$outboundSchema.optional(),
68400
68478
  metadata: stringType().optional(),
68401
- pushOptions: PushOptionsError$outboundSchema.optional()
68479
+ pushOptions: PushOptionsError$outboundSchema.optional(),
68480
+ feePaidBy: stringType().optional()
68402
68481
  });
68403
68482
  });
68404
68483
 
@@ -68486,6 +68565,27 @@ var init_platformfees = __esm(() => {
68486
68565
  });
68487
68566
  });
68488
68567
 
68568
+ // src/models/components/productcategory.ts
68569
+ var ProductCategory$inboundSchema, ProductCategory$outboundSchema;
68570
+ var init_productcategory = __esm(() => {
68571
+ init_v3();
68572
+ init_primitives2();
68573
+ ProductCategory$inboundSchema = objectType({
68574
+ categoryID: string4(),
68575
+ name: string4(),
68576
+ fullName: string4(),
68577
+ level: number4(),
68578
+ parentID: optional3(string4())
68579
+ });
68580
+ ProductCategory$outboundSchema = objectType({
68581
+ categoryID: stringType(),
68582
+ name: stringType(),
68583
+ fullName: stringType(),
68584
+ level: numberType().int(),
68585
+ parentID: stringType().optional()
68586
+ });
68587
+ });
68588
+
68489
68589
  // src/models/components/productimagemetadata.ts
68490
68590
  var ProductImageMetadata$inboundSchema, ProductImageMetadata$outboundSchema;
68491
68591
  var init_productimagemetadata = __esm(() => {
@@ -68554,6 +68654,7 @@ var init_product = __esm(() => {
68554
68654
  init_v3();
68555
68655
  init_primitives2();
68556
68656
  init_amountdecimal();
68657
+ init_productcategory();
68557
68658
  init_productimagemetadata();
68558
68659
  init_productoptiongroup();
68559
68660
  Product$inboundSchema = objectType({
@@ -68563,6 +68664,7 @@ var init_product = __esm(() => {
68563
68664
  basePrice: AmountDecimal$inboundSchema,
68564
68665
  optionGroups: optional3(arrayType(ProductOptionGroup$inboundSchema)),
68565
68666
  images: optional3(arrayType(ProductImageMetadata$inboundSchema)),
68667
+ category: optional3(ProductCategory$inboundSchema),
68566
68668
  createdOn: date4(),
68567
68669
  updatedOn: date4(),
68568
68670
  disabledOn: optional3(date4())
@@ -68574,12 +68676,26 @@ var init_product = __esm(() => {
68574
68676
  basePrice: AmountDecimal$outboundSchema,
68575
68677
  optionGroups: arrayType(ProductOptionGroup$outboundSchema).optional(),
68576
68678
  images: arrayType(ProductImageMetadata$outboundSchema).optional(),
68679
+ category: ProductCategory$outboundSchema.optional(),
68577
68680
  createdOn: dateType().transform((v2) => v2.toISOString()),
68578
68681
  updatedOn: dateType().transform((v2) => v2.toISOString()),
68579
68682
  disabledOn: dateType().transform((v2) => v2.toISOString()).optional()
68580
68683
  });
68581
68684
  });
68582
68685
 
68686
+ // src/models/components/productcategories.ts
68687
+ var ProductCategories$inboundSchema, ProductCategories$outboundSchema;
68688
+ var init_productcategories = __esm(() => {
68689
+ init_v3();
68690
+ init_productcategory();
68691
+ ProductCategories$inboundSchema = objectType({
68692
+ categories: arrayType(ProductCategory$inboundSchema)
68693
+ });
68694
+ ProductCategories$outboundSchema = objectType({
68695
+ categories: arrayType(ProductCategory$outboundSchema)
68696
+ });
68697
+ });
68698
+
68583
68699
  // src/models/components/productoptionvalidationerror.ts
68584
68700
  var ProductOptionValidationError$inboundSchema, ProductOptionValidationError$outboundSchema;
68585
68701
  var init_productoptionvalidationerror = __esm(() => {
@@ -68636,14 +68752,16 @@ var init_productrequest = __esm(() => {
68636
68752
  description: optional3(string4()),
68637
68753
  basePrice: AmountDecimal$inboundSchema,
68638
68754
  images: optional3(arrayType(AssignProductImage$inboundSchema)),
68639
- optionGroups: optional3(arrayType(CreateProductOptionGroup$inboundSchema))
68755
+ optionGroups: optional3(arrayType(CreateProductOptionGroup$inboundSchema)),
68756
+ categoryID: optional3(string4())
68640
68757
  });
68641
68758
  ProductRequest$outboundSchema = objectType({
68642
68759
  title: stringType(),
68643
68760
  description: stringType().optional(),
68644
68761
  basePrice: AmountDecimal$outboundSchema,
68645
68762
  images: arrayType(AssignProductImage$outboundSchema).optional(),
68646
- optionGroups: arrayType(CreateProductOptionGroup$outboundSchema).optional()
68763
+ optionGroups: arrayType(CreateProductOptionGroup$outboundSchema).optional(),
68764
+ categoryID: stringType().optional()
68647
68765
  });
68648
68766
  });
68649
68767
 
@@ -71794,6 +71912,7 @@ var init_components = __esm(() => {
71794
71912
  init_asynctransfer();
71795
71913
  init_authtoken();
71796
71914
  init_authtokenrequest();
71915
+ init_avataruploadrequest();
71797
71916
  init_bankaccount();
71798
71917
  init_bankaccountexception();
71799
71918
  init_bankaccountholdertype();
@@ -71983,6 +72102,7 @@ var init_components = __esm(() => {
71983
72102
  init_fednowservices();
71984
72103
  init_feecategory();
71985
72104
  init_feemodel();
72105
+ init_feepaidby();
71986
72106
  init_feeplan();
71987
72107
  init_feeplanagreement();
71988
72108
  init_feeplanagreementstatus();
@@ -72148,6 +72268,8 @@ var init_components = __esm(() => {
72148
72268
  init_platformfees();
72149
72269
  init_primaryregulator();
72150
72270
  init_product();
72271
+ init_productcategories();
72272
+ init_productcategory();
72151
72273
  init_productimagemetadata();
72152
72274
  init_productoption();
72153
72275
  init_productoptiongroup();
@@ -72272,6 +72394,7 @@ var init_components = __esm(() => {
72272
72394
  init_transferdestination();
72273
72395
  init_transferentrymode();
72274
72396
  init_transferfailurereason();
72397
+ init_transferfeepaidby();
72275
72398
  init_transferlineitem();
72276
72399
  init_transferlineitemimagemetadata();
72277
72400
  init_transferlineitemoption();
@@ -74220,6 +74343,7 @@ var init_productrequestvalidationerror = __esm(() => {
74220
74343
  basePrice;
74221
74344
  images;
74222
74345
  optionGroups;
74346
+ categoryID;
74223
74347
  data$;
74224
74348
  constructor(err, httpMeta) {
74225
74349
  const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
@@ -74235,6 +74359,8 @@ var init_productrequestvalidationerror = __esm(() => {
74235
74359
  this.images = err.images;
74236
74360
  if (err.optionGroups != null)
74237
74361
  this.optionGroups = err.optionGroups;
74362
+ if (err.categoryID != null)
74363
+ this.categoryID = err.categoryID;
74238
74364
  this.name = "ProductRequestValidationError";
74239
74365
  }
74240
74366
  };
@@ -74244,6 +74370,7 @@ var init_productrequestvalidationerror = __esm(() => {
74244
74370
  basePrice: optional3(AmountDecimalValidationError$inboundSchema),
74245
74371
  images: optional3(recordType(AssignProductImageValidationError$inboundSchema)),
74246
74372
  optionGroups: optional3(recordType(ProductOptionGroupValidationError$inboundSchema)),
74373
+ categoryID: optional3(string4()),
74247
74374
  request$: instanceOfType(Request),
74248
74375
  response$: instanceOfType(Response),
74249
74376
  body$: stringType()
@@ -74259,7 +74386,8 @@ var init_productrequestvalidationerror = __esm(() => {
74259
74386
  description: stringType().optional(),
74260
74387
  basePrice: AmountDecimalValidationError$outboundSchema.optional(),
74261
74388
  images: recordType(AssignProductImageValidationError$outboundSchema).optional(),
74262
- optionGroups: recordType(ProductOptionGroupValidationError$outboundSchema).optional()
74389
+ optionGroups: recordType(ProductOptionGroupValidationError$outboundSchema).optional(),
74390
+ categoryID: stringType().optional()
74263
74391
  }));
74264
74392
  });
74265
74393
 
@@ -76895,6 +77023,42 @@ var init_createwebhook2 = __esm(() => {
76895
77023
  });
76896
77024
  });
76897
77025
 
77026
+ // src/models/operations/deleteavatar.ts
77027
+ var DeleteAvatarSecurity$inboundSchema, DeleteAvatarSecurity$outboundSchema, DeleteAvatarRequest$inboundSchema, DeleteAvatarRequest$outboundSchema, DeleteAvatarResponse$inboundSchema, DeleteAvatarResponse$outboundSchema;
77028
+ var init_deleteavatar = __esm(() => {
77029
+ init_v3();
77030
+ init_primitives();
77031
+ init_primitives2();
77032
+ DeleteAvatarSecurity$inboundSchema = objectType({
77033
+ username: optional3(string4()),
77034
+ password: optional3(string4())
77035
+ });
77036
+ DeleteAvatarSecurity$outboundSchema = objectType({
77037
+ username: stringType().optional(),
77038
+ password: stringType().optional()
77039
+ });
77040
+ DeleteAvatarRequest$inboundSchema = objectType({
77041
+ uniqueID: string4()
77042
+ });
77043
+ DeleteAvatarRequest$outboundSchema = objectType({
77044
+ uniqueID: stringType()
77045
+ });
77046
+ DeleteAvatarResponse$inboundSchema = objectType({
77047
+ Headers: recordType(arrayType(stringType())).default({})
77048
+ }).transform((v2) => {
77049
+ return remap(v2, {
77050
+ Headers: "headers"
77051
+ });
77052
+ });
77053
+ DeleteAvatarResponse$outboundSchema = objectType({
77054
+ headers: recordType(arrayType(stringType()))
77055
+ }).transform((v2) => {
77056
+ return remap(v2, {
77057
+ headers: "Headers"
77058
+ });
77059
+ });
77060
+ });
77061
+
76898
77062
  // src/models/operations/deletedisputeevidencefile.ts
76899
77063
  var DeleteDisputeEvidenceFileRequest$inboundSchema, DeleteDisputeEvidenceFileRequest$outboundSchema, DeleteDisputeEvidenceFileResponse$inboundSchema, DeleteDisputeEvidenceFileResponse$outboundSchema;
76900
77064
  var init_deletedisputeevidencefile = __esm(() => {
@@ -80683,6 +80847,32 @@ var init_listpaymentmethods = __esm(() => {
80683
80847
  });
80684
80848
  });
80685
80849
 
80850
+ // src/models/operations/listproductcategories.ts
80851
+ var ListProductCategoriesResponse$inboundSchema, ListProductCategoriesResponse$outboundSchema;
80852
+ var init_listproductcategories = __esm(() => {
80853
+ init_v3();
80854
+ init_primitives();
80855
+ init_components();
80856
+ ListProductCategoriesResponse$inboundSchema = objectType({
80857
+ Headers: recordType(arrayType(stringType())).default({}),
80858
+ Result: ProductCategories$inboundSchema
80859
+ }).transform((v2) => {
80860
+ return remap(v2, {
80861
+ Headers: "headers",
80862
+ Result: "result"
80863
+ });
80864
+ });
80865
+ ListProductCategoriesResponse$outboundSchema = objectType({
80866
+ headers: recordType(arrayType(stringType())),
80867
+ result: ProductCategories$outboundSchema
80868
+ }).transform((v2) => {
80869
+ return remap(v2, {
80870
+ headers: "Headers",
80871
+ result: "Result"
80872
+ });
80873
+ });
80874
+ });
80875
+
80686
80876
  // src/models/operations/listproducts.ts
80687
80877
  var ListProductsRequest$inboundSchema, ListProductsRequest$outboundSchema, ListProductsResponse$inboundSchema, ListProductsResponse$outboundSchema;
80688
80878
  var init_listproducts = __esm(() => {
@@ -80693,12 +80883,14 @@ var init_listproducts = __esm(() => {
80693
80883
  ListProductsRequest$inboundSchema = objectType({
80694
80884
  accountID: string4(),
80695
80885
  title: optional3(string4()),
80886
+ category: optional3(string4()),
80696
80887
  skip: optional3(number4()),
80697
80888
  count: optional3(number4())
80698
80889
  });
80699
80890
  ListProductsRequest$outboundSchema = objectType({
80700
80891
  accountID: stringType(),
80701
80892
  title: stringType().optional(),
80893
+ category: stringType().optional(),
80702
80894
  skip: numberType().int().optional(),
80703
80895
  count: numberType().int().optional()
80704
80896
  });
@@ -82609,6 +82801,53 @@ var init_updatewebhook2 = __esm(() => {
82609
82801
  });
82610
82802
  });
82611
82803
 
82804
+ // src/models/operations/uploadavatar.ts
82805
+ var UploadAvatarSecurity$inboundSchema, UploadAvatarSecurity$outboundSchema, UploadAvatarRequest$inboundSchema, UploadAvatarRequest$outboundSchema, UploadAvatarResponse$inboundSchema, UploadAvatarResponse$outboundSchema;
82806
+ var init_uploadavatar = __esm(() => {
82807
+ init_v3();
82808
+ init_primitives();
82809
+ init_primitives2();
82810
+ init_components();
82811
+ UploadAvatarSecurity$inboundSchema = objectType({
82812
+ username: optional3(string4()),
82813
+ password: optional3(string4())
82814
+ });
82815
+ UploadAvatarSecurity$outboundSchema = objectType({
82816
+ username: stringType().optional(),
82817
+ password: stringType().optional()
82818
+ });
82819
+ UploadAvatarRequest$inboundSchema = objectType({
82820
+ uniqueID: string4(),
82821
+ AvatarUploadRequest: AvatarUploadRequest$inboundSchema
82822
+ }).transform((v2) => {
82823
+ return remap(v2, {
82824
+ AvatarUploadRequest: "avatarUploadRequest"
82825
+ });
82826
+ });
82827
+ UploadAvatarRequest$outboundSchema = objectType({
82828
+ uniqueID: stringType(),
82829
+ avatarUploadRequest: AvatarUploadRequest$outboundSchema
82830
+ }).transform((v2) => {
82831
+ return remap(v2, {
82832
+ avatarUploadRequest: "AvatarUploadRequest"
82833
+ });
82834
+ });
82835
+ UploadAvatarResponse$inboundSchema = objectType({
82836
+ Headers: recordType(arrayType(stringType())).default({})
82837
+ }).transform((v2) => {
82838
+ return remap(v2, {
82839
+ Headers: "headers"
82840
+ });
82841
+ });
82842
+ UploadAvatarResponse$outboundSchema = objectType({
82843
+ headers: recordType(arrayType(stringType()))
82844
+ }).transform((v2) => {
82845
+ return remap(v2, {
82846
+ headers: "Headers"
82847
+ });
82848
+ });
82849
+ });
82850
+
82612
82851
  // src/models/operations/uploaddisputeevidencefile.ts
82613
82852
  var UploadDisputeEvidenceFileRequest$inboundSchema, UploadDisputeEvidenceFileRequest$outboundSchema, UploadDisputeEvidenceFileResponse$inboundSchema, UploadDisputeEvidenceFileResponse$outboundSchema;
82614
82853
  var init_uploaddisputeevidencefile = __esm(() => {
@@ -82906,6 +83145,7 @@ var init_operations = __esm(() => {
82906
83145
  init_createtransferoptions2();
82907
83146
  init_createwallet2();
82908
83147
  init_createwebhook2();
83148
+ init_deleteavatar();
82909
83149
  init_deletedisputeevidencefile();
82910
83150
  init_deleteimage();
82911
83151
  init_deleteinvoice();
@@ -83009,6 +83249,7 @@ var init_operations = __esm(() => {
83009
83249
  init_listpartnerpricingagreements();
83010
83250
  init_listpaymentlinks();
83011
83251
  init_listpaymentmethods();
83252
+ init_listproductcategories();
83012
83253
  init_listproducts();
83013
83254
  init_listreceipts();
83014
83255
  init_listrefunds();
@@ -83057,6 +83298,7 @@ var init_operations = __esm(() => {
83057
83298
  init_updatetransferconfig();
83058
83299
  init_updatewallet();
83059
83300
  init_updatewebhook2();
83301
+ init_uploadavatar();
83060
83302
  init_uploaddisputeevidencefile();
83061
83303
  init_uploaddisputeevidencetext();
83062
83304
  init_uploadfile();
@@ -97090,6 +97332,7 @@ async function $do121(client, request, options) {
97090
97332
  };
97091
97333
  const path = pathToFunc("/accounts/{accountID}/products")(pathParams);
97092
97334
  const query = encodeFormQuery({
97335
+ category: payload.category,
97093
97336
  count: payload.count,
97094
97337
  skip: payload.skip,
97095
97338
  title: payload.title
@@ -97185,11 +97428,99 @@ var init_productsList2 = __esm(() => {
97185
97428
  };
97186
97429
  });
97187
97430
 
97431
+ // src/funcs/productsListCategories.ts
97432
+ function productsListCategories(client, options) {
97433
+ return new APIPromise($do122(client, options));
97434
+ }
97435
+ async function $do122(client, options) {
97436
+ const path = pathToFunc("/product-categories")();
97437
+ const headers = new Headers(compactMap({
97438
+ Accept: "application/json"
97439
+ }));
97440
+ const securityInput = await extractSecurity(client._options.security);
97441
+ const requestSecurity = resolveGlobalSecurity(securityInput);
97442
+ const context = {
97443
+ options: client._options,
97444
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
97445
+ operationID: "listProductCategories",
97446
+ oAuth2Scopes: null,
97447
+ resolvedSecurity: requestSecurity,
97448
+ securitySource: client._options.security,
97449
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
97450
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
97451
+ };
97452
+ const requestRes = client._createRequest(context, {
97453
+ security: requestSecurity,
97454
+ method: "GET",
97455
+ baseURL: options?.serverURL,
97456
+ path,
97457
+ headers,
97458
+ userAgent: client._options.userAgent,
97459
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
97460
+ }, options);
97461
+ if (!requestRes.ok) {
97462
+ return [requestRes, { status: "invalid" }];
97463
+ }
97464
+ const req = requestRes.value;
97465
+ const doResult = await client._do(req, {
97466
+ context,
97467
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
97468
+ retryConfig: context.retryConfig,
97469
+ retryCodes: context.retryCodes
97470
+ });
97471
+ if (!doResult.ok) {
97472
+ return [doResult, { status: "request-error", request: req }];
97473
+ }
97474
+ const response = doResult.value;
97475
+ const responseFields = {
97476
+ HttpMeta: { Response: response, Request: req }
97477
+ };
97478
+ const [result] = await match(json(200, ListProductCategoriesResponse$inboundSchema, {
97479
+ hdrs: true,
97480
+ key: "Result"
97481
+ }), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
97482
+ if (!result.ok) {
97483
+ return [result, { status: "complete", request: req, response }];
97484
+ }
97485
+ return [result, { status: "complete", request: req, response }];
97486
+ }
97487
+ var init_productsListCategories = __esm(() => {
97488
+ init_http();
97489
+ init_matchers();
97490
+ init_primitives();
97491
+ init_security();
97492
+ init_url();
97493
+ init_operations();
97494
+ init_async();
97495
+ });
97496
+
97497
+ // src/mcp-server/tools/productsListCategories.ts
97498
+ var tool$productsListCategories;
97499
+ var init_productsListCategories2 = __esm(() => {
97500
+ init_productsListCategories();
97501
+ init_tools();
97502
+ tool$productsListCategories = {
97503
+ name: "products-list-categories",
97504
+ description: `Returns the full, read-only list of product categories from the product taxonomy.`,
97505
+ tool: async (client, ctx) => {
97506
+ const [result, apiCall] = await productsListCategories(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
97507
+ if (!result.ok) {
97508
+ return {
97509
+ content: [{ type: "text", text: result.error.message }],
97510
+ isError: true
97511
+ };
97512
+ }
97513
+ const value = result.value.result;
97514
+ return formatResult(value, apiCall);
97515
+ }
97516
+ };
97517
+ });
97518
+
97188
97519
  // src/funcs/productsUpdate.ts
97189
97520
  function productsUpdate(client, request, options) {
97190
- return new APIPromise($do122(client, request, options));
97521
+ return new APIPromise($do123(client, request, options));
97191
97522
  }
97192
- async function $do122(client, request, options) {
97523
+ async function $do123(client, request, options) {
97193
97524
  const parsed = safeParse4(request, (value) => UpdateProductRequest$outboundSchema.parse(value), "Input validation failed");
97194
97525
  if (!parsed.ok) {
97195
97526
  return [parsed, { status: "invalid" }];
@@ -97303,9 +97634,9 @@ var init_productsUpdate2 = __esm(() => {
97303
97634
 
97304
97635
  // src/funcs/receiptsCreate.ts
97305
97636
  function receiptsCreate(client, request, options) {
97306
- return new APIPromise($do123(client, request, options));
97637
+ return new APIPromise($do124(client, request, options));
97307
97638
  }
97308
- async function $do123(client, request, options) {
97639
+ async function $do124(client, request, options) {
97309
97640
  const parsed = safeParse4(request, (value) => arrayType(ReceiptRequest$outboundSchema).parse(value), "Input validation failed");
97310
97641
  if (!parsed.ok) {
97311
97642
  return [parsed, { status: "invalid" }];
@@ -97413,9 +97744,9 @@ var init_receiptsCreate2 = __esm(() => {
97413
97744
 
97414
97745
  // src/funcs/receiptsList.ts
97415
97746
  function receiptsList(client, request, options) {
97416
- return new APIPromise($do124(client, request, options));
97747
+ return new APIPromise($do125(client, request, options));
97417
97748
  }
97418
- async function $do124(client, request, options) {
97749
+ async function $do125(client, request, options) {
97419
97750
  const parsed = safeParse4(request, (value) => ListReceiptsRequest$outboundSchema.parse(value), "Input validation failed");
97420
97751
  if (!parsed.ok) {
97421
97752
  return [parsed, { status: "invalid" }];
@@ -97522,9 +97853,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
97522
97853
 
97523
97854
  // src/funcs/representativesCreate.ts
97524
97855
  function representativesCreate(client, request, options) {
97525
- return new APIPromise($do125(client, request, options));
97856
+ return new APIPromise($do126(client, request, options));
97526
97857
  }
97527
- async function $do125(client, request, options) {
97858
+ async function $do126(client, request, options) {
97528
97859
  const parsed = safeParse4(request, (value) => CreateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
97529
97860
  if (!parsed.ok) {
97530
97861
  return [parsed, { status: "invalid" }];
@@ -97641,9 +97972,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
97641
97972
 
97642
97973
  // src/funcs/representativesDelete.ts
97643
97974
  function representativesDelete(client, request, options) {
97644
- return new APIPromise($do126(client, request, options));
97975
+ return new APIPromise($do127(client, request, options));
97645
97976
  }
97646
- async function $do126(client, request, options) {
97977
+ async function $do127(client, request, options) {
97647
97978
  const parsed = safeParse4(request, (value) => DeleteRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
97648
97979
  if (!parsed.ok) {
97649
97980
  return [parsed, { status: "invalid" }];
@@ -97751,9 +98082,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
97751
98082
 
97752
98083
  // src/funcs/representativesGet.ts
97753
98084
  function representativesGet(client, request, options) {
97754
- return new APIPromise($do127(client, request, options));
98085
+ return new APIPromise($do128(client, request, options));
97755
98086
  }
97756
- async function $do127(client, request, options) {
98087
+ async function $do128(client, request, options) {
97757
98088
  const parsed = safeParse4(request, (value) => GetRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
97758
98089
  if (!parsed.ok) {
97759
98090
  return [parsed, { status: "invalid" }];
@@ -97863,9 +98194,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
97863
98194
 
97864
98195
  // src/funcs/representativesList.ts
97865
98196
  function representativesList(client, request, options) {
97866
- return new APIPromise($do128(client, request, options));
98197
+ return new APIPromise($do129(client, request, options));
97867
98198
  }
97868
- async function $do128(client, request, options) {
98199
+ async function $do129(client, request, options) {
97869
98200
  const parsed = safeParse4(request, (value) => ListRepresentativesRequest$outboundSchema.parse(value), "Input validation failed");
97870
98201
  if (!parsed.ok) {
97871
98202
  return [parsed, { status: "invalid" }];
@@ -97977,9 +98308,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
97977
98308
 
97978
98309
  // src/funcs/representativesUpdate.ts
97979
98310
  function representativesUpdate(client, request, options) {
97980
- return new APIPromise($do129(client, request, options));
98311
+ return new APIPromise($do130(client, request, options));
97981
98312
  }
97982
- async function $do129(client, request, options) {
98313
+ async function $do130(client, request, options) {
97983
98314
  const parsed = safeParse4(request, (value) => UpdateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
97984
98315
  if (!parsed.ok) {
97985
98316
  return [parsed, { status: "invalid" }];
@@ -98106,9 +98437,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
98106
98437
 
98107
98438
  // src/funcs/resolutionLinksCreate.ts
98108
98439
  function resolutionLinksCreate(client, request, options) {
98109
- return new APIPromise($do130(client, request, options));
98440
+ return new APIPromise($do131(client, request, options));
98110
98441
  }
98111
- async function $do130(client, request, options) {
98442
+ async function $do131(client, request, options) {
98112
98443
  const parsed = safeParse4(request, (value) => CreateResolutionLinkRequest$outboundSchema.parse(value), "Input validation failed");
98113
98444
  if (!parsed.ok) {
98114
98445
  return [parsed, { status: "invalid" }];
@@ -98225,9 +98556,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\`, \`/accounts/
98225
98556
 
98226
98557
  // src/funcs/resolutionLinksDisable.ts
98227
98558
  function resolutionLinksDisable(client, request, options) {
98228
- return new APIPromise($do131(client, request, options));
98559
+ return new APIPromise($do132(client, request, options));
98229
98560
  }
98230
- async function $do131(client, request, options) {
98561
+ async function $do132(client, request, options) {
98231
98562
  const parsed = safeParse4(request, (value) => DisableResolutionLinkRequest$outboundSchema.parse(value), "Input validation failed");
98232
98563
  if (!parsed.ok) {
98233
98564
  return [parsed, { status: "invalid" }];
@@ -98335,9 +98666,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
98335
98666
 
98336
98667
  // src/funcs/resolutionLinksGet.ts
98337
98668
  function resolutionLinksGet(client, request, options) {
98338
- return new APIPromise($do132(client, request, options));
98669
+ return new APIPromise($do133(client, request, options));
98339
98670
  }
98340
- async function $do132(client, request, options) {
98671
+ async function $do133(client, request, options) {
98341
98672
  const parsed = safeParse4(request, (value) => GetResolutionLinkRequest$outboundSchema.parse(value), "Input validation failed");
98342
98673
  if (!parsed.ok) {
98343
98674
  return [parsed, { status: "invalid" }];
@@ -98447,9 +98778,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
98447
98778
 
98448
98779
  // src/funcs/resolutionLinksList.ts
98449
98780
  function resolutionLinksList(client, request, options) {
98450
- return new APIPromise($do133(client, request, options));
98781
+ return new APIPromise($do134(client, request, options));
98451
98782
  }
98452
- async function $do133(client, request, options) {
98783
+ async function $do134(client, request, options) {
98453
98784
  const parsed = safeParse4(request, (value) => ListResolutionLinksRequest$outboundSchema.parse(value), "Input validation failed");
98454
98785
  if (!parsed.ok) {
98455
98786
  return [parsed, { status: "invalid" }];
@@ -98558,9 +98889,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
98558
98889
 
98559
98890
  // src/funcs/schedulingCancel.ts
98560
98891
  function schedulingCancel(client, request, options) {
98561
- return new APIPromise($do134(client, request, options));
98892
+ return new APIPromise($do135(client, request, options));
98562
98893
  }
98563
- async function $do134(client, request, options) {
98894
+ async function $do135(client, request, options) {
98564
98895
  const parsed = safeParse4(request, (value) => CancelScheduleRequest$outboundSchema.parse(value), "Input validation failed");
98565
98896
  if (!parsed.ok) {
98566
98897
  return [parsed, { status: "invalid" }];
@@ -98671,9 +99002,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
98671
99002
 
98672
99003
  // src/funcs/schedulingCreate.ts
98673
99004
  function schedulingCreate(client, request, options) {
98674
- return new APIPromise($do135(client, request, options));
99005
+ return new APIPromise($do136(client, request, options));
98675
99006
  }
98676
- async function $do135(client, request, options) {
99007
+ async function $do136(client, request, options) {
98677
99008
  const parsed = safeParse4(request, (value) => CreateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
98678
99009
  if (!parsed.ok) {
98679
99010
  return [parsed, { status: "invalid" }];
@@ -98786,9 +99117,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
98786
99117
 
98787
99118
  // src/funcs/schedulingGet.ts
98788
99119
  function schedulingGet(client, request, options) {
98789
- return new APIPromise($do136(client, request, options));
99120
+ return new APIPromise($do137(client, request, options));
98790
99121
  }
98791
- async function $do136(client, request, options) {
99122
+ async function $do137(client, request, options) {
98792
99123
  const parsed = safeParse4(request, (value) => GetSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
98793
99124
  if (!parsed.ok) {
98794
99125
  return [parsed, { status: "invalid" }];
@@ -98901,9 +99232,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
98901
99232
 
98902
99233
  // src/funcs/schedulingGetOccurrance.ts
98903
99234
  function schedulingGetOccurrance(client, request, options) {
98904
- return new APIPromise($do137(client, request, options));
99235
+ return new APIPromise($do138(client, request, options));
98905
99236
  }
98906
- async function $do137(client, request, options) {
99237
+ async function $do138(client, request, options) {
98907
99238
  const parsed = safeParse4(request, (value) => GetScheduledOccurrenceRequest$outboundSchema.parse(value), "Input validation failed");
98908
99239
  if (!parsed.ok) {
98909
99240
  return [parsed, { status: "invalid" }];
@@ -99017,9 +99348,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
99017
99348
 
99018
99349
  // src/funcs/schedulingList.ts
99019
99350
  function schedulingList(client, request, options) {
99020
- return new APIPromise($do138(client, request, options));
99351
+ return new APIPromise($do139(client, request, options));
99021
99352
  }
99022
- async function $do138(client, request, options) {
99353
+ async function $do139(client, request, options) {
99023
99354
  const parsed = safeParse4(request, (value) => ListSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
99024
99355
  if (!parsed.ok) {
99025
99356
  return [parsed, { status: "invalid" }];
@@ -99134,9 +99465,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
99134
99465
 
99135
99466
  // src/funcs/schedulingUpdate.ts
99136
99467
  function schedulingUpdate(client, request, options) {
99137
- return new APIPromise($do139(client, request, options));
99468
+ return new APIPromise($do140(client, request, options));
99138
99469
  }
99139
- async function $do139(client, request, options) {
99470
+ async function $do140(client, request, options) {
99140
99471
  const parsed = safeParse4(request, (value) => UpdateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
99141
99472
  if (!parsed.ok) {
99142
99473
  return [parsed, { status: "invalid" }];
@@ -99253,9 +99584,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
99253
99584
 
99254
99585
  // src/funcs/statementsGet.ts
99255
99586
  function statementsGet(client, request, options) {
99256
- return new APIPromise($do140(client, request, options));
99587
+ return new APIPromise($do141(client, request, options));
99257
99588
  }
99258
- async function $do140(client, request, options) {
99589
+ async function $do141(client, request, options) {
99259
99590
  const parsed = safeParse4(request, (value) => GetStatementRequest$outboundSchema.parse(value), "Input validation failed");
99260
99591
  if (!parsed.ok) {
99261
99592
  return [parsed, { status: "invalid" }];
@@ -99374,9 +99705,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
99374
99705
 
99375
99706
  // src/funcs/statementsList.ts
99376
99707
  function statementsList(client, request, options) {
99377
- return new APIPromise($do141(client, request, options));
99708
+ return new APIPromise($do142(client, request, options));
99378
99709
  }
99379
- async function $do141(client, request, options) {
99710
+ async function $do142(client, request, options) {
99380
99711
  const parsed = safeParse4(request, (value) => ListStatementsRequest$outboundSchema.parse(value), "Input validation failed");
99381
99712
  if (!parsed.ok) {
99382
99713
  return [parsed, { status: "invalid" }];
@@ -99493,9 +99824,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
99493
99824
 
99494
99825
  // src/funcs/supportCreateTicket.ts
99495
99826
  function supportCreateTicket(client, request, options) {
99496
- return new APIPromise($do142(client, request, options));
99827
+ return new APIPromise($do143(client, request, options));
99497
99828
  }
99498
- async function $do142(client, request, options) {
99829
+ async function $do143(client, request, options) {
99499
99830
  const parsed = safeParse4(request, (value) => CreateTicketRequest$outboundSchema.parse(value), "Input validation failed");
99500
99831
  if (!parsed.ok) {
99501
99832
  return [parsed, { status: "invalid" }];
@@ -99609,9 +99940,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
99609
99940
 
99610
99941
  // src/funcs/supportGetTicket.ts
99611
99942
  function supportGetTicket(client, request, options) {
99612
- return new APIPromise($do143(client, request, options));
99943
+ return new APIPromise($do144(client, request, options));
99613
99944
  }
99614
- async function $do143(client, request, options) {
99945
+ async function $do144(client, request, options) {
99615
99946
  const parsed = safeParse4(request, (value) => GetTicketRequest$outboundSchema.parse(value), "Input validation failed");
99616
99947
  if (!parsed.ok) {
99617
99948
  return [parsed, { status: "invalid" }];
@@ -99727,9 +100058,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
99727
100058
 
99728
100059
  // src/funcs/supportListTicketMessages.ts
99729
100060
  function supportListTicketMessages(client, request, options) {
99730
- return new APIPromise($do144(client, request, options));
100061
+ return new APIPromise($do145(client, request, options));
99731
100062
  }
99732
- async function $do144(client, request, options) {
100063
+ async function $do145(client, request, options) {
99733
100064
  const parsed = safeParse4(request, (value) => ListTicketMessagesRequest$outboundSchema.parse(value), "Input validation failed");
99734
100065
  if (!parsed.ok) {
99735
100066
  return [parsed, { status: "invalid" }];
@@ -99845,9 +100176,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
99845
100176
 
99846
100177
  // src/funcs/supportListTickets.ts
99847
100178
  function supportListTickets(client, request, options) {
99848
- return new APIPromise($do145(client, request, options));
100179
+ return new APIPromise($do146(client, request, options));
99849
100180
  }
99850
- async function $do145(client, request, options) {
100181
+ async function $do146(client, request, options) {
99851
100182
  const parsed = safeParse4(request, (value) => ListTicketsRequest$outboundSchema.parse(value), "Input validation failed");
99852
100183
  if (!parsed.ok) {
99853
100184
  return [parsed, { status: "invalid" }];
@@ -99966,9 +100297,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
99966
100297
 
99967
100298
  // src/funcs/supportUpdateTicket.ts
99968
100299
  function supportUpdateTicket(client, request, options) {
99969
- return new APIPromise($do146(client, request, options));
100300
+ return new APIPromise($do147(client, request, options));
99970
100301
  }
99971
- async function $do146(client, request, options) {
100302
+ async function $do147(client, request, options) {
99972
100303
  const parsed = safeParse4(request, (value) => UpdateTicketRequest$outboundSchema.parse(value), "Input validation failed");
99973
100304
  if (!parsed.ok) {
99974
100305
  return [parsed, { status: "invalid" }];
@@ -100086,9 +100417,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
100086
100417
 
100087
100418
  // src/funcs/sweepsCreateConfig.ts
100088
100419
  function sweepsCreateConfig(client, request, options) {
100089
- return new APIPromise($do147(client, request, options));
100420
+ return new APIPromise($do148(client, request, options));
100090
100421
  }
100091
- async function $do147(client, request, options) {
100422
+ async function $do148(client, request, options) {
100092
100423
  const parsed = safeParse4(request, (value) => CreateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
100093
100424
  if (!parsed.ok) {
100094
100425
  return [parsed, { status: "invalid" }];
@@ -100199,9 +100530,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
100199
100530
 
100200
100531
  // src/funcs/sweepsGet.ts
100201
100532
  function sweepsGet(client, request, options) {
100202
- return new APIPromise($do148(client, request, options));
100533
+ return new APIPromise($do149(client, request, options));
100203
100534
  }
100204
- async function $do148(client, request, options) {
100535
+ async function $do149(client, request, options) {
100205
100536
  const parsed = safeParse4(request, (value) => GetSweepRequest$outboundSchema.parse(value), "Input validation failed");
100206
100537
  if (!parsed.ok) {
100207
100538
  return [parsed, { status: "invalid" }];
@@ -100318,9 +100649,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
100318
100649
 
100319
100650
  // src/funcs/sweepsGetConfig.ts
100320
100651
  function sweepsGetConfig(client, request, options) {
100321
- return new APIPromise($do149(client, request, options));
100652
+ return new APIPromise($do150(client, request, options));
100322
100653
  }
100323
- async function $do149(client, request, options) {
100654
+ async function $do150(client, request, options) {
100324
100655
  const parsed = safeParse4(request, (value) => GetSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
100325
100656
  if (!parsed.ok) {
100326
100657
  return [parsed, { status: "invalid" }];
@@ -100433,9 +100764,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
100433
100764
 
100434
100765
  // src/funcs/sweepsList.ts
100435
100766
  function sweepsList(client, request, options) {
100436
- return new APIPromise($do150(client, request, options));
100767
+ return new APIPromise($do151(client, request, options));
100437
100768
  }
100438
- async function $do150(client, request, options) {
100769
+ async function $do151(client, request, options) {
100439
100770
  const parsed = safeParse4(request, (value) => ListSweepsRequest$outboundSchema.parse(value), "Input validation failed");
100440
100771
  if (!parsed.ok) {
100441
100772
  return [parsed, { status: "invalid" }];
@@ -100555,9 +100886,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
100555
100886
 
100556
100887
  // src/funcs/sweepsListConfigs.ts
100557
100888
  function sweepsListConfigs(client, request, options) {
100558
- return new APIPromise($do151(client, request, options));
100889
+ return new APIPromise($do152(client, request, options));
100559
100890
  }
100560
- async function $do151(client, request, options) {
100891
+ async function $do152(client, request, options) {
100561
100892
  const parsed = safeParse4(request, (value) => ListSweepConfigsRequest$outboundSchema.parse(value), "Input validation failed");
100562
100893
  if (!parsed.ok) {
100563
100894
  return [parsed, { status: "invalid" }];
@@ -100666,9 +100997,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
100666
100997
 
100667
100998
  // src/funcs/sweepsUpdateConfig.ts
100668
100999
  function sweepsUpdateConfig(client, request, options) {
100669
- return new APIPromise($do152(client, request, options));
101000
+ return new APIPromise($do153(client, request, options));
100670
101001
  }
100671
- async function $do152(client, request, options) {
101002
+ async function $do153(client, request, options) {
100672
101003
  const parsed = safeParse4(request, (value) => UpdateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
100673
101004
  if (!parsed.ok) {
100674
101005
  return [parsed, { status: "invalid" }];
@@ -100783,9 +101114,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
100783
101114
 
100784
101115
  // src/funcs/terminalApplicationsCreate.ts
100785
101116
  function terminalApplicationsCreate(client, request, options) {
100786
- return new APIPromise($do153(client, request, options));
101117
+ return new APIPromise($do154(client, request, options));
100787
101118
  }
100788
- async function $do153(client, request, options) {
101119
+ async function $do154(client, request, options) {
100789
101120
  const parsed = safeParse4(request, (value) => CreateTerminalApplication$outboundSchema.parse(value), "Input validation failed");
100790
101121
  if (!parsed.ok) {
100791
101122
  return [parsed, { status: "invalid" }];
@@ -100893,9 +101224,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
100893
101224
 
100894
101225
  // src/funcs/terminalApplicationsCreateVersion.ts
100895
101226
  function terminalApplicationsCreateVersion(client, request, options) {
100896
- return new APIPromise($do154(client, request, options));
101227
+ return new APIPromise($do155(client, request, options));
100897
101228
  }
100898
- async function $do154(client, request, options) {
101229
+ async function $do155(client, request, options) {
100899
101230
  const parsed = safeParse4(request, (value) => CreateTerminalApplicationVersionRequest$outboundSchema.parse(value), "Input validation failed");
100900
101231
  if (!parsed.ok) {
100901
101232
  return [parsed, { status: "invalid" }];
@@ -101004,9 +101335,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
101004
101335
 
101005
101336
  // src/funcs/terminalApplicationsDelete.ts
101006
101337
  function terminalApplicationsDelete(client, request, options) {
101007
- return new APIPromise($do155(client, request, options));
101338
+ return new APIPromise($do156(client, request, options));
101008
101339
  }
101009
- async function $do155(client, request, options) {
101340
+ async function $do156(client, request, options) {
101010
101341
  const parsed = safeParse4(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
101011
101342
  if (!parsed.ok) {
101012
101343
  return [parsed, { status: "invalid" }];
@@ -101110,9 +101441,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
101110
101441
 
101111
101442
  // src/funcs/terminalApplicationsGet.ts
101112
101443
  function terminalApplicationsGet(client, request, options) {
101113
- return new APIPromise($do156(client, request, options));
101444
+ return new APIPromise($do157(client, request, options));
101114
101445
  }
101115
- async function $do156(client, request, options) {
101446
+ async function $do157(client, request, options) {
101116
101447
  const parsed = safeParse4(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
101117
101448
  if (!parsed.ok) {
101118
101449
  return [parsed, { status: "invalid" }];
@@ -101218,9 +101549,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
101218
101549
 
101219
101550
  // src/funcs/terminalApplicationsList.ts
101220
101551
  function terminalApplicationsList(client, options) {
101221
- return new APIPromise($do157(client, options));
101552
+ return new APIPromise($do158(client, options));
101222
101553
  }
101223
- async function $do157(client, options) {
101554
+ async function $do158(client, options) {
101224
101555
  const path = pathToFunc("/terminal-applications")();
101225
101556
  const headers = new Headers(compactMap({
101226
101557
  Accept: "application/json"
@@ -101309,9 +101640,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
101309
101640
 
101310
101641
  // src/funcs/transferConfigCreate.ts
101311
101642
  function transferConfigCreate(client, request, options) {
101312
- return new APIPromise($do158(client, request, options));
101643
+ return new APIPromise($do159(client, request, options));
101313
101644
  }
101314
- async function $do158(client, request, options) {
101645
+ async function $do159(client, request, options) {
101315
101646
  const parsed = safeParse4(request, (value) => CreateTransferConfigRequest$outboundSchema.parse(value), "Input validation failed");
101316
101647
  if (!parsed.ok) {
101317
101648
  return [parsed, { status: "invalid" }];
@@ -101423,9 +101754,9 @@ var init_transferConfigCreate2 = __esm(() => {
101423
101754
 
101424
101755
  // src/funcs/transferConfigGet.ts
101425
101756
  function transferConfigGet(client, request, options) {
101426
- return new APIPromise($do159(client, request, options));
101757
+ return new APIPromise($do160(client, request, options));
101427
101758
  }
101428
- async function $do159(client, request, options) {
101759
+ async function $do160(client, request, options) {
101429
101760
  const parsed = safeParse4(request, (value) => GetTransferConfigRequest$outboundSchema.parse(value), "Input validation failed");
101430
101761
  if (!parsed.ok) {
101431
101762
  return [parsed, { status: "invalid" }];
@@ -101531,9 +101862,9 @@ var init_transferConfigGet2 = __esm(() => {
101531
101862
 
101532
101863
  // src/funcs/transferConfigUpdate.ts
101533
101864
  function transferConfigUpdate(client, request, options) {
101534
- return new APIPromise($do160(client, request, options));
101865
+ return new APIPromise($do161(client, request, options));
101535
101866
  }
101536
- async function $do160(client, request, options) {
101867
+ async function $do161(client, request, options) {
101537
101868
  const parsed = safeParse4(request, (value) => UpdateTransferConfigRequest$outboundSchema.parse(value), "Input validation failed");
101538
101869
  if (!parsed.ok) {
101539
101870
  return [parsed, { status: "invalid" }];
@@ -101643,9 +101974,9 @@ var init_transferConfigUpdate2 = __esm(() => {
101643
101974
 
101644
101975
  // src/funcs/transfersBatchGetTransfers.ts
101645
101976
  function transfersBatchGetTransfers(client, request, options) {
101646
- return new APIPromise($do161(client, request, options));
101977
+ return new APIPromise($do162(client, request, options));
101647
101978
  }
101648
- async function $do161(client, request, options) {
101979
+ async function $do162(client, request, options) {
101649
101980
  const parsed = safeParse4(request, (value) => BatchGetTransfersRequest$outboundSchema2.parse(value), "Input validation failed");
101650
101981
  if (!parsed.ok) {
101651
101982
  return [parsed, { status: "invalid" }];
@@ -101761,9 +102092,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
101761
102092
 
101762
102093
  // src/funcs/transfersCreate.ts
101763
102094
  function transfersCreate(client, request, options) {
101764
- return new APIPromise($do162(client, request, options));
102095
+ return new APIPromise($do163(client, request, options));
101765
102096
  }
101766
- async function $do162(client, request, options) {
102097
+ async function $do163(client, request, options) {
101767
102098
  const parsed = safeParse4(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
101768
102099
  if (!parsed.ok) {
101769
102100
  return [parsed, { status: "invalid" }];
@@ -101889,9 +102220,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
101889
102220
 
101890
102221
  // src/funcs/transfersCreateCancellation.ts
101891
102222
  function transfersCreateCancellation(client, request, options) {
101892
- return new APIPromise($do163(client, request, options));
102223
+ return new APIPromise($do164(client, request, options));
101893
102224
  }
101894
- async function $do163(client, request, options) {
102225
+ async function $do164(client, request, options) {
101895
102226
  const parsed = safeParse4(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
101896
102227
  if (!parsed.ok) {
101897
102228
  return [parsed, { status: "invalid" }];
@@ -102005,9 +102336,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
102005
102336
 
102006
102337
  // src/funcs/transfersCreateReversal.ts
102007
102338
  function transfersCreateReversal(client, request, options) {
102008
- return new APIPromise($do164(client, request, options));
102339
+ return new APIPromise($do165(client, request, options));
102009
102340
  }
102010
- async function $do164(client, request, options) {
102341
+ async function $do165(client, request, options) {
102011
102342
  const parsed = safeParse4(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
102012
102343
  if (!parsed.ok) {
102013
102344
  return [parsed, { status: "invalid" }];
@@ -102127,9 +102458,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
102127
102458
 
102128
102459
  // src/funcs/transfersGenerateOptions.ts
102129
102460
  function transfersGenerateOptions(client, request, options) {
102130
- return new APIPromise($do165(client, request, options));
102461
+ return new APIPromise($do166(client, request, options));
102131
102462
  }
102132
- async function $do165(client, request, options) {
102463
+ async function $do166(client, request, options) {
102133
102464
  const parsed = safeParse4(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
102134
102465
  if (!parsed.ok) {
102135
102466
  return [parsed, { status: "invalid" }];
@@ -102249,9 +102580,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
102249
102580
 
102250
102581
  // src/funcs/transfersGet.ts
102251
102582
  function transfersGet(client, request, options) {
102252
- return new APIPromise($do166(client, request, options));
102583
+ return new APIPromise($do167(client, request, options));
102253
102584
  }
102254
- async function $do166(client, request, options) {
102585
+ async function $do167(client, request, options) {
102255
102586
  const parsed = safeParse4(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
102256
102587
  if (!parsed.ok) {
102257
102588
  return [parsed, { status: "invalid" }];
@@ -102367,9 +102698,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
102367
102698
 
102368
102699
  // src/funcs/transfersGetCancellation.ts
102369
102700
  function transfersGetCancellation(client, request, options) {
102370
- return new APIPromise($do167(client, request, options));
102701
+ return new APIPromise($do168(client, request, options));
102371
102702
  }
102372
- async function $do167(client, request, options) {
102703
+ async function $do168(client, request, options) {
102373
102704
  const parsed = safeParse4(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
102374
102705
  if (!parsed.ok) {
102375
102706
  return [parsed, { status: "invalid" }];
@@ -102486,9 +102817,9 @@ var init_transfersGetCancellation2 = __esm(() => {
102486
102817
 
102487
102818
  // src/funcs/transfersGetRefund.ts
102488
102819
  function transfersGetRefund(client, request, options) {
102489
- return new APIPromise($do168(client, request, options));
102820
+ return new APIPromise($do169(client, request, options));
102490
102821
  }
102491
- async function $do168(client, request, options) {
102822
+ async function $do169(client, request, options) {
102492
102823
  const parsed = safeParse4(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
102493
102824
  if (!parsed.ok) {
102494
102825
  return [parsed, { status: "invalid" }];
@@ -102605,9 +102936,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
102605
102936
 
102606
102937
  // src/funcs/transfersInitiateRefund.ts
102607
102938
  function transfersInitiateRefund(client, request, options) {
102608
- return new APIPromise($do169(client, request, options));
102939
+ return new APIPromise($do170(client, request, options));
102609
102940
  }
102610
- async function $do169(client, request, options) {
102941
+ async function $do170(client, request, options) {
102611
102942
  const parsed = safeParse4(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
102612
102943
  if (!parsed.ok) {
102613
102944
  return [parsed, { status: "invalid" }];
@@ -102733,9 +103064,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
102733
103064
 
102734
103065
  // src/funcs/transfersList.ts
102735
103066
  function transfersList(client, request, options) {
102736
- return new APIPromise($do170(client, request, options));
103067
+ return new APIPromise($do171(client, request, options));
102737
103068
  }
102738
- async function $do170(client, request, options) {
103069
+ async function $do171(client, request, options) {
102739
103070
  const parsed = safeParse4(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
102740
103071
  if (!parsed.ok) {
102741
103072
  return [parsed, { status: "invalid" }];
@@ -102869,9 +103200,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
102869
103200
 
102870
103201
  // src/funcs/transfersListCancellations.ts
102871
103202
  function transfersListCancellations(client, request, options) {
102872
- return new APIPromise($do171(client, request, options));
103203
+ return new APIPromise($do172(client, request, options));
102873
103204
  }
102874
- async function $do171(client, request, options) {
103205
+ async function $do172(client, request, options) {
102875
103206
  const parsed = safeParse4(request, (value) => ListCancellationsRequest$outboundSchema.parse(value), "Input validation failed");
102876
103207
  if (!parsed.ok) {
102877
103208
  return [parsed, { status: "invalid" }];
@@ -102984,9 +103315,9 @@ var init_transfersListCancellations2 = __esm(() => {
102984
103315
 
102985
103316
  // src/funcs/transfersListRefunds.ts
102986
103317
  function transfersListRefunds(client, request, options) {
102987
- return new APIPromise($do172(client, request, options));
103318
+ return new APIPromise($do173(client, request, options));
102988
103319
  }
102989
- async function $do172(client, request, options) {
103320
+ async function $do173(client, request, options) {
102990
103321
  const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
102991
103322
  if (!parsed.ok) {
102992
103323
  return [parsed, { status: "invalid" }];
@@ -103099,9 +103430,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
103099
103430
 
103100
103431
  // src/funcs/transfersUpdate.ts
103101
103432
  function transfersUpdate(client, request, options) {
103102
- return new APIPromise($do173(client, request, options));
103433
+ return new APIPromise($do174(client, request, options));
103103
103434
  }
103104
- async function $do173(client, request, options) {
103435
+ async function $do174(client, request, options) {
103105
103436
  const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
103106
103437
  if (!parsed.ok) {
103107
103438
  return [parsed, { status: "invalid" }];
@@ -103220,9 +103551,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
103220
103551
 
103221
103552
  // src/funcs/underwritingGet.ts
103222
103553
  function underwritingGet(client, request, options) {
103223
- return new APIPromise($do174(client, request, options));
103554
+ return new APIPromise($do175(client, request, options));
103224
103555
  }
103225
- async function $do174(client, request, options) {
103556
+ async function $do175(client, request, options) {
103226
103557
  const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
103227
103558
  if (!parsed.ok) {
103228
103559
  return [parsed, { status: "invalid" }];
@@ -103333,9 +103664,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
103333
103664
 
103334
103665
  // src/funcs/underwritingSave.ts
103335
103666
  function underwritingSave(client, request, options) {
103336
- return new APIPromise($do175(client, request, options));
103667
+ return new APIPromise($do176(client, request, options));
103337
103668
  }
103338
- async function $do175(client, request, options) {
103669
+ async function $do176(client, request, options) {
103339
103670
  const parsed = safeParse4(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
103340
103671
  if (!parsed.ok) {
103341
103672
  return [parsed, { status: "invalid" }];
@@ -103452,9 +103783,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
103452
103783
 
103453
103784
  // src/funcs/underwritingUpsert.ts
103454
103785
  function underwritingUpsert(client, request, options) {
103455
- return new APIPromise($do176(client, request, options));
103786
+ return new APIPromise($do177(client, request, options));
103456
103787
  }
103457
- async function $do176(client, request, options) {
103788
+ async function $do177(client, request, options) {
103458
103789
  const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
103459
103790
  if (!parsed.ok) {
103460
103791
  return [parsed, { status: "invalid" }];
@@ -103571,9 +103902,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
103571
103902
 
103572
103903
  // src/funcs/walletsCreate.ts
103573
103904
  function walletsCreate(client, request, options) {
103574
- return new APIPromise($do177(client, request, options));
103905
+ return new APIPromise($do178(client, request, options));
103575
103906
  }
103576
- async function $do177(client, request, options) {
103907
+ async function $do178(client, request, options) {
103577
103908
  const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
103578
103909
  if (!parsed.ok) {
103579
103910
  return [parsed, { status: "invalid" }];
@@ -103688,9 +104019,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
103688
104019
 
103689
104020
  // src/funcs/walletsGet.ts
103690
104021
  function walletsGet(client, request, options) {
103691
- return new APIPromise($do178(client, request, options));
104022
+ return new APIPromise($do179(client, request, options));
103692
104023
  }
103693
- async function $do178(client, request, options) {
104024
+ async function $do179(client, request, options) {
103694
104025
  const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
103695
104026
  if (!parsed.ok) {
103696
104027
  return [parsed, { status: "invalid" }];
@@ -103805,9 +104136,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
103805
104136
 
103806
104137
  // src/funcs/walletsList.ts
103807
104138
  function walletsList(client, request, options) {
103808
- return new APIPromise($do179(client, request, options));
104139
+ return new APIPromise($do180(client, request, options));
103809
104140
  }
103810
- async function $do179(client, request, options) {
104141
+ async function $do180(client, request, options) {
103811
104142
  const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
103812
104143
  if (!parsed.ok) {
103813
104144
  return [parsed, { status: "invalid" }];
@@ -103928,9 +104259,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
103928
104259
 
103929
104260
  // src/funcs/walletsUpdate.ts
103930
104261
  function walletsUpdate(client, request, options) {
103931
- return new APIPromise($do180(client, request, options));
104262
+ return new APIPromise($do181(client, request, options));
103932
104263
  }
103933
- async function $do180(client, request, options) {
104264
+ async function $do181(client, request, options) {
103934
104265
  const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
103935
104266
  if (!parsed.ok) {
103936
104267
  return [parsed, { status: "invalid" }];
@@ -104049,9 +104380,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
104049
104380
 
104050
104381
  // src/funcs/walletTransactionsGet.ts
104051
104382
  function walletTransactionsGet(client, request, options) {
104052
- return new APIPromise($do181(client, request, options));
104383
+ return new APIPromise($do182(client, request, options));
104053
104384
  }
104054
- async function $do181(client, request, options) {
104385
+ async function $do182(client, request, options) {
104055
104386
  const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
104056
104387
  if (!parsed.ok) {
104057
104388
  return [parsed, { status: "invalid" }];
@@ -104170,9 +104501,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
104170
104501
 
104171
104502
  // src/funcs/walletTransactionsList.ts
104172
104503
  function walletTransactionsList(client, request, options) {
104173
- return new APIPromise($do182(client, request, options));
104504
+ return new APIPromise($do183(client, request, options));
104174
104505
  }
104175
- async function $do182(client, request, options) {
104506
+ async function $do183(client, request, options) {
104176
104507
  const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
104177
104508
  if (!parsed.ok) {
104178
104509
  return [parsed, { status: "invalid" }];
@@ -104305,9 +104636,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
104305
104636
 
104306
104637
  // src/funcs/webhooksCreate.ts
104307
104638
  function webhooksCreate(client, request, options) {
104308
- return new APIPromise($do183(client, request, options));
104639
+ return new APIPromise($do184(client, request, options));
104309
104640
  }
104310
- async function $do183(client, request, options) {
104641
+ async function $do184(client, request, options) {
104311
104642
  const parsed = safeParse4(request, (value) => CreateWebhook$outboundSchema.parse(value), "Input validation failed");
104312
104643
  if (!parsed.ok) {
104313
104644
  return [parsed, { status: "invalid" }];
@@ -104412,9 +104743,9 @@ var init_webhooksCreate2 = __esm(() => {
104412
104743
 
104413
104744
  // src/funcs/webhooksDisable.ts
104414
104745
  function webhooksDisable(client, request, options) {
104415
- return new APIPromise($do184(client, request, options));
104746
+ return new APIPromise($do185(client, request, options));
104416
104747
  }
104417
- async function $do184(client, request, options) {
104748
+ async function $do185(client, request, options) {
104418
104749
  const parsed = safeParse4(request, (value) => DisableWebhookRequest$outboundSchema.parse(value), "Input validation failed");
104419
104750
  if (!parsed.ok) {
104420
104751
  return [parsed, { status: "invalid" }];
@@ -104518,9 +104849,9 @@ var init_webhooksDisable2 = __esm(() => {
104518
104849
 
104519
104850
  // src/funcs/webhooksGet.ts
104520
104851
  function webhooksGet(client, request, options) {
104521
- return new APIPromise($do185(client, request, options));
104852
+ return new APIPromise($do186(client, request, options));
104522
104853
  }
104523
- async function $do185(client, request, options) {
104854
+ async function $do186(client, request, options) {
104524
104855
  const parsed = safeParse4(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
104525
104856
  if (!parsed.ok) {
104526
104857
  return [parsed, { status: "invalid" }];
@@ -104626,9 +104957,9 @@ var init_webhooksGet2 = __esm(() => {
104626
104957
 
104627
104958
  // src/funcs/webhooksGetSecret.ts
104628
104959
  function webhooksGetSecret(client, request, options) {
104629
- return new APIPromise($do186(client, request, options));
104960
+ return new APIPromise($do187(client, request, options));
104630
104961
  }
104631
- async function $do186(client, request, options) {
104962
+ async function $do187(client, request, options) {
104632
104963
  const parsed = safeParse4(request, (value) => GetWebhookSecretRequest$outboundSchema.parse(value), "Input validation failed");
104633
104964
  if (!parsed.ok) {
104634
104965
  return [parsed, { status: "invalid" }];
@@ -104734,9 +105065,9 @@ var init_webhooksGetSecret2 = __esm(() => {
104734
105065
 
104735
105066
  // src/funcs/webhooksList.ts
104736
105067
  function webhooksList(client, options) {
104737
- return new APIPromise($do187(client, options));
105068
+ return new APIPromise($do188(client, options));
104738
105069
  }
104739
- async function $do187(client, options) {
105070
+ async function $do188(client, options) {
104740
105071
  const path = pathToFunc("/webhooks")();
104741
105072
  const headers = new Headers(compactMap({
104742
105073
  Accept: "application/json"
@@ -104822,9 +105153,9 @@ var init_webhooksList2 = __esm(() => {
104822
105153
 
104823
105154
  // src/funcs/webhooksListEventTypes.ts
104824
105155
  function webhooksListEventTypes(client, options) {
104825
- return new APIPromise($do188(client, options));
105156
+ return new APIPromise($do189(client, options));
104826
105157
  }
104827
- async function $do188(client, options) {
105158
+ async function $do189(client, options) {
104828
105159
  const path = pathToFunc("/event-types")();
104829
105160
  const headers = new Headers(compactMap({
104830
105161
  Accept: "application/json"
@@ -104910,9 +105241,9 @@ var init_webhooksListEventTypes2 = __esm(() => {
104910
105241
 
104911
105242
  // src/funcs/webhooksPing.ts
104912
105243
  function webhooksPing(client, request, options) {
104913
- return new APIPromise($do189(client, request, options));
105244
+ return new APIPromise($do190(client, request, options));
104914
105245
  }
104915
- async function $do189(client, request, options) {
105246
+ async function $do190(client, request, options) {
104916
105247
  const parsed = safeParse4(request, (value) => PingWebhookRequest$outboundSchema.parse(value), "Input validation failed");
104917
105248
  if (!parsed.ok) {
104918
105249
  return [parsed, { status: "invalid" }];
@@ -105018,9 +105349,9 @@ var init_webhooksPing2 = __esm(() => {
105018
105349
 
105019
105350
  // src/funcs/webhooksUpdate.ts
105020
105351
  function webhooksUpdate(client, request, options) {
105021
- return new APIPromise($do190(client, request, options));
105352
+ return new APIPromise($do191(client, request, options));
105022
105353
  }
105023
- async function $do190(client, request, options) {
105354
+ async function $do191(client, request, options) {
105024
105355
  const parsed = safeParse4(request, (value) => UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
105025
105356
  if (!parsed.ok) {
105026
105357
  return [parsed, { status: "invalid" }];
@@ -105132,7 +105463,7 @@ var init_webhooksUpdate2 = __esm(() => {
105132
105463
  function createMCPServer(deps) {
105133
105464
  const server = new McpServer({
105134
105465
  name: "Moov",
105135
- version: "26.7.0-dev.5"
105466
+ version: "26.7.0"
105136
105467
  });
105137
105468
  const client = new MoovCore({
105138
105469
  security: deps.security,
@@ -105239,6 +105570,7 @@ function createMCPServer(deps) {
105239
105570
  tool(tool$productsGet);
105240
105571
  tool(tool$productsUpdate);
105241
105572
  tool(tool$productsDisable);
105573
+ tool(tool$productsListCategories);
105242
105574
  tool(tool$representativesCreate);
105243
105575
  tool(tool$representativesList);
105244
105576
  tool(tool$representativesDelete);
@@ -105465,6 +105797,7 @@ var init_server2 = __esm(() => {
105465
105797
  init_productsDisable2();
105466
105798
  init_productsGet2();
105467
105799
  init_productsList2();
105800
+ init_productsListCategories2();
105468
105801
  init_productsUpdate2();
105469
105802
  init_receiptsCreate2();
105470
105803
  init_receiptsList2();
@@ -106736,7 +107069,7 @@ var routes = rn({
106736
107069
  var app = Ve(routes, {
106737
107070
  name: "mcp",
106738
107071
  versionInfo: {
106739
- currentVersion: "26.7.0-dev.5"
107072
+ currentVersion: "26.7.0"
106740
107073
  }
106741
107074
  });
106742
107075
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -106744,5 +107077,5 @@ export {
106744
107077
  app
106745
107078
  };
106746
107079
 
106747
- //# debugId=61AB53CB398FFD8664756E2164756E21
107080
+ //# debugId=913BD292F65F51C464756E2164756E21
106748
107081
  //# sourceMappingURL=mcp-server.js.map