@moovio/sdk 26.4.0-dev.16 → 26.4.0-dev.17
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/README.md +77 -61
- package/bin/mcp-server.js +626 -238
- package/bin/mcp-server.js.map +38 -27
- package/funcs/cardIssuingUpdate.d.ts +1 -1
- package/funcs/cardIssuingUpdate.d.ts.map +1 -1
- package/funcs/cardIssuingUpdate.js +2 -1
- package/funcs/cardIssuingUpdate.js.map +1 -1
- package/funcs/disputesUploadEvidenceFile.js +4 -1
- package/funcs/disputesUploadEvidenceFile.js.map +1 -1
- package/funcs/filesUpload.js +4 -1
- package/funcs/filesUpload.js.map +1 -1
- package/funcs/imagesUpdate.d.ts.map +1 -1
- package/funcs/imagesUpdate.js +4 -1
- package/funcs/imagesUpdate.js.map +1 -1
- package/funcs/imagesUpload.d.ts.map +1 -1
- package/funcs/imagesUpload.js +4 -1
- package/funcs/imagesUpload.js.map +1 -1
- package/funcs/transfersBatchGetTransfers.d.ts +21 -0
- package/funcs/transfersBatchGetTransfers.d.ts.map +1 -0
- package/funcs/transfersBatchGetTransfers.js +131 -0
- package/funcs/transfersBatchGetTransfers.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/encodings.d.ts +1 -0
- package/lib/encodings.d.ts.map +1 -1
- package/lib/encodings.js +27 -5
- package/lib/encodings.js.map +1 -1
- package/lib/security.d.ts +1 -1
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +18 -7
- package/lib/security.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +3 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/applePayLinkToken.js +3 -3
- package/mcp-server/tools/cardIssuingUpdate.d.ts.map +1 -1
- package/mcp-server/tools/cardIssuingUpdate.js +2 -1
- package/mcp-server/tools/cardIssuingUpdate.js.map +1 -1
- package/mcp-server/tools/transfersBatchGetTransfers.d.ts +8 -0
- package/mcp-server/tools/transfersBatchGetTransfers.d.ts.map +1 -0
- package/mcp-server/tools/transfersBatchGetTransfers.js +69 -0
- package/mcp-server/tools/transfersBatchGetTransfers.js.map +1 -0
- package/models/components/batchgettransfersrequest.d.ts +20 -0
- package/models/components/batchgettransfersrequest.d.ts.map +1 -0
- package/models/components/batchgettransfersrequest.js +58 -0
- package/models/components/batchgettransfersrequest.js.map +1 -0
- package/models/components/cardpayouttype.d.ts +17 -0
- package/models/components/cardpayouttype.d.ts.map +1 -0
- package/models/components/cardpayouttype.js +51 -0
- package/models/components/cardpayouttype.js.map +1 -0
- package/models/components/createtransferdestinationcard.d.ts +6 -0
- package/models/components/createtransferdestinationcard.d.ts.map +1 -1
- package/models/components/createtransferdestinationcard.js +3 -0
- package/models/components/createtransferdestinationcard.js.map +1 -1
- package/models/components/index.d.ts +8 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +8 -0
- package/models/components/index.js.map +1 -1
- package/models/components/paymentmethod.d.ts +4 -2
- package/models/components/paymentmethod.d.ts.map +1 -1
- package/models/components/paymentmethod.js +6 -0
- package/models/components/paymentmethod.js.map +1 -1
- package/models/components/paymentmethodtype.d.ts +2 -0
- package/models/components/paymentmethodtype.d.ts.map +1 -1
- package/models/components/paymentmethodtype.js +2 -0
- package/models/components/paymentmethodtype.js.map +1 -1
- package/models/components/pullfromapplepaypaymentmethod.d.ts +28 -0
- package/models/components/pullfromapplepaypaymentmethod.d.ts.map +1 -0
- package/models/components/pullfromapplepaypaymentmethod.js +63 -0
- package/models/components/pullfromapplepaypaymentmethod.js.map +1 -0
- package/models/components/pullfromapplepaytransferpaymentmethod.d.ts +28 -0
- package/models/components/pullfromapplepaytransferpaymentmethod.d.ts.map +1 -0
- package/models/components/pullfromapplepaytransferpaymentmethod.js +63 -0
- package/models/components/pullfromapplepaytransferpaymentmethod.js.map +1 -0
- package/models/components/pushtoapplepaypaymentmethod.d.ts +28 -0
- package/models/components/pushtoapplepaypaymentmethod.d.ts.map +1 -0
- package/models/components/pushtoapplepaypaymentmethod.js +63 -0
- package/models/components/pushtoapplepaypaymentmethod.js.map +1 -0
- package/models/components/pushtoapplepaytransferpaymentmethod.d.ts +28 -0
- package/models/components/pushtoapplepaytransferpaymentmethod.d.ts.map +1 -0
- package/models/components/pushtoapplepaytransferpaymentmethod.js +63 -0
- package/models/components/pushtoapplepaytransferpaymentmethod.js.map +1 -0
- package/models/components/rtpfailurecode.d.ts +26 -0
- package/models/components/rtpfailurecode.d.ts.map +1 -0
- package/models/components/rtpfailurecode.js +60 -0
- package/models/components/rtpfailurecode.js.map +1 -0
- package/models/components/rtptransactionstatus.d.ts +20 -0
- package/models/components/rtptransactionstatus.d.ts.map +1 -0
- package/models/components/rtptransactionstatus.js +54 -0
- package/models/components/rtptransactionstatus.js.map +1 -0
- package/models/components/transferdestination.d.ts +46 -0
- package/models/components/transferdestination.d.ts.map +1 -1
- package/models/components/transferdestination.js +36 -1
- package/models/components/transferdestination.js.map +1 -1
- package/models/components/transferpaymentmethod.d.ts +4 -2
- package/models/components/transferpaymentmethod.d.ts.map +1 -1
- package/models/components/transferpaymentmethod.js +6 -0
- package/models/components/transferpaymentmethod.js.map +1 -1
- package/models/components/transferpaymentmethodtype.d.ts +2 -0
- package/models/components/transferpaymentmethodtype.d.ts.map +1 -1
- package/models/components/transferpaymentmethodtype.js +2 -0
- package/models/components/transferpaymentmethodtype.js.map +1 -1
- package/models/components/webhookbillingstatementcreated.d.ts +2 -0
- package/models/components/webhookbillingstatementcreated.d.ts.map +1 -1
- package/models/components/webhookbillingstatementcreated.js +2 -0
- package/models/components/webhookbillingstatementcreated.js.map +1 -1
- package/models/components/webhookdata.d.ts +2 -2
- package/models/components/webhookdata.d.ts.map +1 -1
- package/models/components/webhookdata.js +2 -2
- package/models/components/webhookdata.js.map +1 -1
- package/models/operations/batchgettransfers.d.ts +43 -0
- package/models/operations/batchgettransfers.d.ts.map +1 -0
- package/models/operations/batchgettransfers.js +98 -0
- package/models/operations/batchgettransfers.js.map +1 -0
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/linkapplepaytoken.d.ts +2 -2
- package/models/operations/linkapplepaytoken.d.ts.map +1 -1
- package/models/operations/linkapplepaytoken.js +2 -2
- package/models/operations/linkapplepaytoken.js.map +1 -1
- package/models/operations/updateissuedcard.d.ts +2 -0
- package/models/operations/updateissuedcard.d.ts.map +1 -1
- package/models/operations/updateissuedcard.js +4 -0
- package/models/operations/updateissuedcard.js.map +1 -1
- package/package.json +1 -1
- package/sdk/cardissuing.d.ts +1 -1
- package/sdk/cardissuing.d.ts.map +1 -1
- package/sdk/transfers.d.ts +11 -0
- package/sdk/transfers.d.ts.map +1 -1
- package/sdk/transfers.js +14 -0
- package/sdk/transfers.js.map +1 -1
- package/src/funcs/cardIssuingUpdate.ts +5 -4
- package/src/funcs/disputesUploadEvidenceFile.ts +5 -2
- package/src/funcs/filesUpload.ts +5 -2
- package/src/funcs/imagesUpdate.ts +10 -2
- package/src/funcs/imagesUpload.ts +10 -2
- package/src/funcs/transfersBatchGetTransfers.ts +180 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +32 -4
- package/src/lib/security.ts +14 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/applePayLinkToken.ts +3 -3
- package/src/mcp-server/tools/cardIssuingUpdate.ts +3 -1
- package/src/mcp-server/tools/transfersBatchGetTransfers.ts +43 -0
- package/src/models/components/batchgettransfersrequest.ts +54 -0
- package/src/models/components/cardpayouttype.ts +26 -0
- package/src/models/components/createtransferdestinationcard.ts +12 -0
- package/src/models/components/index.ts +8 -0
- package/src/models/components/paymentmethod.ts +22 -2
- package/src/models/components/paymentmethodtype.ts +2 -0
- package/src/models/components/pullfromapplepaypaymentmethod.ts +73 -0
- package/src/models/components/pullfromapplepaytransferpaymentmethod.ts +74 -0
- package/src/models/components/pushtoapplepaypaymentmethod.ts +73 -0
- package/src/models/components/pushtoapplepaytransferpaymentmethod.ts +74 -0
- package/src/models/components/rtpfailurecode.ts +35 -0
- package/src/models/components/rtptransactionstatus.ts +29 -0
- package/src/models/components/transferdestination.ts +99 -0
- package/src/models/components/transferpaymentmethod.ts +22 -2
- package/src/models/components/transferpaymentmethodtype.ts +2 -0
- package/src/models/components/webhookbillingstatementcreated.ts +4 -0
- package/src/models/components/webhookdata.ts +6 -6
- package/src/models/operations/batchgettransfers.ts +122 -0
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/linkapplepaytoken.ts +4 -4
- package/src/models/operations/updateissuedcard.ts +6 -0
- package/src/sdk/cardissuing.ts +1 -1
- package/src/sdk/transfers.ts +22 -0
|
@@ -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 PullFromApplePayPaymentMethod = {
|
|
17
|
+
/**
|
|
18
|
+
* ID of the payment method.
|
|
19
|
+
*/
|
|
20
|
+
paymentMethodID: string;
|
|
21
|
+
paymentMethodType: "pull-from-apple-pay";
|
|
22
|
+
/**
|
|
23
|
+
* Describes an Apple Pay token on a Moov account.
|
|
24
|
+
*/
|
|
25
|
+
applePay: ApplePayResponse;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const PullFromApplePayPaymentMethod$inboundSchema: z.ZodType<
|
|
30
|
+
PullFromApplePayPaymentMethod,
|
|
31
|
+
z.ZodTypeDef,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
paymentMethodID: z.string(),
|
|
35
|
+
paymentMethodType: z.literal("pull-from-apple-pay"),
|
|
36
|
+
applePay: ApplePayResponse$inboundSchema,
|
|
37
|
+
});
|
|
38
|
+
/** @internal */
|
|
39
|
+
export type PullFromApplePayPaymentMethod$Outbound = {
|
|
40
|
+
paymentMethodID: string;
|
|
41
|
+
paymentMethodType: "pull-from-apple-pay";
|
|
42
|
+
applePay: ApplePayResponse$Outbound;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const PullFromApplePayPaymentMethod$outboundSchema: z.ZodType<
|
|
47
|
+
PullFromApplePayPaymentMethod$Outbound,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
PullFromApplePayPaymentMethod
|
|
50
|
+
> = z.object({
|
|
51
|
+
paymentMethodID: z.string(),
|
|
52
|
+
paymentMethodType: z.literal("pull-from-apple-pay"),
|
|
53
|
+
applePay: ApplePayResponse$outboundSchema,
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
export function pullFromApplePayPaymentMethodToJSON(
|
|
57
|
+
pullFromApplePayPaymentMethod: PullFromApplePayPaymentMethod,
|
|
58
|
+
): string {
|
|
59
|
+
return JSON.stringify(
|
|
60
|
+
PullFromApplePayPaymentMethod$outboundSchema.parse(
|
|
61
|
+
pullFromApplePayPaymentMethod,
|
|
62
|
+
),
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
export function pullFromApplePayPaymentMethodFromJSON(
|
|
66
|
+
jsonString: string,
|
|
67
|
+
): SafeParseResult<PullFromApplePayPaymentMethod, SDKValidationError> {
|
|
68
|
+
return safeParse(
|
|
69
|
+
jsonString,
|
|
70
|
+
(x) => PullFromApplePayPaymentMethod$inboundSchema.parse(JSON.parse(x)),
|
|
71
|
+
`Failed to parse 'PullFromApplePayPaymentMethod' from JSON`,
|
|
72
|
+
);
|
|
73
|
+
}
|
|
@@ -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
|
+
ApplePayResponse,
|
|
11
|
+
ApplePayResponse$inboundSchema,
|
|
12
|
+
ApplePayResponse$Outbound,
|
|
13
|
+
ApplePayResponse$outboundSchema,
|
|
14
|
+
} from "./applepayresponse.js";
|
|
15
|
+
|
|
16
|
+
export type PullFromApplePayTransferPaymentMethod = {
|
|
17
|
+
/**
|
|
18
|
+
* ID of the payment method.
|
|
19
|
+
*/
|
|
20
|
+
paymentMethodID: string;
|
|
21
|
+
paymentMethodType: "pull-from-apple-pay";
|
|
22
|
+
/**
|
|
23
|
+
* Describes an Apple Pay token on a Moov account.
|
|
24
|
+
*/
|
|
25
|
+
applePay: ApplePayResponse;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const PullFromApplePayTransferPaymentMethod$inboundSchema: z.ZodType<
|
|
30
|
+
PullFromApplePayTransferPaymentMethod,
|
|
31
|
+
z.ZodTypeDef,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
paymentMethodID: z.string(),
|
|
35
|
+
paymentMethodType: z.literal("pull-from-apple-pay"),
|
|
36
|
+
applePay: ApplePayResponse$inboundSchema,
|
|
37
|
+
});
|
|
38
|
+
/** @internal */
|
|
39
|
+
export type PullFromApplePayTransferPaymentMethod$Outbound = {
|
|
40
|
+
paymentMethodID: string;
|
|
41
|
+
paymentMethodType: "pull-from-apple-pay";
|
|
42
|
+
applePay: ApplePayResponse$Outbound;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const PullFromApplePayTransferPaymentMethod$outboundSchema: z.ZodType<
|
|
47
|
+
PullFromApplePayTransferPaymentMethod$Outbound,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
PullFromApplePayTransferPaymentMethod
|
|
50
|
+
> = z.object({
|
|
51
|
+
paymentMethodID: z.string(),
|
|
52
|
+
paymentMethodType: z.literal("pull-from-apple-pay"),
|
|
53
|
+
applePay: ApplePayResponse$outboundSchema,
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
export function pullFromApplePayTransferPaymentMethodToJSON(
|
|
57
|
+
pullFromApplePayTransferPaymentMethod: PullFromApplePayTransferPaymentMethod,
|
|
58
|
+
): string {
|
|
59
|
+
return JSON.stringify(
|
|
60
|
+
PullFromApplePayTransferPaymentMethod$outboundSchema.parse(
|
|
61
|
+
pullFromApplePayTransferPaymentMethod,
|
|
62
|
+
),
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
export function pullFromApplePayTransferPaymentMethodFromJSON(
|
|
66
|
+
jsonString: string,
|
|
67
|
+
): SafeParseResult<PullFromApplePayTransferPaymentMethod, SDKValidationError> {
|
|
68
|
+
return safeParse(
|
|
69
|
+
jsonString,
|
|
70
|
+
(x) =>
|
|
71
|
+
PullFromApplePayTransferPaymentMethod$inboundSchema.parse(JSON.parse(x)),
|
|
72
|
+
`Failed to parse 'PullFromApplePayTransferPaymentMethod' 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
|
+
ApplePayResponse,
|
|
11
|
+
ApplePayResponse$inboundSchema,
|
|
12
|
+
ApplePayResponse$Outbound,
|
|
13
|
+
ApplePayResponse$outboundSchema,
|
|
14
|
+
} from "./applepayresponse.js";
|
|
15
|
+
|
|
16
|
+
export type PushToApplePayPaymentMethod = {
|
|
17
|
+
/**
|
|
18
|
+
* ID of the payment method.
|
|
19
|
+
*/
|
|
20
|
+
paymentMethodID: string;
|
|
21
|
+
paymentMethodType: "push-to-apple-pay";
|
|
22
|
+
/**
|
|
23
|
+
* Describes an Apple Pay token on a Moov account.
|
|
24
|
+
*/
|
|
25
|
+
applePay: ApplePayResponse;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const PushToApplePayPaymentMethod$inboundSchema: z.ZodType<
|
|
30
|
+
PushToApplePayPaymentMethod,
|
|
31
|
+
z.ZodTypeDef,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
paymentMethodID: z.string(),
|
|
35
|
+
paymentMethodType: z.literal("push-to-apple-pay"),
|
|
36
|
+
applePay: ApplePayResponse$inboundSchema,
|
|
37
|
+
});
|
|
38
|
+
/** @internal */
|
|
39
|
+
export type PushToApplePayPaymentMethod$Outbound = {
|
|
40
|
+
paymentMethodID: string;
|
|
41
|
+
paymentMethodType: "push-to-apple-pay";
|
|
42
|
+
applePay: ApplePayResponse$Outbound;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const PushToApplePayPaymentMethod$outboundSchema: z.ZodType<
|
|
47
|
+
PushToApplePayPaymentMethod$Outbound,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
PushToApplePayPaymentMethod
|
|
50
|
+
> = z.object({
|
|
51
|
+
paymentMethodID: z.string(),
|
|
52
|
+
paymentMethodType: z.literal("push-to-apple-pay"),
|
|
53
|
+
applePay: ApplePayResponse$outboundSchema,
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
export function pushToApplePayPaymentMethodToJSON(
|
|
57
|
+
pushToApplePayPaymentMethod: PushToApplePayPaymentMethod,
|
|
58
|
+
): string {
|
|
59
|
+
return JSON.stringify(
|
|
60
|
+
PushToApplePayPaymentMethod$outboundSchema.parse(
|
|
61
|
+
pushToApplePayPaymentMethod,
|
|
62
|
+
),
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
export function pushToApplePayPaymentMethodFromJSON(
|
|
66
|
+
jsonString: string,
|
|
67
|
+
): SafeParseResult<PushToApplePayPaymentMethod, SDKValidationError> {
|
|
68
|
+
return safeParse(
|
|
69
|
+
jsonString,
|
|
70
|
+
(x) => PushToApplePayPaymentMethod$inboundSchema.parse(JSON.parse(x)),
|
|
71
|
+
`Failed to parse 'PushToApplePayPaymentMethod' from JSON`,
|
|
72
|
+
);
|
|
73
|
+
}
|
|
@@ -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
|
+
ApplePayResponse,
|
|
11
|
+
ApplePayResponse$inboundSchema,
|
|
12
|
+
ApplePayResponse$Outbound,
|
|
13
|
+
ApplePayResponse$outboundSchema,
|
|
14
|
+
} from "./applepayresponse.js";
|
|
15
|
+
|
|
16
|
+
export type PushToApplePayTransferPaymentMethod = {
|
|
17
|
+
/**
|
|
18
|
+
* ID of the payment method.
|
|
19
|
+
*/
|
|
20
|
+
paymentMethodID: string;
|
|
21
|
+
paymentMethodType: "push-to-apple-pay";
|
|
22
|
+
/**
|
|
23
|
+
* Describes an Apple Pay token on a Moov account.
|
|
24
|
+
*/
|
|
25
|
+
applePay: ApplePayResponse;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const PushToApplePayTransferPaymentMethod$inboundSchema: z.ZodType<
|
|
30
|
+
PushToApplePayTransferPaymentMethod,
|
|
31
|
+
z.ZodTypeDef,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
paymentMethodID: z.string(),
|
|
35
|
+
paymentMethodType: z.literal("push-to-apple-pay"),
|
|
36
|
+
applePay: ApplePayResponse$inboundSchema,
|
|
37
|
+
});
|
|
38
|
+
/** @internal */
|
|
39
|
+
export type PushToApplePayTransferPaymentMethod$Outbound = {
|
|
40
|
+
paymentMethodID: string;
|
|
41
|
+
paymentMethodType: "push-to-apple-pay";
|
|
42
|
+
applePay: ApplePayResponse$Outbound;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const PushToApplePayTransferPaymentMethod$outboundSchema: z.ZodType<
|
|
47
|
+
PushToApplePayTransferPaymentMethod$Outbound,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
PushToApplePayTransferPaymentMethod
|
|
50
|
+
> = z.object({
|
|
51
|
+
paymentMethodID: z.string(),
|
|
52
|
+
paymentMethodType: z.literal("push-to-apple-pay"),
|
|
53
|
+
applePay: ApplePayResponse$outboundSchema,
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
export function pushToApplePayTransferPaymentMethodToJSON(
|
|
57
|
+
pushToApplePayTransferPaymentMethod: PushToApplePayTransferPaymentMethod,
|
|
58
|
+
): string {
|
|
59
|
+
return JSON.stringify(
|
|
60
|
+
PushToApplePayTransferPaymentMethod$outboundSchema.parse(
|
|
61
|
+
pushToApplePayTransferPaymentMethod,
|
|
62
|
+
),
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
export function pushToApplePayTransferPaymentMethodFromJSON(
|
|
66
|
+
jsonString: string,
|
|
67
|
+
): SafeParseResult<PushToApplePayTransferPaymentMethod, SDKValidationError> {
|
|
68
|
+
return safeParse(
|
|
69
|
+
jsonString,
|
|
70
|
+
(x) =>
|
|
71
|
+
PushToApplePayTransferPaymentMethod$inboundSchema.parse(JSON.parse(x)),
|
|
72
|
+
`Failed to parse 'PushToApplePayTransferPaymentMethod' from JSON`,
|
|
73
|
+
);
|
|
74
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Status codes for RTP failures.
|
|
10
|
+
*/
|
|
11
|
+
export const RTPFailureCode = {
|
|
12
|
+
ProcessingError: "processing-error",
|
|
13
|
+
InvalidAccount: "invalid-account",
|
|
14
|
+
AccountClosed: "account-closed",
|
|
15
|
+
AccountBlocked: "account-blocked",
|
|
16
|
+
InvalidField: "invalid-field",
|
|
17
|
+
TransactionNotSupported: "transaction-not-supported",
|
|
18
|
+
LimitExceeded: "limit-exceeded",
|
|
19
|
+
InvalidAmount: "invalid-amount",
|
|
20
|
+
CustomerDeceased: "customer-deceased",
|
|
21
|
+
Other: "other",
|
|
22
|
+
} as const;
|
|
23
|
+
/**
|
|
24
|
+
* Status codes for RTP failures.
|
|
25
|
+
*/
|
|
26
|
+
export type RTPFailureCode = ClosedEnum<typeof RTPFailureCode>;
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const RTPFailureCode$inboundSchema: z.ZodNativeEnum<
|
|
30
|
+
typeof RTPFailureCode
|
|
31
|
+
> = z.nativeEnum(RTPFailureCode);
|
|
32
|
+
/** @internal */
|
|
33
|
+
export const RTPFailureCode$outboundSchema: z.ZodNativeEnum<
|
|
34
|
+
typeof RTPFailureCode
|
|
35
|
+
> = RTPFailureCode$inboundSchema;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Status of a transaction within the RTP lifecycle.
|
|
10
|
+
*/
|
|
11
|
+
export const RTPTransactionStatus = {
|
|
12
|
+
Initiated: "initiated",
|
|
13
|
+
Completed: "completed",
|
|
14
|
+
Failed: "failed",
|
|
15
|
+
AcceptedWithoutPosting: "accepted-without-posting",
|
|
16
|
+
} as const;
|
|
17
|
+
/**
|
|
18
|
+
* Status of a transaction within the RTP lifecycle.
|
|
19
|
+
*/
|
|
20
|
+
export type RTPTransactionStatus = ClosedEnum<typeof RTPTransactionStatus>;
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const RTPTransactionStatus$inboundSchema: z.ZodNativeEnum<
|
|
24
|
+
typeof RTPTransactionStatus
|
|
25
|
+
> = z.nativeEnum(RTPTransactionStatus);
|
|
26
|
+
/** @internal */
|
|
27
|
+
export const RTPTransactionStatus$outboundSchema: z.ZodNativeEnum<
|
|
28
|
+
typeof RTPTransactionStatus
|
|
29
|
+
> = RTPTransactionStatus$inboundSchema;
|
|
@@ -30,6 +30,16 @@ import {
|
|
|
30
30
|
InstantBankTransactionDetails$Outbound,
|
|
31
31
|
InstantBankTransactionDetails$outboundSchema,
|
|
32
32
|
} from "./instantbanktransactiondetails.js";
|
|
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";
|
|
33
43
|
import {
|
|
34
44
|
TransferAccount,
|
|
35
45
|
TransferAccount$inboundSchema,
|
|
@@ -60,6 +70,30 @@ import {
|
|
|
60
70
|
TransferPaymentMethodType$outboundSchema,
|
|
61
71
|
} from "./transferpaymentmethodtype.js";
|
|
62
72
|
|
|
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
|
+
|
|
63
97
|
export type TransferDestination = {
|
|
64
98
|
paymentMethodID: string;
|
|
65
99
|
/**
|
|
@@ -88,12 +122,74 @@ export type TransferDestination = {
|
|
|
88
122
|
* Card-specific details about the transaction.
|
|
89
123
|
*/
|
|
90
124
|
cardDetails?: CardTransactionDetails | undefined;
|
|
125
|
+
/**
|
|
126
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
127
|
+
*/
|
|
128
|
+
rtpDetails?: RtpDetails | undefined;
|
|
91
129
|
/**
|
|
92
130
|
* Instant-bank specific details about the transaction.
|
|
93
131
|
*/
|
|
94
132
|
instantBankDetails?: InstantBankTransactionDetails | undefined;
|
|
95
133
|
};
|
|
96
134
|
|
|
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
|
+
|
|
97
193
|
/** @internal */
|
|
98
194
|
export const TransferDestination$inboundSchema: z.ZodType<
|
|
99
195
|
TransferDestination,
|
|
@@ -109,6 +205,7 @@ export const TransferDestination$inboundSchema: z.ZodType<
|
|
|
109
205
|
achDetails: ACHTransactionDetails$inboundSchema.optional(),
|
|
110
206
|
applePay: ApplePayResponse$inboundSchema.optional(),
|
|
111
207
|
cardDetails: CardTransactionDetails$inboundSchema.optional(),
|
|
208
|
+
rtpDetails: z.lazy(() => RtpDetails$inboundSchema).optional(),
|
|
112
209
|
instantBankDetails: InstantBankTransactionDetails$inboundSchema.optional(),
|
|
113
210
|
});
|
|
114
211
|
/** @internal */
|
|
@@ -122,6 +219,7 @@ export type TransferDestination$Outbound = {
|
|
|
122
219
|
achDetails?: ACHTransactionDetails$Outbound | undefined;
|
|
123
220
|
applePay?: ApplePayResponse$Outbound | undefined;
|
|
124
221
|
cardDetails?: CardTransactionDetails$Outbound | undefined;
|
|
222
|
+
rtpDetails?: RtpDetails$Outbound | undefined;
|
|
125
223
|
instantBankDetails?: InstantBankTransactionDetails$Outbound | undefined;
|
|
126
224
|
};
|
|
127
225
|
|
|
@@ -140,6 +238,7 @@ export const TransferDestination$outboundSchema: z.ZodType<
|
|
|
140
238
|
achDetails: ACHTransactionDetails$outboundSchema.optional(),
|
|
141
239
|
applePay: ApplePayResponse$outboundSchema.optional(),
|
|
142
240
|
cardDetails: CardTransactionDetails$outboundSchema.optional(),
|
|
241
|
+
rtpDetails: z.lazy(() => RtpDetails$outboundSchema).optional(),
|
|
143
242
|
instantBankDetails: InstantBankTransactionDetails$outboundSchema.optional(),
|
|
144
243
|
});
|
|
145
244
|
|
|
@@ -60,12 +60,24 @@ import {
|
|
|
60
60
|
MoovWalletTransferPaymentMethod$Outbound,
|
|
61
61
|
MoovWalletTransferPaymentMethod$outboundSchema,
|
|
62
62
|
} from "./moovwallettransferpaymentmethod.js";
|
|
63
|
+
import {
|
|
64
|
+
PullFromApplePayTransferPaymentMethod,
|
|
65
|
+
PullFromApplePayTransferPaymentMethod$inboundSchema,
|
|
66
|
+
PullFromApplePayTransferPaymentMethod$Outbound,
|
|
67
|
+
PullFromApplePayTransferPaymentMethod$outboundSchema,
|
|
68
|
+
} from "./pullfromapplepaytransferpaymentmethod.js";
|
|
63
69
|
import {
|
|
64
70
|
PullFromCardTransferPaymentMethod,
|
|
65
71
|
PullFromCardTransferPaymentMethod$inboundSchema,
|
|
66
72
|
PullFromCardTransferPaymentMethod$Outbound,
|
|
67
73
|
PullFromCardTransferPaymentMethod$outboundSchema,
|
|
68
74
|
} from "./pullfromcardtransferpaymentmethod.js";
|
|
75
|
+
import {
|
|
76
|
+
PushToApplePayTransferPaymentMethod,
|
|
77
|
+
PushToApplePayTransferPaymentMethod$inboundSchema,
|
|
78
|
+
PushToApplePayTransferPaymentMethod$Outbound,
|
|
79
|
+
PushToApplePayTransferPaymentMethod$outboundSchema,
|
|
80
|
+
} from "./pushtoapplepaytransferpaymentmethod.js";
|
|
69
81
|
import {
|
|
70
82
|
PushToCardTransferPaymentMethod,
|
|
71
83
|
PushToCardTransferPaymentMethod$inboundSchema,
|
|
@@ -94,7 +106,9 @@ export type TransferPaymentMethod =
|
|
|
94
106
|
| PullFromCardTransferPaymentMethod
|
|
95
107
|
| ApplePayTransferPaymentMethod
|
|
96
108
|
| CardPresentPaymentTransferPaymentMethod
|
|
97
|
-
| InstantBankCreditTransferPaymentMethod
|
|
109
|
+
| InstantBankCreditTransferPaymentMethod
|
|
110
|
+
| PushToApplePayTransferPaymentMethod
|
|
111
|
+
| PullFromApplePayTransferPaymentMethod;
|
|
98
112
|
|
|
99
113
|
/** @internal */
|
|
100
114
|
export const TransferPaymentMethod$inboundSchema: z.ZodType<
|
|
@@ -114,6 +128,8 @@ export const TransferPaymentMethod$inboundSchema: z.ZodType<
|
|
|
114
128
|
ApplePayTransferPaymentMethod$inboundSchema,
|
|
115
129
|
CardPresentPaymentTransferPaymentMethod$inboundSchema,
|
|
116
130
|
InstantBankCreditTransferPaymentMethod$inboundSchema,
|
|
131
|
+
PushToApplePayTransferPaymentMethod$inboundSchema,
|
|
132
|
+
PullFromApplePayTransferPaymentMethod$inboundSchema,
|
|
117
133
|
]);
|
|
118
134
|
/** @internal */
|
|
119
135
|
export type TransferPaymentMethod$Outbound =
|
|
@@ -128,7 +144,9 @@ export type TransferPaymentMethod$Outbound =
|
|
|
128
144
|
| PullFromCardTransferPaymentMethod$Outbound
|
|
129
145
|
| ApplePayTransferPaymentMethod$Outbound
|
|
130
146
|
| CardPresentPaymentTransferPaymentMethod$Outbound
|
|
131
|
-
| InstantBankCreditTransferPaymentMethod$Outbound
|
|
147
|
+
| InstantBankCreditTransferPaymentMethod$Outbound
|
|
148
|
+
| PushToApplePayTransferPaymentMethod$Outbound
|
|
149
|
+
| PullFromApplePayTransferPaymentMethod$Outbound;
|
|
132
150
|
|
|
133
151
|
/** @internal */
|
|
134
152
|
export const TransferPaymentMethod$outboundSchema: z.ZodType<
|
|
@@ -148,6 +166,8 @@ export const TransferPaymentMethod$outboundSchema: z.ZodType<
|
|
|
148
166
|
ApplePayTransferPaymentMethod$outboundSchema,
|
|
149
167
|
CardPresentPaymentTransferPaymentMethod$outboundSchema,
|
|
150
168
|
InstantBankCreditTransferPaymentMethod$outboundSchema,
|
|
169
|
+
PushToApplePayTransferPaymentMethod$outboundSchema,
|
|
170
|
+
PullFromApplePayTransferPaymentMethod$outboundSchema,
|
|
151
171
|
]);
|
|
152
172
|
|
|
153
173
|
export function transferPaymentMethodToJSON(
|
|
@@ -21,6 +21,8 @@ export const TransferPaymentMethodType = {
|
|
|
21
21
|
ApplePay: "apple-pay",
|
|
22
22
|
CardPresentPayment: "card-present-payment",
|
|
23
23
|
InstantBankCredit: "instant-bank-credit",
|
|
24
|
+
PushToApplePay: "push-to-apple-pay",
|
|
25
|
+
PullFromApplePay: "pull-from-apple-pay",
|
|
24
26
|
} as const;
|
|
25
27
|
/**
|
|
26
28
|
* The payment method type that represents a payment rail and directionality
|
|
@@ -8,6 +8,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
9
|
|
|
10
10
|
export type WebhookBillingStatementCreated = {
|
|
11
|
+
accountID: string;
|
|
11
12
|
statementID: string;
|
|
12
13
|
};
|
|
13
14
|
|
|
@@ -17,10 +18,12 @@ export const WebhookBillingStatementCreated$inboundSchema: z.ZodType<
|
|
|
17
18
|
z.ZodTypeDef,
|
|
18
19
|
unknown
|
|
19
20
|
> = z.object({
|
|
21
|
+
accountID: z.string(),
|
|
20
22
|
statementID: z.string(),
|
|
21
23
|
});
|
|
22
24
|
/** @internal */
|
|
23
25
|
export type WebhookBillingStatementCreated$Outbound = {
|
|
26
|
+
accountID: string;
|
|
24
27
|
statementID: string;
|
|
25
28
|
};
|
|
26
29
|
|
|
@@ -30,6 +33,7 @@ export const WebhookBillingStatementCreated$outboundSchema: z.ZodType<
|
|
|
30
33
|
z.ZodTypeDef,
|
|
31
34
|
WebhookBillingStatementCreated
|
|
32
35
|
> = z.object({
|
|
36
|
+
accountID: z.string(),
|
|
33
37
|
statementID: z.string(),
|
|
34
38
|
});
|
|
35
39
|
|
|
@@ -265,11 +265,11 @@ export type WebhookData =
|
|
|
265
265
|
| WebhookDataTicketCreated
|
|
266
266
|
| WebhookDataTicketMessageAdded
|
|
267
267
|
| WebhookDataWalletCreated
|
|
268
|
+
| WebhookBillingStatementCreated
|
|
268
269
|
| WebhookDataAccountCreated
|
|
269
270
|
| WebhookDataAccountUpdated
|
|
270
271
|
| WebhookDataAccountDisconnected
|
|
271
|
-
| WebhookDataNetworkIDUpdated
|
|
272
|
-
| WebhookBillingStatementCreated;
|
|
272
|
+
| WebhookDataNetworkIDUpdated;
|
|
273
273
|
|
|
274
274
|
/** @internal */
|
|
275
275
|
export const WebhookData$inboundSchema: z.ZodType<
|
|
@@ -309,11 +309,11 @@ export const WebhookData$inboundSchema: z.ZodType<
|
|
|
309
309
|
WebhookDataTicketCreated$inboundSchema,
|
|
310
310
|
WebhookDataTicketMessageAdded$inboundSchema,
|
|
311
311
|
WebhookDataWalletCreated$inboundSchema,
|
|
312
|
+
WebhookBillingStatementCreated$inboundSchema,
|
|
312
313
|
WebhookDataAccountCreated$inboundSchema,
|
|
313
314
|
WebhookDataAccountUpdated$inboundSchema,
|
|
314
315
|
WebhookDataAccountDisconnected$inboundSchema,
|
|
315
316
|
WebhookDataNetworkIDUpdated$inboundSchema,
|
|
316
|
-
WebhookBillingStatementCreated$inboundSchema,
|
|
317
317
|
]);
|
|
318
318
|
/** @internal */
|
|
319
319
|
export type WebhookData$Outbound =
|
|
@@ -349,11 +349,11 @@ export type WebhookData$Outbound =
|
|
|
349
349
|
| WebhookDataTicketCreated$Outbound
|
|
350
350
|
| WebhookDataTicketMessageAdded$Outbound
|
|
351
351
|
| WebhookDataWalletCreated$Outbound
|
|
352
|
+
| WebhookBillingStatementCreated$Outbound
|
|
352
353
|
| WebhookDataAccountCreated$Outbound
|
|
353
354
|
| WebhookDataAccountUpdated$Outbound
|
|
354
355
|
| WebhookDataAccountDisconnected$Outbound
|
|
355
|
-
| WebhookDataNetworkIDUpdated$Outbound
|
|
356
|
-
| WebhookBillingStatementCreated$Outbound;
|
|
356
|
+
| WebhookDataNetworkIDUpdated$Outbound;
|
|
357
357
|
|
|
358
358
|
/** @internal */
|
|
359
359
|
export const WebhookData$outboundSchema: z.ZodType<
|
|
@@ -393,11 +393,11 @@ export const WebhookData$outboundSchema: z.ZodType<
|
|
|
393
393
|
WebhookDataTicketCreated$outboundSchema,
|
|
394
394
|
WebhookDataTicketMessageAdded$outboundSchema,
|
|
395
395
|
WebhookDataWalletCreated$outboundSchema,
|
|
396
|
+
WebhookBillingStatementCreated$outboundSchema,
|
|
396
397
|
WebhookDataAccountCreated$outboundSchema,
|
|
397
398
|
WebhookDataAccountUpdated$outboundSchema,
|
|
398
399
|
WebhookDataAccountDisconnected$outboundSchema,
|
|
399
400
|
WebhookDataNetworkIDUpdated$outboundSchema,
|
|
400
|
-
WebhookBillingStatementCreated$outboundSchema,
|
|
401
401
|
]);
|
|
402
402
|
|
|
403
403
|
export function webhookDataToJSON(webhookData: WebhookData): string {
|