@moovio/sdk 26.4.0-dev.4 → 26.4.0-dev.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.
- package/bin/mcp-server.js +509 -67
- package/bin/mcp-server.js.map +31 -12
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/achcreditsamedaytransferpaymentmethod.d.ts +28 -0
- package/models/components/achcreditsamedaytransferpaymentmethod.d.ts.map +1 -0
- package/models/components/achcreditsamedaytransferpaymentmethod.js +63 -0
- package/models/components/achcreditsamedaytransferpaymentmethod.js.map +1 -0
- package/models/components/achcreditstandardtransferpaymentmethod.d.ts +28 -0
- package/models/components/achcreditstandardtransferpaymentmethod.d.ts.map +1 -0
- package/models/components/achcreditstandardtransferpaymentmethod.js +63 -0
- package/models/components/achcreditstandardtransferpaymentmethod.js.map +1 -0
- package/models/components/achdebitcollecttransferpaymentmethod.d.ts +28 -0
- package/models/components/achdebitcollecttransferpaymentmethod.d.ts.map +1 -0
- package/models/components/achdebitcollecttransferpaymentmethod.js +63 -0
- package/models/components/achdebitcollecttransferpaymentmethod.js.map +1 -0
- package/models/components/achdebitfundtransferpaymentmethod.d.ts +28 -0
- package/models/components/achdebitfundtransferpaymentmethod.d.ts.map +1 -0
- package/models/components/achdebitfundtransferpaymentmethod.js +63 -0
- package/models/components/achdebitfundtransferpaymentmethod.js.map +1 -0
- package/models/components/applepaytransferpaymentmethod.d.ts +28 -0
- package/models/components/applepaytransferpaymentmethod.d.ts.map +1 -0
- package/models/components/applepaytransferpaymentmethod.js +63 -0
- package/models/components/applepaytransferpaymentmethod.js.map +1 -0
- package/models/components/cardpaymenttransferpaymentmethod.d.ts +28 -0
- package/models/components/cardpaymenttransferpaymentmethod.d.ts.map +1 -0
- package/models/components/cardpaymenttransferpaymentmethod.js +63 -0
- package/models/components/cardpaymenttransferpaymentmethod.js.map +1 -0
- package/models/components/cardpresentpaymenttransferpaymentmethod.d.ts +31 -0
- package/models/components/cardpresentpaymenttransferpaymentmethod.d.ts.map +1 -0
- package/models/components/cardpresentpaymenttransferpaymentmethod.js +63 -0
- package/models/components/cardpresentpaymenttransferpaymentmethod.js.map +1 -0
- package/models/components/index.d.ts +19 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +19 -0
- package/models/components/index.js.map +1 -1
- package/models/components/instantbankcredittransferpaymentmethod.d.ts +31 -0
- package/models/components/instantbankcredittransferpaymentmethod.d.ts.map +1 -0
- package/models/components/instantbankcredittransferpaymentmethod.js +63 -0
- package/models/components/instantbankcredittransferpaymentmethod.js.map +1 -0
- package/models/components/moovwallettransferpaymentmethod.d.ts +25 -0
- package/models/components/moovwallettransferpaymentmethod.d.ts.map +1 -0
- package/models/components/moovwallettransferpaymentmethod.js +63 -0
- package/models/components/moovwallettransferpaymentmethod.js.map +1 -0
- package/models/components/pullfromcardtransferpaymentmethod.d.ts +28 -0
- package/models/components/pullfromcardtransferpaymentmethod.d.ts.map +1 -0
- package/models/components/pullfromcardtransferpaymentmethod.js +63 -0
- package/models/components/pullfromcardtransferpaymentmethod.js.map +1 -0
- package/models/components/pushtocardtransferpaymentmethod.d.ts +28 -0
- package/models/components/pushtocardtransferpaymentmethod.d.ts.map +1 -0
- package/models/components/pushtocardtransferpaymentmethod.js +63 -0
- package/models/components/pushtocardtransferpaymentmethod.js.map +1 -0
- package/models/components/rtpcredittransferpaymentmethod.d.ts +28 -0
- package/models/components/rtpcredittransferpaymentmethod.d.ts.map +1 -0
- package/models/components/rtpcredittransferpaymentmethod.js +63 -0
- package/models/components/rtpcredittransferpaymentmethod.js.map +1 -0
- package/models/components/transferdestination.d.ts +11 -11
- package/models/components/transferdestination.d.ts.map +1 -1
- package/models/components/transferdestination.js +12 -12
- package/models/components/transferdestination.js.map +1 -1
- package/models/components/transferentrymode.d.ts +17 -0
- package/models/components/transferentrymode.d.ts.map +1 -0
- package/models/components/transferentrymode.js +51 -0
- package/models/components/transferentrymode.js.map +1 -0
- package/models/components/transferoptions.d.ts +5 -5
- package/models/components/transferoptions.d.ts.map +1 -1
- package/models/components/transferoptions.js +5 -5
- package/models/components/transferoptions.js.map +1 -1
- package/models/components/transferpaymentmethod.d.ts +28 -0
- package/models/components/transferpaymentmethod.d.ts.map +1 -0
- package/models/components/transferpaymentmethod.js +92 -0
- package/models/components/transferpaymentmethod.js.map +1 -0
- package/models/components/transferpaymentmethodsbankaccount.d.ts +54 -0
- package/models/components/transferpaymentmethodsbankaccount.d.ts.map +1 -0
- package/models/components/transferpaymentmethodsbankaccount.js +79 -0
- package/models/components/transferpaymentmethodsbankaccount.js.map +1 -0
- package/models/components/transferpaymentmethodscard.d.ts +109 -0
- package/models/components/transferpaymentmethodscard.d.ts.map +1 -0
- package/models/components/transferpaymentmethodscard.js +98 -0
- package/models/components/transferpaymentmethodscard.js.map +1 -0
- package/models/components/transferpaymentmethodswallet.d.ts +29 -0
- package/models/components/transferpaymentmethodswallet.d.ts.map +1 -0
- package/models/components/transferpaymentmethodswallet.js +63 -0
- package/models/components/transferpaymentmethodswallet.js.map +1 -0
- package/models/components/transferpaymentmethodtype.d.ts +28 -0
- package/models/components/transferpaymentmethodtype.d.ts.map +1 -0
- package/models/components/transferpaymentmethodtype.js +62 -0
- package/models/components/transferpaymentmethodtype.js.map +1 -0
- package/models/components/transfersource.d.ts +14 -14
- package/models/components/transfersource.d.ts.map +1 -1
- package/models/components/transfersource.js +15 -15
- package/models/components/transfersource.js.map +1 -1
- package/models/components/transferterminalcard.d.ts +83 -0
- package/models/components/transferterminalcard.d.ts.map +1 -0
- package/models/components/transferterminalcard.js +84 -0
- package/models/components/transferterminalcard.js.map +1 -0
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/achcreditsamedaytransferpaymentmethod.ts +74 -0
- package/src/models/components/achcreditstandardtransferpaymentmethod.ts +75 -0
- package/src/models/components/achdebitcollecttransferpaymentmethod.ts +74 -0
- package/src/models/components/achdebitfundtransferpaymentmethod.ts +73 -0
- package/src/models/components/applepaytransferpaymentmethod.ts +73 -0
- package/src/models/components/cardpaymenttransferpaymentmethod.ts +73 -0
- package/src/models/components/cardpresentpaymenttransferpaymentmethod.ts +83 -0
- package/src/models/components/index.ts +19 -0
- package/src/models/components/instantbankcredittransferpaymentmethod.ts +78 -0
- package/src/models/components/moovwallettransferpaymentmethod.ts +70 -0
- package/src/models/components/pullfromcardtransferpaymentmethod.ts +73 -0
- package/src/models/components/pushtocardtransferpaymentmethod.ts +73 -0
- package/src/models/components/rtpcredittransferpaymentmethod.ts +73 -0
- package/src/models/components/transferdestination.ts +38 -38
- package/src/models/components/transferentrymode.ts +26 -0
- package/src/models/components/transferoptions.ts +13 -13
- package/src/models/components/transferpaymentmethod.ts +168 -0
- package/src/models/components/transferpaymentmethodsbankaccount.ts +120 -0
- package/src/models/components/transferpaymentmethodscard.ts +211 -0
- package/src/models/components/transferpaymentmethodswallet.ts +73 -0
- package/src/models/components/transferpaymentmethodtype.ts +39 -0
- package/src/models/components/transfersource.ts +48 -48
- package/src/models/components/transferterminalcard.ts +156 -0
|
@@ -0,0 +1,74 @@
|
|
|
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
|
+
TransferPaymentMethodsBankAccount,
|
|
11
|
+
TransferPaymentMethodsBankAccount$inboundSchema,
|
|
12
|
+
TransferPaymentMethodsBankAccount$Outbound,
|
|
13
|
+
TransferPaymentMethodsBankAccount$outboundSchema,
|
|
14
|
+
} from "./transferpaymentmethodsbankaccount.js";
|
|
15
|
+
|
|
16
|
+
export type AchDebitCollectTransferPaymentMethod = {
|
|
17
|
+
/**
|
|
18
|
+
* ID of the payment method.
|
|
19
|
+
*/
|
|
20
|
+
paymentMethodID: string;
|
|
21
|
+
paymentMethodType: "ach-debit-collect";
|
|
22
|
+
/**
|
|
23
|
+
* A bank account as contained within a payment method.
|
|
24
|
+
*/
|
|
25
|
+
bankAccount: TransferPaymentMethodsBankAccount;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const AchDebitCollectTransferPaymentMethod$inboundSchema: z.ZodType<
|
|
30
|
+
AchDebitCollectTransferPaymentMethod,
|
|
31
|
+
z.ZodTypeDef,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
paymentMethodID: z.string(),
|
|
35
|
+
paymentMethodType: z.literal("ach-debit-collect"),
|
|
36
|
+
bankAccount: TransferPaymentMethodsBankAccount$inboundSchema,
|
|
37
|
+
});
|
|
38
|
+
/** @internal */
|
|
39
|
+
export type AchDebitCollectTransferPaymentMethod$Outbound = {
|
|
40
|
+
paymentMethodID: string;
|
|
41
|
+
paymentMethodType: "ach-debit-collect";
|
|
42
|
+
bankAccount: TransferPaymentMethodsBankAccount$Outbound;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const AchDebitCollectTransferPaymentMethod$outboundSchema: z.ZodType<
|
|
47
|
+
AchDebitCollectTransferPaymentMethod$Outbound,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
AchDebitCollectTransferPaymentMethod
|
|
50
|
+
> = z.object({
|
|
51
|
+
paymentMethodID: z.string(),
|
|
52
|
+
paymentMethodType: z.literal("ach-debit-collect"),
|
|
53
|
+
bankAccount: TransferPaymentMethodsBankAccount$outboundSchema,
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
export function achDebitCollectTransferPaymentMethodToJSON(
|
|
57
|
+
achDebitCollectTransferPaymentMethod: AchDebitCollectTransferPaymentMethod,
|
|
58
|
+
): string {
|
|
59
|
+
return JSON.stringify(
|
|
60
|
+
AchDebitCollectTransferPaymentMethod$outboundSchema.parse(
|
|
61
|
+
achDebitCollectTransferPaymentMethod,
|
|
62
|
+
),
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
export function achDebitCollectTransferPaymentMethodFromJSON(
|
|
66
|
+
jsonString: string,
|
|
67
|
+
): SafeParseResult<AchDebitCollectTransferPaymentMethod, SDKValidationError> {
|
|
68
|
+
return safeParse(
|
|
69
|
+
jsonString,
|
|
70
|
+
(x) =>
|
|
71
|
+
AchDebitCollectTransferPaymentMethod$inboundSchema.parse(JSON.parse(x)),
|
|
72
|
+
`Failed to parse 'AchDebitCollectTransferPaymentMethod' from JSON`,
|
|
73
|
+
);
|
|
74
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
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
|
+
TransferPaymentMethodsBankAccount,
|
|
11
|
+
TransferPaymentMethodsBankAccount$inboundSchema,
|
|
12
|
+
TransferPaymentMethodsBankAccount$Outbound,
|
|
13
|
+
TransferPaymentMethodsBankAccount$outboundSchema,
|
|
14
|
+
} from "./transferpaymentmethodsbankaccount.js";
|
|
15
|
+
|
|
16
|
+
export type AchDebitFundTransferPaymentMethod = {
|
|
17
|
+
/**
|
|
18
|
+
* ID of the payment method.
|
|
19
|
+
*/
|
|
20
|
+
paymentMethodID: string;
|
|
21
|
+
paymentMethodType: "ach-debit-fund";
|
|
22
|
+
/**
|
|
23
|
+
* A bank account as contained within a payment method.
|
|
24
|
+
*/
|
|
25
|
+
bankAccount: TransferPaymentMethodsBankAccount;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const AchDebitFundTransferPaymentMethod$inboundSchema: z.ZodType<
|
|
30
|
+
AchDebitFundTransferPaymentMethod,
|
|
31
|
+
z.ZodTypeDef,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
paymentMethodID: z.string(),
|
|
35
|
+
paymentMethodType: z.literal("ach-debit-fund"),
|
|
36
|
+
bankAccount: TransferPaymentMethodsBankAccount$inboundSchema,
|
|
37
|
+
});
|
|
38
|
+
/** @internal */
|
|
39
|
+
export type AchDebitFundTransferPaymentMethod$Outbound = {
|
|
40
|
+
paymentMethodID: string;
|
|
41
|
+
paymentMethodType: "ach-debit-fund";
|
|
42
|
+
bankAccount: TransferPaymentMethodsBankAccount$Outbound;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const AchDebitFundTransferPaymentMethod$outboundSchema: z.ZodType<
|
|
47
|
+
AchDebitFundTransferPaymentMethod$Outbound,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
AchDebitFundTransferPaymentMethod
|
|
50
|
+
> = z.object({
|
|
51
|
+
paymentMethodID: z.string(),
|
|
52
|
+
paymentMethodType: z.literal("ach-debit-fund"),
|
|
53
|
+
bankAccount: TransferPaymentMethodsBankAccount$outboundSchema,
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
export function achDebitFundTransferPaymentMethodToJSON(
|
|
57
|
+
achDebitFundTransferPaymentMethod: AchDebitFundTransferPaymentMethod,
|
|
58
|
+
): string {
|
|
59
|
+
return JSON.stringify(
|
|
60
|
+
AchDebitFundTransferPaymentMethod$outboundSchema.parse(
|
|
61
|
+
achDebitFundTransferPaymentMethod,
|
|
62
|
+
),
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
export function achDebitFundTransferPaymentMethodFromJSON(
|
|
66
|
+
jsonString: string,
|
|
67
|
+
): SafeParseResult<AchDebitFundTransferPaymentMethod, SDKValidationError> {
|
|
68
|
+
return safeParse(
|
|
69
|
+
jsonString,
|
|
70
|
+
(x) => AchDebitFundTransferPaymentMethod$inboundSchema.parse(JSON.parse(x)),
|
|
71
|
+
`Failed to parse 'AchDebitFundTransferPaymentMethod' from JSON`,
|
|
72
|
+
);
|
|
73
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
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
|
+
ApplePayResponse,
|
|
11
|
+
ApplePayResponse$inboundSchema,
|
|
12
|
+
ApplePayResponse$Outbound,
|
|
13
|
+
ApplePayResponse$outboundSchema,
|
|
14
|
+
} from "./applepayresponse.js";
|
|
15
|
+
|
|
16
|
+
export type ApplePayTransferPaymentMethod = {
|
|
17
|
+
/**
|
|
18
|
+
* ID of the payment method.
|
|
19
|
+
*/
|
|
20
|
+
paymentMethodID: string;
|
|
21
|
+
paymentMethodType: "apple-pay";
|
|
22
|
+
/**
|
|
23
|
+
* Describes an Apple Pay token on a Moov account.
|
|
24
|
+
*/
|
|
25
|
+
applePay: ApplePayResponse;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const ApplePayTransferPaymentMethod$inboundSchema: z.ZodType<
|
|
30
|
+
ApplePayTransferPaymentMethod,
|
|
31
|
+
z.ZodTypeDef,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
paymentMethodID: z.string(),
|
|
35
|
+
paymentMethodType: z.literal("apple-pay"),
|
|
36
|
+
applePay: ApplePayResponse$inboundSchema,
|
|
37
|
+
});
|
|
38
|
+
/** @internal */
|
|
39
|
+
export type ApplePayTransferPaymentMethod$Outbound = {
|
|
40
|
+
paymentMethodID: string;
|
|
41
|
+
paymentMethodType: "apple-pay";
|
|
42
|
+
applePay: ApplePayResponse$Outbound;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const ApplePayTransferPaymentMethod$outboundSchema: z.ZodType<
|
|
47
|
+
ApplePayTransferPaymentMethod$Outbound,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
ApplePayTransferPaymentMethod
|
|
50
|
+
> = z.object({
|
|
51
|
+
paymentMethodID: z.string(),
|
|
52
|
+
paymentMethodType: z.literal("apple-pay"),
|
|
53
|
+
applePay: ApplePayResponse$outboundSchema,
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
export function applePayTransferPaymentMethodToJSON(
|
|
57
|
+
applePayTransferPaymentMethod: ApplePayTransferPaymentMethod,
|
|
58
|
+
): string {
|
|
59
|
+
return JSON.stringify(
|
|
60
|
+
ApplePayTransferPaymentMethod$outboundSchema.parse(
|
|
61
|
+
applePayTransferPaymentMethod,
|
|
62
|
+
),
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
export function applePayTransferPaymentMethodFromJSON(
|
|
66
|
+
jsonString: string,
|
|
67
|
+
): SafeParseResult<ApplePayTransferPaymentMethod, SDKValidationError> {
|
|
68
|
+
return safeParse(
|
|
69
|
+
jsonString,
|
|
70
|
+
(x) => ApplePayTransferPaymentMethod$inboundSchema.parse(JSON.parse(x)),
|
|
71
|
+
`Failed to parse 'ApplePayTransferPaymentMethod' from JSON`,
|
|
72
|
+
);
|
|
73
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
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
|
+
TransferPaymentMethodsCard,
|
|
11
|
+
TransferPaymentMethodsCard$inboundSchema,
|
|
12
|
+
TransferPaymentMethodsCard$Outbound,
|
|
13
|
+
TransferPaymentMethodsCard$outboundSchema,
|
|
14
|
+
} from "./transferpaymentmethodscard.js";
|
|
15
|
+
|
|
16
|
+
export type CardPaymentTransferPaymentMethod = {
|
|
17
|
+
/**
|
|
18
|
+
* ID of the payment method.
|
|
19
|
+
*/
|
|
20
|
+
paymentMethodID: string;
|
|
21
|
+
paymentMethodType: "card-payment";
|
|
22
|
+
/**
|
|
23
|
+
* A card as contained within a payment method.
|
|
24
|
+
*/
|
|
25
|
+
card: TransferPaymentMethodsCard;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const CardPaymentTransferPaymentMethod$inboundSchema: z.ZodType<
|
|
30
|
+
CardPaymentTransferPaymentMethod,
|
|
31
|
+
z.ZodTypeDef,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
paymentMethodID: z.string(),
|
|
35
|
+
paymentMethodType: z.literal("card-payment"),
|
|
36
|
+
card: TransferPaymentMethodsCard$inboundSchema,
|
|
37
|
+
});
|
|
38
|
+
/** @internal */
|
|
39
|
+
export type CardPaymentTransferPaymentMethod$Outbound = {
|
|
40
|
+
paymentMethodID: string;
|
|
41
|
+
paymentMethodType: "card-payment";
|
|
42
|
+
card: TransferPaymentMethodsCard$Outbound;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const CardPaymentTransferPaymentMethod$outboundSchema: z.ZodType<
|
|
47
|
+
CardPaymentTransferPaymentMethod$Outbound,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
CardPaymentTransferPaymentMethod
|
|
50
|
+
> = z.object({
|
|
51
|
+
paymentMethodID: z.string(),
|
|
52
|
+
paymentMethodType: z.literal("card-payment"),
|
|
53
|
+
card: TransferPaymentMethodsCard$outboundSchema,
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
export function cardPaymentTransferPaymentMethodToJSON(
|
|
57
|
+
cardPaymentTransferPaymentMethod: CardPaymentTransferPaymentMethod,
|
|
58
|
+
): string {
|
|
59
|
+
return JSON.stringify(
|
|
60
|
+
CardPaymentTransferPaymentMethod$outboundSchema.parse(
|
|
61
|
+
cardPaymentTransferPaymentMethod,
|
|
62
|
+
),
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
export function cardPaymentTransferPaymentMethodFromJSON(
|
|
66
|
+
jsonString: string,
|
|
67
|
+
): SafeParseResult<CardPaymentTransferPaymentMethod, SDKValidationError> {
|
|
68
|
+
return safeParse(
|
|
69
|
+
jsonString,
|
|
70
|
+
(x) => CardPaymentTransferPaymentMethod$inboundSchema.parse(JSON.parse(x)),
|
|
71
|
+
`Failed to parse 'CardPaymentTransferPaymentMethod' from JSON`,
|
|
72
|
+
);
|
|
73
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
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
|
+
TransferTerminalCard,
|
|
11
|
+
TransferTerminalCard$inboundSchema,
|
|
12
|
+
TransferTerminalCard$Outbound,
|
|
13
|
+
TransferTerminalCard$outboundSchema,
|
|
14
|
+
} from "./transferterminalcard.js";
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* A card used at point of sale terminal for a card present transaction as contained within a payment method.
|
|
18
|
+
*/
|
|
19
|
+
export type CardPresentPaymentTransferPaymentMethod = {
|
|
20
|
+
/**
|
|
21
|
+
* ID of the payment method.
|
|
22
|
+
*/
|
|
23
|
+
paymentMethodID: string;
|
|
24
|
+
paymentMethodType: "card-present-payment";
|
|
25
|
+
/**
|
|
26
|
+
* Describes payment card details captured with tap or in-person payment.
|
|
27
|
+
*/
|
|
28
|
+
terminalCard?: TransferTerminalCard | undefined;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export const CardPresentPaymentTransferPaymentMethod$inboundSchema: z.ZodType<
|
|
33
|
+
CardPresentPaymentTransferPaymentMethod,
|
|
34
|
+
z.ZodTypeDef,
|
|
35
|
+
unknown
|
|
36
|
+
> = z.object({
|
|
37
|
+
paymentMethodID: z.string(),
|
|
38
|
+
paymentMethodType: z.literal("card-present-payment"),
|
|
39
|
+
terminalCard: TransferTerminalCard$inboundSchema.optional(),
|
|
40
|
+
});
|
|
41
|
+
/** @internal */
|
|
42
|
+
export type CardPresentPaymentTransferPaymentMethod$Outbound = {
|
|
43
|
+
paymentMethodID: string;
|
|
44
|
+
paymentMethodType: "card-present-payment";
|
|
45
|
+
terminalCard?: TransferTerminalCard$Outbound | undefined;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/** @internal */
|
|
49
|
+
export const CardPresentPaymentTransferPaymentMethod$outboundSchema: z.ZodType<
|
|
50
|
+
CardPresentPaymentTransferPaymentMethod$Outbound,
|
|
51
|
+
z.ZodTypeDef,
|
|
52
|
+
CardPresentPaymentTransferPaymentMethod
|
|
53
|
+
> = z.object({
|
|
54
|
+
paymentMethodID: z.string(),
|
|
55
|
+
paymentMethodType: z.literal("card-present-payment"),
|
|
56
|
+
terminalCard: TransferTerminalCard$outboundSchema.optional(),
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
export function cardPresentPaymentTransferPaymentMethodToJSON(
|
|
60
|
+
cardPresentPaymentTransferPaymentMethod:
|
|
61
|
+
CardPresentPaymentTransferPaymentMethod,
|
|
62
|
+
): string {
|
|
63
|
+
return JSON.stringify(
|
|
64
|
+
CardPresentPaymentTransferPaymentMethod$outboundSchema.parse(
|
|
65
|
+
cardPresentPaymentTransferPaymentMethod,
|
|
66
|
+
),
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
export function cardPresentPaymentTransferPaymentMethodFromJSON(
|
|
70
|
+
jsonString: string,
|
|
71
|
+
): SafeParseResult<
|
|
72
|
+
CardPresentPaymentTransferPaymentMethod,
|
|
73
|
+
SDKValidationError
|
|
74
|
+
> {
|
|
75
|
+
return safeParse(
|
|
76
|
+
jsonString,
|
|
77
|
+
(x) =>
|
|
78
|
+
CardPresentPaymentTransferPaymentMethod$inboundSchema.parse(
|
|
79
|
+
JSON.parse(x),
|
|
80
|
+
),
|
|
81
|
+
`Failed to parse 'CardPresentPaymentTransferPaymentMethod' from JSON`,
|
|
82
|
+
);
|
|
83
|
+
}
|
|
@@ -11,9 +11,13 @@ export * from "./accountterminalapplication.js";
|
|
|
11
11
|
export * from "./accounttype.js";
|
|
12
12
|
export * from "./accountverificationstatus.js";
|
|
13
13
|
export * from "./achcreditsamedaypaymentmethod.js";
|
|
14
|
+
export * from "./achcreditsamedaytransferpaymentmethod.js";
|
|
14
15
|
export * from "./achcreditstandardpaymentmethod.js";
|
|
16
|
+
export * from "./achcreditstandardtransferpaymentmethod.js";
|
|
15
17
|
export * from "./achdebitcollectpaymentmethod.js";
|
|
18
|
+
export * from "./achdebitcollecttransferpaymentmethod.js";
|
|
16
19
|
export * from "./achdebitfundpaymentmethod.js";
|
|
20
|
+
export * from "./achdebitfundtransferpaymentmethod.js";
|
|
17
21
|
export * from "./achexception.js";
|
|
18
22
|
export * from "./achfees.js";
|
|
19
23
|
export * from "./achinstitution.js";
|
|
@@ -41,6 +45,7 @@ export * from "./applepayheader.js";
|
|
|
41
45
|
export * from "./applepaymerchantdomains.js";
|
|
42
46
|
export * from "./applepaypaymentmethod.js";
|
|
43
47
|
export * from "./applepayresponse.js";
|
|
48
|
+
export * from "./applepaytransferpaymentmethod.js";
|
|
44
49
|
export * from "./applicationscope.js";
|
|
45
50
|
export * from "./assignproductimage.js";
|
|
46
51
|
export * from "./assignproductimagevalidationerror.js";
|
|
@@ -105,7 +110,9 @@ export * from "./cardpaymentdetails.js";
|
|
|
105
110
|
export * from "./cardpaymentdetailserror.js";
|
|
106
111
|
export * from "./cardpaymentpaymentmethod.js";
|
|
107
112
|
export * from "./cardpaymentsettings.js";
|
|
113
|
+
export * from "./cardpaymenttransferpaymentmethod.js";
|
|
108
114
|
export * from "./cardpresentpaymentpaymentmethod.js";
|
|
115
|
+
export * from "./cardpresentpaymenttransferpaymentmethod.js";
|
|
109
116
|
export * from "./cardtransactiondetails.js";
|
|
110
117
|
export * from "./cardtransactionfailurecode.js";
|
|
111
118
|
export * from "./cardtransactionstatus.js";
|
|
@@ -251,6 +258,7 @@ export * from "./individualprofile.js";
|
|
|
251
258
|
export * from "./industrycodes.js";
|
|
252
259
|
export * from "./industrytaxonomy.js";
|
|
253
260
|
export * from "./instantbankcreditpaymentmethod.js";
|
|
261
|
+
export * from "./instantbankcredittransferpaymentmethod.js";
|
|
254
262
|
export * from "./instantpaymentfees.js";
|
|
255
263
|
export * from "./institutionssearchresponse.js";
|
|
256
264
|
export * from "./invoicestatus.js";
|
|
@@ -297,6 +305,7 @@ export * from "./monthlyvolumerange.js";
|
|
|
297
305
|
export * from "./moovfee.js";
|
|
298
306
|
export * from "./moovfeedetails.js";
|
|
299
307
|
export * from "./moovwalletpaymentmethod.js";
|
|
308
|
+
export * from "./moovwallettransferpaymentmethod.js";
|
|
300
309
|
export * from "./mxauthorizationcode.js";
|
|
301
310
|
export * from "./mxpayload.js";
|
|
302
311
|
export * from "./occurrence.js";
|
|
@@ -358,7 +367,9 @@ export * from "./productoptionvalidationerror.js";
|
|
|
358
367
|
export * from "./productrequest.js";
|
|
359
368
|
export * from "./profile.js";
|
|
360
369
|
export * from "./pullfromcardpaymentmethod.js";
|
|
370
|
+
export * from "./pullfromcardtransferpaymentmethod.js";
|
|
361
371
|
export * from "./pushtocardpaymentmethod.js";
|
|
372
|
+
export * from "./pushtocardtransferpaymentmethod.js";
|
|
362
373
|
export * from "./qrcode.js";
|
|
363
374
|
export * from "./receiptkind.js";
|
|
364
375
|
export * from "./receiptrequest.js";
|
|
@@ -384,6 +395,7 @@ export * from "./reversedwithcancellation.js";
|
|
|
384
395
|
export * from "./reversedwithrefund.js";
|
|
385
396
|
export * from "./revoketokenrequest.js";
|
|
386
397
|
export * from "./rtpcreditpaymentmethod.js";
|
|
398
|
+
export * from "./rtpcredittransferpaymentmethod.js";
|
|
387
399
|
export * from "./rtpfailurecode.js";
|
|
388
400
|
export * from "./rtpinstitution.js";
|
|
389
401
|
export * from "./rtprejectioncode.js";
|
|
@@ -445,6 +457,7 @@ export * from "./transfer.js";
|
|
|
445
457
|
export * from "./transferaccount.js";
|
|
446
458
|
export * from "./transferachaddendarecord.js";
|
|
447
459
|
export * from "./transferdestination.js";
|
|
460
|
+
export * from "./transferentrymode.js";
|
|
448
461
|
export * from "./transferfailurereason.js";
|
|
449
462
|
export * from "./transferlineitem.js";
|
|
450
463
|
export * from "./transferlineitemimagemetadata.js";
|
|
@@ -452,8 +465,14 @@ export * from "./transferlineitemoption.js";
|
|
|
452
465
|
export * from "./transferlineitems.js";
|
|
453
466
|
export * from "./transferoptions.js";
|
|
454
467
|
export * from "./transferparty.js";
|
|
468
|
+
export * from "./transferpaymentmethod.js";
|
|
469
|
+
export * from "./transferpaymentmethodsbankaccount.js";
|
|
470
|
+
export * from "./transferpaymentmethodscard.js";
|
|
471
|
+
export * from "./transferpaymentmethodswallet.js";
|
|
472
|
+
export * from "./transferpaymentmethodtype.js";
|
|
455
473
|
export * from "./transfersource.js";
|
|
456
474
|
export * from "./transferstatus.js";
|
|
475
|
+
export * from "./transferterminalcard.js";
|
|
457
476
|
export * from "./transferwaitfor.js";
|
|
458
477
|
export * from "./underwriting.js";
|
|
459
478
|
export * from "./underwritingstatus.js";
|
|
@@ -0,0 +1,78 @@
|
|
|
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
|
+
TransferPaymentMethodsBankAccount,
|
|
11
|
+
TransferPaymentMethodsBankAccount$inboundSchema,
|
|
12
|
+
TransferPaymentMethodsBankAccount$Outbound,
|
|
13
|
+
TransferPaymentMethodsBankAccount$outboundSchema,
|
|
14
|
+
} from "./transferpaymentmethodsbankaccount.js";
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Instantly send funds to a bank account.
|
|
18
|
+
*/
|
|
19
|
+
export type InstantBankCreditTransferPaymentMethod = {
|
|
20
|
+
/**
|
|
21
|
+
* ID of the payment method.
|
|
22
|
+
*/
|
|
23
|
+
paymentMethodID: string;
|
|
24
|
+
paymentMethodType: "instant-bank-credit";
|
|
25
|
+
/**
|
|
26
|
+
* A bank account as contained within a payment method.
|
|
27
|
+
*/
|
|
28
|
+
bankAccount: TransferPaymentMethodsBankAccount;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export const InstantBankCreditTransferPaymentMethod$inboundSchema: z.ZodType<
|
|
33
|
+
InstantBankCreditTransferPaymentMethod,
|
|
34
|
+
z.ZodTypeDef,
|
|
35
|
+
unknown
|
|
36
|
+
> = z.object({
|
|
37
|
+
paymentMethodID: z.string(),
|
|
38
|
+
paymentMethodType: z.literal("instant-bank-credit"),
|
|
39
|
+
bankAccount: TransferPaymentMethodsBankAccount$inboundSchema,
|
|
40
|
+
});
|
|
41
|
+
/** @internal */
|
|
42
|
+
export type InstantBankCreditTransferPaymentMethod$Outbound = {
|
|
43
|
+
paymentMethodID: string;
|
|
44
|
+
paymentMethodType: "instant-bank-credit";
|
|
45
|
+
bankAccount: TransferPaymentMethodsBankAccount$Outbound;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/** @internal */
|
|
49
|
+
export const InstantBankCreditTransferPaymentMethod$outboundSchema: z.ZodType<
|
|
50
|
+
InstantBankCreditTransferPaymentMethod$Outbound,
|
|
51
|
+
z.ZodTypeDef,
|
|
52
|
+
InstantBankCreditTransferPaymentMethod
|
|
53
|
+
> = z.object({
|
|
54
|
+
paymentMethodID: z.string(),
|
|
55
|
+
paymentMethodType: z.literal("instant-bank-credit"),
|
|
56
|
+
bankAccount: TransferPaymentMethodsBankAccount$outboundSchema,
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
export function instantBankCreditTransferPaymentMethodToJSON(
|
|
60
|
+
instantBankCreditTransferPaymentMethod:
|
|
61
|
+
InstantBankCreditTransferPaymentMethod,
|
|
62
|
+
): string {
|
|
63
|
+
return JSON.stringify(
|
|
64
|
+
InstantBankCreditTransferPaymentMethod$outboundSchema.parse(
|
|
65
|
+
instantBankCreditTransferPaymentMethod,
|
|
66
|
+
),
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
export function instantBankCreditTransferPaymentMethodFromJSON(
|
|
70
|
+
jsonString: string,
|
|
71
|
+
): SafeParseResult<InstantBankCreditTransferPaymentMethod, SDKValidationError> {
|
|
72
|
+
return safeParse(
|
|
73
|
+
jsonString,
|
|
74
|
+
(x) =>
|
|
75
|
+
InstantBankCreditTransferPaymentMethod$inboundSchema.parse(JSON.parse(x)),
|
|
76
|
+
`Failed to parse 'InstantBankCreditTransferPaymentMethod' from JSON`,
|
|
77
|
+
);
|
|
78
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
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
|
+
TransferPaymentMethodsWallet,
|
|
11
|
+
TransferPaymentMethodsWallet$inboundSchema,
|
|
12
|
+
TransferPaymentMethodsWallet$Outbound,
|
|
13
|
+
TransferPaymentMethodsWallet$outboundSchema,
|
|
14
|
+
} from "./transferpaymentmethodswallet.js";
|
|
15
|
+
|
|
16
|
+
export type MoovWalletTransferPaymentMethod = {
|
|
17
|
+
/**
|
|
18
|
+
* ID of the payment method.
|
|
19
|
+
*/
|
|
20
|
+
paymentMethodID: string;
|
|
21
|
+
paymentMethodType: "moov-wallet";
|
|
22
|
+
wallet: TransferPaymentMethodsWallet;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const MoovWalletTransferPaymentMethod$inboundSchema: z.ZodType<
|
|
27
|
+
MoovWalletTransferPaymentMethod,
|
|
28
|
+
z.ZodTypeDef,
|
|
29
|
+
unknown
|
|
30
|
+
> = z.object({
|
|
31
|
+
paymentMethodID: z.string(),
|
|
32
|
+
paymentMethodType: z.literal("moov-wallet"),
|
|
33
|
+
wallet: TransferPaymentMethodsWallet$inboundSchema,
|
|
34
|
+
});
|
|
35
|
+
/** @internal */
|
|
36
|
+
export type MoovWalletTransferPaymentMethod$Outbound = {
|
|
37
|
+
paymentMethodID: string;
|
|
38
|
+
paymentMethodType: "moov-wallet";
|
|
39
|
+
wallet: TransferPaymentMethodsWallet$Outbound;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
/** @internal */
|
|
43
|
+
export const MoovWalletTransferPaymentMethod$outboundSchema: z.ZodType<
|
|
44
|
+
MoovWalletTransferPaymentMethod$Outbound,
|
|
45
|
+
z.ZodTypeDef,
|
|
46
|
+
MoovWalletTransferPaymentMethod
|
|
47
|
+
> = z.object({
|
|
48
|
+
paymentMethodID: z.string(),
|
|
49
|
+
paymentMethodType: z.literal("moov-wallet"),
|
|
50
|
+
wallet: TransferPaymentMethodsWallet$outboundSchema,
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
export function moovWalletTransferPaymentMethodToJSON(
|
|
54
|
+
moovWalletTransferPaymentMethod: MoovWalletTransferPaymentMethod,
|
|
55
|
+
): string {
|
|
56
|
+
return JSON.stringify(
|
|
57
|
+
MoovWalletTransferPaymentMethod$outboundSchema.parse(
|
|
58
|
+
moovWalletTransferPaymentMethod,
|
|
59
|
+
),
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
export function moovWalletTransferPaymentMethodFromJSON(
|
|
63
|
+
jsonString: string,
|
|
64
|
+
): SafeParseResult<MoovWalletTransferPaymentMethod, SDKValidationError> {
|
|
65
|
+
return safeParse(
|
|
66
|
+
jsonString,
|
|
67
|
+
(x) => MoovWalletTransferPaymentMethod$inboundSchema.parse(JSON.parse(x)),
|
|
68
|
+
`Failed to parse 'MoovWalletTransferPaymentMethod' from JSON`,
|
|
69
|
+
);
|
|
70
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
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
|
+
TransferPaymentMethodsCard,
|
|
11
|
+
TransferPaymentMethodsCard$inboundSchema,
|
|
12
|
+
TransferPaymentMethodsCard$Outbound,
|
|
13
|
+
TransferPaymentMethodsCard$outboundSchema,
|
|
14
|
+
} from "./transferpaymentmethodscard.js";
|
|
15
|
+
|
|
16
|
+
export type PullFromCardTransferPaymentMethod = {
|
|
17
|
+
/**
|
|
18
|
+
* ID of the payment method.
|
|
19
|
+
*/
|
|
20
|
+
paymentMethodID: string;
|
|
21
|
+
paymentMethodType: "pull-from-card";
|
|
22
|
+
/**
|
|
23
|
+
* A card as contained within a payment method.
|
|
24
|
+
*/
|
|
25
|
+
card: TransferPaymentMethodsCard;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const PullFromCardTransferPaymentMethod$inboundSchema: z.ZodType<
|
|
30
|
+
PullFromCardTransferPaymentMethod,
|
|
31
|
+
z.ZodTypeDef,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
paymentMethodID: z.string(),
|
|
35
|
+
paymentMethodType: z.literal("pull-from-card"),
|
|
36
|
+
card: TransferPaymentMethodsCard$inboundSchema,
|
|
37
|
+
});
|
|
38
|
+
/** @internal */
|
|
39
|
+
export type PullFromCardTransferPaymentMethod$Outbound = {
|
|
40
|
+
paymentMethodID: string;
|
|
41
|
+
paymentMethodType: "pull-from-card";
|
|
42
|
+
card: TransferPaymentMethodsCard$Outbound;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const PullFromCardTransferPaymentMethod$outboundSchema: z.ZodType<
|
|
47
|
+
PullFromCardTransferPaymentMethod$Outbound,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
PullFromCardTransferPaymentMethod
|
|
50
|
+
> = z.object({
|
|
51
|
+
paymentMethodID: z.string(),
|
|
52
|
+
paymentMethodType: z.literal("pull-from-card"),
|
|
53
|
+
card: TransferPaymentMethodsCard$outboundSchema,
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
export function pullFromCardTransferPaymentMethodToJSON(
|
|
57
|
+
pullFromCardTransferPaymentMethod: PullFromCardTransferPaymentMethod,
|
|
58
|
+
): string {
|
|
59
|
+
return JSON.stringify(
|
|
60
|
+
PullFromCardTransferPaymentMethod$outboundSchema.parse(
|
|
61
|
+
pullFromCardTransferPaymentMethod,
|
|
62
|
+
),
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
export function pullFromCardTransferPaymentMethodFromJSON(
|
|
66
|
+
jsonString: string,
|
|
67
|
+
): SafeParseResult<PullFromCardTransferPaymentMethod, SDKValidationError> {
|
|
68
|
+
return safeParse(
|
|
69
|
+
jsonString,
|
|
70
|
+
(x) => PullFromCardTransferPaymentMethod$inboundSchema.parse(JSON.parse(x)),
|
|
71
|
+
`Failed to parse 'PullFromCardTransferPaymentMethod' from JSON`,
|
|
72
|
+
);
|
|
73
|
+
}
|