@moovio/sdk 26.4.3 → 26.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/bin/mcp-server.js +56 -33
  2. package/bin/mcp-server.js.map +22 -21
  3. package/jsr.json +1 -1
  4. package/lib/config.d.ts +2 -2
  5. package/lib/config.js +2 -2
  6. package/mcp-server/mcp-server.js +1 -1
  7. package/mcp-server/server.js +1 -1
  8. package/models/components/createdtransfer.d.ts +1 -1
  9. package/models/components/createpaymentlink.d.ts +1 -1
  10. package/models/components/createpaymentlinklineitems.d.ts +1 -1
  11. package/models/components/createpaymentlinklineitemsupdate.d.ts +1 -1
  12. package/models/components/createtransfer.d.ts +1 -1
  13. package/models/components/createtransferlineitems.d.ts +1 -1
  14. package/models/components/googlepayresponse.d.ts +45 -3
  15. package/models/components/googlepayresponse.d.ts.map +1 -1
  16. package/models/components/googlepayresponse.js +24 -3
  17. package/models/components/googlepayresponse.js.map +1 -1
  18. package/models/components/index.d.ts +1 -0
  19. package/models/components/index.d.ts.map +1 -1
  20. package/models/components/index.js +1 -0
  21. package/models/components/index.js.map +1 -1
  22. package/models/components/paymentlink.d.ts +1 -1
  23. package/models/components/paymentlinklineitems.d.ts +1 -1
  24. package/models/components/rtptransactiondetails.d.ts +45 -0
  25. package/models/components/rtptransactiondetails.d.ts.map +1 -0
  26. package/models/components/rtptransactiondetails.js +75 -0
  27. package/models/components/rtptransactiondetails.js.map +1 -0
  28. package/models/components/transfer.d.ts +1 -1
  29. package/models/components/transferdestination.d.ts +5 -43
  30. package/models/components/transferdestination.d.ts.map +1 -1
  31. package/models/components/transferdestination.js +4 -36
  32. package/models/components/transferdestination.js.map +1 -1
  33. package/models/components/transferlineitems.d.ts +1 -1
  34. package/models/components/updatepaymentlink.d.ts +1 -1
  35. package/models/errors/transfer.d.ts +2 -2
  36. package/package.json +1 -1
  37. package/src/lib/config.ts +2 -2
  38. package/src/mcp-server/mcp-server.ts +1 -1
  39. package/src/mcp-server/server.ts +1 -1
  40. package/src/models/components/createdtransfer.ts +1 -1
  41. package/src/models/components/createpaymentlink.ts +1 -1
  42. package/src/models/components/createpaymentlinklineitems.ts +1 -1
  43. package/src/models/components/createpaymentlinklineitemsupdate.ts +1 -1
  44. package/src/models/components/createtransfer.ts +1 -1
  45. package/src/models/components/createtransferlineitems.ts +1 -1
  46. package/src/models/components/googlepayresponse.ts +63 -5
  47. package/src/models/components/index.ts +1 -0
  48. package/src/models/components/paymentlink.ts +1 -1
  49. package/src/models/components/paymentlinklineitems.ts +1 -1
  50. package/src/models/components/rtptransactiondetails.ts +104 -0
  51. package/src/models/components/transfer.ts +1 -1
  52. package/src/models/components/transferdestination.ts +11 -95
  53. package/src/models/components/transferlineitems.ts +1 -1
  54. package/src/models/components/updatepaymentlink.ts +1 -1
  55. package/src/models/errors/transfer.ts +2 -2
@@ -6,36 +6,12 @@ import { ApplePayResponse, ApplePayResponse$Outbound } from "./applepayresponse.
6
6
  import { CardTransactionDetails, CardTransactionDetails$Outbound } from "./cardtransactiondetails.js";
7
7
  import { GooglePayResponse, GooglePayResponse$Outbound } from "./googlepayresponse.js";
8
8
  import { InstantBankTransactionDetails, InstantBankTransactionDetails$Outbound } from "./instantbanktransactiondetails.js";
9
- import { RTPFailureCode } from "./rtpfailurecode.js";
10
- import { RTPTransactionStatus } from "./rtptransactionstatus.js";
9
+ import { RTPTransactionDetails, RTPTransactionDetails$Outbound } from "./rtptransactiondetails.js";
11
10
  import { TransferAccount, TransferAccount$Outbound } from "./transferaccount.js";
