@moovio/sdk 25.1.8 → 25.1.11

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 (124) hide show
  1. package/bin/mcp-server.js +54 -41
  2. package/bin/mcp-server.js.map +31 -32
  3. package/funcs/disputesUploadEvidenceFile.js +6 -0
  4. package/funcs/disputesUploadEvidenceFile.js.map +1 -1
  5. package/funcs/filesUpload.js +6 -0
  6. package/funcs/filesUpload.js.map +1 -1
  7. package/funcs/imagesUpdate.js +7 -0
  8. package/funcs/imagesUpdate.js.map +1 -1
  9. package/funcs/imagesUpload.js +7 -0
  10. package/funcs/imagesUpload.js.map +1 -1
  11. package/jsr.json +1 -1
  12. package/lib/config.d.ts +3 -3
  13. package/lib/config.js +3 -3
  14. package/lib/config.js.map +1 -1
  15. package/lib/matchers.d.ts.map +1 -1
  16. package/lib/matchers.js +0 -1
  17. package/lib/matchers.js.map +1 -1
  18. package/lib/security.d.ts.map +1 -1
  19. package/lib/security.js +1 -2
  20. package/lib/security.js.map +1 -1
  21. package/mcp-server/mcp-server.js +1 -1
  22. package/mcp-server/mcp-server.js.map +1 -1
  23. package/mcp-server/server.js +1 -1
  24. package/mcp-server/server.js.map +1 -1
  25. package/mcp-server/shared.js +1 -1
  26. package/mcp-server/shared.js.map +1 -1
  27. package/models/components/accountfees.d.ts +5 -0
  28. package/models/components/accountfees.d.ts.map +1 -1
  29. package/models/components/accountfees.js +2 -0
  30. package/models/components/accountfees.js.map +1 -1
  31. package/models/components/billablefee.d.ts +3 -0
  32. package/models/components/billablefee.d.ts.map +1 -1
  33. package/models/components/billablefee.js.map +1 -1
  34. package/models/components/createfeeplanagreement.d.ts +3 -0
  35. package/models/components/createfeeplanagreement.d.ts.map +1 -1
  36. package/models/components/createfeeplanagreement.js.map +1 -1
  37. package/models/components/createpaymentlinklineitem.d.ts +3 -2
  38. package/models/components/createpaymentlinklineitem.d.ts.map +1 -1
  39. package/models/components/createpaymentlinklineitem.js.map +1 -1
  40. package/models/components/createpaymentlinklineitemoption.d.ts +1 -1
  41. package/models/components/createscheduledtransferlineitem.d.ts +6 -1
  42. package/models/components/createscheduledtransferlineitem.d.ts.map +1 -1
  43. package/models/components/createscheduledtransferlineitem.js.map +1 -1
  44. package/models/components/createscheduledtransferlineitemoption.d.ts +6 -1
  45. package/models/components/createscheduledtransferlineitemoption.d.ts.map +1 -1
  46. package/models/components/createscheduledtransferlineitemoption.js.map +1 -1
  47. package/models/components/createtransferlineitem.d.ts +6 -1
  48. package/models/components/createtransferlineitem.d.ts.map +1 -1
  49. package/models/components/createtransferlineitem.js.map +1 -1
  50. package/models/components/createtransferlineitemoption.d.ts +6 -1
  51. package/models/components/createtransferlineitemoption.d.ts.map +1 -1
  52. package/models/components/createtransferlineitemoption.js.map +1 -1
  53. package/models/components/feeplan.d.ts +3 -0
  54. package/models/components/feeplan.d.ts.map +1 -1
  55. package/models/components/feeplan.js.map +1 -1
  56. package/models/components/feeplanagreement.d.ts +9 -0
  57. package/models/components/feeplanagreement.d.ts.map +1 -1
  58. package/models/components/feeplanagreement.js.map +1 -1
  59. package/models/components/generatedby.d.ts +18 -0
  60. package/models/components/generatedby.d.ts.map +1 -1
  61. package/models/components/generatedby.js.map +1 -1
  62. package/models/components/incurredfee.d.ts +3 -0
  63. package/models/components/incurredfee.d.ts.map +1 -1
  64. package/models/components/incurredfee.js.map +1 -1
  65. package/models/components/index.d.ts +0 -1
  66. package/models/components/index.d.ts.map +1 -1
  67. package/models/components/index.js +0 -1
  68. package/models/components/index.js.map +1 -1
  69. package/models/components/partnerpricingagreement.d.ts +9 -0
  70. package/models/components/partnerpricingagreement.d.ts.map +1 -1
  71. package/models/components/partnerpricingagreement.js.map +1 -1
  72. package/models/components/transferdestination.d.ts +44 -4
  73. package/models/components/transferdestination.d.ts.map +1 -1
  74. package/models/components/transferdestination.js +36 -4
  75. package/models/components/transferdestination.js.map +1 -1
  76. package/models/components/wallettransactiontype.d.ts +0 -1
  77. package/models/components/wallettransactiontype.d.ts.map +1 -1
  78. package/models/components/wallettransactiontype.js +0 -1
  79. package/models/components/wallettransactiontype.js.map +1 -1
  80. package/models/errors/feeplanagreementerror.d.ts +6 -0
  81. package/models/errors/feeplanagreementerror.d.ts.map +1 -1
  82. package/models/errors/feeplanagreementerror.js.map +1 -1
  83. package/package.json +1 -1
  84. package/src/funcs/disputesUploadEvidenceFile.ts +15 -0
  85. package/src/funcs/filesUpload.ts +15 -0
  86. package/src/funcs/imagesUpdate.ts +16 -0
  87. package/src/funcs/imagesUpload.ts +16 -0
  88. package/src/lib/config.ts +3 -3
  89. package/src/lib/matchers.ts +3 -2
  90. package/src/lib/security.ts +1 -2
  91. package/src/mcp-server/mcp-server.ts +1 -1
  92. package/src/mcp-server/server.ts +1 -1
  93. package/src/mcp-server/shared.ts +2 -2
  94. package/src/models/components/accountfees.ts +7 -0
  95. package/src/models/components/billablefee.ts +3 -0
  96. package/src/models/components/createfeeplanagreement.ts +3 -0
  97. package/src/models/components/createpaymentlinklineitem.ts +3 -2
  98. package/src/models/components/createpaymentlinklineitemoption.ts +1 -1
  99. package/src/models/components/createscheduledtransferlineitem.ts +6 -1
  100. package/src/models/components/createscheduledtransferlineitemoption.ts +6 -1
  101. package/src/models/components/createtransferlineitem.ts +6 -1
  102. package/src/models/components/createtransferlineitemoption.ts +6 -1
  103. package/src/models/components/feeplan.ts +3 -0
  104. package/src/models/components/feeplanagreement.ts +9 -0
  105. package/src/models/components/generatedby.ts +18 -0
  106. package/src/models/components/incurredfee.ts +3 -0
  107. package/src/models/components/index.ts +0 -1
  108. package/src/models/components/partnerpricingagreement.ts +9 -0
  109. package/src/models/components/transferdestination.ts +96 -10
  110. package/src/models/components/wallettransactiontype.ts +0 -1
  111. package/src/models/errors/feeplanagreementerror.ts +6 -0
  112. package/_speakeasy/.github/action-inputs-config.json +0 -53
  113. package/_speakeasy/.github/action-security-config.json +0 -88
  114. package/examples/package-lock.json +0 -620
  115. package/examples/package.json +0 -18
  116. package/models/components/rtptransactiondetails.d.ts +0 -43
  117. package/models/components/rtptransactiondetails.d.ts.map +0 -1
  118. package/models/components/rtptransactiondetails.js +0 -75
  119. package/models/components/rtptransactiondetails.js.map +0 -1
  120. package/renovate.json +0 -30
  121. package/src/models/components/rtptransactiondetails.ts +0 -102
  122. package/test/package.json +0 -27
  123. package/test/tsconfig.json +0 -30
  124. package/tsconfig.json +0 -40
