@moovio/sdk 25.8.4 → 25.8.6

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 (51) hide show
  1. package/bin/mcp-server.js +37 -29
  2. package/bin/mcp-server.js.map +21 -20
  3. package/jsr.json +1 -1
  4. package/lib/config.d.ts +3 -3
  5. package/lib/config.js +3 -3
  6. package/lib/config.js.map +1 -1
  7. package/mcp-server/mcp-server.js +1 -1
  8. package/mcp-server/server.js +1 -1
  9. package/models/components/createdtransfer.d.ts +1 -1
  10. package/models/components/createpaymentlink.d.ts +1 -1
  11. package/models/components/createpaymentlinklineitems.d.ts +1 -1
  12. package/models/components/createpaymentlinklineitemsupdate.d.ts +1 -1
  13. package/models/components/createtransfer.d.ts +1 -1
  14. package/models/components/createtransferlineitems.d.ts +1 -1
  15. package/models/components/index.d.ts +1 -0
  16. package/models/components/index.d.ts.map +1 -1
  17. package/models/components/index.js +1 -0
  18. package/models/components/index.js.map +1 -1
  19. package/models/components/paymentlink.d.ts +1 -1
  20. package/models/components/paymentlinklineitems.d.ts +1 -1
  21. package/models/components/rtptransactiondetails.d.ts +45 -0
  22. package/models/components/rtptransactiondetails.d.ts.map +1 -0
  23. package/models/components/rtptransactiondetails.js +75 -0
  24. package/models/components/rtptransactiondetails.js.map +1 -0
  25. package/models/components/transfer.d.ts +1 -1
  26. package/models/components/transferdestination.d.ts +5 -43
  27. package/models/components/transferdestination.d.ts.map +1 -1
  28. package/models/components/transferdestination.js +4 -36
  29. package/models/components/transferdestination.js.map +1 -1
  30. package/models/components/transferlineitems.d.ts +1 -1
  31. package/models/components/updatepaymentlink.d.ts +1 -1
  32. package/models/errors/transfer.d.ts +2 -2
  33. package/package.json +1 -1
  34. package/src/lib/config.ts +3 -3
  35. package/src/mcp-server/mcp-server.ts +1 -1
  36. package/src/mcp-server/server.ts +1 -1
  37. package/src/models/components/createdtransfer.ts +1 -1
  38. package/src/models/components/createpaymentlink.ts +1 -1
  39. package/src/models/components/createpaymentlinklineitems.ts +1 -1
  40. package/src/models/components/createpaymentlinklineitemsupdate.ts +1 -1
  41. package/src/models/components/createtransfer.ts +1 -1
  42. package/src/models/components/createtransferlineitems.ts +1 -1
  43. package/src/models/components/index.ts +1 -0
  44. package/src/models/components/paymentlink.ts +1 -1
  45. package/src/models/components/paymentlinklineitems.ts +1 -1
  46. package/src/models/components/rtptransactiondetails.ts +104 -0
  47. package/src/models/components/transfer.ts +1 -1
  48. package/src/models/components/transferdestination.ts +11 -95
  49. package/src/models/components/transferlineitems.ts +1 -1
  50. package/src/models/components/updatepaymentlink.ts +1 -1
  51. package/src/models/errors/transfer.ts +2 -2
@@ -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
  };
@@ -145,7 +145,7 @@ export declare class Transfer extends MoovError {
145
145
  * An optional collection of line items for a transfer.
146
146
  *
147
147
  * @remarks
148
- * When line items are provided, their total plus sales tax must equal the transfer amount.
148
+ * When line items are provided, their total plus tax must equal the transfer amount.
149
149
  */
150
150
  lineItems?: components.TransferLineItems | undefined;
151
151
  /** The original data that was passed to this error instance. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moovio/sdk",
3
- "version": "25.8.4",
3
+ "version": "25.8.6",
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: "v2025.07.00",
71
- sdkVersion: "25.8.4",
72
- genVersion: "2.881.17",
73
- userAgent: "speakeasy-sdk/typescript 25.8.4 2.881.17 v2025.07.00 @moovio/sdk",
71
+ sdkVersion: "25.8.6",
72
+ genVersion: "2.882.0",
73
+ userAgent: "speakeasy-sdk/typescript 25.8.6 2.882.0 v2025.07.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: "25.8.4",
22
+ currentVersion: "25.8.6",
23
23
  },
24
24
  });
25
25
 
@@ -196,7 +196,7 @@ export function createMCPServer(deps: {
196
196
  }) {
197
197
  const server = new McpServer({
198
198
  name: "Moov",
199
- version: "25.8.4",
199
+ version: "25.8.6",
200
200
  });
201
201
 
202
202
  const client = new MoovCore({
@@ -132,7 +132,7 @@ export type CreatedTransfer = {
132
132
  * An optional collection of line items for a transfer.
133
133
  *
134
134
  * @remarks
135
- * When line items are provided, their total plus sales tax must equal the transfer amount.
135
+ * When line items are provided, their total plus tax must equal the transfer amount.
136
136
  */
137
137
  lineItems?: TransferLineItems | undefined;
138
138
  };