12
11
  import { TransferPaymentMethodsBankAccount, TransferPaymentMethodsBankAccount$Outbound } from "./transferpaymentmethodsbankaccount.js";
13
12
  import { TransferPaymentMethodsCard, TransferPaymentMethodsCard$Outbound } from "./transferpaymentmethodscard.js";
14
13
  import { TransferPaymentMethodsWallet, TransferPaymentMethodsWallet$Outbound } from "./transferpaymentmethodswallet.js";
15
14
  import { TransferPaymentMethodType } from "./transferpaymentmethodtype.js";
16
- /**
17
- * DEPRECATED: use `InstantBankTransactionDetails` instead (v2026.04.00 or later). RTP specific details about the transaction.
18
- *
19
- * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
20
- */
21
- export type RtpDetails = {
22
- /**
23
- * Status of a transaction within the RTP lifecycle.
24
- */
25
- status?: RTPTransactionStatus | undefined;
26
- /**
27
- * Response code returned by network on failure.
28
- */
29
- networkResponseCode?: string | undefined;
30
- /**
31
- * Status codes for RTP failures.
32
- */
33
- failureCode?: RTPFailureCode | undefined;
34
- initiatedOn?: Date | undefined;
35
- completedOn?: Date | undefined;
36
- failedOn?: Date | undefined;
37
- acceptedWithoutPostingOn?: Date | undefined;
38
- };
39
15
  export type TransferDestination = {
40
16
  paymentMethodID: string;
41
17
  /**
@@ -69,31 +45,17 @@ export type TransferDestination = {
69
45
  */
70
46
  cardDetails?: CardTransactionDetails | undefined;
71
47
  /**
48
+ * DEPRECATED: use `InstantBankTransactionDetails` instead (v2026.04.00 or later). RTP specific details about the transaction.
49
+ *
72
50
  * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
73
51
  */
74
- rtpDetails?: RtpDetails | undefined;
52
+ rtpDetails?: RTPTransactionDetails | undefined;
75
53
  /**
76
54
  * Instant-bank specific details about the transaction.
77
55
  */
78
56
  instantBankDetails?: InstantBankTransactionDetails | undefined;
79
57
  };
80
58
  /** @internal */
81
- export declare const RtpDetails$inboundSchema: z.ZodType<RtpDetails, z.ZodTypeDef, unknown>;
82
- /** @internal */
83
- export type RtpDetails$Outbound = {
84
- status?: string | undefined;
85
- networkResponseCode?: string | undefined;
86
- failureCode?: string | undefined;
87
- initiatedOn?: string | undefined;
88
- completedOn?: string | undefined;
89
- failedOn?: string | undefined;
90
- acceptedWithoutPostingOn?: string | undefined;
91
- };
92
- /** @internal */
93
- export declare const RtpDetails$outboundSchema: z.ZodType<RtpDetails$Outbound, z.ZodTypeDef, RtpDetails>;
94
- export declare function rtpDetailsToJSON(rtpDetails: RtpDetails): string;
95
- export declare function rtpDetailsFromJSON(jsonString: string): SafeParseResult<RtpDetails, SDKValidationError>;
96
- /** @internal */
97
59
  export declare const TransferDestination$inboundSchema: z.ZodType<TransferDestination, z.ZodTypeDef, unknown>;
98
60
  /** @internal */
