@moovio/sdk 0.22.2 → 0.22.4
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 +6 -6
- package/bin/mcp-server.js +221 -41
- package/bin/mcp-server.js.map +26 -21
- package/examples/package-lock.json +1 -1
- package/funcs/bankAccountsGetVerification.d.ts +1 -1
- package/funcs/bankAccountsGetVerification.js +1 -1
- package/funcs/bankAccountsInitiateVerification.d.ts +2 -2
- package/funcs/bankAccountsInitiateVerification.js +2 -2
- 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/mcp-server/tools/bankAccountsGetVerification.js +1 -1
- package/mcp-server/tools/bankAccountsInitiateVerification.js +2 -2
- package/models/components/accountfees.d.ts +49 -0
- package/models/components/accountfees.d.ts.map +1 -0
- package/models/components/accountfees.js +69 -0
- package/models/components/accountfees.js.map +1 -0
- package/models/components/bankaccountexception.d.ts +26 -0
- package/models/components/bankaccountexception.d.ts.map +1 -1
- package/models/components/bankaccountexception.js +2 -0
- package/models/components/bankaccountexception.js.map +1 -1
- package/models/components/bankaccountstatusreason.d.ts +1 -0
- package/models/components/bankaccountstatusreason.d.ts.map +1 -1
- package/models/components/bankaccountstatusreason.js +1 -0
- package/models/components/bankaccountstatusreason.js.map +1 -1
- package/models/components/billingcountandamount.d.ts +0 -3
- package/models/components/billingcountandamount.d.ts.map +1 -1
- package/models/components/billingcountandamount.js.map +1 -1
- package/models/components/billingsummary.d.ts +198 -17
- package/models/components/billingsummary.d.ts.map +1 -1
- package/models/components/billingsummary.js +106 -9
- package/models/components/billingsummary.js.map +1 -1
- package/models/components/billingsummarydetails.d.ts +51 -5
- package/models/components/billingsummarydetails.d.ts.map +1 -1
- package/models/components/billingsummarydetails.js +27 -3
- package/models/components/billingsummarydetails.js.map +1 -1
- package/models/components/cardbrandfees.d.ts +0 -3
- package/models/components/cardbrandfees.d.ts.map +1 -1
- package/models/components/cardbrandfees.js.map +1 -1
- package/models/components/index.d.ts +5 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +5 -0
- package/models/components/index.js.map +1 -1
- package/models/components/partnerfees.d.ts +34 -0
- package/models/components/partnerfees.d.ts.map +1 -0
- package/models/components/partnerfees.js +63 -0
- package/models/components/partnerfees.js.map +1 -0
- package/models/components/platformfees.d.ts +3 -1
- package/models/components/platformfees.d.ts.map +1 -1
- package/models/components/platformfees.js.map +1 -1
- package/models/components/runtransfer.d.ts +14 -0
- package/models/components/runtransfer.d.ts.map +1 -1
- package/models/components/runtransfer.js +5 -0
- package/models/components/runtransfer.js.map +1 -1
- package/models/components/scheduledtransferlineitem.d.ts +45 -0
- package/models/components/scheduledtransferlineitem.d.ts.map +1 -0
- package/models/components/scheduledtransferlineitem.js +68 -0
- package/models/components/scheduledtransferlineitem.js.map +1 -0
- package/models/components/scheduledtransferlineitemoption.d.ts +39 -0
- package/models/components/scheduledtransferlineitemoption.d.ts.map +1 -0
- package/models/components/scheduledtransferlineitemoption.js +65 -0
- package/models/components/scheduledtransferlineitemoption.js.map +1 -0
- package/models/components/scheduledtransferlineitems.d.ts +27 -0
- package/models/components/scheduledtransferlineitems.d.ts.map +1 -0
- package/models/components/scheduledtransferlineitems.js +59 -0
- package/models/components/scheduledtransferlineitems.js.map +1 -0
- package/models/components/statement.d.ts +17 -3
- package/models/components/statement.d.ts.map +1 -1
- package/models/components/statement.js +6 -0
- package/models/components/statement.js.map +1 -1
- package/package.json +1 -1
- package/sdk/bankaccounts.d.ts +3 -3
- package/sdk/bankaccounts.js +3 -3
- package/src/funcs/bankAccountsGetVerification.ts +1 -1
- package/src/funcs/bankAccountsInitiateVerification.ts +2 -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/mcp-server/tools/bankAccountsGetVerification.ts +1 -1
- package/src/mcp-server/tools/bankAccountsInitiateVerification.ts +2 -2
- package/src/models/components/accountfees.ts +94 -0
- package/src/models/components/bankaccountexception.ts +28 -0
- package/src/models/components/bankaccountstatusreason.ts +1 -0
- package/src/models/components/billingcountandamount.ts +0 -3
- package/src/models/components/billingsummary.ts +355 -25
- package/src/models/components/billingsummarydetails.ts +87 -7
- package/src/models/components/cardbrandfees.ts +0 -3
- package/src/models/components/index.ts +5 -0
- package/src/models/components/partnerfees.ts +73 -0
- package/src/models/components/platformfees.ts +3 -1
- package/src/models/components/runtransfer.ts +23 -0
- package/src/models/components/scheduledtransferlineitem.ts +97 -0
- package/src/models/components/scheduledtransferlineitemoption.ts +86 -0
- package/src/models/components/scheduledtransferlineitems.ts +66 -0
- package/src/models/components/statement.ts +31 -3
- package/src/sdk/bankaccounts.ts +3 -3
|
@@ -0,0 +1,65 @@
|
|
|
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.ScheduledTransferLineItemOption$outboundSchema = exports.ScheduledTransferLineItemOption$inboundSchema = void 0;
|
|
40
|
+
exports.scheduledTransferLineItemOptionToJSON = scheduledTransferLineItemOptionToJSON;
|
|
41
|
+
exports.scheduledTransferLineItemOptionFromJSON = scheduledTransferLineItemOptionFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v3"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const amountdecimal_js_1 = require("./amountdecimal.js");
|
|
45
|
+
/** @internal */
|
|
46
|
+
exports.ScheduledTransferLineItemOption$inboundSchema = z.object({
|
|
47
|
+
name: z.string(),
|
|
48
|
+
quantity: z.number().int(),
|
|
49
|
+
priceModifier: amountdecimal_js_1.AmountDecimal$inboundSchema.optional(),
|
|
50
|
+
group: z.string().optional(),
|
|
51
|
+
});
|
|
52
|
+
/** @internal */
|
|
53
|
+
exports.ScheduledTransferLineItemOption$outboundSchema = z.object({
|
|
54
|
+
name: z.string(),
|
|
55
|
+
quantity: z.number().int(),
|
|
56
|
+
priceModifier: amountdecimal_js_1.AmountDecimal$outboundSchema.optional(),
|
|
57
|
+
group: z.string().optional(),
|
|
58
|
+
});
|
|
59
|
+
function scheduledTransferLineItemOptionToJSON(scheduledTransferLineItemOption) {
|
|
60
|
+
return JSON.stringify(exports.ScheduledTransferLineItemOption$outboundSchema.parse(scheduledTransferLineItemOption));
|
|
61
|
+
}
|
|
62
|
+
function scheduledTransferLineItemOptionFromJSON(jsonString) {
|
|
63
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ScheduledTransferLineItemOption$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ScheduledTransferLineItemOption' from JSON`);
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=scheduledtransferlineitemoption.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scheduledtransferlineitemoption.js","sourceRoot":"","sources":["../../src/models/components/scheduledtransferlineitemoption.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkEH,sFAQC;AACD,0FAQC;AAjFD,0CAA4B;AAC5B,qDAAiD;AAGjD,yDAK4B;AAwB5B,gBAAgB;AACH,QAAA,6CAA6C,GAItD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC1B,aAAa,EAAE,8CAA2B,CAAC,QAAQ,EAAE;IACrD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC7B,CAAC,CAAC;AASH,gBAAgB;AACH,QAAA,8CAA8C,GAIvD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC1B,aAAa,EAAE,+CAA4B,CAAC,QAAQ,EAAE;IACtD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC7B,CAAC,CAAC;AAEH,SAAgB,qCAAqC,CACnD,+BAAgE;IAEhE,OAAO,IAAI,CAAC,SAAS,CACnB,sDAA8C,CAAC,KAAK,CAClD,+BAA+B,CAChC,CACF,CAAC;AACJ,CAAC;AACD,SAAgB,uCAAuC,CACrD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,qDAA6C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzE,6DAA6D,CAC9D,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { ScheduledTransferLineItem, ScheduledTransferLineItem$Outbound } from "./scheduledtransferlineitem.js";
|
|
5
|
+
/**
|
|
6
|
+
* An optional collection of line items for a scheduled transfer.
|
|
7
|
+
*
|
|
8
|
+
* @remarks
|
|
9
|
+
* When line items are provided their total must equal `amount` minus `salesTaxAmount`.
|
|
10
|
+
*/
|
|
11
|
+
export type ScheduledTransferLineItems = {
|
|
12
|
+
/**
|
|
13
|
+
* The list of line items.
|
|
14
|
+
*/
|
|
15
|
+
items: Array<ScheduledTransferLineItem>;
|
|
16
|
+
};
|
|
17
|
+
/** @internal */
|
|
18
|
+
export declare const ScheduledTransferLineItems$inboundSchema: z.ZodType<ScheduledTransferLineItems, z.ZodTypeDef, unknown>;
|
|
19
|
+
/** @internal */
|
|
20
|
+
export type ScheduledTransferLineItems$Outbound = {
|
|
21
|
+
items: Array<ScheduledTransferLineItem$Outbound>;
|
|
22
|
+
};
|
|
23
|
+
/** @internal */
|
|
24
|
+
export declare const ScheduledTransferLineItems$outboundSchema: z.ZodType<ScheduledTransferLineItems$Outbound, z.ZodTypeDef, ScheduledTransferLineItems>;
|
|
25
|
+
export declare function scheduledTransferLineItemsToJSON(scheduledTransferLineItems: ScheduledTransferLineItems): string;
|
|
26
|
+
export declare function scheduledTransferLineItemsFromJSON(jsonString: string): SafeParseResult<ScheduledTransferLineItems, SDKValidationError>;
|
|
27
|
+
//# sourceMappingURL=scheduledtransferlineitems.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scheduledtransferlineitems.d.ts","sourceRoot":"","sources":["../../src/models/components/scheduledtransferlineitems.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,yBAAyB,EAEzB,kCAAkC,EAEnC,MAAM,gCAAgC,CAAC;AAExC;;;;;GAKG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,yBAAyB,CAAC,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,mCAAmC,GAAG;IAChD,KAAK,EAAE,KAAK,CAAC,kCAAkC,CAAC,CAAC;CAClD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,0BAA0B,CAG1B,CAAC;AAEH,wBAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,0BAA0B,GACrD,MAAM,CAIR;AACD,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
|
|
@@ -0,0 +1,59 @@
|
|
|
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.ScheduledTransferLineItems$outboundSchema = exports.ScheduledTransferLineItems$inboundSchema = void 0;
|
|
40
|
+
exports.scheduledTransferLineItemsToJSON = scheduledTransferLineItemsToJSON;
|
|
41
|
+
exports.scheduledTransferLineItemsFromJSON = scheduledTransferLineItemsFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v3"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const scheduledtransferlineitem_js_1 = require("./scheduledtransferlineitem.js");
|
|
45
|
+
/** @internal */
|
|
46
|
+
exports.ScheduledTransferLineItems$inboundSchema = z.object({
|
|
47
|
+
items: z.array(scheduledtransferlineitem_js_1.ScheduledTransferLineItem$inboundSchema),
|
|
48
|
+
});
|
|
49
|
+
/** @internal */
|
|
50
|
+
exports.ScheduledTransferLineItems$outboundSchema = z.object({
|
|
51
|
+
items: z.array(scheduledtransferlineitem_js_1.ScheduledTransferLineItem$outboundSchema),
|
|
52
|
+
});
|
|
53
|
+
function scheduledTransferLineItemsToJSON(scheduledTransferLineItems) {
|
|
54
|
+
return JSON.stringify(exports.ScheduledTransferLineItems$outboundSchema.parse(scheduledTransferLineItems));
|
|
55
|
+
}
|
|
56
|
+
function scheduledTransferLineItemsFromJSON(jsonString) {
|
|
57
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ScheduledTransferLineItems$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ScheduledTransferLineItems' from JSON`);
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=scheduledtransferlineitems.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scheduledtransferlineitems.js","sourceRoot":"","sources":["../../src/models/components/scheduledtransferlineitems.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgDH,4EAMC;AACD,gFAQC;AA7DD,0CAA4B;AAC5B,qDAAiD;AAGjD,iFAKwC;AAexC,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,sEAAuC,CAAC;CACxD,CAAC,CAAC;AAMH,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,uEAAwC,CAAC;CACzD,CAAC,CAAC;AAEH,SAAgB,gCAAgC,CAC9C,0BAAsD;IAEtD,OAAO,IAAI,CAAC,SAAS,CACnB,iDAAyC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAC5E,CAAC;AACJ,CAAC;AACD,SAAgB,kCAAkC,CAChD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gDAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AACJ,CAAC"}
|
|
@@ -1,11 +1,13 @@
|
|
|
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 { AccountFees, AccountFees$Outbound } from "./accountfees.js";
|
|
4
5
|
import { ACHFees, ACHFees$Outbound } from "./achfees.js";
|
|
5
6
|
import { BillingSummary, BillingSummary$Outbound } from "./billingsummary.js";
|
|
6
7
|
import { CardAcquiringFees, CardAcquiringFees$Outbound } from "./cardacquiringfees.js";
|
|
7
8
|
import { InstantPaymentFees, InstantPaymentFees$Outbound } from "./instantpaymentfees.js";
|
|
8
9
|
import { OtherCardFees, OtherCardFees$Outbound } from "./othercardfees.js";
|
|
10
|
+
import { PartnerFees, PartnerFees$Outbound } from "./partnerfees.js";
|
|
9
11
|
import { PlatformFees, PlatformFees$Outbound } from "./platformfees.js";
|
|
10
12
|
/**
|
|
11
13
|
* A billing statement for a Moov account.
|
|
@@ -40,11 +42,11 @@ export type Statement = {
|
|
|
40
42
|
*/
|
|
41
43
|
subscriptionIDs: Array<string>;
|
|
42
44
|
/**
|
|
43
|
-
* A summary of all fees included in
|
|
45
|
+
* A summary of all fees included in a statement.
|
|
44
46
|
*/
|
|
45
47
|
summary: BillingSummary;
|
|
46
48
|
/**
|
|
47
|
-
* A detailed breakdown of card acquiring fees.
|
|
49
|
+
* A detailed breakdown of card acquiring fees by card brand.
|
|
48
50
|
*/
|
|
49
51
|
cardAcquiringFees?: CardAcquiringFees | undefined;
|
|
50
52
|
/**
|
|
@@ -56,13 +58,23 @@ export type Statement = {
|
|
|
56
58
|
*/
|
|
57
59
|
instantPaymentFees?: InstantPaymentFees | undefined;
|
|
58
60
|
/**
|
|
59
|
-
* A detailed breakdown of platform fees.
|
|
61
|
+
* A detailed breakdown of platform fees. This field is deprecated and will be removed in a future release. Use accountFees.
|
|
62
|
+
*
|
|
63
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
60
64
|
*/
|
|
61
65
|
platformFees?: PlatformFees | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* A detailed breakdown of account fees.
|
|
68
|
+
*/
|
|
69
|
+
accountFees?: AccountFees | undefined;
|
|
62
70
|
/**
|
|
63
71
|
* A detailed breakdown of other card-related fees.
|
|
64
72
|
*/
|
|
65
73
|
otherCardFees?: OtherCardFees | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* Monthly partner costs that are charged separately and not included in residual subtotal (e.g. platform fees, minimums).
|
|
76
|
+
*/
|
|
77
|
+
partnerFees?: PartnerFees | undefined;
|
|
66
78
|
/**
|
|
67
79
|
* The date and time the statement was created.
|
|
68
80
|
*/
|
|
@@ -88,7 +100,9 @@ export type Statement$Outbound = {
|
|
|
88
100
|
achFees?: ACHFees$Outbound | undefined;
|
|
89
101
|
instantPaymentFees?: InstantPaymentFees$Outbound | undefined;
|
|
90
102
|
platformFees?: PlatformFees$Outbound | undefined;
|
|
103
|
+
accountFees?: AccountFees$Outbound | undefined;
|
|
91
104
|
otherCardFees?: OtherCardFees$Outbound | undefined;
|
|
105
|
+
partnerFees?: PartnerFees$Outbound | undefined;
|
|
92
106
|
createdOn: string;
|
|
93
107
|
updatedOn: string;
|
|
94
108
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statement.d.ts","sourceRoot":"","sources":["../../src/models/components/statement.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,OAAO,EAEP,gBAAgB,EAEjB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,cAAc,EAEd,uBAAuB,EAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,iBAAiB,EAEjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,kBAAkB,EAElB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,YAAY,EAEZ,qBAAqB,EAEtB,MAAM,mBAAmB,CAAC;AAE3B;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,0BAA0B,EAAE,IAAI,CAAC;IACjC;;OAEG;IACH,wBAAwB,EAAE,IAAI,CAAC;IAC/B;;OAEG;IACH,eAAe,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;OAEG;IACH,OAAO,EAAE,cAAc,CAAC;IACxB;;OAEG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAClD;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,kBAAkB,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACpD
|
|
1
|
+
{"version":3,"file":"statement.d.ts","sourceRoot":"","sources":["../../src/models/components/statement.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,WAAW,EAEX,oBAAoB,EAErB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,OAAO,EAEP,gBAAgB,EAEjB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,cAAc,EAEd,uBAAuB,EAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,iBAAiB,EAEjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,kBAAkB,EAElB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,WAAW,EAEX,oBAAoB,EAErB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,YAAY,EAEZ,qBAAqB,EAEtB,MAAM,mBAAmB,CAAC;AAE3B;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,0BAA0B,EAAE,IAAI,CAAC;IACjC;;OAEG;IACH,wBAAwB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AA2B,GAAG,SAAS,CAAC;IAC7D,YAAY,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;IACjD,WAAW,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IAC/C,aAAa,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;IACnD,WAAW,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IAC/C,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,OAAO,CAC9C,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,SAAS,CAmBT,CAAC;AAEH,wBAAgB,eAAe,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM,CAE5D;AACD,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,SAAS,EAAE,kBAAkB,CAAC,CAMhD"}
|
|
@@ -41,11 +41,13 @@ exports.statementToJSON = statementToJSON;
|
|
|
41
41
|
exports.statementFromJSON = statementFromJSON;
|
|
42
42
|
const z = __importStar(require("zod/v3"));
|
|
43
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const accountfees_js_1 = require("./accountfees.js");
|
|
44
45
|
const achfees_js_1 = require("./achfees.js");
|
|
45
46
|
const billingsummary_js_1 = require("./billingsummary.js");
|
|
46
47
|
const cardacquiringfees_js_1 = require("./cardacquiringfees.js");
|
|
47
48
|
const instantpaymentfees_js_1 = require("./instantpaymentfees.js");
|
|
48
49
|
const othercardfees_js_1 = require("./othercardfees.js");
|
|
50
|
+
const partnerfees_js_1 = require("./partnerfees.js");
|
|
49
51
|
const platformfees_js_1 = require("./platformfees.js");
|
|
50
52
|
/** @internal */
|
|
51
53
|
exports.Statement$inboundSchema = z.object({
|
|
@@ -61,7 +63,9 @@ exports.Statement$inboundSchema = z.object({
|
|
|
61
63
|
achFees: achfees_js_1.ACHFees$inboundSchema.optional(),
|
|
62
64
|
instantPaymentFees: instantpaymentfees_js_1.InstantPaymentFees$inboundSchema.optional(),
|
|
63
65
|
platformFees: platformfees_js_1.PlatformFees$inboundSchema.optional(),
|
|
66
|
+
accountFees: accountfees_js_1.AccountFees$inboundSchema.optional(),
|
|
64
67
|
otherCardFees: othercardfees_js_1.OtherCardFees$inboundSchema.optional(),
|
|
68
|
+
partnerFees: partnerfees_js_1.PartnerFees$inboundSchema.optional(),
|
|
65
69
|
createdOn: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
66
70
|
updatedOn: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
67
71
|
});
|
|
@@ -79,7 +83,9 @@ exports.Statement$outboundSchema = z.object({
|
|
|
79
83
|
achFees: achfees_js_1.ACHFees$outboundSchema.optional(),
|
|
80
84
|
instantPaymentFees: instantpaymentfees_js_1.InstantPaymentFees$outboundSchema.optional(),
|
|
81
85
|
platformFees: platformfees_js_1.PlatformFees$outboundSchema.optional(),
|
|
86
|
+
accountFees: accountfees_js_1.AccountFees$outboundSchema.optional(),
|
|
82
87
|
otherCardFees: othercardfees_js_1.OtherCardFees$outboundSchema.optional(),
|
|
88
|
+
partnerFees: partnerfees_js_1.PartnerFees$outboundSchema.optional(),
|
|
83
89
|
createdOn: z.date().transform(v => v.toISOString()),
|
|
84
90
|
updatedOn: z.date().transform(v => v.toISOString()),
|
|
85
91
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statement.js","sourceRoot":"","sources":["../../src/models/components/statement.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"statement.js","sourceRoot":"","sources":["../../src/models/components/statement.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6MH,0CAEC;AACD,8CAQC;AAtND,0CAA4B;AAC5B,qDAAiD;AAGjD,qDAK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AAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IACnD,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;CACpD,CAAC,CAAC;AAEH,SAAgB,eAAe,CAAC,SAAoB;IAClD,OAAO,IAAI,CAAC,SAAS,CAAC,gCAAwB,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC;AACnE,CAAC;AACD,SAAgB,iBAAiB,CAC/B,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,+BAAuB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACnD,uCAAuC,CACxC,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
package/sdk/bankaccounts.d.ts
CHANGED
|
@@ -64,7 +64,7 @@ export declare class BankAccounts extends ClientSDK {
|
|
|
64
64
|
*/
|
|
65
65
|
completeMicroDeposits(request: operations.CompleteMicroDepositsRequest, options?: RequestOptions): Promise<operations.CompleteMicroDepositsResponse>;
|
|
66
66
|
/**
|
|
67
|
-
* Retrieve the current status and details of an instant verification, including whether the verification method was instant or same-day
|
|
67
|
+
* Retrieve the current status and details of an instant verification, including whether the verification method was instant (RTP or FedNow) or same-day
|
|
68
68
|
* ACH. This helps track the verification process in real-time and provides details in case of exceptions.
|
|
69
69
|
*
|
|
70
70
|
* The status will indicate the following:
|
|
@@ -82,14 +82,14 @@ export declare class BankAccounts extends ClientSDK {
|
|
|
82
82
|
/**
|
|
83
83
|
* Instant micro-deposit verification offers a quick and efficient way to verify bank account ownership.
|
|
84
84
|
*
|
|
85
|
-
* Send a $0.01 credit with a unique verification code via RTP or same-day ACH, depending on the receiving bank's capabilities. This
|
|
85
|
+
* Send a $0.01 credit with a unique verification code via RTP, FedNow, or same-day ACH, depending on the receiving bank's capabilities. This
|
|
86
86
|
* feature provides a faster alternative to traditional methods, allowing verification in a single session.
|
|
87
87
|
*
|
|
88
88
|
* It is recommended to use the `X-Wait-For: rail-response` header to synchronously receive the outcome of the instant credit in the
|
|
89
89
|
* response payload.
|
|
90
90
|
*
|
|
91
91
|
* Possible verification methods:
|
|
92
|
-
* - `instant`: Real-time verification credit sent via RTP
|
|
92
|
+
* - `instant`: Real-time verification credit sent via RTP or FedNow
|
|
93
93
|
* - `ach`: Verification credit sent via same-day ACH
|
|
94
94
|
*
|
|
95
95
|
* Possible statuses:
|
package/sdk/bankaccounts.js
CHANGED
|
@@ -91,7 +91,7 @@ class BankAccounts extends sdks_js_1.ClientSDK {
|
|
|
91
91
|
return (0, fp_js_1.unwrapAsync)((0, bankAccountsCompleteMicroDeposits_js_1.bankAccountsCompleteMicroDeposits)(this, request, options));
|
|
92
92
|
}
|
|
93
93
|
/**
|
|
94
|
-
* Retrieve the current status and details of an instant verification, including whether the verification method was instant or same-day
|
|
94
|
+
* Retrieve the current status and details of an instant verification, including whether the verification method was instant (RTP or FedNow) or same-day
|
|
95
95
|
* ACH. This helps track the verification process in real-time and provides details in case of exceptions.
|
|
96
96
|
*
|
|
97
97
|
* The status will indicate the following:
|
|
@@ -111,14 +111,14 @@ class BankAccounts extends sdks_js_1.ClientSDK {
|
|
|
111
111
|
/**
|
|
112
112
|
* Instant micro-deposit verification offers a quick and efficient way to verify bank account ownership.
|
|
113
113
|
*
|
|
114
|
-
* Send a $0.01 credit with a unique verification code via RTP or same-day ACH, depending on the receiving bank's capabilities. This
|
|
114
|
+
* Send a $0.01 credit with a unique verification code via RTP, FedNow, or same-day ACH, depending on the receiving bank's capabilities. This
|
|
115
115
|
* feature provides a faster alternative to traditional methods, allowing verification in a single session.
|
|
116
116
|
*
|
|
117
117
|
* It is recommended to use the `X-Wait-For: rail-response` header to synchronously receive the outcome of the instant credit in the
|
|
118
118
|
* response payload.
|
|
119
119
|
*
|
|
120
120
|
* Possible verification methods:
|
|
121
|
-
* - `instant`: Real-time verification credit sent via RTP
|
|
121
|
+
* - `instant`: Real-time verification credit sent via RTP or FedNow
|
|
122
122
|
* - `ach`: Verification credit sent via same-day ACH
|
|
123
123
|
*
|
|
124
124
|
* Possible statuses:
|
|
@@ -25,7 +25,7 @@ import { APICall, APIPromise } from "../types/async.js";
|
|
|
25
25
|
import { Result } from "../types/fp.js";
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
|
-
* Retrieve the current status and details of an instant verification, including whether the verification method was instant or same-day
|
|
28
|
+
* Retrieve the current status and details of an instant verification, including whether the verification method was instant (RTP or FedNow) or same-day
|
|
29
29
|
* ACH. This helps track the verification process in real-time and provides details in case of exceptions.
|
|
30
30
|
*
|
|
31
31
|
* The status will indicate the following:
|
|
@@ -28,14 +28,14 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
/**
|
|
29
29
|
* Instant micro-deposit verification offers a quick and efficient way to verify bank account ownership.
|
|
30
30
|
*
|
|
31
|
-
* Send a $0.01 credit with a unique verification code via RTP or same-day ACH, depending on the receiving bank's capabilities. This
|
|
31
|
+
* Send a $0.01 credit with a unique verification code via RTP, FedNow, or same-day ACH, depending on the receiving bank's capabilities. This
|
|
32
32
|
* feature provides a faster alternative to traditional methods, allowing verification in a single session.
|
|
33
33
|
*
|
|
34
34
|
* It is recommended to use the `X-Wait-For: rail-response` header to synchronously receive the outcome of the instant credit in the
|
|
35
35
|
* response payload.
|
|
36
36
|
*
|
|
37
37
|
* Possible verification methods:
|
|
38
|
-
* - `instant`: Real-time verification credit sent via RTP
|
|
38
|
+
* - `instant`: Real-time verification credit sent via RTP or FedNow
|
|
39
39
|
* - `ach`: Verification credit sent via same-day ACH
|
|
40
40
|
*
|
|
41
41
|
* Possible statuses:
|
package/src/lib/config.ts
CHANGED
|
@@ -73,7 +73,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
73
73
|
export const SDK_METADATA = {
|
|
74
74
|
language: "typescript",
|
|
75
75
|
openapiDocVersion: "latest",
|
|
76
|
-
sdkVersion: "0.22.
|
|
77
|
-
genVersion: "2.
|
|
78
|
-
userAgent: "speakeasy-sdk/typescript 0.22.
|
|
76
|
+
sdkVersion: "0.22.4",
|
|
77
|
+
genVersion: "2.781.2",
|
|
78
|
+
userAgent: "speakeasy-sdk/typescript 0.22.4 2.781.2 latest @moovio/sdk",
|
|
79
79
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -13,7 +13,7 @@ const args = {
|
|
|
13
13
|
export const tool$bankAccountsGetVerification: ToolDefinition<typeof args> = {
|
|
14
14
|
name: "bank-accounts-get-verification",
|
|
15
15
|
description:
|
|
16
|
-
`Retrieve the current status and details of an instant verification, including whether the verification method was instant or same-day
|
|
16
|
+
`Retrieve the current status and details of an instant verification, including whether the verification method was instant (RTP or FedNow) or same-day
|
|
17
17
|
ACH. This helps track the verification process in real-time and provides details in case of exceptions.
|
|
18
18
|
|
|
19
19
|
The status will indicate the following:
|
|
@@ -17,14 +17,14 @@ export const tool$bankAccountsInitiateVerification: ToolDefinition<
|
|
|
17
17
|
description:
|
|
18
18
|
`Instant micro-deposit verification offers a quick and efficient way to verify bank account ownership.
|
|
19
19
|
|
|
20
|
-
Send a $0.01 credit with a unique verification code via RTP or same-day ACH, depending on the receiving bank's capabilities. This
|
|
20
|
+
Send a $0.01 credit with a unique verification code via RTP, FedNow, or same-day ACH, depending on the receiving bank's capabilities. This
|
|
21
21
|
feature provides a faster alternative to traditional methods, allowing verification in a single session.
|
|
22
22
|
|
|
23
23
|
It is recommended to use the \`X-Wait-For: rail-response\` header to synchronously receive the outcome of the instant credit in the
|
|
24
24
|
response payload.
|
|
25
25
|
|
|
26
26
|
Possible verification methods:
|
|
27
|
-
- \`instant\`: Real-time verification credit sent via RTP
|
|
27
|
+
- \`instant\`: Real-time verification credit sent via RTP or FedNow
|
|
28
28
|
- \`ach\`: Verification credit sent via same-day ACH
|
|
29
29
|
|
|
30
30
|
Possible statuses:
|
|
@@ -0,0 +1,94 @@
|
|
|
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
|
+
AmountDecimal,
|
|
11
|
+
AmountDecimal$inboundSchema,
|
|
12
|
+
AmountDecimal$Outbound,
|
|
13
|
+
AmountDecimal$outboundSchema,
|
|
14
|
+
} from "./amountdecimal.js";
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* A detailed breakdown of account fees.
|
|
18
|
+
*/
|
|
19
|
+
export type AccountFees = {
|
|
20
|
+
/**
|
|
21
|
+
* Fees associated with wallet services.
|
|
22
|
+
*/
|
|
23
|
+
walletFee: AmountDecimal;
|
|
24
|
+
/**
|
|
25
|
+
* Fees for PCI compliance.
|
|
26
|
+
*/
|
|
27
|
+
merchantPCIFee: AmountDecimal;
|
|
28
|
+
/**
|
|
29
|
+
* Fees for business verification.
|
|
30
|
+
*/
|
|
31
|
+
kybFee?: AmountDecimal | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Fees for customer verification.
|
|
34
|
+
*/
|
|
35
|
+
kycFee?: AmountDecimal | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Fees for transaction risk monitoring.
|
|
38
|
+
*/
|
|
39
|
+
transactionMonitoringFee?: AmountDecimal | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* Total platform fees.
|
|
42
|
+
*/
|
|
43
|
+
total: AmountDecimal;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const AccountFees$inboundSchema: z.ZodType<
|
|
48
|
+
AccountFees,
|
|
49
|
+
z.ZodTypeDef,
|
|
50
|
+
unknown
|
|
51
|
+
> = z.object({
|
|
52
|
+
walletFee: AmountDecimal$inboundSchema,
|
|
53
|
+
merchantPCIFee: AmountDecimal$inboundSchema,
|
|
54
|
+
kybFee: AmountDecimal$inboundSchema.optional(),
|
|
55
|
+
kycFee: AmountDecimal$inboundSchema.optional(),
|
|
56
|
+
transactionMonitoringFee: AmountDecimal$inboundSchema.optional(),
|
|
57
|
+
total: AmountDecimal$inboundSchema,
|
|
58
|
+
});
|
|
59
|
+
/** @internal */
|
|
60
|
+
export type AccountFees$Outbound = {
|
|
61
|
+
walletFee: AmountDecimal$Outbound;
|
|
62
|
+
merchantPCIFee: AmountDecimal$Outbound;
|
|
63
|
+
kybFee?: AmountDecimal$Outbound | undefined;
|
|
64
|
+
kycFee?: AmountDecimal$Outbound | undefined;
|
|
65
|
+
transactionMonitoringFee?: AmountDecimal$Outbound | undefined;
|
|
66
|
+
total: AmountDecimal$Outbound;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
/** @internal */
|
|
70
|
+
export const AccountFees$outboundSchema: z.ZodType<
|
|
71
|
+
AccountFees$Outbound,
|
|
72
|
+
z.ZodTypeDef,
|
|
73
|
+
AccountFees
|
|
74
|
+
> = z.object({
|
|
75
|
+
walletFee: AmountDecimal$outboundSchema,
|
|
76
|
+
merchantPCIFee: AmountDecimal$outboundSchema,
|
|
77
|
+
kybFee: AmountDecimal$outboundSchema.optional(),
|
|
78
|
+
kycFee: AmountDecimal$outboundSchema.optional(),
|
|
79
|
+
transactionMonitoringFee: AmountDecimal$outboundSchema.optional(),
|
|
80
|
+
total: AmountDecimal$outboundSchema,
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
export function accountFeesToJSON(accountFees: AccountFees): string {
|
|
84
|
+
return JSON.stringify(AccountFees$outboundSchema.parse(accountFees));
|
|
85
|
+
}
|
|
86
|
+
export function accountFeesFromJSON(
|
|
87
|
+
jsonString: string,
|
|
88
|
+
): SafeParseResult<AccountFees, SDKValidationError> {
|
|
89
|
+
return safeParse(
|
|
90
|
+
jsonString,
|
|
91
|
+
(x) => AccountFees$inboundSchema.parse(JSON.parse(x)),
|
|
92
|
+
`Failed to parse 'AccountFees' from JSON`,
|
|
93
|
+
);
|
|
94
|
+
}
|
|
@@ -62,6 +62,31 @@ export type BankAccountException = {
|
|
|
62
62
|
* - MD07: Customer Deceased
|
|
63
63
|
*/
|
|
64
64
|
rtpRejectionCode?: RTPRejectionCode | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* The rejection code of a FedNow transaction that caused the bank account status to change.
|
|
67
|
+
*
|
|
68
|
+
* @remarks
|
|
69
|
+
*
|
|
70
|
+
* - AC02: Debtor account is invalid
|
|
71
|
+
* - AC03: Creditor account is invalid
|
|
72
|
+
* - AC04: Account closed
|
|
73
|
+
* - AC06: Account is blocked
|
|
74
|
+
* - AC07: Creditor account closed
|
|
75
|
+
* - AC10: Debtor account currency is invalid or missing
|
|
76
|
+
* - AC11: Creditor account currency is invalid or missing
|
|
77
|
+
* - AC13: Debtor account type missing or invalid
|
|
78
|
+
* - AC14: Creditor account type missing or invalid
|
|
79
|
+
* - AG01: Transaction is forbidden on this type of account
|
|
80
|
+
* - AG03: Transaction type is not supported/authorized on this account
|
|
81
|
+
* - BE06: End customer specified is not known at associated Sort/National Bank Code or no longer exists in the books
|
|
82
|
+
* - DUPL: Payment is a duplicate of another payment
|
|
83
|
+
* - MD07: End customer is deceased
|
|
84
|
+
* - NOAT: Receiving customer account does not support/accept this message type
|
|
85
|
+
* - RC02: Bank identifier is invalid or missing
|
|
86
|
+
* - RC03: Debtor FI identifier is invalid or missing
|
|
87
|
+
* - RC04: Creditor FI identifier is invalid or missing
|
|
88
|
+
*/
|
|
89
|
+
fednowRejectionCode?: string | undefined;
|
|
65
90
|
/**
|
|
66
91
|
* Details related to an `errored` or `verificationFailed` bank account status.
|
|
67
92
|
*/
|
|
@@ -76,12 +101,14 @@ export const BankAccountException$inboundSchema: z.ZodType<
|
|
|
76
101
|
> = z.object({
|
|
77
102
|
achReturnCode: ACHReturnCode$inboundSchema.optional(),
|
|
78
103
|
rtpRejectionCode: RTPRejectionCode$inboundSchema.optional(),
|
|
104
|
+
fednowRejectionCode: z.string().optional(),
|
|
79
105
|
description: z.string(),
|
|
80
106
|
});
|
|
81
107
|
/** @internal */
|
|
82
108
|
export type BankAccountException$Outbound = {
|
|
83
109
|
achReturnCode?: string | undefined;
|
|
84
110
|
rtpRejectionCode?: string | undefined;
|
|
111
|
+
fednowRejectionCode?: string | undefined;
|
|
85
112
|
description: string;
|
|
86
113
|
};
|
|
87
114
|
|
|
@@ -93,6 +120,7 @@ export const BankAccountException$outboundSchema: z.ZodType<
|
|
|
93
120
|
> = z.object({
|
|
94
121
|
achReturnCode: ACHReturnCode$outboundSchema.optional(),
|
|
95
122
|
rtpRejectionCode: RTPRejectionCode$outboundSchema.optional(),
|
|
123
|
+
fednowRejectionCode: z.string().optional(),
|
|
96
124
|
description: z.string(),
|
|
97
125
|
});
|
|
98
126
|
|
|
@@ -20,6 +20,7 @@ export const BankAccountStatusReason = {
|
|
|
20
20
|
AchDebitReturn: "ach-debit-return",
|
|
21
21
|
AchCreditReturn: "ach-credit-return",
|
|
22
22
|
RtpCreditFailure: "rtp-credit-failure",
|
|
23
|
+
FednowCreditFailure: "fednow-credit-failure",
|
|
23
24
|
MicroDepositReturn: "micro-deposit-return",
|
|
24
25
|
AdminAction: "admin-action",
|
|
25
26
|
Other: "other",
|