@@ -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
  /**
@@ -68,7 +68,7 @@ export type CreateTransfer = {
68
68
  * An optional collection of line items for a transfer.
69
69
  *
70
70
  * @remarks
71
- * When line items are provided, their total plus sales tax must equal the transfer amount.
71
+ * When line items are provided, their total plus tax must equal the transfer amount.
72
72
  */
73
73
  lineItems?: CreateTransferLineItems | undefined;
74
74
  };
@@ -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
  /**
@@ -404,6 +404,7 @@ export * from "./rtpfailurecode.js";
404
404
  export * from "./rtpinstitution.js";
405
405
  export * from "./rtprejectioncode.js";
406
406
  export * from "./rtpservices.js";
407
+ export * from "./rtptransactiondetails.js";
407
408
  export * from "./rtptransactionstatus.js";
408
409
  export * from "./runtransfer.js";
409
410
  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
+ }
@@ -145,7 +145,7 @@ export type Transfer = {
145
145
  * An optional collection of line items for a transfer.
146
146
  *
147
147
  * @remarks
148
- * When line items are provided, their total plus sales tax must equal the transfer amount.
148
+ * When line items are provided, their total plus tax must equal the transfer amount.
149
149
  */
150
150
  lineItems?: TransferLineItems | undefined;
151
151
  };
@@ -31,15 +31,11 @@ import {
31
31
  InstantBankTransactionDetails$outboundSchema,
32
32
  } from "./instantbanktransactiondetails.js";
33
33
  import {
34
- RTPFailureCode,
35
- RTPFailureCode$inboundSchema,
36
- RTPFailureCode$outboundSchema,
37
- } from "./rtpfailurecode.js";
38
- import {
39
- RTPTransactionStatus,
40
- RTPTransactionStatus$inboundSchema,
41
- RTPTransactionStatus$outboundSchema,
42
- } from "./rtptransactionstatus.js";
34
+ RTPTransactionDetails,
35
+ RTPTransactionDetails$inboundSchema,
36
+ RTPTransactionDetails$Outbound,
37
+ RTPTransactionDetails$outboundSchema,
38
+ } from "./rtptransactiondetails.js";
43
39
  import {
44
40
  TransferAccount,
45
41
  TransferAccount$inboundSchema,
@@ -70,30 +66,6 @@ import {
70
66
  TransferPaymentMethodType$outboundSchema,
71
67
  } from "./transferpaymentmethodtype.js";
72
68
 
73
- /**
74
- * DEPRECATED: use `InstantBankTransactionDetails` instead (v2026.04.00 or later). RTP specific details about the transaction.
75
- *
76
- * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
77
- */
78
- export type RtpDetails = {
79
- /**
80
- * Status of a transaction within the RTP lifecycle.
81
- */
82
- status?: RTPTransactionStatus | undefined;
83
- /**
84
- * Response code returned by network on failure.
85
- */
86
- networkResponseCode?: string | undefined;
87
- /**
88
- * Status codes for RTP failures.
89
- */
90
- failureCode?: RTPFailureCode | undefined;
91
- initiatedOn?: Date | undefined;
92
- completedOn?: Date | undefined;
93
- failedOn?: Date | undefined;
94
- acceptedWithoutPostingOn?: Date | undefined;
95
- };
96
-
97
69
  export type TransferDestination = {
98
70
  paymentMethodID: string;
99
71
  /**
@@ -123,73 +95,17 @@ export type TransferDestination = {
123
95
  */
124
96
  cardDetails?: CardTransactionDetails | undefined;
125
97
  /**
98
+ * DEPRECATED: use `InstantBankTransactionDetails` instead (v2026.04.00 or later). RTP specific details about the transaction.
99
+ *
126
100
  * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
127
101
  */
128
- rtpDetails?: RtpDetails | undefined;
102
+ rtpDetails?: RTPTransactionDetails | undefined;
129
103
  /**
130
104
  * Instant-bank specific details about the transaction.
131
105
  */
132
106
  instantBankDetails?: InstantBankTransactionDetails | undefined;
133
107
  };
134
108
 
135
- /** @internal */
136
- export const RtpDetails$inboundSchema: z.ZodType<
137
- RtpDetails,
138
- z.ZodTypeDef,
139
- unknown
140
- > = z.object({
141
- status: RTPTransactionStatus$inboundSchema.optional(),
142
- networkResponseCode: z.string().optional(),
143
- failureCode: RTPFailureCode$inboundSchema.optional(),
144
- initiatedOn: z.string().datetime({ offset: true }).transform(v => new Date(v))
145
- .optional(),
146
- completedOn: z.string().datetime({ offset: true }).transform(v => new Date(v))
147
- .optional(),
148
- failedOn: z.string().datetime({ offset: true }).transform(v => new Date(v))
149
- .optional(),
150
- acceptedWithoutPostingOn: z.string().datetime({ offset: true }).transform(v =>
151
- new Date(v)
152
- ).optional(),
153
- });
154
- /** @internal */
155
- export type RtpDetails$Outbound = {
156
- status?: string | undefined;
157
- networkResponseCode?: string | undefined;
158
- failureCode?: string | undefined;
159
- initiatedOn?: string | undefined;
160
- completedOn?: string | undefined;
161
- failedOn?: string | undefined;
162
- acceptedWithoutPostingOn?: string | undefined;
163
- };
164
-
165
- /** @internal */
166
- export const RtpDetails$outboundSchema: z.ZodType<
167
- RtpDetails$Outbound,
168
- z.ZodTypeDef,
169
- RtpDetails
170
- > = z.object({
171
- status: RTPTransactionStatus$outboundSchema.optional(),
172
- networkResponseCode: z.string().optional(),
173
- failureCode: RTPFailureCode$outboundSchema.optional(),
174
- initiatedOn: z.date().transform(v => v.toISOString()).optional(),
175
- completedOn: z.date().transform(v => v.toISOString()).optional(),
176
- failedOn: z.date().transform(v => v.toISOString()).optional(),
177
- acceptedWithoutPostingOn: z.date().transform(v => v.toISOString()).optional(),
178
- });
179
-
180
- export function rtpDetailsToJSON(rtpDetails: RtpDetails): string {
181
- return JSON.stringify(RtpDetails$outboundSchema.parse(rtpDetails));
182
- }
183
- export function rtpDetailsFromJSON(
184
- jsonString: string,
185
- ): SafeParseResult<RtpDetails, SDKValidationError> {
186
- return safeParse(
187
- jsonString,
188
- (x) => RtpDetails$inboundSchema.parse(JSON.parse(x)),
189
- `Failed to parse 'RtpDetails' from JSON`,
190
- );
191
- }
192
-
193
109
  /** @internal */
194
110
  export const TransferDestination$inboundSchema: z.ZodType<
195
111
  TransferDestination,
@@ -205,7 +121,7 @@ export const TransferDestination$inboundSchema: z.ZodType<
205
121
  achDetails: ACHTransactionDetails$inboundSchema.optional(),
206
122
  applePay: ApplePayResponse$inboundSchema.optional(),
207
123
  cardDetails: CardTransactionDetails$inboundSchema.optional(),
208
- rtpDetails: z.lazy(() => RtpDetails$inboundSchema).optional(),
124
+ rtpDetails: RTPTransactionDetails$inboundSchema.optional(),
209
125
  instantBankDetails: InstantBankTransactionDetails$inboundSchema.optional(),
210
126
  });