99
61
  export type TransferDestination$Outbound = {
@@ -107,7 +69,7 @@ export type TransferDestination$Outbound = {
107
69
  applePay?: ApplePayResponse$Outbound | undefined;
108
70
  googlePay?: GooglePayResponse$Outbound | undefined;
109
71
  cardDetails?: CardTransactionDetails$Outbound | undefined;
110
- rtpDetails?: RtpDetails$Outbound | undefined;
72
+ rtpDetails?: RTPTransactionDetails$Outbound | undefined;
111
73
  instantBankDetails?: InstantBankTransactionDetails$Outbound | undefined;
112
74
  };
113
75
  /** @internal */
@@ -1 +1 @@
1
- {"version":3,"file":"transferdestination.d.ts","sourceRoot":"","sources":["../../src/models/components/transferdestination.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,qBAAqB,EAErB,8BAA8B,EAE/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,gBAAgB,EAEhB,yBAAyB,EAE1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,sBAAsB,EAEtB,+BAA+B,EAEhC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,iBAAiB,EAEjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,6BAA6B,EAE7B,sCAAsC,EAEvC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,cAAc,EAGf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EAGrB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,eAAe,EAEf,wBAAwB,EAEzB,MAAM,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B,EAAE,MAAM,CAAC;IAC1B,OAAO,EAAE,wBAAwB,CAAC;IAClC,WAAW,CAAC,EAAE,0CAA0C,GAAG,SAAS,CAAC;IACrE,MAAM,CAAC,EAAE,qCAAqC,GAAG,SAAS,CAAC;IAC3D,IAAI,CAAC,EAAE,mCAAmC,GAAG,SAAS,CAAC;IACvD,UAAU,CAAC,EAAE,8BAA8B,GAAG,SAAS,CAAC;IACxD,QAAQ,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;IACjD,SAAS,CAAC,EAAE,0BAA0B,GAAG,SAAS,CAAC;IACnD,WAAW,CAAC,EAAE,+BAA+B,GAAG,SAAS,CAAC;IAC1D,UAAU,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IAC7C,kBAAkB,CAAC,EAAE,sCAAsC,GAAG,SAAS,CAAC;CACzE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CAcnB,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR;AACD,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
1
+ {"version":3,"file":"transferdestination.d.ts","sourceRoot":"","sources":["../../src/models/components/transferdestination.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,qBAAqB,EAErB,8BAA8B,EAE/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,gBAAgB,EAEhB,yBAAyB,EAE1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,sBA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IACH,kBAAkB,CAAC,EAAE,6BAA6B,GAAG,SAAS,CAAC;CAChE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,mBAAmB,EACnB,CAAC,CAAC,UAAU,EACZ,OAAO,CAcP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,4BAA4B,GAAG;IACzC,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,OAAO,EAAE,wBAAwB,CAAC;IAClC,WAAW,CAAC,EAAE,0CAA0C,GAAG,SAAS,CAAC;IACrE,MAAM,CAAC,EAAE,qCAAqC,GAAG,SAAS,CAAC;IAC3D,IAAI,CAAC,EAAE,mCAAmC,GAAG,SAAS,CAAC;IACvD,UAAU,CAAC,EAAE,8BAA8B,GAAG,SAAS,CAAC;IACxD,QAAQ,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;IACjD,SAAS,CAAC,EAAE,0BAA0B,GAAG,SAAS,CAAC;IACnD,WAAW,CAAC,EAAE,+BAA+B,GAAG,SAAS,CAAC;IAC1D,UAAU,CAAC,EAAE,8BAA8B,GAAG,SAAS,CAAC;IACxD,kBAAkB,CAAC,EAAE,sCAAsC,GAAG,SAAS,CAAC;CACzE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CAcnB,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR;AACD,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
@@ -36,9 +36,7 @@ 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 = exports.RtpDetails$outboundSchema = exports.RtpDetails$inboundSchema = void 0;
40
- exports.rtpDetailsToJSON = rtpDetailsToJSON;
41
- exports.rtpDetailsFromJSON = rtpDetailsFromJSON;
39
+ exports.TransferDestination$outboundSchema = exports.TransferDestination$inboundSchema = void 0;
42
40
  exports.transferDestinationToJSON = transferDestinationToJSON;
43
41
  exports.transferDestinationFromJSON = transferDestinationFromJSON;
44
42
  const z = __importStar(require("zod/v3"));
@@ -48,43 +46,13 @@ const applepayresponse_js_1 = require("./applepayresponse.js");
48
46
  const cardtransactiondetails_js_1 = require("./cardtransactiondetails.js");
49
47
  const googlepayresponse_js_1 = require("./googlepayresponse.js");
50
48
  const instantbanktransactiondetails_js_1 = require("./instantbanktransactiondetails.js");
51
- const rtpfailurecode_js_1 = require("./rtpfailurecode.js");
52
- const rtptransactionstatus_js_1 = require("./rtptransactionstatus.js");
49
+ const rtptransactiondetails_js_1 = require("./rtptransactiondetails.js");
53
50
  const transferaccount_js_1 = require("./transferaccount.js");
54
51
  const transferpaymentmethodsbankaccount_js_1 = require("./transferpaymentmethodsbankaccount.js");
55
52
  const transferpaymentmethodscard_js_1 = require("./transferpaymentmethodscard.js");
56
53
  const transferpaymentmethodswallet_js_1 = require("./transferpaymentmethodswallet.js");
57
54
  const transferpaymentmethodtype_js_1 = require("./transferpaymentmethodtype.js");
58
55
  /** @internal */
59
- exports.RtpDetails$inboundSchema = z.object({
60
- status: rtptransactionstatus_js_1.RTPTransactionStatus$inboundSchema.optional(),
61
- networkResponseCode: z.string().optional(),
62
- failureCode: rtpfailurecode_js_1.RTPFailureCode$inboundSchema.optional(),
63
- initiatedOn: z.string().datetime({ offset: true }).transform(v => new Date(v))
64
- .optional(),
65
- completedOn: z.string().datetime({ offset: true }).transform(v => new Date(v))
66
- .optional(),
67
- failedOn: z.string().datetime({ offset: true }).transform(v => new Date(v))
68
- .optional(),
69
- acceptedWithoutPostingOn: z.string().datetime({ offset: true }).transform(v => new Date(v)).optional(),
70
- });
71
- /** @internal */
72
- exports.RtpDetails$outboundSchema = z.object({
73
- status: rtptransactionstatus_js_1.RTPTransactionStatus$outboundSchema.optional(),
74
- networkResponseCode: z.string().optional(),
75
- failureCode: rtpfailurecode_js_1.RTPFailureCode$outboundSchema.optional(),
76
- initiatedOn: z.date().transform(v => v.toISOString()).optional(),
77
- completedOn: z.date().transform(v => v.toISOString()).optional(),
78
- failedOn: z.date().transform(v => v.toISOString()).optional(),
79
- acceptedWithoutPostingOn: z.date().transform(v => v.toISOString()).optional(),
80
- });
81
- function rtpDetailsToJSON(rtpDetails) {
82
- return JSON.stringify(exports.RtpDetails$outboundSchema.parse(rtpDetails));
83
- }
84
- function rtpDetailsFromJSON(jsonString) {
85
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.RtpDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RtpDetails' from JSON`);
86
- }
87
- /** @internal */
88
56
  exports.TransferDestination$inboundSchema = z.object({
89
57
  paymentMethodID: z.string(),
90
58
  paymentMethodType: transferpaymentmethodtype_js_1.TransferPaymentMethodType$inboundSchema,
@@ -96,7 +64,7 @@ exports.TransferDestination$inboundSchema = z.object({
96
64
  applePay: applepayresponse_js_1.ApplePayResponse$inboundSchema.optional(),
97
65
  googlePay: googlepayresponse_js_1.GooglePayResponse$inboundSchema.optional(),
98
66
  cardDetails: cardtransactiondetails_js_1.CardTransactionDetails$inboundSchema.optional(),
99
- rtpDetails: z.lazy(() => exports.RtpDetails$inboundSchema).optional(),
67
+ rtpDetails: rtptransactiondetails_js_1.RTPTransactionDetails$inboundSchema.optional(),
100
68
  instantBankDetails: instantbanktransactiondetails_js_1.InstantBankTransactionDetails$inboundSchema.optional(),
101
69
  });
102
70
  /** @internal */
@@ -111,7 +79,7 @@ exports.TransferDestination$outboundSchema = z.object({
111
79
  applePay: applepayresponse_js_1.ApplePayResponse$outboundSchema.optional(),
112
80
  googlePay: googlepayresponse_js_1.GooglePayResponse$outboundSchema.optional(),
113
81
  cardDetails: cardtransactiondetails_js_1.CardTransactionDetails$outboundSchema.optional(),
114
- rtpDetails: z.lazy(() => exports.RtpDetails$outboundSchema).optional(),
82
+ rtpDetails: rtptransactiondetails_js_1.RTPTransactionDetails$outboundSchema.optional(),
115
83
  instantBankDetails: instantbanktransactiondetails_js_1.InstantBankTransactionDetails$outboundSchema.optional(),
116
84
  });
117
85
  function transferDestinationToJSON(transferDestination) {
@@ -1 +1 @@
1
- {"version":3,"file":"transferdestination.js","sourceRoot":"","sources":["../../src/models/components/transferdestination.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2LH,4CAEC;AACD,gDAQC;AAyDD,8DAMC;AACD,kEAQC;AA5QD,0CAA4B;AAC5B,qDAAiD;AAGjD,yEAKoC;AACpC,+DAK+B;AAC/B,2EAKqC;AACrC,iEAKgC;AAChC,yFAK4C;AAC5C,2DAI6B;AAC7B,uEAImC;AACnC,6DAK8B;AAC9B,iGAKgD;AAChD,mFAKyC;AACzC,uFAK2C;AAC3C,iFAIwC;AAoExC,gBAAgB;AACH,QAAA,wBAAwB,GAIjC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,4DAAkC,CAAC,QAAQ,EAAE;IACrD,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1C,WAAW,EAAE,gDAA4B,CAAC,QAAQ,EAAE;IACpD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;SAC3E,QAAQ,EAAE;IACb,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,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C,CAC9D,CAAC;AACJ,CAAC;AACD,SAAgB,2BAA2B,CACzC,UAAkB;IAElB,OAAO,IAAA,sBAAS,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"}
@@ -6,7 +6,7 @@ import { TransferLineItem, TransferLineItem$Outbound } from "./transferlineitem.
6
6
  * An optional collection of line items for a transfer.
7
7
  *
8
8
  * @remarks
9
- * When line items are provided, their total plus sales tax must equal the transfer amount.
9
+ * When line items are provided, their total plus tax must equal the transfer amount.
10
10
  */
11
11
  export type TransferLineItems = {
12
12
  /**
@@ -25,7 +25,7 @@ export type UpdatePaymentLink = {
25
25
  * An optional collection of line items for a payment link.
26
26
  *
27
27
  * @remarks
28
- * When line items are provided, their total plus sales tax must equal the payment link amount.
28
+ * When line items are provided, their total plus tax must equal the payment link amount.
29
29
  */
30
30
  lineItems?: CreatePaymentLinkLineItemsUpdate | undefined;
31
31
  };
@@ -71,7 +71,7 @@ export type TransferData = {
71
71
  * An optional collection of line items for a transfer.
72
72
  *
73
73
  * @remarks
74
- * When line items are provided, their total plus sales tax must equal the transfer amount.
74
+ * When line items are provided, their total plus tax must equal the transfer amount.
75
75
  */
76
76
  lineItems?: components.TransferLineItems | undefined;
77
77
  /**
@@ -150,7 +150,7 @@ export declare class Transfer extends MoovError {
150
150
  * An optional collection of line items for a transfer.
151
151
  *
152
152
  * @remarks
153
- * When line items are provided, their total plus sales tax must equal the transfer amount.
153
+ * When line items are provided, their total plus tax must equal the transfer amount.
154
154
  */
155
155
  lineItems?: components.TransferLineItems | undefined;
156
156
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moovio/sdk",
3
- "version": "26.4.3",
3
+ "version": "26.4.5",
4
4
  "author": "Moov",
5
5
  "bin": {
6
6
  "mcp": "bin/mcp-server.js"
package/src/lib/config.ts CHANGED
@@ -68,7 +68,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
68
68
  export const SDK_METADATA = {
69
69
  language: "typescript",
70
70
  openapiDocVersion: "v2026.04.00",
71
- sdkVersion: "26.4.3",
71
+ sdkVersion: "26.4.5",
72
72
  genVersion: "2.882.0",
73
- userAgent: "speakeasy-sdk/typescript 26.4.3 2.882.0 v2026.04.00 @moovio/sdk",
73
+ userAgent: "speakeasy-sdk/typescript 26.4.5 2.882.0 v2026.04.00 @moovio/sdk",
74
74
  } as const;
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "26.4.3",
22
+ currentVersion: "26.4.5",
23
23
  },
24
24
  });
25
25
 
@@ -211,7 +211,7 @@ export function createMCPServer(deps: {
211
211
  }) {
212
212
  const server = new McpServer({
213
213
  name: "Moov",
214
- version: "26.4.3",
214
+ version: "26.4.5",
215
215
  });
216
216
 
217
217
  const client = new MoovCore({
@@ -138,7 +138,7 @@ export type CreatedTransfer = {
138
138
  * An optional collection of line items for a transfer.
139
139
  *
140
140
  * @remarks
141
- * When line items are provided, their total plus sales tax must equal the transfer amount.
141
+ * When line items are provided, their total plus tax must equal the transfer amount.
142
142
  */
143
143
  lineItems?: TransferLineItems | undefined;
144
144
  amountDetails?: TransferAmountDetails | undefined;
@@ -102,7 +102,7 @@ export type CreatePaymentLink = {
102
102
  * An optional collection of line items for a payment link.
103
103
  *
104
104
  * @remarks
105
- * When line items are provided, their total plus sales tax must equal the payment link amount.
105
+ * When line items are provided, their total plus tax must equal the payment link amount.
106
106
  */
107
107
  lineItems?: CreatePaymentLinkLineItems | undefined;
108
108
  };
@@ -17,7 +17,7 @@ import {
17
17
  * An optional collection of line items for a payment link.
18
18
  *
19
19
  * @remarks
20
- * When line items are provided, their total plus sales tax must equal the payment link amount.
20
+ * When line items are provided, their total plus tax must equal the payment link amount.
21
21
  */
22
22
  export type CreatePaymentLinkLineItems = {
23
23
  /**
@@ -17,7 +17,7 @@ import {
17
17
  * An optional collection of line items for a payment link.
18
18
  *
19
19
  * @remarks
20
- * When line items are provided, their total plus sales tax must equal the payment link amount.
20
+ * When line items are provided, their total plus tax must equal the payment link amount.
21
21
  */
22
22
  export type CreatePaymentLinkLineItemsUpdate = {
23
23
  /**
@@ -74,7 +74,7 @@ export type CreateTransfer = {
74
74
  * An optional collection of line items for a transfer.
75
75
  *
76
76
  * @remarks
77
- * When line items are provided, their total plus sales tax must equal the transfer amount.
77
+ * When line items are provided, their total plus tax must equal the transfer amount.
78
78
  */
79
79
  lineItems?: CreateTransferLineItems | undefined;
80
80
  amountDetails?: CreateTransferAmountDetails | undefined;
@@ -17,7 +17,7 @@ import {
17
17
  * An optional collection of line items for a transfer.
18
18
  *
19
19
  * @remarks
20
- * When line items are provided, their total plus sales tax must equal the transfer amount.
20
+ * When line items are provided, their total plus tax must equal the transfer amount.
21
21
  */
22
22
  export type CreateTransferLineItems = {
23
23
  /**
@@ -4,6 +4,7 @@
4
4
 
5
5
  import * as z from "zod/v3";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
+ import { ClosedEnum } from "../../types/enums.js";
7
8
  import { Result as SafeParseResult } from "../../types/fp.js";
8
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
10
  import {
@@ -17,19 +18,49 @@ import {
17
18
  CardExpiration$Outbound,
18
19
  CardExpiration$outboundSchema,
19
20
  } from "./cardexpiration.js";
21
+ import {
22
+ CardType,
23
+ CardType$inboundSchema,
24
+ CardType$outboundSchema,
25
+ } from "./cardtype.js";
26
+
27
+ /**
28
+ * The authentication method used for the Google Pay token.
29
+ */
30
+ export const AuthMethod = {
31
+ PanOnly: "PAN_ONLY",
32
+ Cryptogram3Ds: "CRYPTOGRAM_3DS",
33
+ } as const;
34
+ /**
35
+ * The authentication method used for the Google Pay token.
36
+ */
37
+ export type AuthMethod = ClosedEnum<typeof AuthMethod>;
20
38
 
21
39
  /**
22
40
  * Describes a Google Pay token on a Moov account.
23
41
  */
24
42
  export type GooglePayResponse = {
43
+ /**
44
+ * The unique identifier of the Google Pay token.
45
+ */
46
+ tokenID: string;
25
47
  /**
26
48
  * The card brand.
27
49
  */
28
50
  brand: CardBrand;
29
51
  /**
30
- * The last four digits of the underlying card number.
52
+ * The type of the card.
53
+ */
54
+ cardType: CardType;
55
+ /**
56
+ * User-friendly name of the tokenized card returned by Google Pay.
57
+ *
58
+ * @remarks
59
+ *
60
+ * It usually contains the last four digits of the underlying card.
61
+ * There is no standard format.
31
62
  */
32
- cardDetails: string;
63
+ cardDisplayName: string;
33
64
  /**
34
65
  * Uniquely identifies a linked payment card or token.
35
66
  *
@@ -42,31 +73,54 @@ export type GooglePayResponse = {
42
73
  * The expiration date of the card or token.
43
74
  */
44
75
  expiration: CardExpiration;
76
+ /**
77
+ * The last four digits of the Google Pay token, which may differ from the tokenized card's last four digits.
78
+ */
79
+ dynamicLastFour: string;
45
80
  /**
46
81
  * Country where the underlying card was issued.
47
82
  */
48
83
  issuerCountry?: string | undefined;
84
+ /**
85
+ * The authentication method used for the Google Pay token.
86
+ */
87
+ authMethod?: AuthMethod | undefined;
49
88
  };
50
89
 
90
+ /** @internal */
91
+ export const AuthMethod$inboundSchema: z.ZodNativeEnum<typeof AuthMethod> = z
92
+ .nativeEnum(AuthMethod);
93
+ /** @internal */
94
+ export const AuthMethod$outboundSchema: z.ZodNativeEnum<typeof AuthMethod> =
95
+ AuthMethod$inboundSchema;
96
+
51
97
  /** @internal */
52
98
  export const GooglePayResponse$inboundSchema: z.ZodType<
53
99
  GooglePayResponse,
54
100
  z.ZodTypeDef,
55
101
  unknown
56
102
  > = z.object({
103
+ tokenID: z.string(),
57
104
  brand: CardBrand$inboundSchema,
58
- cardDetails: z.string(),
105
+ cardType: CardType$inboundSchema,
106
+ cardDisplayName: z.string(),
59
107
  fingerprint: z.string(),
60
108
  expiration: CardExpiration$inboundSchema,
109
+ dynamicLastFour: z.string(),
61
110
  issuerCountry: z.string().optional(),
111
+ authMethod: AuthMethod$inboundSchema.optional(),
62
112
  });
63
113
  /** @internal */
64
114
  export type GooglePayResponse$Outbound = {
115
+ tokenID: string;
65
116
  brand: string;
66
- cardDetails: string;
117
+ cardType: string;
118
+ cardDisplayName: string;
67
119
  fingerprint: string;
68
120
  expiration: CardExpiration$Outbound;
121
+ dynamicLastFour: string;
69
122
  issuerCountry?: string | undefined;
123
+ authMethod?: string | undefined;
70
124
  };
71
125
 
72
126
  /** @internal */
@@ -75,11 +129,15 @@ export const GooglePayResponse$outboundSchema: z.ZodType<
75
129
  z.ZodTypeDef,
76
130
  GooglePayResponse
77
131
  > = z.object({
132
+ tokenID: z.string(),
78
133
  brand: CardBrand$outboundSchema,
79
- cardDetails: z.string(),
134
+ cardType: CardType$outboundSchema,
135
+ cardDisplayName: z.string(),
80
136
  fingerprint: z.string(),
81
137
  expiration: CardExpiration$outboundSchema,
138
+ dynamicLastFour: z.string(),
82
139
  issuerCountry: z.string().optional(),
140
+ authMethod: AuthMethod$outboundSchema.optional(),
83
141
  });
84
142
 
85
143
  export function googlePayResponseToJSON(
@@ -457,6 +457,7 @@ export * from "./rtpfailurecode.js";
457
457
  export * from "./rtpinstitution.js";
458
458
  export * from "./rtprejectioncode.js";
459
459
  export * from "./rtpservices.js";
460
+ export * from "./rtptransactiondetails.js";
460
461
  export * from "./rtptransactionstatus.js";
461
462
  export * from "./runtransfer.js";
462
463
  export * from "./scheduledtransferimagemetadata.js";
@@ -134,7 +134,7 @@ export type PaymentLink = {
134
134
  * An optional collection of line items for a payment link.
135
135
  *
136
136
  * @remarks
137
- * When line items are provided, their total plus sales tax must equal the payment link amount.
137
+ * When line items are provided, their total plus tax must equal the payment link amount.
138
138
  */
139
139
  lineItems?: PaymentLinkLineItems | undefined;
140
140
  createdOn: Date;
@@ -17,7 +17,7 @@ import {
17
17
  * An optional collection of line items for a payment link.
18
18
  *
19
19
  * @remarks
20
- * When line items are provided, their total plus sales tax must equal the payment link amount.
20
+ * When line items are provided, their total plus tax must equal the payment link amount.
21
21
  */
22
22
  export type PaymentLinkLineItems = {
23
23
  /**
@@ -0,0 +1,104 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+ import {
10
+ RTPFailureCode,
11
+ RTPFailureCode$inboundSchema,
12
+ RTPFailureCode$outboundSchema,
13
+ } from "./rtpfailurecode.js";
14
+ import {
15
+ RTPTransactionStatus,
16
+ RTPTransactionStatus$inboundSchema,
17
+ RTPTransactionStatus$outboundSchema,
18
+ } from "./rtptransactionstatus.js";
19
+
20
+ /**
21
+ * DEPRECATED: use `InstantBankTransactionDetails` instead (v2026.04.00 or later). RTP specific details about the transaction.
22
+ *
23
+ * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
24
+ */
25
+ export type RTPTransactionDetails = {
26
+ /**
27
+ * Status of a transaction within the RTP lifecycle.
28
+ */
29
+ status?: RTPTransactionStatus | undefined;
30
+ /**
31
+ * Response code returned by network on failure.
32
+ */
33
+ networkResponseCode?: string | undefined;
34
+ /**
35
+ * Status codes for RTP failures.
36
+ */
37
+ failureCode?: RTPFailureCode | undefined;
38
+ initiatedOn?: Date | undefined;
39
+ completedOn?: Date | undefined;
40
+ failedOn?: Date | undefined;
41
+ acceptedWithoutPostingOn?: Date | undefined;
42
+ };
43
+
44
+ /** @internal */
45
+ export const RTPTransactionDetails$inboundSchema: z.ZodType<
46
+ RTPTransactionDetails,
47
+ z.ZodTypeDef,
48
+ unknown
49
+ > = z.object({
50
+ status: RTPTransactionStatus$inboundSchema.optional(),
51
+ networkResponseCode: z.string().optional(),
52
+ failureCode: RTPFailureCode$inboundSchema.optional(),
53
+ initiatedOn: z.string().datetime({ offset: true }).transform(v => new Date(v))
54
+ .optional(),
55
+ completedOn: z.string().datetime({ offset: true }).transform(v => new Date(v))
56
+ .optional(),
57
+ failedOn: z.string().datetime({ offset: true }).transform(v => new Date(v))
58
+ .optional(),
59
+ acceptedWithoutPostingOn: z.string().datetime({ offset: true }).transform(v =>
60
+ new Date(v)
61
+ ).optional(),
62
+ });
63
+ /** @internal */
64
+ export type RTPTransactionDetails$Outbound = {
65
+ status?: string | undefined;
66
+ networkResponseCode?: string | undefined;
67
+ failureCode?: string | undefined;
68
+ initiatedOn?: string | undefined;
69
+ completedOn?: string | undefined;
70
+ failedOn?: string | undefined;
71
+ acceptedWithoutPostingOn?: string | undefined;
72
+ };
73
+
74
+ /** @internal */
75
+ export const RTPTransactionDetails$outboundSchema: z.ZodType<
76
+ RTPTransactionDetails$Outbound,
77
+ z.ZodTypeDef,
78
+ RTPTransactionDetails
79
+ > = z.object({
80
+ status: RTPTransactionStatus$outboundSchema.optional(),
81
+ networkResponseCode: z.string().optional(),
82
+ failureCode: RTPFailureCode$outboundSchema.optional(),
83
+ initiatedOn: z.date().transform(v => v.toISOString()).optional(),
84
+ completedOn: z.date().transform(v => v.toISOString()).optional(),
85
+ failedOn: z.date().transform(v => v.toISOString()).optional(),
86
+ acceptedWithoutPostingOn: z.date().transform(v => v.toISOString()).optional(),
87
+ });
88
+
89
+ export function rtpTransactionDetailsToJSON(
90
+ rtpTransactionDetails: RTPTransactionDetails,
91
+ ): string {
92
+ return JSON.stringify(
93
+ RTPTransactionDetails$outboundSchema.parse(rtpTransactionDetails),
94
+ );
95
+ }
96
+ export function rtpTransactionDetailsFromJSON(
97
+ jsonString: string,
98
+ ): SafeParseResult<RTPTransactionDetails, SDKValidationError> {
99
+ return safeParse(
100
+ jsonString,
101
+ (x) => RTPTransactionDetails$inboundSchema.parse(JSON.parse(x)),
102
+ `Failed to parse 'RTPTransactionDetails' from JSON`,
103
+ );
104
+ }
@@ -151,7 +151,7 @@ export type Transfer = {
151
151
  * An optional collection of line items for a transfer.
152
152
  *
153
153
  * @remarks
154
- * When line items are provided, their total plus sales tax must equal the transfer amount.
154
+ * When line items are provided, their total plus tax must equal the transfer amount.
155
155
  */
156
156
  lineItems?: TransferLineItems | undefined;
157
157
  /**