@moovio/sdk 26.2.3 → 26.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +2 -2
- package/bin/mcp-server.js +74 -36
- package/bin/mcp-server.js.map +26 -24
- package/funcs/filesUpload.d.ts.map +1 -1
- package/funcs/filesUpload.js +3 -1
- package/funcs/filesUpload.js.map +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/createdtransfer.d.ts +1 -1
- package/models/components/createpaymentlink.d.ts +1 -1
- package/models/components/createpaymentlinklineitems.d.ts +1 -1
- package/models/components/createpaymentlinklineitemsupdate.d.ts +1 -1
- package/models/components/createtransfer.d.ts +1 -1
- package/models/components/createtransferlineitems.d.ts +1 -1
- package/models/components/fileuploadmetadata.d.ts +28 -0
- package/models/components/fileuploadmetadata.d.ts.map +1 -0
- package/models/components/fileuploadmetadata.js +69 -0
- package/models/components/fileuploadmetadata.js.map +1 -0
- package/models/components/fileuploadrequestmultipart.d.ts +5 -8
- package/models/components/fileuploadrequestmultipart.d.ts.map +1 -1
- package/models/components/fileuploadrequestmultipart.js +3 -2
- package/models/components/fileuploadrequestmultipart.js.map +1 -1
- package/models/components/index.d.ts +2 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -0
- package/models/components/index.js.map +1 -1
- package/models/components/paymentlink.d.ts +1 -1
- package/models/components/paymentlinklineitems.d.ts +1 -1
- package/models/components/rtptransactiondetails.d.ts +45 -0
- package/models/components/rtptransactiondetails.d.ts.map +1 -0
- package/models/components/rtptransactiondetails.js +75 -0
- package/models/components/rtptransactiondetails.js.map +1 -0
- package/models/components/transfer.d.ts +1 -1
- package/models/components/transferdestination.d.ts +5 -43
- package/models/components/transferdestination.d.ts.map +1 -1
- package/models/components/transferdestination.js +4 -36
- package/models/components/transferdestination.js.map +1 -1
- package/models/components/transferlineitems.d.ts +1 -1
- package/models/components/updatepaymentlink.d.ts +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/components/webhookdatabankaccountcreated.d.ts +3 -0
- package/models/components/webhookdatabankaccountcreated.d.ts.map +1 -1
- package/models/components/webhookdatabankaccountcreated.js +3 -0
- package/models/components/webhookdatabankaccountcreated.js.map +1 -1
- package/models/errors/transfer.d.ts +2 -2
- package/package.json +1 -1
- package/src/funcs/filesUpload.ts +13 -2
- 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/createdtransfer.ts +1 -1
- package/src/models/components/createpaymentlink.ts +1 -1
- package/src/models/components/createpaymentlinklineitems.ts +1 -1
- package/src/models/components/createpaymentlinklineitemsupdate.ts +1 -1
- package/src/models/components/createtransfer.ts +1 -1
- package/src/models/components/createtransferlineitems.ts +1 -1
- package/src/models/components/fileuploadmetadata.ts +73 -0
- package/src/models/components/fileuploadrequestmultipart.ts +12 -10
- package/src/models/components/index.ts +2 -0
- package/src/models/components/paymentlink.ts +1 -1
- package/src/models/components/paymentlinklineitems.ts +1 -1
- package/src/models/components/rtptransactiondetails.ts +104 -0
- package/src/models/components/transfer.ts +1 -1
- package/src/models/components/transferdestination.ts +11 -95
- package/src/models/components/transferlineitems.ts +1 -1
- package/src/models/components/updatepaymentlink.ts +1 -1
- package/src/models/components/webhookdata.ts +4 -4
- package/src/models/components/webhookdatabankaccountcreated.ts +9 -0
- package/src/models/errors/transfer.ts +2 -2
|
@@ -0,0 +1,75 @@
|
|
|
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.RTPTransactionDetails$outboundSchema = exports.RTPTransactionDetails$inboundSchema = void 0;
|
|
40
|
+
exports.rtpTransactionDetailsToJSON = rtpTransactionDetailsToJSON;
|
|
41
|
+
exports.rtpTransactionDetailsFromJSON = rtpTransactionDetailsFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v3"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const rtpfailurecode_js_1 = require("./rtpfailurecode.js");
|
|
45
|
+
const rtptransactionstatus_js_1 = require("./rtptransactionstatus.js");
|
|
46
|
+
/** @internal */
|
|
47
|
+
exports.RTPTransactionDetails$inboundSchema = z.object({
|
|
48
|
+
status: rtptransactionstatus_js_1.RTPTransactionStatus$inboundSchema.optional(),
|
|
49
|
+
networkResponseCode: z.string().optional(),
|
|
50
|
+
failureCode: rtpfailurecode_js_1.RTPFailureCode$inboundSchema.optional(),
|
|
51
|
+
initiatedOn: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
52
|
+
.optional(),
|
|
53
|
+
completedOn: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
54
|
+
.optional(),
|
|
55
|
+
failedOn: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
56
|
+
.optional(),
|
|
57
|
+
acceptedWithoutPostingOn: z.string().datetime({ offset: true }).transform(v => new Date(v)).optional(),
|
|
58
|
+
});
|
|
59
|
+
/** @internal */
|
|
60
|
+
exports.RTPTransactionDetails$outboundSchema = z.object({
|
|
61
|
+
status: rtptransactionstatus_js_1.RTPTransactionStatus$outboundSchema.optional(),
|
|
62
|
+
networkResponseCode: z.string().optional(),
|
|
63
|
+
failureCode: rtpfailurecode_js_1.RTPFailureCode$outboundSchema.optional(),
|
|
64
|
+
initiatedOn: z.date().transform(v => v.toISOString()).optional(),
|
|
65
|
+
completedOn: z.date().transform(v => v.toISOString()).optional(),
|
|
66
|
+
failedOn: z.date().transform(v => v.toISOString()).optional(),
|
|
67
|
+
acceptedWithoutPostingOn: z.date().transform(v => v.toISOString()).optional(),
|
|
68
|
+
});
|
|
69
|
+
function rtpTransactionDetailsToJSON(rtpTransactionDetails) {
|
|
70
|
+
return JSON.stringify(exports.RTPTransactionDetails$outboundSchema.parse(rtpTransactionDetails));
|
|
71
|
+
}
|
|
72
|
+
function rtpTransactionDetailsFromJSON(jsonString) {
|
|
73
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.RTPTransactionDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RTPTransactionDetails' from JSON`);
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=rtptransactiondetails.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rtptransactiondetails.js","sourceRoot":"","sources":["../../src/models/components/rtptransactiondetails.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsFH,kEAMC;AACD,sEAQC;AAnGD,0CAA4B;AAC5B,qDAAiD;AAGjD,2DAI6B;AAC7B,uEAImC;AA0BnC,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,4DAAkC,CAAC,QAAQ,EAAE;IACrD,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1C,WAAW,EAAE,gDAA4B,CAAC,QAAQ,EAAE;IACpD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;SAC3E,QAAQ,EAAE;IACb,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;SAC3E,QAAQ,EAAE;IACb,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAA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AA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
|
|
@@ -83,7 +83,7 @@ export type Transfer = {
|
|
|
83
83
|
* An optional collection of line items for a transfer.
|
|
84
84
|
*
|
|
85
85
|
* @remarks
|
|
86
|
-
* When line items are provided, their total plus
|
|
86
|
+
* When line items are provided, their total plus tax must equal the transfer amount.
|
|
87
87
|
*/
|
|
88
88
|
lineItems?: TransferLineItems | undefined;
|
|
89
89
|
};
|
|
@@ -5,36 +5,12 @@ import { ACHTransactionDetails, ACHTransactionDetails$Outbound } from "./achtran
|
|
|
5
5
|
import { ApplePayResponse, ApplePayResponse$Outbound } from "./applepayresponse.js";
|
|
6
6
|
import { CardTransactionDetails, CardTransactionDetails$Outbound } from "./cardtransactiondetails.js";
|
|
7
7
|
import { InstantBankTransactionDetails, InstantBankTransactionDetails$Outbound } from "./instantbanktransactiondetails.js";
|
|
8
|
-
import {
|
|
9
|
-
import { RTPTransactionStatus } from "./rtptransactionstatus.js";
|
|
8
|
+
import { RTPTransactionDetails, RTPTransactionDetails$Outbound } from "./rtptransactiondetails.js";
|
|
10
9
|
import { TransferAccount, TransferAccount$Outbound } from "./transferaccount.js";
|
|
11
10
|
import { TransferPaymentMethodsBankAccount, TransferPaymentMethodsBankAccount$Outbound } from "./transferpaymentmethodsbankaccount.js";
|
|
12
11
|
import { TransferPaymentMethodsCard, TransferPaymentMethodsCard$Outbound } from "./transferpaymentmethodscard.js";
|
|
13
12
|
import { TransferPaymentMethodsWallet, TransferPaymentMethodsWallet$Outbound } from "./transferpaymentmethodswallet.js";
|
|
14
13
|
import { TransferPaymentMethodType } from "./transferpaymentmethodtype.js";
|
|
15
|
-
/**
|
|
16
|
-
* DEPRECATED: use `InstantBankTransactionDetails` instead (v2026.04.00 or later). RTP specific details about the transaction.
|
|
17
|
-
*
|
|
18
|
-
* @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
19
|
-
*/
|
|
20
|
-
export type RtpDetails = {
|
|
21
|
-
/**
|
|
22
|
-
* Status of a transaction within the RTP lifecycle.
|
|
23
|
-
*/
|
|
24
|
-
status?: RTPTransactionStatus | undefined;
|
|
25
|
-
/**
|
|
26
|
-
* Response code returned by network on failure.
|
|
27
|
-
*/
|
|
28
|
-
networkResponseCode?: string | undefined;
|
|
29
|
-
/**
|
|
30
|
-
* Status codes for RTP failures.
|
|
31
|
-
*/
|
|
32
|
-
failureCode?: RTPFailureCode | undefined;
|
|
33
|
-
initiatedOn?: Date | undefined;
|
|
34
|
-
completedOn?: Date | undefined;
|
|
35
|
-
failedOn?: Date | undefined;
|
|
36
|
-
acceptedWithoutPostingOn?: Date | undefined;
|
|
37
|
-
};
|
|
38
14
|
export type TransferDestination = {
|
|
39
15
|
paymentMethodID: string;
|
|
40
16
|
/**
|
|
@@ -64,31 +40,17 @@ export type TransferDestination = {
|
|
|
64
40
|
*/
|
|
65
41
|
cardDetails?: CardTransactionDetails | undefined;
|
|
66
42
|
/**
|
|
43
|
+
* DEPRECATED: use `InstantBankTransactionDetails` instead (v2026.04.00 or later). RTP specific details about the transaction.
|
|
44
|
+
*
|
|
67
45
|
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
68
46
|
*/
|
|
69
|
-
rtpDetails?:
|
|
47
|
+
rtpDetails?: RTPTransactionDetails | undefined;
|
|
70
48
|
/**
|
|
71
49
|
* Instant-bank specific details about the transaction.
|
|
72
50
|
*/
|
|
73
51
|
instantBankDetails?: InstantBankTransactionDetails | undefined;
|
|
74
52
|
};
|
|
75
53
|
/** @internal */
|
|
76
|
-
export declare const RtpDetails$inboundSchema: z.ZodType<RtpDetails, z.ZodTypeDef, unknown>;
|
|
77
|
-
/** @internal */
|
|
78
|
-
export type RtpDetails$Outbound = {
|
|
79
|
-
status?: string | undefined;
|
|
80
|
-
networkResponseCode?: string | undefined;
|
|
81
|
-
failureCode?: string | undefined;
|
|
82
|
-
initiatedOn?: string | undefined;
|
|
83
|
-
completedOn?: string | undefined;
|
|
84
|
-
failedOn?: string | undefined;
|
|
85
|
-
acceptedWithoutPostingOn?: string | undefined;
|
|
86
|
-
};
|
|
87
|
-
/** @internal */
|
|
88
|
-
export declare const RtpDetails$outboundSchema: z.ZodType<RtpDetails$Outbound, z.ZodTypeDef, RtpDetails>;
|
|
89
|
-
export declare function rtpDetailsToJSON(rtpDetails: RtpDetails): string;
|
|
90
|
-
export declare function rtpDetailsFromJSON(jsonString: string): SafeParseResult<RtpDetails, SDKValidationError>;
|
|
91
|
-
/** @internal */
|
|
92
54
|
export declare const TransferDestination$inboundSchema: z.ZodType<TransferDestination, z.ZodTypeDef, unknown>;
|
|
93
55
|
/** @internal */
|
|
94
56
|
export type TransferDestination$Outbound = {
|
|
@@ -101,7 +63,7 @@ export type TransferDestination$Outbound = {
|
|
|
101
63
|
achDetails?: ACHTransactionDetails$Outbound | undefined;
|
|
102
64
|
applePay?: ApplePayResponse$Outbound | undefined;
|
|
103
65
|
cardDetails?: CardTransactionDetails$Outbound | undefined;
|
|
104
|
-
rtpDetails?:
|
|
66
|
+
rtpDetails?: RTPTransactionDetails$Outbound | undefined;
|
|
105
67
|
instantBankDetails?: InstantBankTransactionDetails$Outbound | undefined;
|
|
106
68
|
};
|
|
107
69
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transferdestination.d.ts","sourceRoot":"","sources":["../../src/models/components/transferdestination.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,qBAAqB,EAErB,8BAA8B,EAE/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,gBAAgB,EAEhB,yBAAyB,EAE1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,sBAAsB,EAEtB,+BAA+B,EAEhC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,6BAA6B,EAE7B,sCAAsC,EAEvC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"transferdestination.d.ts","sourceRoot":"","sources":["../../src/models/components/transferdestination.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,qBAAqB,EAErB,8BAA8B,EAE/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,gBAAgB,EAEhB,yBAAyB,EAE1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,sBAAsB,EAEtB,+BAA+B,EAEhC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,6BAA6B,EAE7B,sCAAsC,EAEvC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,qBAAqB,EAErB,8BAA8B,EAE/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,eAAe,EAEf,wBAAwB,EAEzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,iCAAiC,EAEjC,0CAA0C,EAE3C,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,0BAA0B,EAE1B,mCAAmC,EAEpC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,4BAA4B,EAE5B,qCAAqC,EAEtC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,yBAAyB,EAG1B,MAAM,gCAAgC,CAAC;AAExC,MAAM,MAAM,mBAAmB,GAAG;IAChC,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,iBAAiB,EAAE,y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AC;CACzE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CAanB,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR;AACD,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
|
|
@@ -36,9 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.TransferDestination$outboundSchema = exports.TransferDestination$inboundSchema =
|
|
40
|
-
exports.rtpDetailsToJSON = rtpDetailsToJSON;
|
|
41
|
-
exports.rtpDetailsFromJSON = rtpDetailsFromJSON;
|
|
39
|
+
exports.TransferDestination$outboundSchema = exports.TransferDestination$inboundSchema = void 0;
|
|
42
40
|
exports.transferDestinationToJSON = transferDestinationToJSON;
|
|
43
41
|
exports.transferDestinationFromJSON = transferDestinationFromJSON;
|
|
44
42
|
const z = __importStar(require("zod/v3"));
|
|
@@ -47,43 +45,13 @@ const achtransactiondetails_js_1 = require("./achtransactiondetails.js");
|
|
|
47
45
|
const applepayresponse_js_1 = require("./applepayresponse.js");
|
|
48
46
|
const cardtransactiondetails_js_1 = require("./cardtransactiondetails.js");
|
|
49
47
|
const instantbanktransactiondetails_js_1 = require("./instantbanktransactiondetails.js");
|
|
50
|
-
const
|
|
51
|
-
const rtptransactionstatus_js_1 = require("./rtptransactionstatus.js");
|
|
48
|
+
const rtptransactiondetails_js_1 = require("./rtptransactiondetails.js");
|
|
52
49
|
const transferaccount_js_1 = require("./transferaccount.js");
|
|
53
50
|
const transferpaymentmethodsbankaccount_js_1 = require("./transferpaymentmethodsbankaccount.js");
|
|
54
51
|
const transferpaymentmethodscard_js_1 = require("./transferpaymentmethodscard.js");
|
|
55
52
|
const transferpaymentmethodswallet_js_1 = require("./transferpaymentmethodswallet.js");
|
|
56
53
|
const transferpaymentmethodtype_js_1 = require("./transferpaymentmethodtype.js");
|
|
57
54
|
/** @internal */
|
|
58
|
-
exports.RtpDetails$inboundSchema = z.object({
|
|
59
|
-
status: rtptransactionstatus_js_1.RTPTransactionStatus$inboundSchema.optional(),
|
|
60
|
-
networkResponseCode: z.string().optional(),
|
|
61
|
-
failureCode: rtpfailurecode_js_1.RTPFailureCode$inboundSchema.optional(),
|
|
62
|
-
initiatedOn: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
63
|
-
.optional(),
|
|
64
|
-
completedOn: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
65
|
-
.optional(),
|
|
66
|
-
failedOn: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
67
|
-
.optional(),
|
|
68
|
-
acceptedWithoutPostingOn: z.string().datetime({ offset: true }).transform(v => new Date(v)).optional(),
|
|
69
|
-
});
|
|
70
|
-
/** @internal */
|
|
71
|
-
exports.RtpDetails$outboundSchema = z.object({
|
|
72
|
-
status: rtptransactionstatus_js_1.RTPTransactionStatus$outboundSchema.optional(),
|
|
73
|
-
networkResponseCode: z.string().optional(),
|
|
74
|
-
failureCode: rtpfailurecode_js_1.RTPFailureCode$outboundSchema.optional(),
|
|
75
|
-
initiatedOn: z.date().transform(v => v.toISOString()).optional(),
|
|
76
|
-
completedOn: z.date().transform(v => v.toISOString()).optional(),
|
|
77
|
-
failedOn: z.date().transform(v => v.toISOString()).optional(),
|
|
78
|
-
acceptedWithoutPostingOn: z.date().transform(v => v.toISOString()).optional(),
|
|
79
|
-
});
|
|
80
|
-
function rtpDetailsToJSON(rtpDetails) {
|
|
81
|
-
return JSON.stringify(exports.RtpDetails$outboundSchema.parse(rtpDetails));
|
|
82
|
-
}
|
|
83
|
-
function rtpDetailsFromJSON(jsonString) {
|
|
84
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.RtpDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RtpDetails' from JSON`);
|
|
85
|
-
}
|
|
86
|
-
/** @internal */
|
|
87
55
|
exports.TransferDestination$inboundSchema = z.object({
|
|
88
56
|
paymentMethodID: z.string(),
|
|
89
57
|
paymentMethodType: transferpaymentmethodtype_js_1.TransferPaymentMethodType$inboundSchema,
|
|
@@ -94,7 +62,7 @@ exports.TransferDestination$inboundSchema = z.object({
|
|
|
94
62
|
achDetails: achtransactiondetails_js_1.ACHTransactionDetails$inboundSchema.optional(),
|
|
95
63
|
applePay: applepayresponse_js_1.ApplePayResponse$inboundSchema.optional(),
|
|
96
64
|
cardDetails: cardtransactiondetails_js_1.CardTransactionDetails$inboundSchema.optional(),
|
|
97
|
-
rtpDetails:
|
|
65
|
+
rtpDetails: rtptransactiondetails_js_1.RTPTransactionDetails$inboundSchema.optional(),
|
|
98
66
|
instantBankDetails: instantbanktransactiondetails_js_1.InstantBankTransactionDetails$inboundSchema.optional(),
|
|
99
67
|
});
|
|
100
68
|
/** @internal */
|
|
@@ -108,7 +76,7 @@ exports.TransferDestination$outboundSchema = z.object({
|
|
|
108
76
|
achDetails: achtransactiondetails_js_1.ACHTransactionDetails$outboundSchema.optional(),
|
|
109
77
|
applePay: applepayresponse_js_1.ApplePayResponse$outboundSchema.optional(),
|
|
110
78
|
cardDetails: cardtransactiondetails_js_1.CardTransactionDetails$outboundSchema.optional(),
|
|
111
|
-
rtpDetails:
|
|
79
|
+
rtpDetails: rtptransactiondetails_js_1.RTPTransactionDetails$outboundSchema.optional(),
|
|
112
80
|
instantBankDetails: instantbanktransactiondetails_js_1.InstantBankTransactionDetails$outboundSchema.optional(),
|
|
113
81
|
});
|
|
114
82
|
function transferDestinationToJSON(transferDestination) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transferdestination.js","sourceRoot":"","sources":["../../src/models/components/transferdestination.ts"],"names":[],"mappings":";AAAA;;GAE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AyC,CAAC,QAAQ,EAAE;IAC1D,UAAU,EAAE,+DAAoC,CAAC,QAAQ,EAAE;IAC3D,QAAQ,EAAE,qDAA+B,CAAC,QAAQ,EAAE;IACpD,WAAW,EAAE,iEAAqC,CAAC,QAAQ,EAAE;IAC7D,UAAU,EAAE,+DAAoC,CAAC,QAAQ,EAAE;IAC3D,kBAAkB,EAAE,+EAA4C,CAAC,QAAQ,EAAE;CAC5E,CAAC,CAAC;AAEH,SAAgB,yBAAyB,CACvC,mBAAwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,0CAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC;AACD,SAAgB,2BAA2B,CACzC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { TransferLineItem, TransferLineItem$Outbound } from "./transferlineitem.
|
|
|
6
6
|
* An optional collection of line items for a transfer.
|
|
7
7
|
*
|
|
8
8
|
* @remarks
|
|
9
|
-
* When line items are provided, their total plus
|
|
9
|
+
* When line items are provided, their total plus tax must equal the transfer amount.
|
|
10
10
|
*/
|
|
11
11
|
export type TransferLineItems = {
|
|
12
12
|
/**
|
|
@@ -25,7 +25,7 @@ export type UpdatePaymentLink = {
|
|
|
25
25
|
* An optional collection of line items for a payment link.
|
|
26
26
|
*
|
|
27
27
|
* @remarks
|
|
28
|
-
* When line items are provided, their total plus
|
|
28
|
+
* When line items are provided, their total plus tax must equal the payment link amount.
|
|
29
29
|
*/
|
|
30
30
|
lineItems?: CreatePaymentLinkLineItemsUpdate | undefined;
|
|
31
31
|
};
|
|
@@ -41,11 +41,11 @@ import { WebhookDataWalletUpdated, WebhookDataWalletUpdated$Outbound } from "./w
|
|
|
41
41
|
/**
|
|
42
42
|
* The data for the webhook event. The contents are based on the event type.
|
|
43
43
|
*/
|
|
44
|
-
export type WebhookData = WebhookDataDisputeCreated | WebhookDataDisputeUpdated | WebhookDataTransferUpdated | WebhookDataBankAccountUpdated | WebhookDataRefundUpdated | WebhookDataWalletTransactionUpdated | WebhookDataCancellationCreated | WebhookDataCancellationUpdated | WebhookDataCardAutoUpdated | WebhookDataCapabilityUpdated | WebhookDataInvoiceUpdated | WebhookDataPaymentMethodEnabled | WebhookDataPaymentMethodDisabled | WebhookDataRefundCreated | WebhookDataSweepUpdated | WebhookDataTicketUpdated | WebhookDataTransferCreated | WebhookDataWalletUpdated | WebhookDataBalanceUpdated |
|
|
44
|
+
export type WebhookData = WebhookDataDisputeCreated | WebhookDataDisputeUpdated | WebhookDataTransferUpdated | WebhookDataBankAccountUpdated | WebhookDataRefundUpdated | WebhookDataWalletTransactionUpdated | WebhookDataBankAccountCreated | WebhookDataCancellationCreated | WebhookDataCancellationUpdated | WebhookDataCardAutoUpdated | WebhookDataCapabilityUpdated | WebhookDataInvoiceUpdated | WebhookDataPaymentMethodEnabled | WebhookDataPaymentMethodDisabled | WebhookDataRefundCreated | WebhookDataSweepUpdated | WebhookDataTicketUpdated | WebhookDataTransferCreated | WebhookDataWalletUpdated | WebhookDataBalanceUpdated | WebhookDataBankAccountDeleted | WebhookDataCapabilityRequested | WebhookDataInvoiceCreated | WebhookDataRepresentativeCreated | WebhookDataRepresentativeUpdated | WebhookDataRepresentativeDisabled | WebhookDataSweepCreated | WebhookDataTerminalApplicationCreated | WebhookDataTerminalApplicationUpdated | WebhookDataTicketCreated | WebhookDataTicketMessageAdded | WebhookDataWalletCreated | WebhookBillingStatementCreated | WebhookDataAccountCreated | WebhookDataAccountUpdated | WebhookDataAccountDisconnected | WebhookDataNetworkIDUpdated;
|
|
45
45
|
/** @internal */
|
|
46
46
|
export declare const WebhookData$inboundSchema: z.ZodType<WebhookData, z.ZodTypeDef, unknown>;
|
|
47
47
|
/** @internal */
|
|
48
|
-
export type WebhookData$Outbound = WebhookDataDisputeCreated$Outbound | WebhookDataDisputeUpdated$Outbound | WebhookDataTransferUpdated$Outbound | WebhookDataBankAccountUpdated$Outbound | WebhookDataRefundUpdated$Outbound | WebhookDataWalletTransactionUpdated$Outbound | WebhookDataCancellationCreated$Outbound | WebhookDataCancellationUpdated$Outbound | WebhookDataCardAutoUpdated$Outbound | WebhookDataCapabilityUpdated$Outbound | WebhookDataInvoiceUpdated$Outbound | WebhookDataPaymentMethodEnabled$Outbound | WebhookDataPaymentMethodDisabled$Outbound | WebhookDataRefundCreated$Outbound | WebhookDataSweepUpdated$Outbound | WebhookDataTicketUpdated$Outbound | WebhookDataTransferCreated$Outbound | WebhookDataWalletUpdated$Outbound | WebhookDataBalanceUpdated$Outbound |
|
|
48
|
+
export type WebhookData$Outbound = WebhookDataDisputeCreated$Outbound | WebhookDataDisputeUpdated$Outbound | WebhookDataTransferUpdated$Outbound | WebhookDataBankAccountUpdated$Outbound | WebhookDataRefundUpdated$Outbound | WebhookDataWalletTransactionUpdated$Outbound | WebhookDataBankAccountCreated$Outbound | WebhookDataCancellationCreated$Outbound | WebhookDataCancellationUpdated$Outbound | WebhookDataCardAutoUpdated$Outbound | WebhookDataCapabilityUpdated$Outbound | WebhookDataInvoiceUpdated$Outbound | WebhookDataPaymentMethodEnabled$Outbound | WebhookDataPaymentMethodDisabled$Outbound | WebhookDataRefundCreated$Outbound | WebhookDataSweepUpdated$Outbound | WebhookDataTicketUpdated$Outbound | WebhookDataTransferCreated$Outbound | WebhookDataWalletUpdated$Outbound | WebhookDataBalanceUpdated$Outbound | WebhookDataBankAccountDeleted$Outbound | WebhookDataCapabilityRequested$Outbound | WebhookDataInvoiceCreated$Outbound | WebhookDataRepresentativeCreated$Outbound | WebhookDataRepresentativeUpdated$Outbound | WebhookDataRepresentativeDisabled$Outbound | WebhookDataSweepCreated$Outbound | WebhookDataTerminalApplicationCreated$Outbound | WebhookDataTerminalApplicationUpdated$Outbound | WebhookDataTicketCreated$Outbound | WebhookDataTicketMessageAdded$Outbound | WebhookDataWalletCreated$Outbound | WebhookBillingStatementCreated$Outbound | WebhookDataAccountCreated$Outbound | WebhookDataAccountUpdated$Outbound | WebhookDataAccountDisconnected$Outbound | WebhookDataNetworkIDUpdated$Outbound;
|
|
49
49
|
/** @internal */
|
|
50
50
|
export declare const WebhookData$outboundSchema: z.ZodType<WebhookData$Outbound, z.ZodTypeDef, WebhookData>;
|
|
51
51
|
export declare function webhookDataToJSON(webhookData: WebhookData): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhookdata.d.ts","sourceRoot":"","sources":["../../src/models/components/webhookdata.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,8BAA8B,EAE9B,uCAAuC,EAExC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,yBAAyB,EAEzB,kCAAkC,EAEnC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,8BAA8B,EAE9B,uCAAuC,EAExC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,yBAAyB,EAEzB,kCAAkC,EAEnC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,yBAAyB,EAEzB,kCAAkC,EAEnC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,6BAA6B,EAE7B,sCAAsC,EAEvC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,6BAA6B,EAE7B,sCAAsC,EAEvC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,6BAA6B,EAE7B,sCAAsC,EAEvC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,8BAA8B,EAE9B,uCAAuC,EAExC,MAAM,qCAAqC,CAAC;AAC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;AACtC,OAAO,EACL,qCAAqC,EAErC,8CAA8C,EAE/C,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACL,qCAAqC,EAErC,8CAA8C,EAE/C,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACL,wBAAwB,EAExB,iCAAiC,EAElC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,6BAA6B,EAE7B,sCAAsC,EAEvC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,wBAAwB,EAExB,iCAAiC,EAElC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,0BAA0B,EAE1B,mCAAmC,EAEpC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,0BAA0B,EAE1B,mCAAmC,EAEpC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,wBAAwB,EAExB,iCAAiC,EAElC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,mCAAmC,EAEnC,4CAA4C,EAE7C,MAAM,0CAA0C,CAAC;AAClD,OAAO,EACL,wBAAwB,EAExB,iCAAiC,EAElC,MAAM,+BAA+B,CAAC;AAEvC;;GAEG;AACH,MAAM,MAAM,WAAW,GACnB,yBAAyB,GACzB,yBAAyB,GACzB,0BAA0B,GAC1B,6BAA6B,GAC7B,wBAAwB,GACxB,mCAAmC,GACnC,8BAA8B,GAC9B,8BAA8B,GAC9B,0BAA0B,GAC1B,4BAA4B,GAC5B,yBAAyB,GACzB,+BAA+B,GAC/B,gCAAgC,GAChC,wBAAwB,GACxB,uBAAuB,GACvB,wBAAwB,GACxB,0BAA0B,GAC1B,wBAAwB,GACxB,yBAAyB,GACzB,6BAA6B,GAC7B,
|
|
1
|
+
{"version":3,"file":"webhookdata.d.ts","sourceRoot":"","sources":["../../src/models/components/webhookdata.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAA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zC,0CAA0C,GAC1C,gCAAgC,GAChC,8CAA8C,GAC9C,8CAA8C,GAC9C,iCAAiC,GACjC,sCAAsC,GACtC,iCAAiC,GACjC,uCAAuC,GACvC,kCAAkC,GAClC,kCAAkC,GAClC,uCAAuC,GACvC,oCAAoC,CAAC;AAEzC,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAChD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,WAAW,CAuCX,CAAC;AAEH,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAElE;AACD,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,WAAW,EAAE,kBAAkB,CAAC,CAMlD"}
|
|
@@ -86,6 +86,7 @@ exports.WebhookData$inboundSchema = z.union([
|
|
|
86
86
|
webhookdatabankaccountupdated_js_1.WebhookDataBankAccountUpdated$inboundSchema,
|
|
87
87
|
webhookdatarefundupdated_js_1.WebhookDataRefundUpdated$inboundSchema,
|
|
88
88
|
webhookdatawallettransactionupdated_js_1.WebhookDataWalletTransactionUpdated$inboundSchema,
|
|
89
|
+
webhookdatabankaccountcreated_js_1.WebhookDataBankAccountCreated$inboundSchema,
|
|
89
90
|
webhookdatacancellationcreated_js_1.WebhookDataCancellationCreated$inboundSchema,
|
|
90
91
|
webhookdatacancellationupdated_js_1.WebhookDataCancellationUpdated$inboundSchema,
|
|
91
92
|
webhookdatacardautoupdated_js_1.WebhookDataCardAutoUpdated$inboundSchema,
|
|
@@ -99,7 +100,6 @@ exports.WebhookData$inboundSchema = z.union([
|
|
|
99
100
|
webhookdatatransfercreated_js_1.WebhookDataTransferCreated$inboundSchema,
|
|
100
101
|
webhookdatawalletupdated_js_1.WebhookDataWalletUpdated$inboundSchema,
|
|
101
102
|
webhookdatabalanceupdated_js_1.WebhookDataBalanceUpdated$inboundSchema,
|
|
102
|
-
webhookdatabankaccountcreated_js_1.WebhookDataBankAccountCreated$inboundSchema,
|
|
103
103
|
webhookdatabankaccountdeleted_js_1.WebhookDataBankAccountDeleted$inboundSchema,
|
|
104
104
|
webhookdatacapabilityrequested_js_1.WebhookDataCapabilityRequested$inboundSchema,
|
|
105
105
|
webhookdatainvoicecreated_js_1.WebhookDataInvoiceCreated$inboundSchema,
|
|
@@ -126,6 +126,7 @@ exports.WebhookData$outboundSchema = z.union([
|
|
|
126
126
|
webhookdatabankaccountupdated_js_1.WebhookDataBankAccountUpdated$outboundSchema,
|
|
127
127
|
webhookdatarefundupdated_js_1.WebhookDataRefundUpdated$outboundSchema,
|
|
128
128
|
webhookdatawallettransactionupdated_js_1.WebhookDataWalletTransactionUpdated$outboundSchema,
|
|
129
|
+
webhookdatabankaccountcreated_js_1.WebhookDataBankAccountCreated$outboundSchema,
|
|
129
130
|
webhookdatacancellationcreated_js_1.WebhookDataCancellationCreated$outboundSchema,
|
|
130
131
|
webhookdatacancellationupdated_js_1.WebhookDataCancellationUpdated$outboundSchema,
|
|
131
132
|
webhookdatacardautoupdated_js_1.WebhookDataCardAutoUpdated$outboundSchema,
|
|
@@ -139,7 +140,6 @@ exports.WebhookData$outboundSchema = z.union([
|
|
|
139
140
|
webhookdatatransfercreated_js_1.WebhookDataTransferCreated$outboundSchema,
|
|
140
141
|
webhookdatawalletupdated_js_1.WebhookDataWalletUpdated$outboundSchema,
|
|
141
142
|
webhookdatabalanceupdated_js_1.WebhookDataBalanceUpdated$outboundSchema,
|
|
142
|
-
webhookdatabankaccountcreated_js_1.WebhookDataBankAccountCreated$outboundSchema,
|
|
143
143
|
webhookdatabankaccountdeleted_js_1.WebhookDataBankAccountDeleted$outboundSchema,
|
|
144
144
|
webhookdatacapabilityrequested_js_1.WebhookDataCapabilityRequested$outboundSchema,
|
|
145
145
|
webhookdatainvoicecreated_js_1.WebhookDataInvoiceCreated$outboundSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhookdata.js","sourceRoot":"","sources":["../../src/models/components/webhookdata.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgZH,8CAEC;AACD,kDAQC;AAzZD,0CAA4B;AAC5B,qDAAiD;AAGjD,2FAK6C;AAC7C,iFAKwC;AACxC,2FAK6C;AAC7C,iFAKwC;AACxC,iFAKwC;AACxC,yFAK4C;AAC5C,yFAK4C;AAC5C,yFAK4C;AAC5C,2FAK6C;AAC7C,2FAK6C;AAC7C,2FAK6C;AAC7C,uFAK2C;AAC3C,mFAKyC;AACzC,iFAKwC;AACxC,iFAKwC;AACxC,iFAKwC;AACxC,iFAKwC;AACxC,qFAK0C;AAC1C,+FAK+C;AAC/C,6FAK8C;AAC9C,+EAKuC;AACvC,+EAKuC;AACvC,+FAK+C;AAC/C,iGAKgD;AAChD,+FAK+C;AAC/C,6EAKsC;AACtC,6EAKsC;AACtC,yGAKoD;AACpD,yGAKoD;AACpD,+EAKuC;AACvC,yFAK4C;AAC5C,+EAKuC;AACvC,mFAKyC;AACzC,mFAKyC;AACzC,+EAKuC;AACvC,qGAKkD;AAClD,+EAKuC;AA4CvC,gBAAgB;AACH,QAAA,yBAAyB,GAIlC,CAAC,CAAC,KAAK,CAAC;IACV,sEAAuC;IACvC,sEAAuC;IACvC,wEAAwC;IACxC,8EAA2C;IAC3C,oEAAsC;IACtC,0FAAiD;IACjD,gFAA4C;IAC5C,gFAA4C;IAC5C,wEAAwC;IACxC,4EAA0C;IAC1C,sEAAuC;IACvC,kFAA6C;IAC7C,oFAA8C;IAC9C,oEAAsC;IACtC,kEAAqC;IACrC,oEAAsC;IACtC,wEAAwC;IACxC,oEAAsC;IACtC,sEAAuC;IACvC,8EAA2C;IAC3C,
|
|
1
|
+
{"version":3,"file":"webhookdata.js","sourceRoot":"","sources":["../../src/models/components/webhookdata.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgZH,8CAEC;AACD,kDAQC;AAzZD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AACH,QAAA,0BAA0B,GAInC,CAAC,CAAC,KAAK,CAAC;IACV,uEAAwC;IACxC,uEAAwC;IACxC,yEAAyC;IACzC,+EAA4C;IAC5C,qEAAuC;IACvC,2FAAkD;IAClD,+EAA4C;IAC5C,iFAA6C;IAC7C,iFAA6C;IAC7C,yEAAyC;IACzC,6EAA2C;IAC3C,uEAAwC;IACxC,mFAA8C;IAC9C,qFAA+C;IAC/C,qEAAuC;IACvC,mEAAsC;IACtC,qEAAuC;IACvC,yEAAyC;IACzC,qEAAuC;IACvC,uEAAwC;IACxC,+EAA4C;IAC5C,iFAA6C;IAC7C,uEAAwC;IACxC,qFAA+C;IAC/C,qFAA+C;IAC/C,uFAAgD;IAChD,mEAAsC;IACtC,+FAAoD;IACpD,+FAAoD;IACpD,qEAAuC;IACvC,+EAA4C;IAC5C,qEAAuC;IACvC,iFAA6C;IAC7C,uEAAwC;IACxC,uEAAwC;IACxC,iFAA6C;IAC7C,2EAA0C;CAC3C,CAAC,CAAC;AAEH,SAAgB,iBAAiB,CAAC,WAAwB;IACxD,OAAO,IAAI,CAAC,SAAS,CAAC,kCAA0B,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;AACvE,CAAC;AACD,SAAgB,mBAAmB,CACjC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iCAAyB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrD,yCAAyC,CAC1C,CAAC;AACJ,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { BankAccountStatus } from "./bankaccountstatus.js";
|
|
4
5
|
export type WebhookDataBankAccountCreated = {
|
|
5
6
|
bankAccountID: string;
|
|
6
7
|
accountID: string;
|
|
8
|
+
status: BankAccountStatus;
|
|
7
9
|
};
|
|
8
10
|
/** @internal */
|
|
9
11
|
export declare const WebhookDataBankAccountCreated$inboundSchema: z.ZodType<WebhookDataBankAccountCreated, z.ZodTypeDef, unknown>;
|
|
@@ -11,6 +13,7 @@ export declare const WebhookDataBankAccountCreated$inboundSchema: z.ZodType<Webh
|
|
|
11
13
|
export type WebhookDataBankAccountCreated$Outbound = {
|
|
12
14
|
bankAccountID: string;
|
|
13
15
|
accountID: string;
|
|
16
|
+
status: string;
|
|
14
17
|
};
|
|
15
18
|
/** @internal */
|
|
16
19
|
export declare const WebhookDataBankAccountCreated$outboundSchema: z.ZodType<WebhookDataBankAccountCreated$Outbound, z.ZodTypeDef, WebhookDataBankAccountCreated>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhookdatabankaccountcreated.d.ts","sourceRoot":"","sources":["../../src/models/components/webhookdatabankaccountcreated.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"webhookdatabankaccountcreated.d.ts","sourceRoot":"","sources":["../../src/models/components/webhookdatabankaccountcreated.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,iBAAiB,EAGlB,MAAM,wBAAwB,CAAC;AAEhC,MAAM,MAAM,6BAA6B,GAAG;IAC1C,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,iBAAiB,CAAC;CAC3B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,sCAAsC,GAAG;IACnD,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAClE,sCAAsC,EACtC,CAAC,CAAC,UAAU,EACZ,6BAA6B,CAK7B,CAAC;AAEH,wBAAgB,mCAAmC,CACjD,6BAA6B,EAAE,6BAA6B,GAC3D,MAAM,CAMR;AACD,wBAAgB,qCAAqC,CACnD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,6BAA6B,EAAE,kBAAkB,CAAC,CAMpE"}
|
|
@@ -41,15 +41,18 @@ exports.webhookDataBankAccountCreatedToJSON = webhookDataBankAccountCreatedToJSO
|
|
|
41
41
|
exports.webhookDataBankAccountCreatedFromJSON = webhookDataBankAccountCreatedFromJSON;
|
|
42
42
|
const z = __importStar(require("zod/v3"));
|
|
43
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const bankaccountstatus_js_1 = require("./bankaccountstatus.js");
|
|
44
45
|
/** @internal */
|
|
45
46
|
exports.WebhookDataBankAccountCreated$inboundSchema = z.object({
|
|
46
47
|
bankAccountID: z.string(),
|
|
47
48
|
accountID: z.string(),
|
|
49
|
+
status: bankaccountstatus_js_1.BankAccountStatus$inboundSchema,
|
|
48
50
|
});
|
|
49
51
|
/** @internal */
|
|
50
52
|
exports.WebhookDataBankAccountCreated$outboundSchema = z.object({
|
|
51
53
|
bankAccountID: z.string(),
|
|
52
54
|
accountID: z.string(),
|
|
55
|
+
status: bankaccountstatus_js_1.BankAccountStatus$outboundSchema,
|
|
53
56
|
});
|
|
54
57
|
function webhookDataBankAccountCreatedToJSON(webhookDataBankAccountCreated) {
|
|
55
58
|
return JSON.stringify(exports.WebhookDataBankAccountCreated$outboundSchema.parse(webhookDataBankAccountCreated));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhookdatabankaccountcreated.js","sourceRoot":"","sources":["../../src/models/components/webhookdatabankaccountcreated.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"webhookdatabankaccountcreated.js","sourceRoot":"","sources":["../../src/models/components/webhookdatabankaccountcreated.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8CH,kFAQC;AACD,sFAQC;AA7DD,0CAA4B;AAC5B,qDAAiD;AAGjD,iEAIgC;AAQhC,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,MAAM,EAAE,sDAA+B;CACxC,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,4CAA4C,GAIrD,CAAC,CAAC,MAAM,CAAC;IACX,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,MAAM,EAAE,uDAAgC;CACzC,CAAC,CAAC;AAEH,SAAgB,mCAAmC,CACjD,6BAA4D;IAE5D,OAAO,IAAI,CAAC,SAAS,CACnB,oDAA4C,CAAC,KAAK,CAChD,6BAA6B,CAC9B,CACF,CAAC;AACJ,CAAC;AACD,SAAgB,qCAAqC,CACnD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mDAA2C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,2DAA2D,CAC5D,CAAC;AACJ,CAAC"}
|
|
@@ -71,7 +71,7 @@ export type TransferData = {
|
|
|
71
71
|
* An optional collection of line items for a transfer.
|
|
72
72
|
*
|
|
73
73
|
* @remarks
|
|
74
|
-
* When line items are provided, their total plus
|
|
74
|
+
* When line items are provided, their total plus tax must equal the transfer amount.
|
|
75
75
|
*/
|
|
76
76
|
lineItems?: components.TransferLineItems | undefined;
|
|
77
77
|
};
|
|
@@ -145,7 +145,7 @@ export declare class Transfer extends MoovError {
|
|
|
145
145
|
* An optional collection of line items for a transfer.
|
|
146
146
|
*
|
|
147
147
|
* @remarks
|
|
148
|
-
* When line items are provided, their total plus
|
|
148
|
+
* When line items are provided, their total plus tax must equal the transfer amount.
|
|
149
149
|
*/
|
|
150
150
|
lineItems?: components.TransferLineItems | undefined;
|
|
151
151
|
/** The original data that was passed to this error instance. */
|
package/package.json
CHANGED
package/src/funcs/filesUpload.ts
CHANGED
|
@@ -3,7 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { MoovCore } from "../core.js";
|
|
6
|
-
import {
|
|
6
|
+
import {
|
|
7
|
+
appendForm,
|
|
8
|
+
encodeJSON,
|
|
9
|
+
encodeSimple,
|
|
10
|
+
normalizeBlob,
|
|
11
|
+
} from "../lib/encodings.js";
|
|
7
12
|
import {
|
|
8
13
|
bytesToBlob,
|
|
9
14
|
getContentTypeFromFileName,
|
|
@@ -140,7 +145,13 @@ async function $do(
|
|
|
140
145
|
payload.FileUploadRequestMultiPart.filePurpose,
|
|
141
146
|
);
|
|
142
147
|
if (payload.FileUploadRequestMultiPart.metadata !== undefined) {
|
|
143
|
-
appendForm(
|
|
148
|
+
appendForm(
|
|
149
|
+
body,
|
|
150
|
+
"metadata",
|
|
151
|
+
encodeJSON("metadata", payload.FileUploadRequestMultiPart.metadata, {
|
|
152
|
+
explode: true,
|
|
153
|
+
}),
|
|
154
|
+
);
|
|
144
155
|
}
|
|
145
156
|
|
|
146
157
|
const pathParams = {
|
package/src/lib/config.ts
CHANGED
|
@@ -68,7 +68,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
68
68
|
export const SDK_METADATA = {
|
|
69
69
|
language: "typescript",
|
|
70
70
|
openapiDocVersion: "v2026.01.00",
|
|
71
|
-
sdkVersion: "26.2.
|
|
72
|
-
genVersion: "2.
|
|
73
|
-
userAgent: "speakeasy-sdk/typescript 26.2.
|
|
71
|
+
sdkVersion: "26.2.6",
|
|
72
|
+
genVersion: "2.882.0",
|
|
73
|
+
userAgent: "speakeasy-sdk/typescript 26.2.6 2.882.0 v2026.01.00 @moovio/sdk",
|
|
74
74
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -132,7 +132,7 @@ export type CreatedTransfer = {
|
|
|
132
132
|
* An optional collection of line items for a transfer.
|
|
133
133
|
*
|
|
134
134
|
* @remarks
|
|
135
|
-
* When line items are provided, their total plus
|
|
135
|
+
* When line items are provided, their total plus tax must equal the transfer amount.
|
|
136
136
|
*/
|
|
137
137
|
lineItems?: TransferLineItems | undefined;
|
|
138
138
|
};
|
|
@@ -102,7 +102,7 @@ export type CreatePaymentLink = {
|
|
|
102
102
|
* An optional collection of line items for a payment link.
|
|
103
103
|
*
|
|
104
104
|
* @remarks
|
|
105
|
-
* When line items are provided, their total plus
|
|
105
|
+
* When line items are provided, their total plus tax must equal the payment link amount.
|
|
106
106
|
*/
|
|
107
107
|
lineItems?: CreatePaymentLinkLineItems | undefined;
|
|
108
108
|
};
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
* An optional collection of line items for a payment link.
|
|
18
18
|
*
|
|
19
19
|
* @remarks
|
|
20
|
-
* When line items are provided, their total plus
|
|
20
|
+
* When line items are provided, their total plus tax must equal the payment link amount.
|
|
21
21
|
*/
|
|
22
22
|
export type CreatePaymentLinkLineItems = {
|
|
23
23
|
/**
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
* An optional collection of line items for a payment link.
|
|
18
18
|
*
|
|
19
19
|
* @remarks
|
|
20
|
-
* When line items are provided, their total plus
|
|
20
|
+
* When line items are provided, their total plus tax must equal the payment link amount.
|
|
21
21
|
*/
|
|
22
22
|
export type CreatePaymentLinkLineItemsUpdate = {
|
|
23
23
|
/**
|
|
@@ -68,7 +68,7 @@ export type CreateTransfer = {
|
|
|
68
68
|
* An optional collection of line items for a transfer.
|
|
69
69
|
*
|
|
70
70
|
* @remarks
|
|
71
|
-
* When line items are provided, their total plus
|
|
71
|
+
* When line items are provided, their total plus tax must equal the transfer amount.
|
|
72
72
|
*/
|
|
73
73
|
lineItems?: CreateTransferLineItems | undefined;
|
|
74
74
|
};
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
* An optional collection of line items for a transfer.
|
|
18
18
|
*
|
|
19
19
|
* @remarks
|
|
20
|
-
* When line items are provided, their total plus
|
|
20
|
+
* When line items are provided, their total plus tax must equal the transfer amount.
|
|
21
21
|
*/
|
|
22
22
|
export type CreateTransferLineItems = {
|
|
23
23
|
/**
|