211
127
  /** @internal */
@@ -219,7 +135,7 @@ export type TransferDestination$Outbound = {
219
135
  achDetails?: ACHTransactionDetails$Outbound | undefined;
220
136
  applePay?: ApplePayResponse$Outbound | undefined;
221
137
  cardDetails?: CardTransactionDetails$Outbound | undefined;
222
- rtpDetails?: RtpDetails$Outbound | undefined;
138
+ rtpDetails?: RTPTransactionDetails$Outbound | undefined;
223
139
  instantBankDetails?: InstantBankTransactionDetails$Outbound | undefined;
224
140
  };
225
141
 
@@ -238,7 +154,7 @@ export const TransferDestination$outboundSchema: z.ZodType<
238
154
  achDetails: ACHTransactionDetails$outboundSchema.optional(),
239
155
  applePay: ApplePayResponse$outboundSchema.optional(),
240
156
  cardDetails: CardTransactionDetails$outboundSchema.optional(),
241
- rtpDetails: z.lazy(() => RtpDetails$outboundSchema).optional(),
157
+ rtpDetails: RTPTransactionDetails$outboundSchema.optional(),
242
158
  instantBankDetails: InstantBankTransactionDetails$outboundSchema.optional(),
243
159
  });
244
160
 
@@ -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 TransferLineItems = {
23
23
  /**
@@ -61,7 +61,7 @@ export type UpdatePaymentLink = {
61
61
  * An optional collection of line items for a payment link.
62
62
  *
63
63
  * @remarks
64
- * When line items are provided, their total plus sales tax must equal the payment link amount.
64
+ * When line items are provided, their total plus tax must equal the payment link amount.
65
65
  */
66
66
  lineItems?: CreatePaymentLinkLineItemsUpdate | undefined;
67
67
  };
@@ -74,7 +74,7 @@ export type TransferData = {
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?: components.TransferLineItems | undefined;
80
80
  };
@@ -147,7 +147,7 @@ export class Transfer extends MoovError {
147
147
  * An optional collection of line items for a transfer.
148
148
  *
149
149
  * @remarks
150
- * When line items are provided, their total plus sales tax must equal the transfer amount.
150
+ * When line items are provided, their total plus tax must equal the transfer amount.
151
151
  */
152
152
  lineItems?: components.TransferLineItems | undefined;
153
153