@moovio/sdk 0.0.0-dev.19 → 0.0.0-dev.20
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.
- package/bin/mcp-server.js +27 -69
- package/bin/mcp-server.js.map +9 -11
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/googlepayresponse.d.ts +45 -3
- package/models/components/googlepayresponse.d.ts.map +1 -1
- package/models/components/googlepayresponse.js +24 -3
- package/models/components/googlepayresponse.js.map +1 -1
- package/models/components/index.d.ts +0 -2
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -2
- package/models/components/index.js.map +1 -1
- package/models/components/transferdestination.d.ts +0 -46
- package/models/components/transferdestination.d.ts.map +1 -1
- package/models/components/transferdestination.js +1 -33
- package/models/components/transferdestination.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/googlepayresponse.ts +70 -5
- package/src/models/components/index.ts +0 -2
- package/src/models/components/transferdestination.ts +0 -94
- package/models/components/rtpfailurecode.d.ts +0 -26
- package/models/components/rtpfailurecode.d.ts.map +0 -1
- package/models/components/rtpfailurecode.js +0 -60
- package/models/components/rtpfailurecode.js.map +0 -1
- package/models/components/rtptransactionstatus.d.ts +0 -20
- package/models/components/rtptransactionstatus.d.ts.map +0 -1
- package/models/components/rtptransactionstatus.js +0 -54
- package/models/components/rtptransactionstatus.js.map +0 -1
- package/src/models/components/rtpfailurecode.ts +0 -40
- package/src/models/components/rtptransactionstatus.ts +0 -34
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import * as openEnums from "../../types/enums.js";
|
|
8
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
7
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
10
|
import * as types from "../../types/primitives.js";
|
|
9
11
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
@@ -18,19 +20,49 @@ import {
|
|
|
18
20
|
CardExpiration$Outbound,
|
|
19
21
|
CardExpiration$outboundSchema,
|
|
20
22
|
} from "./cardexpiration.js";
|
|
23
|
+
import {
|
|
24
|
+
CardType,
|
|
25
|
+
CardType$inboundSchema,
|
|
26
|
+
CardType$outboundSchema,
|
|
27
|
+
} from "./cardtype.js";
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* The authentication method used for the Google Pay token.
|
|
31
|
+
*/
|
|
32
|
+
export const AuthMethod = {
|
|
33
|
+
PanOnly: "PAN_ONLY",
|
|
34
|
+
Cryptogram3Ds: "CRYPTOGRAM_3DS",
|
|
35
|
+
} as const;
|
|
36
|
+
/**
|
|
37
|
+
* The authentication method used for the Google Pay token.
|
|
38
|
+
*/
|
|
39
|
+
export type AuthMethod = OpenEnum<typeof AuthMethod>;
|
|
21
40
|
|
|
22
41
|
/**
|
|
23
42
|
* Describes a Google Pay token on a Moov account.
|
|
24
43
|
*/
|
|
25
44
|
export type GooglePayResponse = {
|
|
45
|
+
/**
|
|
46
|
+
* The unique identifier of the Google Pay token.
|
|
47
|
+
*/
|
|
48
|
+
tokenID: string;
|
|
26
49
|
/**
|
|
27
50
|
* The card brand.
|
|
28
51
|
*/
|
|
29
52
|
brand: CardBrand;
|
|
30
53
|
/**
|
|
31
|
-
* The
|
|
54
|
+
* The type of the card.
|
|
32
55
|
*/
|
|
33
|
-
|
|
56
|
+
cardType: CardType;
|
|
57
|
+
/**
|
|
58
|
+
* User-friendly name of the tokenized card returned by Google Pay.
|
|
59
|
+
*
|
|
60
|
+
* @remarks
|
|
61
|
+
*
|
|
62
|
+
* It usually contains the last four digits of the underlying card.
|
|
63
|
+
* There is no standard format.
|
|
64
|
+
*/
|
|
65
|
+
cardDisplayName: string;
|
|
34
66
|
/**
|
|
35
67
|
* Uniquely identifies a linked payment card or token.
|
|
36
68
|
*
|
|
@@ -43,31 +75,60 @@ export type GooglePayResponse = {
|
|
|
43
75
|
* The expiration date of the card or token.
|
|
44
76
|
*/
|
|
45
77
|
expiration: CardExpiration;
|
|
78
|
+
/**
|
|
79
|
+
* The last four digits of the Google Pay token, which may differ from the tokenized card's last four digits.
|
|
80
|
+
*/
|
|
81
|
+
dynamicLastFour: string;
|
|
46
82
|
/**
|
|
47
83
|
* Country where the underlying card was issued.
|
|
48
84
|
*/
|
|
49
85
|
issuerCountry?: string | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* The authentication method used for the Google Pay token.
|
|
88
|
+
*/
|
|
89
|
+
authMethod?: AuthMethod | undefined;
|
|
50
90
|
};
|
|
51
91
|
|
|
92
|
+
/** @internal */
|
|
93
|
+
export const AuthMethod$inboundSchema: z.ZodType<
|
|
94
|
+
AuthMethod,
|
|
95
|
+
z.ZodTypeDef,
|
|
96
|
+
unknown
|
|
97
|
+
> = openEnums.inboundSchema(AuthMethod);
|
|
98
|
+
/** @internal */
|
|
99
|
+
export const AuthMethod$outboundSchema: z.ZodType<
|
|
100
|
+
string,
|
|
101
|
+
z.ZodTypeDef,
|
|
102
|
+
AuthMethod
|
|
103
|
+
> = openEnums.outboundSchema(AuthMethod);
|
|
104
|
+
|
|
52
105
|
/** @internal */
|
|
53
106
|
export const GooglePayResponse$inboundSchema: z.ZodType<
|
|
54
107
|
GooglePayResponse,
|
|
55
108
|
z.ZodTypeDef,
|
|
56
109
|
unknown
|
|
57
110
|
> = z.object({
|
|
111
|
+
tokenID: types.string(),
|
|
58
112
|
brand: CardBrand$inboundSchema,
|
|
59
|
-
|
|
113
|
+
cardType: CardType$inboundSchema,
|
|
114
|
+
cardDisplayName: types.string(),
|
|
60
115
|
fingerprint: types.string(),
|
|
61
116
|
expiration: CardExpiration$inboundSchema,
|
|
117
|
+
dynamicLastFour: types.string(),
|
|
62
118
|
issuerCountry: types.optional(types.string()),
|
|
119
|
+
authMethod: types.optional(AuthMethod$inboundSchema),
|
|
63
120
|
});
|
|
64
121
|
/** @internal */
|
|
65
122
|
export type GooglePayResponse$Outbound = {
|
|
123
|
+
tokenID: string;
|
|
66
124
|
brand: string;
|
|
67
|
-
|
|
125
|
+
cardType: string;
|
|
126
|
+
cardDisplayName: string;
|
|
68
127
|
fingerprint: string;
|
|
69
128
|
expiration: CardExpiration$Outbound;
|
|
129
|
+
dynamicLastFour: string;
|
|
70
130
|
issuerCountry?: string | undefined;
|
|
131
|
+
authMethod?: string | undefined;
|
|
71
132
|
};
|
|
72
133
|
|
|
73
134
|
/** @internal */
|
|
@@ -76,11 +137,15 @@ export const GooglePayResponse$outboundSchema: z.ZodType<
|
|
|
76
137
|
z.ZodTypeDef,
|
|
77
138
|
GooglePayResponse
|
|
78
139
|
> = z.object({
|
|
140
|
+
tokenID: z.string(),
|
|
79
141
|
brand: CardBrand$outboundSchema,
|
|
80
|
-
|
|
142
|
+
cardType: CardType$outboundSchema,
|
|
143
|
+
cardDisplayName: z.string(),
|
|
81
144
|
fingerprint: z.string(),
|
|
82
145
|
expiration: CardExpiration$outboundSchema,
|
|
146
|
+
dynamicLastFour: z.string(),
|
|
83
147
|
issuerCountry: z.string().optional(),
|
|
148
|
+
authMethod: AuthMethod$outboundSchema.optional(),
|
|
84
149
|
});
|
|
85
150
|
|
|
86
151
|
export function googlePayResponseToJSON(
|
|
@@ -464,11 +464,9 @@ export * from "./reversedwithrefund.js";
|
|
|
464
464
|
export * from "./revoketokenrequest.js";
|
|
465
465
|
export * from "./rtpcreditpaymentmethod.js";
|
|
466
466
|
export * from "./rtpcredittransferpaymentmethod.js";
|
|
467
|
-
export * from "./rtpfailurecode.js";
|
|
468
467
|
export * from "./rtpinstitution.js";
|
|
469
468
|
export * from "./rtprejectioncode.js";
|
|
470
469
|
export * from "./rtpservices.js";
|
|
471
|
-
export * from "./rtptransactionstatus.js";
|
|
472
470
|
export * from "./runtransfer.js";
|
|
473
471
|
export * from "./scheduledtransferimagemetadata.js";
|
|
474
472
|
export * from "./scheduledtransferlineitem.js";
|
|
@@ -37,16 +37,6 @@ import {
|
|
|
37
37
|
InstantBankTransactionDetails$Outbound,
|
|
38
38
|
InstantBankTransactionDetails$outboundSchema,
|
|
39
39
|
} from "./instantbanktransactiondetails.js";
|
|
40
|
-
import {
|
|
41
|
-
RTPFailureCode,
|
|
42
|
-
RTPFailureCode$inboundSchema,
|
|
43
|
-
RTPFailureCode$outboundSchema,
|
|
44
|
-
} from "./rtpfailurecode.js";
|
|
45
|
-
import {
|
|
46
|
-
RTPTransactionStatus,
|
|
47
|
-
RTPTransactionStatus$inboundSchema,
|
|
48
|
-
RTPTransactionStatus$outboundSchema,
|
|
49
|
-
} from "./rtptransactionstatus.js";
|
|
50
40
|
import {
|
|
51
41
|
TransferAccount,
|
|
52
42
|
TransferAccount$inboundSchema,
|
|
@@ -77,30 +67,6 @@ import {
|
|
|
77
67
|
TransferPaymentMethodType$outboundSchema,
|
|
78
68
|
} from "./transferpaymentmethodtype.js";
|
|
79
69
|
|
|
80
|
-
/**
|
|
81
|
-
* DEPRECATED: use `InstantBankTransactionDetails` instead (v2026.04.00 or later). RTP specific details about the transaction.
|
|
82
|
-
*
|
|
83
|
-
* @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
84
|
-
*/
|
|
85
|
-
export type RtpDetails = {
|
|
86
|
-
/**
|
|
87
|
-
* Status of a transaction within the RTP lifecycle.
|
|
88
|
-
*/
|
|
89
|
-
status?: RTPTransactionStatus | undefined;
|
|
90
|
-
/**
|
|
91
|
-
* Response code returned by network on failure.
|
|
92
|
-
*/
|
|
93
|
-
networkResponseCode?: string | undefined;
|
|
94
|
-
/**
|
|
95
|
-
* Status codes for RTP failures.
|
|
96
|
-
*/
|
|
97
|
-
failureCode?: RTPFailureCode | undefined;
|
|
98
|
-
initiatedOn?: Date | undefined;
|
|
99
|
-
completedOn?: Date | undefined;
|
|
100
|
-
failedOn?: Date | undefined;
|
|
101
|
-
acceptedWithoutPostingOn?: Date | undefined;
|
|
102
|
-
};
|
|
103
|
-
|
|
104
70
|
export type TransferDestination = {
|
|
105
71
|
paymentMethodID: string;
|
|
106
72
|
/**
|
|
@@ -133,69 +99,12 @@ export type TransferDestination = {
|
|
|
133
99
|
* Card-specific details about the transaction.
|
|
134
100
|
*/
|
|
135
101
|
cardDetails?: CardTransactionDetails | undefined;
|
|
136
|
-
/**
|
|
137
|
-
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
138
|
-
*/
|
|
139
|
-
rtpDetails?: RtpDetails | undefined;
|
|
140
102
|
/**
|
|
141
103
|
* Instant-bank specific details about the transaction.
|
|
142
104
|
*/
|
|
143
105
|
instantBankDetails?: InstantBankTransactionDetails | undefined;
|
|
144
106
|
};
|
|
145
107
|
|
|
146
|
-
/** @internal */
|
|
147
|
-
export const RtpDetails$inboundSchema: z.ZodType<
|
|
148
|
-
RtpDetails,
|
|
149
|
-
z.ZodTypeDef,
|
|
150
|
-
unknown
|
|
151
|
-
> = z.object({
|
|
152
|
-
status: types.optional(RTPTransactionStatus$inboundSchema),
|
|
153
|
-
networkResponseCode: types.optional(types.string()),
|
|
154
|
-
failureCode: types.optional(RTPFailureCode$inboundSchema),
|
|
155
|
-
initiatedOn: types.optional(types.date()),
|
|
156
|
-
completedOn: types.optional(types.date()),
|
|
157
|
-
failedOn: types.optional(types.date()),
|
|
158
|
-
acceptedWithoutPostingOn: types.optional(types.date()),
|
|
159
|
-
});
|
|
160
|
-
/** @internal */
|
|
161
|
-
export type RtpDetails$Outbound = {
|
|
162
|
-
status?: string | undefined;
|
|
163
|
-
networkResponseCode?: string | undefined;
|
|
164
|
-
failureCode?: string | undefined;
|
|
165
|
-
initiatedOn?: string | undefined;
|
|
166
|
-
completedOn?: string | undefined;
|
|
167
|
-
failedOn?: string | undefined;
|
|
168
|
-
acceptedWithoutPostingOn?: string | undefined;
|
|
169
|
-
};
|
|
170
|
-
|
|
171
|
-
/** @internal */
|
|
172
|
-
export const RtpDetails$outboundSchema: z.ZodType<
|
|
173
|
-
RtpDetails$Outbound,
|
|
174
|
-
z.ZodTypeDef,
|
|
175
|
-
RtpDetails
|
|
176
|
-
> = z.object({
|
|
177
|
-
status: RTPTransactionStatus$outboundSchema.optional(),
|
|
178
|
-
networkResponseCode: z.string().optional(),
|
|
179
|
-
failureCode: RTPFailureCode$outboundSchema.optional(),
|
|
180
|
-
initiatedOn: z.date().transform(v => v.toISOString()).optional(),
|
|
181
|
-
completedOn: z.date().transform(v => v.toISOString()).optional(),
|
|
182
|
-
failedOn: z.date().transform(v => v.toISOString()).optional(),
|
|
183
|
-
acceptedWithoutPostingOn: z.date().transform(v => v.toISOString()).optional(),
|
|
184
|
-
});
|
|
185
|
-
|
|
186
|
-
export function rtpDetailsToJSON(rtpDetails: RtpDetails): string {
|
|
187
|
-
return JSON.stringify(RtpDetails$outboundSchema.parse(rtpDetails));
|
|
188
|
-
}
|
|
189
|
-
export function rtpDetailsFromJSON(
|
|
190
|
-
jsonString: string,
|
|
191
|
-
): SafeParseResult<RtpDetails, SDKValidationError> {
|
|
192
|
-
return safeParse(
|
|
193
|
-
jsonString,
|
|
194
|
-
(x) => RtpDetails$inboundSchema.parse(JSON.parse(x)),
|
|
195
|
-
`Failed to parse 'RtpDetails' from JSON`,
|
|
196
|
-
);
|
|
197
|
-
}
|
|
198
|
-
|
|
199
108
|
/** @internal */
|
|
200
109
|
export const TransferDestination$inboundSchema: z.ZodType<
|
|
201
110
|
TransferDestination,
|
|
@@ -212,7 +121,6 @@ export const TransferDestination$inboundSchema: z.ZodType<
|
|
|
212
121
|
applePay: types.optional(ApplePayResponse$inboundSchema),
|
|
213
122
|
googlePay: types.optional(GooglePayResponse$inboundSchema),
|
|
214
123
|
cardDetails: types.optional(CardTransactionDetails$inboundSchema),
|
|
215
|
-
rtpDetails: types.optional(z.lazy(() => RtpDetails$inboundSchema)),
|
|
216
124
|
instantBankDetails: types.optional(
|
|
217
125
|
InstantBankTransactionDetails$inboundSchema,
|
|
218
126
|
),
|
|
@@ -229,7 +137,6 @@ export type TransferDestination$Outbound = {
|
|
|
229
137
|
applePay?: ApplePayResponse$Outbound | undefined;
|
|
230
138
|
googlePay?: GooglePayResponse$Outbound | undefined;
|
|
231
139
|
cardDetails?: CardTransactionDetails$Outbound | undefined;
|
|
232
|
-
rtpDetails?: RtpDetails$Outbound | undefined;
|
|
233
140
|
instantBankDetails?: InstantBankTransactionDetails$Outbound | undefined;
|
|
234
141
|
};
|
|
235
142
|
|
|
@@ -249,7 +156,6 @@ export const TransferDestination$outboundSchema: z.ZodType<
|
|
|
249
156
|
applePay: ApplePayResponse$outboundSchema.optional(),
|
|
250
157
|
googlePay: GooglePayResponse$outboundSchema.optional(),
|
|
251
158
|
cardDetails: CardTransactionDetails$outboundSchema.optional(),
|
|
252
|
-
rtpDetails: z.lazy(() => RtpDetails$outboundSchema).optional(),
|
|
253
159
|
instantBankDetails: InstantBankTransactionDetails$outboundSchema.optional(),
|
|
254
160
|
});
|
|
255
161
|
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { OpenEnum } from "../../types/enums.js";
|
|
3
|
-
/**
|
|
4
|
-
* Status codes for RTP failures.
|
|
5
|
-
*/
|
|
6
|
-
export declare const RTPFailureCode: {
|
|
7
|
-
readonly ProcessingError: "processing-error";
|
|
8
|
-
readonly InvalidAccount: "invalid-account";
|
|
9
|
-
readonly AccountClosed: "account-closed";
|
|
10
|
-
readonly AccountBlocked: "account-blocked";
|
|
11
|
-
readonly InvalidField: "invalid-field";
|
|
12
|
-
readonly TransactionNotSupported: "transaction-not-supported";
|
|
13
|
-
readonly LimitExceeded: "limit-exceeded";
|
|
14
|
-
readonly InvalidAmount: "invalid-amount";
|
|
15
|
-
readonly CustomerDeceased: "customer-deceased";
|
|
16
|
-
readonly Other: "other";
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* Status codes for RTP failures.
|
|
20
|
-
*/
|
|
21
|
-
export type RTPFailureCode = OpenEnum<typeof RTPFailureCode>;
|
|
22
|
-
/** @internal */
|
|
23
|
-
export declare const RTPFailureCode$inboundSchema: z.ZodType<RTPFailureCode, z.ZodTypeDef, unknown>;
|
|
24
|
-
/** @internal */
|
|
25
|
-
export declare const RTPFailureCode$outboundSchema: z.ZodType<string, z.ZodTypeDef, RTPFailureCode>;
|
|
26
|
-
//# sourceMappingURL=rtpfailurecode.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rtpfailurecode.d.ts","sourceRoot":"","sources":["../../src/models/components/rtpfailurecode.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;CAWjB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAC;AAE7D,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAClD,cAAc,EACd,CAAC,CAAC,UAAU,EACZ,OAAO,CACkC,CAAC;AAC5C,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,MAAM,EACN,CAAC,CAAC,UAAU,EACZ,cAAc,CAC4B,CAAC"}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.RTPFailureCode$outboundSchema = exports.RTPFailureCode$inboundSchema = exports.RTPFailureCode = void 0;
|
|
40
|
-
const openEnums = __importStar(require("../../types/enums.js"));
|
|
41
|
-
/**
|
|
42
|
-
* Status codes for RTP failures.
|
|
43
|
-
*/
|
|
44
|
-
exports.RTPFailureCode = {
|
|
45
|
-
ProcessingError: "processing-error",
|
|
46
|
-
InvalidAccount: "invalid-account",
|
|
47
|
-
AccountClosed: "account-closed",
|
|
48
|
-
AccountBlocked: "account-blocked",
|
|
49
|
-
InvalidField: "invalid-field",
|
|
50
|
-
TransactionNotSupported: "transaction-not-supported",
|
|
51
|
-
LimitExceeded: "limit-exceeded",
|
|
52
|
-
InvalidAmount: "invalid-amount",
|
|
53
|
-
CustomerDeceased: "customer-deceased",
|
|
54
|
-
Other: "other",
|
|
55
|
-
};
|
|
56
|
-
/** @internal */
|
|
57
|
-
exports.RTPFailureCode$inboundSchema = openEnums.inboundSchema(exports.RTPFailureCode);
|
|
58
|
-
/** @internal */
|
|
59
|
-
exports.RTPFailureCode$outboundSchema = openEnums.outboundSchema(exports.RTPFailureCode);
|
|
60
|
-
//# sourceMappingURL=rtpfailurecode.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rtpfailurecode.js","sourceRoot":"","sources":["../../src/models/components/rtpfailurecode.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,gEAAkD;AAGlD;;GAEG;AACU,QAAA,cAAc,GAAG;IAC5B,eAAe,EAAE,kBAAkB;IACnC,cAAc,EAAE,iBAAiB;IACjC,aAAa,EAAE,gBAAgB;IAC/B,cAAc,EAAE,iBAAiB;IACjC,YAAY,EAAE,eAAe;IAC7B,uBAAuB,EAAE,2BAA2B;IACpD,aAAa,EAAE,gBAAgB;IAC/B,aAAa,EAAE,gBAAgB;IAC/B,gBAAgB,EAAE,mBAAmB;IACrC,KAAK,EAAE,OAAO;CACN,CAAC;AAMX,gBAAgB;AACH,QAAA,4BAA4B,GAIrC,SAAS,CAAC,aAAa,CAAC,sBAAc,CAAC,CAAC;AAC5C,gBAAgB;AACH,QAAA,6BAA6B,GAItC,SAAS,CAAC,cAAc,CAAC,sBAAc,CAAC,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { OpenEnum } from "../../types/enums.js";
|
|
3
|
-
/**
|
|
4
|
-
* Status of a transaction within the RTP lifecycle.
|
|
5
|
-
*/
|
|
6
|
-
export declare const RTPTransactionStatus: {
|
|
7
|
-
readonly Initiated: "initiated";
|
|
8
|
-
readonly Completed: "completed";
|
|
9
|
-
readonly Failed: "failed";
|
|
10
|
-
readonly AcceptedWithoutPosting: "accepted-without-posting";
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* Status of a transaction within the RTP lifecycle.
|
|
14
|
-
*/
|
|
15
|
-
export type RTPTransactionStatus = OpenEnum<typeof RTPTransactionStatus>;
|
|
16
|
-
/** @internal */
|
|
17
|
-
export declare const RTPTransactionStatus$inboundSchema: z.ZodType<RTPTransactionStatus, z.ZodTypeDef, unknown>;
|
|
18
|
-
/** @internal */
|
|
19
|
-
export declare const RTPTransactionStatus$outboundSchema: z.ZodType<string, z.ZodTypeDef, RTPTransactionStatus>;
|
|
20
|
-
//# sourceMappingURL=rtptransactionstatus.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rtptransactionstatus.d.ts","sourceRoot":"","sources":["../../src/models/components/rtptransactionstatus.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;CAKvB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEzE,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,OAAO,CACwC,CAAC;AAClD,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,MAAM,EACN,CAAC,CAAC,UAAU,EACZ,oBAAoB,CAC4B,CAAC"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.RTPTransactionStatus$outboundSchema = exports.RTPTransactionStatus$inboundSchema = exports.RTPTransactionStatus = void 0;
|
|
40
|
-
const openEnums = __importStar(require("../../types/enums.js"));
|
|
41
|
-
/**
|
|
42
|
-
* Status of a transaction within the RTP lifecycle.
|
|
43
|
-
*/
|
|
44
|
-
exports.RTPTransactionStatus = {
|
|
45
|
-
Initiated: "initiated",
|
|
46
|
-
Completed: "completed",
|
|
47
|
-
Failed: "failed",
|
|
48
|
-
AcceptedWithoutPosting: "accepted-without-posting",
|
|
49
|
-
};
|
|
50
|
-
/** @internal */
|
|
51
|
-
exports.RTPTransactionStatus$inboundSchema = openEnums.inboundSchema(exports.RTPTransactionStatus);
|
|
52
|
-
/** @internal */
|
|
53
|
-
exports.RTPTransactionStatus$outboundSchema = openEnums.outboundSchema(exports.RTPTransactionStatus);
|
|
54
|
-
//# sourceMappingURL=rtptransactionstatus.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rtptransactionstatus.js","sourceRoot":"","sources":["../../src/models/components/rtptransactionstatus.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,gEAAkD;AAGlD;;GAEG;AACU,QAAA,oBAAoB,GAAG;IAClC,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,0BAA0B;CAC1C,CAAC;AAMX,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,SAAS,CAAC,aAAa,CAAC,4BAAoB,CAAC,CAAC;AAClD,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,SAAS,CAAC,cAAc,CAAC,4BAAoB,CAAC,CAAC"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import * as openEnums from "../../types/enums.js";
|
|
7
|
-
import { OpenEnum } from "../../types/enums.js";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Status codes for RTP failures.
|
|
11
|
-
*/
|
|
12
|
-
export const RTPFailureCode = {
|
|
13
|
-
ProcessingError: "processing-error",
|
|
14
|
-
InvalidAccount: "invalid-account",
|
|
15
|
-
AccountClosed: "account-closed",
|
|
16
|
-
AccountBlocked: "account-blocked",
|
|
17
|
-
InvalidField: "invalid-field",
|
|
18
|
-
TransactionNotSupported: "transaction-not-supported",
|
|
19
|
-
LimitExceeded: "limit-exceeded",
|
|
20
|
-
InvalidAmount: "invalid-amount",
|
|
21
|
-
CustomerDeceased: "customer-deceased",
|
|
22
|
-
Other: "other",
|
|
23
|
-
} as const;
|
|
24
|
-
/**
|
|
25
|
-
* Status codes for RTP failures.
|
|
26
|
-
*/
|
|
27
|
-
export type RTPFailureCode = OpenEnum<typeof RTPFailureCode>;
|
|
28
|
-
|
|
29
|
-
/** @internal */
|
|
30
|
-
export const RTPFailureCode$inboundSchema: z.ZodType<
|
|
31
|
-
RTPFailureCode,
|
|
32
|
-
z.ZodTypeDef,
|
|
33
|
-
unknown
|
|
34
|
-
> = openEnums.inboundSchema(RTPFailureCode);
|
|
35
|
-
/** @internal */
|
|
36
|
-
export const RTPFailureCode$outboundSchema: z.ZodType<
|
|
37
|
-
string,
|
|
38
|
-
z.ZodTypeDef,
|
|
39
|
-
RTPFailureCode
|
|
40
|
-
> = openEnums.outboundSchema(RTPFailureCode);
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v3";
|
|
6
|
-
import * as openEnums from "../../types/enums.js";
|
|
7
|
-
import { OpenEnum } from "../../types/enums.js";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Status of a transaction within the RTP lifecycle.
|
|
11
|
-
*/
|
|
12
|
-
export const RTPTransactionStatus = {
|
|
13
|
-
Initiated: "initiated",
|
|
14
|
-
Completed: "completed",
|
|
15
|
-
Failed: "failed",
|
|
16
|
-
AcceptedWithoutPosting: "accepted-without-posting",
|
|
17
|
-
} as const;
|
|
18
|
-
/**
|
|
19
|
-
* Status of a transaction within the RTP lifecycle.
|
|
20
|
-
*/
|
|
21
|
-
export type RTPTransactionStatus = OpenEnum<typeof RTPTransactionStatus>;
|
|
22
|
-
|
|
23
|
-
/** @internal */
|
|
24
|
-
export const RTPTransactionStatus$inboundSchema: z.ZodType<
|
|
25
|
-
RTPTransactionStatus,
|
|
26
|
-
z.ZodTypeDef,
|
|
27
|
-
unknown
|
|
28
|
-
> = openEnums.inboundSchema(RTPTransactionStatus);
|
|
29
|
-
/** @internal */
|
|
30
|
-
export const RTPTransactionStatus$outboundSchema: z.ZodType<
|
|
31
|
-
string,
|
|
32
|
-
z.ZodTypeDef,
|
|
33
|
-
RTPTransactionStatus
|
|
34
|
-
> = openEnums.outboundSchema(RTPTransactionStatus);
|