@@ -36,7 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.TransferDestination$outboundSchema = exports.TransferDestination$inboundSchema = void 0;
39
+ exports.TransferDestination$outboundSchema = exports.TransferDestination$inboundSchema = exports.RtpDetails$outboundSchema = exports.RtpDetails$inboundSchema = void 0;
40
+ exports.rtpDetailsToJSON = rtpDetailsToJSON;
41
+ exports.rtpDetailsFromJSON = rtpDetailsFromJSON;
40
42
  exports.transferDestinationToJSON = transferDestinationToJSON;
41
43
  exports.transferDestinationFromJSON = transferDestinationFromJSON;
42
44
  const z = __importStar(require("zod/v3"));
@@ -44,13 +46,43 @@ const schemas_js_1 = require("../../lib/schemas.js");
44
46
  const achtransactiondetails_js_1 = require("./achtransactiondetails.js");
45
47
  const applepayresponse_js_1 = require("./applepayresponse.js");
46
48
  const cardtransactiondetails_js_1 = require("./cardtransactiondetails.js");
47
- const rtptransactiondetails_js_1 = require("./rtptransactiondetails.js");
49
+ const rtpfailurecode_js_1 = require("./rtpfailurecode.js");
50
+ const rtptransactionstatus_js_1 = require("./rtptransactionstatus.js");
48
51
  const transferaccount_js_1 = require("./transferaccount.js");
49
52
  const transferpaymentmethodsbankaccount_js_1 = require("./transferpaymentmethodsbankaccount.js");
50
53
  const transferpaymentmethodscard_js_1 = require("./transferpaymentmethodscard.js");
51
54
  const transferpaymentmethodswallet_js_1 = require("./transferpaymentmethodswallet.js");
52
55
  const transferpaymentmethodtype_js_1 = require("./transferpaymentmethodtype.js");
53
56
  /** @internal */
57
+ exports.RtpDetails$inboundSchema = z.object({
58
+ status: rtptransactionstatus_js_1.RTPTransactionStatus$inboundSchema.optional(),
59
+ networkResponseCode: z.string().optional(),
60
+ failureCode: rtpfailurecode_js_1.RTPFailureCode$inboundSchema.optional(),
61
+ initiatedOn: z.string().datetime({ offset: true }).transform(v => new Date(v))
62
+ .optional(),
63
+ completedOn: z.string().datetime({ offset: true }).transform(v => new Date(v))
64
+ .optional(),
65
+ failedOn: z.string().datetime({ offset: true }).transform(v => new Date(v))
66
+ .optional(),
67
+ acceptedWithoutPostingOn: z.string().datetime({ offset: true }).transform(v => new Date(v)).optional(),
68
+ });
69
+ /** @internal */
70
+ exports.RtpDetails$outboundSchema = z.object({
71
+ status: rtptransactionstatus_js_1.RTPTransactionStatus$outboundSchema.optional(),
72
+ networkResponseCode: z.string().optional(),
73
+ failureCode: rtpfailurecode_js_1.RTPFailureCode$outboundSchema.optional(),
74
+ initiatedOn: z.date().transform(v => v.toISOString()).optional(),
75
+ completedOn: z.date().transform(v => v.toISOString()).optional(),
76
+ failedOn: z.date().transform(v => v.toISOString()).optional(),
77
+ acceptedWithoutPostingOn: z.date().transform(v => v.toISOString()).optional(),
78
+ });
79
+ function rtpDetailsToJSON(rtpDetails) {
80
+ return JSON.stringify(exports.RtpDetails$outboundSchema.parse(rtpDetails));
81
+ }
82
+ function rtpDetailsFromJSON(jsonString) {
83
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.RtpDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RtpDetails' from JSON`);
84
+ }
85
+ /** @internal */
54
86
  exports.TransferDestination$inboundSchema = z.object({
55
87
  paymentMethodID: z.string(),
56
88
  paymentMethodType: transferpaymentmethodtype_js_1.TransferPaymentMethodType$inboundSchema,
@@ -61,7 +93,7 @@ exports.TransferDestination$inboundSchema = z.object({
61
93
  achDetails: achtransactiondetails_js_1.ACHTransactionDetails$inboundSchema.optional(),
62
94
  applePay: applepayresponse_js_1.ApplePayResponse$inboundSchema.optional(),
63
95
  cardDetails: cardtransactiondetails_js_1.CardTransactionDetails$inboundSchema.optional(),
64
- rtpDetails: rtptransactiondetails_js_1.RTPTransactionDetails$inboundSchema.optional(),
96
+ rtpDetails: z.lazy(() => exports.RtpDetails$inboundSchema).optional(),
65
97
  });
66
98
  /** @internal */
67
99
  exports.TransferDestination$outboundSchema = z.object({
@@ -74,7 +106,7 @@ exports.TransferDestination$outboundSchema = z.object({
74
106
  achDetails: achtransactiondetails_js_1.ACHTransactionDetails$outboundSchema.optional(),
75
107
  applePay: applepayresponse_js_1.ApplePayResponse$outboundSchema.optional(),
76
108
  cardDetails: cardtransactiondetails_js_1.CardTransactionDetails$outboundSchema.optional(),
77
- rtpDetails: rtptransactiondetails_js_1.RTPTransactionDetails$outboundSchema.optional(),
109
+ rtpDetails: z.lazy(() => exports.RtpDetails$outboundSchema).optional(),
78
110
  });
79
111
  function transferDestinationToJSON(transferDestination) {
80
112
  return JSON.stringify(exports.TransferDestination$outboundSchema.parse(transferDestination));
@@ -1 +1 @@
1
- {"version":3,"file":"transferdestination.js","sourceRoot":"","sources":["../../src/models/components/transferdestination.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+IH,8DAMC;AACD,kEAQC;AA5JD,0CAA4B;AAC5B,qDAAiD;AAGjD,yEAKoC;AACpC,+DAK+B;AAC/B,2EAKqC;AACrC,yEAKoC;AACpC,6DAK8B;AAC9B,iGAKgD;AAChD,mFAKyC;AACzC,uFAK2C;AAC3C,iFAIwC;AAoCxC,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;IAC3B,iBAAiB,EAAE,sEAAuC;IAC1D,OAAO,EAAE,kDAA6B;IACtC,WAAW,EAAE,sFAA+C,CAAC,QAAQ,EAAE;IACvE,MAAM,EAAE,4EAA0C,CAAC,QAAQ,EAAE;IAC7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AS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC"}
@@ -28,7 +28,6 @@ export declare const WalletTransactionType: {
28
28
  readonly Adjustment: "adjustment";
29
29
  readonly FeeRevenue: "fee-revenue";
30
30
  readonly Residual: "residual";
31
- readonly InstantBankFailure: "instant-bank-failure";
32
31
  };
33
32
  export type WalletTransactionType = ClosedEnum<typeof WalletTransactionType>;
34
33
  /** @internal */
@@ -1 +1 @@
1
- {"version":3,"file":"wallettransactiontype.d.ts","sourceRoot":"","sources":["../../src/models/components/wallettransactiontype.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BxB,CAAC;AACX,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE7E,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,aAAa,CAC/D,OAAO,qBAAqB,CACS,CAAC;AACxC,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,aAAa,CAChE,OAAO,qBAAqB,CACS,CAAC"}
1
+ {"version":3,"file":"wallettransactiontype.d.ts","sourceRoot":"","sources":["../../src/models/components/wallettransactiontype.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BxB,CAAC;AACX,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE7E,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,aAAa,CAC/D,OAAO,qBAAqB,CACS,CAAC;AACxC,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,aAAa,CAChE,OAAO,qBAAqB,CACS,CAAC"}
@@ -66,7 +66,6 @@ exports.WalletTransactionType = {
66
66
  Adjustment: "adjustment",
67
67
  FeeRevenue: "fee-revenue",
68
68
  Residual: "residual",
69
- InstantBankFailure: "instant-bank-failure",
70
69
  };
71
70
  /** @internal */
72
71
  exports.WalletTransactionType$inboundSchema = z.nativeEnum(exports.WalletTransactionType);
@@ -1 +1 @@
1
- {"version":3,"file":"wallettransactiontype.js","sourceRoot":"","sources":["../../src/models/components/wallettransactiontype.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAGf,QAAA,qBAAqB,GAAG;IACnC,cAAc,EAAE,iBAAiB;IACjC,WAAW,EAAE,cAAc;IAC3B,SAAS,EAAE,YAAY;IACvB,WAAW,EAAE,cAAc;IAC3B,WAAW,EAAE,cAAc;IAC3B,YAAY,EAAE,eAAe;IAC7B,OAAO,EAAE,UAAU;IACnB,OAAO,EAAE,SAAS;IAClB,eAAe,EAAE,kBAAkB;IACnC,cAAc,EAAE,iBAAiB;IACjC,aAAa,EAAE,gBAAgB;IAC/B,kBAAkB,EAAE,qBAAqB;IACzC,4BAA4B,EAAE,gCAAgC;IAC9D,eAAe,EAAE,mBAAmB;IACpC,kBAAkB,EAAE,sBAAsB;IAC1C,cAAc,EAAE,iBAAiB;IACjC,OAAO,EAAE,UAAU;IACnB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,aAAa,EAAE,gBAAgB;IAC/B,UAAU,EAAE,aAAa;IACzB,KAAK,EAAE,QAAQ;IACf,cAAc,EAAE,iBAAiB;IACjC,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,UAAU;IACpB,kBAAkB,EAAE,sBAAsB;CAClC,CAAC;AAGX,gBAAgB;AACH,QAAA,mCAAmC,GAE5C,CAAC,CAAC,UAAU,CAAC,6BAAqB,CAAC,CAAC;AACxC,gBAAgB;AACH,QAAA,oCAAoC,GAE7C,2CAAmC,CAAC"}
1
+ {"version":3,"file":"wallettransactiontype.js","sourceRoot":"","sources":["../../src/models/components/wallettransactiontype.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAGf,QAAA,qBAAqB,GAAG;IACnC,cAAc,EAAE,iBAAiB;IACjC,WAAW,EAAE,cAAc;IAC3B,SAAS,EAAE,YAAY;IACvB,WAAW,EAAE,cAAc;IAC3B,WAAW,EAAE,cAAc;IAC3B,YAAY,EAAE,eAAe;IAC7B,OAAO,EAAE,UAAU;IACnB,OAAO,EAAE,SAAS;IAClB,eAAe,EAAE,kBAAkB;IACnC,cAAc,EAAE,iBAAiB;IACjC,aAAa,EAAE,gBAAgB;IAC/B,kBAAkB,EAAE,qBAAqB;IACzC,4BAA4B,EAAE,gCAAgC;IAC9D,eAAe,EAAE,mBAAmB;IACpC,kBAAkB,EAAE,sBAAsB;IAC1C,cAAc,EAAE,iBAAiB;IACjC,OAAO,EAAE,UAAU;IACnB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,aAAa,EAAE,gBAAgB;IAC/B,UAAU,EAAE,aAAa;IACzB,KAAK,EAAE,QAAQ;IACf,cAAc,EAAE,iBAAiB;IACjC,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,UAAU;CACZ,CAAC;AAGX,gBAAgB;AACH,QAAA,mCAAmC,GAE5C,CAAC,CAAC,UAAU,CAAC,6BAAqB,CAAC,CAAC;AACxC,gBAAgB;AACH,QAAA,oCAAoC,GAE7C,2CAAmC,CAAC"}
@@ -1,9 +1,15 @@
1
1
  import * as z from "zod/v3";
2
2
  import { MoovError } from "./mooverror.js";
3
3
  export type FeePlanAgreementErrorData = {
4
+ /**
5
+ * A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
6
+ */
4
7
  planID?: string | undefined;
5
8
  };
6
9
  export declare class FeePlanAgreementError extends MoovError {
10
+ /**
11
+ * A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
12
+ */
7
13
  planID?: string | undefined;
8
14
  /** The original data that was passed to this error instance. */
9
15
  data$: FeePlanAgreementErrorData;
@@ -1 +1 @@
1
- {"version":3,"file":"feeplanagreementerror.d.ts","sourceRoot":"","sources":["../../src/models/errors/feeplanagreementerror.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,MAAM,MAAM,yBAAyB,GAAG;IACtC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,qBAAa,qBAAsB,SAAQ,SAAS;IAClD,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE5B,gEAAgE;IAChE,KAAK,EAAE,yBAAyB,CAAC;gBAG/B,GAAG,EAAE,yBAAyB,EAC9B,QAAQ,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;CAWnE;AAED,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,O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AE,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC;IACjC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC;KACC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACf,OAAO,IAAI,qBAAqB,CAAC,CAAC,EAAE;QAClC,OAAO,EAAE,CAAC,CAAC,QAAQ;QACnB,QAAQ,EAAE,CAAC,CAAC,SAAS;QACrB,IAAI,EAAE,CAAC,CAAC,KAAK;KACd,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAOL,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,UAAU,CAAC,qBAAqB,CAAC;KACpC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;KACvB,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;IACb,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC9B,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moovio/sdk",
3
- "version": "25.1.8",
3
+ "version": "25.1.11",
4
4
  "author": "Moov",
5
5
  "bin": {
6
6
  "mcp": "bin/mcp-server.js"
@@ -123,6 +123,21 @@ async function $do(
123
123
  blob,
124
124
  payload.CreateEvidenceFileMultiPart.file.fileName,
125
125
  );
126
+ } else if (
127
+ payload.CreateEvidenceFileMultiPart.file.content instanceof Uint8Array
128
+ ) {
129
+ const contentType =
130
+ getContentTypeFromFileName(
131
+ payload.CreateEvidenceFileMultiPart.file.fileName,
132
+ ) || "application/octet-stream";
133
+ appendForm(
134
+ body,
135
+ "file",
136
+ new Blob([
137
+ new Uint8Array(payload.CreateEvidenceFileMultiPart.file.content).buffer,
138
+ ], { type: contentType }),
139
+ payload.CreateEvidenceFileMultiPart.file.fileName,
140
+ );
126
141
  } else {
127
142
  const contentType =
128
143
  getContentTypeFromFileName(
@@ -118,6 +118,21 @@ async function $do(
118
118
  blob,
119
119
  payload.FileUploadRequestMultiPart.file.fileName,
120
120
  );
121
+ } else if (
122
+ payload.FileUploadRequestMultiPart.file.content instanceof Uint8Array
123
+ ) {
124
+ const contentType =
125
+ getContentTypeFromFileName(
126
+ payload.FileUploadRequestMultiPart.file.fileName,
127
+ ) || "application/octet-stream";
128
+ appendForm(
129
+ body,
130
+ "file",
131
+ new Blob([
132
+ new Uint8Array(payload.FileUploadRequestMultiPart.file.content).buffer,
133
+ ], { type: contentType }),
134
+ payload.FileUploadRequestMultiPart.file.fileName,
135
+ );
121
136
  } else {
122
137
  const contentType =
123
138
  getContentTypeFromFileName(
@@ -115,6 +115,22 @@ async function $do(
115
115
  blob,
116
116
  payload.ImageUploadRequestMultiPart.image.fileName,
117
117
  );
118
+ } else if (
119
+ payload.ImageUploadRequestMultiPart.image.content instanceof Uint8Array
120
+ ) {
121
+ const contentType =
122
+ getContentTypeFromFileName(
123
+ payload.ImageUploadRequestMultiPart.image.fileName,
124
+ ) || "application/octet-stream";
125
+ appendForm(
126
+ body,
127
+ "image",
128
+ new Blob([
129
+ new Uint8Array(payload.ImageUploadRequestMultiPart.image.content)
130
+ .buffer,
131
+ ], { type: contentType }),
132
+ payload.ImageUploadRequestMultiPart.image.fileName,
133
+ );
118
134
  } else {
119
135
  const contentType =
120
136
  getContentTypeFromFileName(
@@ -113,6 +113,22 @@ async function $do(
113
113
  blob,
114
114
  payload.ImageUploadRequestMultiPart.image.fileName,
115
115
  );
116
+ } else if (
117
+ payload.ImageUploadRequestMultiPart.image.content instanceof Uint8Array
118
+ ) {
119
+ const contentType =
120
+ getContentTypeFromFileName(
121
+ payload.ImageUploadRequestMultiPart.image.fileName,
122
+ ) || "application/octet-stream";
123
+ appendForm(
124
+ body,
125
+ "image",
126
+ new Blob([
127
+ new Uint8Array(payload.ImageUploadRequestMultiPart.image.content)
128
+ .buffer,
129
+ ], { type: contentType }),
130
+ payload.ImageUploadRequestMultiPart.image.fileName,
131
+ );
116
132
  } else {
117
133
  const contentType =
118
134
  getContentTypeFromFileName(
package/src/lib/config.ts CHANGED
@@ -73,7 +73,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
73
73
  export const SDK_METADATA = {
74
74
  language: "typescript",
75
75
  openapiDocVersion: "v2025.01.00",
76
- sdkVersion: "25.1.8",
77
- genVersion: "2.832.9",
78
- userAgent: "speakeasy-sdk/typescript 25.1.8 2.832.9 v2025.01.00 @moovio/sdk",
76
+ sdkVersion: "25.1.11",
77
+ genVersion: "2.856.1",
78
+ userAgent: "speakeasy-sdk/typescript 25.1.11 2.856.1 v2025.01.00 @moovio/sdk",
79
79
  } as const;
@@ -248,8 +248,9 @@ export function match<T, E>(
248
248
  raw = body;
249
249
  break;
250
250
  default:
251
- encoding satisfies never;
252
- throw new Error(`Unsupported response type: ${encoding}`);
251
+ throw new Error(
252
+ `Unsupported response type: ${encoding satisfies never}`,
253
+ );
253
254
  }
254
255
 
255
256
  if (matcher.enc === "fail") {
@@ -197,8 +197,7 @@ export function resolveSecurity(
197
197
  applyBearer(state, spec);
198
198
  break;
199
199
  default:
200
- spec satisfies never;
201
- throw SecurityError.unrecognizedType(type);
200
+ throw SecurityError.unrecognizedType((spec satisfies never, type));
202
201
  }
203
202
  });
204
203
 
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "25.1.8",
22
+ currentVersion: "25.1.11",
23
23
  },
24
24
  });
25
25
 
@@ -190,7 +190,7 @@ export function createMCPServer(deps: {
190
190
  }) {
191
191
  const server = new McpServer({
192
192
  name: "Moov",
193
- version: "25.1.8",
193
+ version: "25.1.11",
194
194
  });
195
195
 
196
196
  const client = new MoovCore({
@@ -16,12 +16,12 @@ export async function consumeStream(
16
16
  stream: ReadableStream<Uint8Array>,
17
17
  ): Promise<Uint8Array> {
18
18
  const reader = stream.getReader();
19
- const chunks: Uint8Array[] = [];
19
+ const chunks: ArrayBuffer[] = [];
20
20
 
21
21
  try {
22
22
  while (true) {
23
23
  const { done, value } = await reader.read();
24
- if (value != null) chunks.push(value);
24
+ if (value != null) chunks.push(new Uint8Array(value).buffer);
25
25
  if (done) break;
26
26
  }
27
27
  } finally {
@@ -25,6 +25,10 @@ export type AccountFees = {
25
25
  * Fees for PCI compliance.
26
26
  */
27
27
  merchantPCIFee: AmountDecimal;
28
+ /**
29
+ * Fees for invoice payments.
30
+ */
31
+ invoicePaymentFee: AmountDecimal;
28
32
  /**
29
33
  * Fees for business verification.
30
34
  */
@@ -51,6 +55,7 @@ export const AccountFees$inboundSchema: z.ZodType<
51
55
  > = z.object({
52
56
  walletFee: AmountDecimal$inboundSchema,
53
57
  merchantPCIFee: AmountDecimal$inboundSchema,
58
+ invoicePaymentFee: AmountDecimal$inboundSchema,
54
59
  kybFee: AmountDecimal$inboundSchema.optional(),
55
60
  kycFee: AmountDecimal$inboundSchema.optional(),
56
61
  transactionMonitoringFee: AmountDecimal$inboundSchema.optional(),
@@ -60,6 +65,7 @@ export const AccountFees$inboundSchema: z.ZodType<
60
65
  export type AccountFees$Outbound = {
61
66
  walletFee: AmountDecimal$Outbound;
62
67
  merchantPCIFee: AmountDecimal$Outbound;
68
+ invoicePaymentFee: AmountDecimal$Outbound;
63
69
  kybFee?: AmountDecimal$Outbound | undefined;
64
70
  kycFee?: AmountDecimal$Outbound | undefined;
65
71
  transactionMonitoringFee?: AmountDecimal$Outbound | undefined;
@@ -74,6 +80,7 @@ export const AccountFees$outboundSchema: z.ZodType<
74
80
  > = z.object({
75
81
  walletFee: AmountDecimal$outboundSchema,
76
82
  merchantPCIFee: AmountDecimal$outboundSchema,
83
+ invoicePaymentFee: AmountDecimal$outboundSchema,
77
84
  kybFee: AmountDecimal$outboundSchema.optional(),
78
85
  kycFee: AmountDecimal$outboundSchema.optional(),
79
86
  transactionMonitoringFee: AmountDecimal$outboundSchema.optional(),
@@ -24,6 +24,9 @@ import {
24
24
  } from "./feeproperties.js";
25
25
 
26
26
  export type BillableFee = {
27
+ /**
28
+ * A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
29
+ */
27
30
  billableFeeID?: string | undefined;
28
31
  /**
29
32
  * A unique code identifying a charge.
@@ -8,6 +8,9 @@ import { Result as SafeParseResult } from "../../types/fp.js";
8
8
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
9
 
10
10
  export type CreateFeePlanAgreement = {
11
+ /**
12
+ * A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
13
+ */
11
14
  planID: string;
12
15
  };
13
16
 
@@ -43,7 +43,7 @@ export type CreatePaymentLinkLineItem = {
43
43
  * Optional list of images associated with this line item.
44
44
  *
45
45
  * @remarks
46
- * This field is deprecated and will be ignored. A future release will populate images associated with the given productID.
46
+ * This field is being deprecated in favor using the images associated with a productID and will soon be unsupported.
47
47
  *
48
48
  * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
49
49
  */
@@ -52,7 +52,8 @@ export type CreatePaymentLinkLineItem = {
52
52
  * Optional unique identifier associating the line item with a product.
53
53
  *
54
54
  * @remarks
55
- * This is for reporting or tracking purposes, and does not populate other details of the line item.
55
+ * When provided, images associated with the product will be included on the line item.
56
+ * This does not populate other details of the line item.
56
57
  */
57
58
  productID?: string | undefined;
58
59
  };
@@ -33,7 +33,7 @@ export type CreatePaymentLinkLineItemOption = {
33
33
  * Optional list of images associated with this line item option.
34
34
  *
35
35
  * @remarks
36
- * This field is deprecated and will be ignored. A future release will populate images associated with the given productID.
36
+ * This field is being deprecated in favor using the images associated with a productID and will soon be unsupported.
37
37
  *
38
38
  * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
39
39
  */
@@ -47,7 +47,12 @@ export type CreateScheduledTransferLineItem = {
47
47
  */
48
48
  productID?: string | undefined;
49
49
  /**
50
- * Optional list of images associated with this line item.
50
+ * Optional list of images associated with this line item.
51
+ *
52
+ * @remarks
53
+ * This field is being deprecated in favor using the images associated with a productID and will soon be unsupported.
54
+ *
55
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
51
56
  */
52
57
  imageIDs?: Array<string> | undefined;
53
58
  };
@@ -34,7 +34,12 @@ export type CreateScheduledTransferLineItemOption = {
34
34
  */
35
35
  group?: string | undefined;
36
36
  /**
37
- * Optional list of images associated with this line item.
37
+ * Optional list of images associated with this line item option.
38
+ *
39
+ * @remarks
40
+ * This field is being deprecated in favor using the images associated with a productID and will soon be unsupported.
41
+ *
42
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
38
43
  */
39
44
  imageIDs?: Array<string> | undefined;
40
45
  };
@@ -40,7 +40,12 @@ export type CreateTransferLineItem = {
40
40
  */
41
41
  options?: Array<CreateTransferLineItemOption> | undefined;
42
42
  /**
43
- * Optional list of images associated with this line item.
43
+ * Optional list of images associated with this line item.
44
+ *
45
+ * @remarks
46
+ * This field is being deprecated in favor using the images associated with a productID and will soon be unsupported.
47
+ *
48
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
44
49
  */
45
50
  imageIDs?: Array<string> | undefined;
46
51
  /**
@@ -30,7 +30,12 @@ export type CreateTransferLineItemOption = {
30
30
  */
31
31
  priceModifier?: AmountDecimal | undefined;
32
32
  /**
33
- * Optional list of images associated with this line item option.
33
+ * Optional list of images associated with this line item option.
34
+ *
35
+ * @remarks
36
+ * This field is being deprecated in favor using the images associated with a productID and will soon be unsupported.
37
+ *
38
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
34
39
  */
35
40
  imageIDs?: Array<string> | undefined;
36
41
  /**
@@ -31,6 +31,9 @@ import {
31
31
  } from "./monthlyplatformfee.js";
32
32
 
33
33
  export type FeePlan = {
34
+ /**
35
+ * A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
36
+ */
34
37
  planID: string;
35
38
  /**
36
39
  * The name of the fee plan.
@@ -36,8 +36,17 @@ import {
36
36
  } from "./monthlyplatformfee.js";
37
37
 
38
38
  export type FeePlanAgreement = {
39
+ /**
40
+ * A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
41
+ */
39
42
  agreementID: string;
43
+ /**
44
+ * A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
45
+ */
40
46
  planID: string;
47
+ /**
48
+ * A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
49
+ */
41
50
  accountID?: string | undefined;
42
51
  /**
43
52
  * The name of the agreement.
@@ -11,11 +11,29 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
11
  * The entity that generated the fee.
12
12
  */
13
13
  export type GeneratedBy = {
14
+ /**
15
+ * A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
16
+ */
14
17
  transferID?: string | undefined;
18
+ /**
19
+ * A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
20
+ */
15
21
  cardID?: string | undefined;
22
+ /**
23
+ * A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
24
+ */
16
25
  disputeID?: string | undefined;
26
+ /**
27
+ * A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
28
+ */
17
29
  accountID?: string | undefined;
30
+ /**
31
+ * A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
32
+ */
18
33
  bankAccountID?: string | undefined;
34
+ /**
35
+ * A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
36
+ */
19
37
  invoiceID?: string | undefined;
20
38
  };
21
39
 
@@ -23,6 +23,9 @@ import {
23
23
  * A fee incurred by a user.
24
24
  */
25
25
  export type IncurredFee = {
26
+ /**
27
+ * A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
28
+ */
26
29
  feeID?: string | undefined;
27
30
  /**
28
31
  * Account ID the fee belongs to.
@@ -365,7 +365,6 @@ export * from "./rtpfailurecode.js";
365
365
  export * from "./rtpinstitution.js";
366
366
  export * from "./rtprejectioncode.js";
367
367
  export * from "./rtpservices.js";
368
- export * from "./rtptransactiondetails.js";
369
368
  export * from "./rtptransactionstatus.js";
370
369
  export * from "./runtransfer.js";
371
370
  export * from "./scheduledtransferimagemetadata.js";
@@ -36,8 +36,17 @@ import {
36
36
  } from "./monthlyplatformfee.js";
37
37
 
38
38
  export type PartnerPricingAgreement = {
39
+ /**
40
+ * A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
41
+ */
39
42
  agreementID: string;
43
+ /**
44
+ * A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
45
+ */
40
46
  planID: string;
47
+ /**
48
+ * A unique identifier for a Moov resource. Supports UUID format (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) or typed format with base32-encoded UUID and type suffix (e.g., kuoaydiojf7uszaokc2ggnaaaa_xfer).
49
+ */
41
50
  accountID?: string | undefined;
42
51
  /**
43
52
  * The name of the agreement.