@moovio/sdk 0.14.14 → 0.14.16
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 +32 -2
- package/bin/mcp-server.js +419 -392
- package/bin/mcp-server.js.map +31 -32
- package/docs/sdks/accounts/README.md +19 -10
- package/docs/sdks/accountterminalapplications/README.md +4 -0
- package/docs/sdks/adjustments/README.md +2 -0
- package/docs/sdks/applepay/README.md +5 -0
- package/docs/sdks/authentication/README.md +2 -0
- package/docs/sdks/avatars/README.md +1 -0
- package/docs/sdks/bankaccounts/README.md +9 -0
- package/docs/sdks/branding/README.md +4 -0
- package/docs/sdks/capabilities/README.md +4 -0
- package/docs/sdks/cardissuing/README.md +5 -0
- package/docs/sdks/cards/README.md +5 -0
- package/docs/sdks/disputes/README.md +11 -0
- package/docs/sdks/endtoendencryption/README.md +2 -0
- package/docs/sdks/enrichedaddress/README.md +1 -0
- package/docs/sdks/enrichedprofile/README.md +1 -0
- package/docs/sdks/feeplans/README.md +7 -0
- package/docs/sdks/files/README.md +3 -0
- package/docs/sdks/industries/README.md +1 -0
- package/docs/sdks/institutions/README.md +2 -0
- package/docs/sdks/issuingtransactions/README.md +5 -0
- package/docs/sdks/onboarding/README.md +4 -0
- package/docs/sdks/paymentlinks/README.md +6 -0
- package/docs/sdks/paymentmethods/README.md +2 -0
- package/docs/sdks/ping/README.md +1 -0
- package/docs/sdks/receipts/README.md +2 -0
- package/docs/sdks/representatives/README.md +5 -0
- package/docs/sdks/scheduling/README.md +6 -0
- package/docs/sdks/support/README.md +35 -0
- package/docs/sdks/sweeps/README.md +6 -0
- package/docs/sdks/terminalapplications/README.md +5 -0
- package/docs/sdks/transfers/README.md +11 -0
- package/docs/sdks/underwriting/README.md +3 -0
- package/docs/sdks/wallets/README.md +2 -0
- package/docs/sdks/wallettransactions/README.md +2 -0
- package/examples/package-lock.json +1 -1
- package/funcs/accountsCreate.d.ts +1 -1
- package/funcs/accountsCreate.d.ts.map +1 -1
- package/funcs/accountsCreate.js +1 -3
- package/funcs/accountsCreate.js.map +1 -1
- package/funcs/accountsUpdate.d.ts +1 -1
- package/funcs/accountsUpdate.d.ts.map +1 -1
- package/funcs/accountsUpdate.js +1 -3
- package/funcs/accountsUpdate.js.map +1 -1
- package/funcs/supportCreateTicket.d.ts +3 -0
- package/funcs/supportCreateTicket.d.ts.map +1 -1
- package/funcs/supportCreateTicket.js +3 -0
- package/funcs/supportCreateTicket.js.map +1 -1
- package/funcs/supportGetTicket.d.ts +3 -0
- package/funcs/supportGetTicket.d.ts.map +1 -1
- package/funcs/supportGetTicket.js +3 -0
- package/funcs/supportGetTicket.js.map +1 -1
- package/funcs/supportListTicketMessages.d.ts +3 -0
- package/funcs/supportListTicketMessages.d.ts.map +1 -1
- package/funcs/supportListTicketMessages.js +3 -0
- package/funcs/supportListTicketMessages.js.map +1 -1
- package/funcs/supportListTickets.d.ts +3 -0
- package/funcs/supportListTickets.d.ts.map +1 -1
- package/funcs/supportListTickets.js +3 -0
- package/funcs/supportListTickets.js.map +1 -1
- package/funcs/supportUpdateTicket.d.ts +3 -0
- package/funcs/supportUpdateTicket.d.ts.map +1 -1
- package/funcs/supportUpdateTicket.js +3 -0
- package/funcs/supportUpdateTicket.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/mcp-server/tools/supportCreateTicket.d.ts.map +1 -1
- package/mcp-server/tools/supportCreateTicket.js +4 -1
- package/mcp-server/tools/supportCreateTicket.js.map +1 -1
- package/mcp-server/tools/supportGetTicket.d.ts.map +1 -1
- package/mcp-server/tools/supportGetTicket.js +4 -1
- package/mcp-server/tools/supportGetTicket.js.map +1 -1
- package/mcp-server/tools/supportListTicketMessages.d.ts.map +1 -1
- package/mcp-server/tools/supportListTicketMessages.js +4 -1
- package/mcp-server/tools/supportListTicketMessages.js.map +1 -1
- package/mcp-server/tools/supportListTickets.d.ts.map +1 -1
- package/mcp-server/tools/supportListTickets.js +4 -1
- package/mcp-server/tools/supportListTickets.js.map +1 -1
- package/mcp-server/tools/supportUpdateTicket.d.ts.map +1 -1
- package/mcp-server/tools/supportUpdateTicket.js +4 -1
- package/mcp-server/tools/supportUpdateTicket.js.map +1 -1
- package/models/components/index.d.ts +1 -2
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -2
- package/models/components/index.js.map +1 -1
- package/models/components/submissionintent.d.ts +28 -0
- package/models/components/submissionintent.d.ts.map +1 -0
- package/models/components/submissionintent.js +60 -0
- package/models/components/submissionintent.js.map +1 -0
- package/models/components/upsertunderwriting.d.ts +3 -0
- package/models/components/upsertunderwriting.d.ts.map +1 -1
- package/models/components/upsertunderwriting.js +3 -0
- package/models/components/upsertunderwriting.js.map +1 -1
- package/models/errors/createaccounterror.d.ts +64 -0
- package/models/errors/createaccounterror.d.ts.map +1 -0
- package/models/{components → errors}/createaccounterror.js +52 -24
- package/models/errors/createaccounterror.js.map +1 -0
- package/models/errors/index.d.ts +2 -2
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +2 -2
- package/models/errors/index.js.map +1 -1
- package/models/errors/patchaccounterror.d.ts +52 -0
- package/models/errors/patchaccounterror.d.ts.map +1 -0
- package/models/{components → errors}/patchaccounterror.js +48 -24
- package/models/errors/patchaccounterror.js.map +1 -0
- package/package.json +1 -1
- package/sdk/support.d.ts +15 -0
- package/sdk/support.d.ts.map +1 -1
- package/sdk/support.js +15 -0
- package/sdk/support.js.map +1 -1
- package/src/funcs/accountsCreate.ts +4 -6
- package/src/funcs/accountsUpdate.ts +4 -6
- package/src/funcs/supportCreateTicket.ts +3 -0
- package/src/funcs/supportGetTicket.ts +3 -0
- package/src/funcs/supportListTicketMessages.ts +3 -0
- package/src/funcs/supportListTickets.ts +3 -0
- package/src/funcs/supportUpdateTicket.ts +3 -0
- 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/supportCreateTicket.ts +4 -1
- package/src/mcp-server/tools/supportGetTicket.ts +4 -1
- package/src/mcp-server/tools/supportListTicketMessages.ts +4 -1
- package/src/mcp-server/tools/supportListTickets.ts +4 -1
- package/src/mcp-server/tools/supportUpdateTicket.ts +4 -1
- package/src/models/components/index.ts +1 -2
- package/src/models/components/submissionintent.ts +33 -0
- package/src/models/components/upsertunderwriting.ts +9 -0
- package/src/models/errors/createaccounterror.ts +122 -0
- package/src/models/errors/index.ts +2 -2
- package/src/models/errors/patchaccounterror.ts +110 -0
- package/src/sdk/support.ts +15 -0
- package/models/components/createaccounterror.d.ts +0 -51
- package/models/components/createaccounterror.d.ts.map +0 -1
- package/models/components/createaccounterror.js.map +0 -1
- package/models/components/patchaccounterror.d.ts +0 -43
- package/models/components/patchaccounterror.d.ts.map +0 -1
- package/models/components/patchaccounterror.js.map +0 -1
- package/models/errors/createaccount.d.ts +0 -43
- package/models/errors/createaccount.d.ts.map +0 -1
- package/models/errors/createaccount.js +0 -89
- package/models/errors/createaccount.js.map +0 -1
- package/models/errors/updateaccount.d.ts +0 -43
- package/models/errors/updateaccount.d.ts.map +0 -1
- package/models/errors/updateaccount.js +0 -89
- package/models/errors/updateaccount.js.map +0 -1
- package/src/models/components/createaccounterror.ts +0 -118
- package/src/models/components/patchaccounterror.ts +0 -110
- package/src/models/errors/createaccount.ts +0 -86
- package/src/models/errors/updateaccount.ts +0 -86
|
@@ -133,7 +133,6 @@ __exportStar(require("./completemicrodeposits.js"), exports);
|
|
|
133
133
|
__exportStar(require("./contact.js"), exports);
|
|
134
134
|
__exportStar(require("./countrieserrors.js"), exports);
|
|
135
135
|
__exportStar(require("./createaccount.js"), exports);
|
|
136
|
-
__exportStar(require("./createaccounterror.js"), exports);
|
|
137
136
|
__exportStar(require("./createaccountsettings.js"), exports);
|
|
138
137
|
__exportStar(require("./createaccounttype.js"), exports);
|
|
139
138
|
__exportStar(require("./createapplepaysession.js"), exports);
|
|
@@ -288,7 +287,6 @@ __exportStar(require("./partialscheduleaccount.js"), exports);
|
|
|
288
287
|
__exportStar(require("./partnerpricing.js"), exports);
|
|
289
288
|
__exportStar(require("./partnerpricingagreement.js"), exports);
|
|
290
289
|
__exportStar(require("./patchaccount.js"), exports);
|
|
291
|
-
__exportStar(require("./patchaccounterror.js"), exports);
|
|
292
290
|
__exportStar(require("./patchbusiness.js"), exports);
|
|
293
291
|
__exportStar(require("./patchindividual.js"), exports);
|
|
294
292
|
__exportStar(require("./patchprofile.js"), exports);
|
|
@@ -370,6 +368,7 @@ __exportStar(require("./sendfundsrtperror.js"), exports);
|
|
|
370
368
|
__exportStar(require("./sentreceipt.js"), exports);
|
|
371
369
|
__exportStar(require("./settings.js"), exports);
|
|
372
370
|
__exportStar(require("./sourcedestinationoptions.js"), exports);
|
|
371
|
+
__exportStar(require("./submissionintent.js"), exports);
|
|
373
372
|
__exportStar(require("./sweep.js"), exports);
|
|
374
373
|
__exportStar(require("./sweepconfig.js"), exports);
|
|
375
374
|
__exportStar(require("./sweepconfigpaymentmethod.js"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,+CAA6B;AAC7B,yDAAuC;AACvC,wDAAsC;AACtC,+DAA6C;AAC7C,kEAAgD;AAChD,mDAAiC;AACjC,iEAA+C;AAC/C,qEAAmD;AACnD,sEAAoD;AACpD,oEAAkD;AAClD,iEAA+C;AAC/C,oDAAkC;AAClC,sDAAoC;AACpC,mDAAiC;AACjC,sDAAoC;AACpC,yDAAuC;AACvC,8DAA4C;AAC5C,0DAAwC;AACxC,qDAAmC;AACnC,6DAA2C;AAC3C,4DAA0C;AAC1C,uDAAqC;AACrC,+CAA6B;AAC7B,oDAAkC;AAClC,yDAAuC;AACvC,qDAAmC;AACnC,kDAAgC;AAChC,8CAA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qD;AACrD,8DAA4C;AAC5C,6DAA2C;AAC3C,+CAA6B;AAC7B,uDAAqC;AACrC,qDAAmC;AACnC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,+CAA6B;AAC7B,yDAAuC;AACvC,wDAAsC;AACtC,+DAA6C;AAC7C,kEAAgD;AAChD,mDAAiC;AACjC,iEAA+C;AAC/C,qEAAmD;AACnD,sEAAoD;AACpD,oEAAkD;AAClD,iEAA+C;AAC/C,oDAAkC;AAClC,sDAAoC;AACpC,mDAAiC;AACjC,sDAAoC;AACpC,yDAAuC;AACvC,8DAA4C;AAC5C,0DAAwC;AACxC,qDAAmC;AACnC,6DAA2C;AAC3C,4DAA0C;AAC1C,uDAAqC;AACrC,+CAA6B;AAC7B,oDAAkC;AAClC,yDAAuC;AACvC,qDAAmC;AACnC,kDAAgC;AAChC,8CAA4B;AAC5B,qDAAmC;AACnC,oDAAkC;AAClC,6DAA2C;AAC3C,2DAAyC;AACzC,sDAAoC;AACpC,+DAA6C;AAC7C,6DAA2C;AAC3C,wDAAsC;AACtC,wDAAsC;AACtC,0DAAwC;AACxC,qDAAmC;AACnC,sDAAoC;AACpC,iDAA+B;AAC/B,wDAAsC;AACtC,mDAAiC;AACjC,4DAA0C;AAC1C,6DAA2C;AAC3C,8DAA4C;AAC5C,0DAAwC;AACxC,yDAAuC;AACvC,+DAA6C;AAC7C,uDAAqC;AACrC,+DAA6C;AAC7C,sEAAoD;AACpD,qEAAmD;AACnD,qEAAmD;AACnD,0DAAwC;AACxC,0DAAwC;AACxC,mDAAiC;AACjC,iDAA+B;AAC/B,sDAAoC;AACpC,uDAAqC;AACrC,gEAA8C;AAC9C,kDAAgC;AAChC,mDAAiC;AACjC,iEAA+C;AAC/C,uDAAqC;AACrC,wDAAsC;AACtC,uDAAqC;AACrC,oDAAkC;AAClC,oDAAkC;AAClC,oDAAkC;AACl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C,sDAAoC;AACpC,0DAAwC;AACxC,oDAAkC;AAClC,0DAAwC;AACxC,gEAA8C;AAC9C,4DAA0C;AAC1C,iEAA+C;AAC/C,iEAA+C;AAC/C,sEAAoD;AACpD,8CAA4B;AAC5B,8DAA4C;AAC5C,yDAAuC;AACvC,mEAAiD;AACjD,+DAA6C;AAC7C,6DAA2C;AAC3C,mDAAiC;AACjC,iEAA+C;AAC/C,iEAA+C;AAC/C,iEAA+C;AAC/C,iEAA+C;AAC/C,qEAAmD;AACnD,qEAAmD;AACnD,qEAAmD;AACnD,sEAAoD;AACpD,sEAAoD;AACpD,sEAAoD;AACpD,oEAAkD;AAClD,kEAAgD;AAChD,iEAA+C;AAC/C,iEAA+C;AAC/C,mEAAiD;AACjD,wEAAsD;AACtD,uEAAqD;AACrD,gEAA8C;AAC9C,gEAA8C;AAC9C,wEAAsD;AACtD,yEAAuD;AACvD,wEAAsD;AACtD,+DAA6C;AAC7C,+DAA6C;AAC7C,6EAA2D;AAC3D,6EAA2D;AAC3D,kEAAgD;AAChD,iEAA+C;AAC/C,kEAAgD;AAChD,2EAAyD;AACzD,oDAAkC;AAClC,wDAAsC;AACtC,2EAAyD;AACzD,uDAAqC;AACrC,oDAAkC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
export declare const SubmissionIntent: {
|
|
4
|
+
readonly Wait: "wait";
|
|
5
|
+
readonly Submit: "submit";
|
|
6
|
+
};
|
|
7
|
+
export type SubmissionIntent = ClosedEnum<typeof SubmissionIntent>;
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare const SubmissionIntent$inboundSchema: z.ZodNativeEnum<typeof SubmissionIntent>;
|
|
10
|
+
/** @internal */
|
|
11
|
+
export declare const SubmissionIntent$outboundSchema: z.ZodNativeEnum<typeof SubmissionIntent>;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
15
|
+
*/
|
|
16
|
+
export declare namespace SubmissionIntent$ {
|
|
17
|
+
/** @deprecated use `SubmissionIntent$inboundSchema` instead. */
|
|
18
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
19
|
+
readonly Wait: "wait";
|
|
20
|
+
readonly Submit: "submit";
|
|
21
|
+
}>;
|
|
22
|
+
/** @deprecated use `SubmissionIntent$outboundSchema` instead. */
|
|
23
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
24
|
+
readonly Wait: "wait";
|
|
25
|
+
readonly Submit: "submit";
|
|
26
|
+
}>;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=submissionintent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"submissionintent.d.ts","sourceRoot":"","sources":["../../src/models/components/submissionintent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,gBAAgB;;;CAGnB,CAAC;AACX,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEnE,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,aAAa,CAC1D,OAAO,gBAAgB,CACS,CAAC;AAEnC,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,aAAa,CAC3D,OAAO,gBAAgB,CACS,CAAC;AAEnC;;;GAGG;AACH,yBAAiB,iBAAiB,CAAC;IACjC,gEAAgE;IACzD,MAAM,aAAa;;;MAAiC,CAAC;IAC5D,iEAAiE;IAC1D,MAAM,cAAc;;;MAAkC,CAAC;CAC/D"}
|
|
@@ -0,0 +1,60 @@
|
|
|
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.SubmissionIntent$ = exports.SubmissionIntent$outboundSchema = exports.SubmissionIntent$inboundSchema = exports.SubmissionIntent = void 0;
|
|
40
|
+
const z = __importStar(require("zod"));
|
|
41
|
+
exports.SubmissionIntent = {
|
|
42
|
+
Wait: "wait",
|
|
43
|
+
Submit: "submit",
|
|
44
|
+
};
|
|
45
|
+
/** @internal */
|
|
46
|
+
exports.SubmissionIntent$inboundSchema = z.nativeEnum(exports.SubmissionIntent);
|
|
47
|
+
/** @internal */
|
|
48
|
+
exports.SubmissionIntent$outboundSchema = exports.SubmissionIntent$inboundSchema;
|
|
49
|
+
/**
|
|
50
|
+
* @internal
|
|
51
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
52
|
+
*/
|
|
53
|
+
var SubmissionIntent$;
|
|
54
|
+
(function (SubmissionIntent$) {
|
|
55
|
+
/** @deprecated use `SubmissionIntent$inboundSchema` instead. */
|
|
56
|
+
SubmissionIntent$.inboundSchema = exports.SubmissionIntent$inboundSchema;
|
|
57
|
+
/** @deprecated use `SubmissionIntent$outboundSchema` instead. */
|
|
58
|
+
SubmissionIntent$.outboundSchema = exports.SubmissionIntent$outboundSchema;
|
|
59
|
+
})(SubmissionIntent$ || (exports.SubmissionIntent$ = SubmissionIntent$ = {}));
|
|
60
|
+
//# sourceMappingURL=submissionintent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"submissionintent.js","sourceRoot":"","sources":["../../src/models/components/submissionintent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGZ,QAAA,gBAAgB,GAAG;IAC9B,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;CACR,CAAC;AAGX,gBAAgB;AACH,QAAA,8BAA8B,GAEvC,CAAC,CAAC,UAAU,CAAC,wBAAgB,CAAC,CAAC;AAEnC,gBAAgB;AACH,QAAA,+BAA+B,GAExC,sCAA8B,CAAC;AAEnC;;;GAGG;AACH,IAAiB,iBAAiB,CAKjC;AALD,WAAiB,iBAAiB;IAChC,gEAAgE;IACnD,+BAAa,GAAG,sCAA8B,CAAC;IAC5D,iEAAiE;IACpD,gCAAc,GAAG,uCAA+B,CAAC;AAChE,CAAC,EALgB,iBAAiB,iCAAjB,iBAAiB,QAKjC"}
|
|
@@ -7,6 +7,7 @@ import { GeographicReach } from "./geographicreach.js";
|
|
|
7
7
|
import { MoneyTransfer, MoneyTransfer$Outbound } from "./moneytransfer.js";
|
|
8
8
|
import { PendingLitigation } from "./pendinglitigation.js";
|
|
9
9
|
import { SendFunds, SendFunds$Outbound } from "./sendfunds.js";
|
|
10
|
+
import { SubmissionIntent } from "./submissionintent.js";
|
|
10
11
|
import { VolumeShareByCustomerType, VolumeShareByCustomerType$Outbound } from "./volumesharebycustomertype.js";
|
|
11
12
|
export type UpsertUnderwriting = {
|
|
12
13
|
geographicReach?: GeographicReach | undefined;
|
|
@@ -16,6 +17,7 @@ export type UpsertUnderwriting = {
|
|
|
16
17
|
collectFunds?: CollectFunds | undefined;
|
|
17
18
|
moneyTransfer?: MoneyTransfer | undefined;
|
|
18
19
|
sendFunds?: SendFunds | undefined;
|
|
20
|
+
submissionIntent?: SubmissionIntent | undefined;
|
|
19
21
|
};
|
|
20
22
|
/** @internal */
|
|
21
23
|
export declare const UpsertUnderwriting$inboundSchema: z.ZodType<UpsertUnderwriting, z.ZodTypeDef, unknown>;
|
|
@@ -28,6 +30,7 @@ export type UpsertUnderwriting$Outbound = {
|
|
|
28
30
|
collectFunds?: CollectFunds$Outbound | undefined;
|
|
29
31
|
moneyTransfer?: MoneyTransfer$Outbound | undefined;
|
|
30
32
|
sendFunds?: SendFunds$Outbound | undefined;
|
|
33
|
+
submissionIntent?: string | undefined;
|
|
31
34
|
};
|
|
32
35
|
/** @internal */
|
|
33
36
|
export declare const UpsertUnderwriting$outboundSchema: z.ZodType<UpsertUnderwriting$Outbound, z.ZodTypeDef, UpsertUnderwriting>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upsertunderwriting.d.ts","sourceRoot":"","sources":["../../src/models/components/upsertunderwriting.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,gBAAgB,EAGjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,YAAY,EAEZ,qBAAqB,EAEtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,eAAe,EAGhB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,iBAAiB,EAGlB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,SAAS,EAET,kBAAkB,EAEnB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,yBAAyB,EAEzB,kCAAkC,EAEnC,MAAM,gCAAgC,CAAC;AAExC,MAAM,MAAM,kBAAkB,GAAG;IAC/B,eAAe,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IAC9C,gBAAgB,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAChD,iBAAiB,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAClD,yBAAyB,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;IAClE,YAAY,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IACxC,aAAa,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IAC1C,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"upsertunderwriting.d.ts","sourceRoot":"","sources":["../../src/models/components/upsertunderwriting.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,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ACtC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,yBAAyB,CAAC,EAAE,kCAAkC,GAAG,SAAS,CAAC;IAC3E,YAAY,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;IACjD,aAAa,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;IACnD,SAAS,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAC3C,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,kBAAkB,CAWlB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,mBAAmB,CAAC;IACnC,kEAAkE;IAC3D,MAAM,aAAa,sDAAmC,CAAC;IAC9D,mEAAmE;IAC5D,MAAM,cAAc,0EAAoC,CAAC;IAChE,6DAA6D;IAC7D,KAAY,QAAQ,GAAG,2BAA2B,CAAC;CACpD;AAED,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR;AAED,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
|
|
@@ -47,6 +47,7 @@ const geographicreach_js_1 = require("./geographicreach.js");
|
|
|
47
47
|
const moneytransfer_js_1 = require("./moneytransfer.js");
|
|
48
48
|
const pendinglitigation_js_1 = require("./pendinglitigation.js");
|
|
49
49
|
const sendfunds_js_1 = require("./sendfunds.js");
|
|
50
|
+
const submissionintent_js_1 = require("./submissionintent.js");
|
|
50
51
|
const volumesharebycustomertype_js_1 = require("./volumesharebycustomertype.js");
|
|
51
52
|
/** @internal */
|
|
52
53
|
exports.UpsertUnderwriting$inboundSchema = z.object({
|
|
@@ -57,6 +58,7 @@ exports.UpsertUnderwriting$inboundSchema = z.object({
|
|
|
57
58
|
collectFunds: collectfunds_js_1.CollectFunds$inboundSchema.optional(),
|
|
58
59
|
moneyTransfer: moneytransfer_js_1.MoneyTransfer$inboundSchema.optional(),
|
|
59
60
|
sendFunds: sendfunds_js_1.SendFunds$inboundSchema.optional(),
|
|
61
|
+
submissionIntent: submissionintent_js_1.SubmissionIntent$inboundSchema.optional(),
|
|
60
62
|
});
|
|
61
63
|
/** @internal */
|
|
62
64
|
exports.UpsertUnderwriting$outboundSchema = z.object({
|
|
@@ -68,6 +70,7 @@ exports.UpsertUnderwriting$outboundSchema = z.object({
|
|
|
68
70
|
collectFunds: collectfunds_js_1.CollectFunds$outboundSchema.optional(),
|
|
69
71
|
moneyTransfer: moneytransfer_js_1.MoneyTransfer$outboundSchema.optional(),
|
|
70
72
|
sendFunds: sendfunds_js_1.SendFunds$outboundSchema.optional(),
|
|
73
|
+
submissionIntent: submissionintent_js_1.SubmissionIntent$outboundSchema.optional(),
|
|
71
74
|
});
|
|
72
75
|
/**
|
|
73
76
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upsertunderwriting.js","sourceRoot":"","sources":["../../src/models/components/upsertunderwriting.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"upsertunderwriting.js","sourceRoot":"","sources":["../../src/models/components/upsertunderwriting.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwHH,4DAMC;AAED,gEAQC;AAtID,uCAAyB;AACzB,qDAAiD;AAGjD,+DAI+B;AAC/B,uDAK2B;AAC3B,6DAI8B;AAC9B,yDAK4B;AAC5B,iEAIgC;AAChC,iDAKwB;AACxB,+DAI+B;AAC/B,iFAKwC;AAaxC,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,eAAe,EAAE,kDAA6B,CAAC,QAAQ,EAAE;I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AAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import * as components from "../components/index.js";
|
|
3
|
+
import { MoovError } from "./mooverror.js";
|
|
4
|
+
export type CreateAccountErrorData = {
|
|
5
|
+
accountType?: string | undefined;
|
|
6
|
+
profile?: components.CreateProfileError | undefined;
|
|
7
|
+
metadata?: string | undefined;
|
|
8
|
+
termsOfService?: components.TermsOfServiceError | undefined;
|
|
9
|
+
foreignID?: string | undefined;
|
|
10
|
+
customerSupport?: components.CustomerSupportError | undefined;
|
|
11
|
+
settings?: components.CreateAccountSettings | undefined;
|
|
12
|
+
capabilities?: {
|
|
13
|
+
[k: string]: string;
|
|
14
|
+
} | undefined;
|
|
15
|
+
};
|
|
16
|
+
export declare class CreateAccountError extends MoovError {
|
|
17
|
+
accountType?: string | undefined;
|
|
18
|
+
profile?: components.CreateProfileError | undefined;
|
|
19
|
+
metadata?: string | undefined;
|
|
20
|
+
termsOfService?: components.TermsOfServiceError | undefined;
|
|
21
|
+
foreignID?: string | undefined;
|
|
22
|
+
customerSupport?: components.CustomerSupportError | undefined;
|
|
23
|
+
settings?: components.CreateAccountSettings | undefined;
|
|
24
|
+
capabilities?: {
|
|
25
|
+
[k: string]: string;
|
|
26
|
+
} | undefined;
|
|
27
|
+
/** The original data that was passed to this error instance. */
|
|
28
|
+
data$: CreateAccountErrorData;
|
|
29
|
+
constructor(err: CreateAccountErrorData, httpMeta: {
|
|
30
|
+
response: Response;
|
|
31
|
+
request: Request;
|
|
32
|
+
body: string;
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
/** @internal */
|
|
36
|
+
export declare const CreateAccountError$inboundSchema: z.ZodType<CreateAccountError, z.ZodTypeDef, unknown>;
|
|
37
|
+
/** @internal */
|
|
38
|
+
export type CreateAccountError$Outbound = {
|
|
39
|
+
accountType?: string | undefined;
|
|
40
|
+
profile?: components.CreateProfileError$Outbound | undefined;
|
|
41
|
+
metadata?: string | undefined;
|
|
42
|
+
termsOfService?: components.TermsOfServiceError$Outbound | undefined;
|
|
43
|
+
foreignID?: string | undefined;
|
|
44
|
+
customerSupport?: components.CustomerSupportError$Outbound | undefined;
|
|
45
|
+
settings?: components.CreateAccountSettings$Outbound | undefined;
|
|
46
|
+
capabilities?: {
|
|
47
|
+
[k: string]: string;
|
|
48
|
+
} | undefined;
|
|
49
|
+
};
|
|
50
|
+
/** @internal */
|
|
51
|
+
export declare const CreateAccountError$outboundSchema: z.ZodType<CreateAccountError$Outbound, z.ZodTypeDef, CreateAccountError>;
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
55
|
+
*/
|
|
56
|
+
export declare namespace CreateAccountError$ {
|
|
57
|
+
/** @deprecated use `CreateAccountError$inboundSchema` instead. */
|
|
58
|
+
const inboundSchema: z.ZodType<CreateAccountError, z.ZodTypeDef, unknown>;
|
|
59
|
+
/** @deprecated use `CreateAccountError$outboundSchema` instead. */
|
|
60
|
+
const outboundSchema: z.ZodType<CreateAccountError$Outbound, z.ZodTypeDef, CreateAccountError>;
|
|
61
|
+
/** @deprecated use `CreateAccountError$Outbound` instead. */
|
|
62
|
+
type Outbound = CreateAccountError$Outbound;
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=createaccounterror.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createaccounterror.d.ts","sourceRoot":"","sources":["../../src/models/errors/createaccounterror.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB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,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;CAkBnE;AAED,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CAoBL,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,2BAA2B,GAAG;IACxC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,OAAO,CAAC,EAAE,UAAU,CAAC,2BAA2B,GAAG,SAAS,CAAC;IAC7D,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,cAAc,CAAC,EAAE,UAAU,CAAC,4BAA4B,GAAG,SAAS,CAAC;IACrE,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,eAAe,CAAC,EAAE,UAAU,CAAC,6BAA6B,GAAG,SAAS,CAAC;IACvE,QAAQ,CAAC,EAAE,UAAU,CAAC,8BAA8B,GAAG,SAAS,CAAC;IACjE,YAAY,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;CACpD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,kBAAkB,CAYf,CAAC;AAEN;;;GAGG;AACH,yBAAiB,mBAAmB,CAAC;IACnC,kEAAkE;IAC3D,MAAM,aAAa,sDAAmC,CAAC;IAC9D,mEAAmE;IAC5D,MAAM,cAAc,0EAAoC,CAAC;IAChE,6DAA6D;IAC7D,KAAY,QAAQ,GAAG,2BAA2B,CAAC;CACpD"}
|
|
@@ -36,37 +36,71 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.CreateAccountError$ = exports.CreateAccountError$outboundSchema = exports.CreateAccountError$inboundSchema = void 0;
|
|
40
|
-
exports.createAccountErrorToJSON = createAccountErrorToJSON;
|
|
41
|
-
exports.createAccountErrorFromJSON = createAccountErrorFromJSON;
|
|
39
|
+
exports.CreateAccountError$ = exports.CreateAccountError$outboundSchema = exports.CreateAccountError$inboundSchema = exports.CreateAccountError = void 0;
|
|
42
40
|
const z = __importStar(require("zod"));
|
|
43
|
-
const
|
|
44
|
-
const
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
const
|
|
41
|
+
const components = __importStar(require("../components/index.js"));
|
|
42
|
+
const mooverror_js_1 = require("./mooverror.js");
|
|
43
|
+
class CreateAccountError extends mooverror_js_1.MoovError {
|
|
44
|
+
constructor(err, httpMeta) {
|
|
45
|
+
const message = "message" in err && typeof err.message === "string"
|
|
46
|
+
? err.message
|
|
47
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
48
|
+
super(message, httpMeta);
|
|
49
|
+
this.data$ = err;
|
|
50
|
+
if (err.accountType != null)
|
|
51
|
+
this.accountType = err.accountType;
|
|
52
|
+
if (err.profile != null)
|
|
53
|
+
this.profile = err.profile;
|
|
54
|
+
if (err.metadata != null)
|
|
55
|
+
this.metadata = err.metadata;
|
|
56
|
+
if (err.termsOfService != null)
|
|
57
|
+
this.termsOfService = err.termsOfService;
|
|
58
|
+
if (err.foreignID != null)
|
|
59
|
+
this.foreignID = err.foreignID;
|
|
60
|
+
if (err.customerSupport != null)
|
|
61
|
+
this.customerSupport = err.customerSupport;
|
|
62
|
+
if (err.settings != null)
|
|
63
|
+
this.settings = err.settings;
|
|
64
|
+
if (err.capabilities != null)
|
|
65
|
+
this.capabilities = err.capabilities;
|
|
66
|
+
this.name = "CreateAccountError";
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.CreateAccountError = CreateAccountError;
|
|
48
70
|
/** @internal */
|
|
49
71
|
exports.CreateAccountError$inboundSchema = z.object({
|
|
50
72
|
accountType: z.string().optional(),
|
|
51
|
-
profile:
|
|
73
|
+
profile: components.CreateProfileError$inboundSchema.optional(),
|
|
52
74
|
metadata: z.string().optional(),
|
|
53
|
-
termsOfService:
|
|
75
|
+
termsOfService: components.TermsOfServiceError$inboundSchema.optional(),
|
|
54
76
|
foreignID: z.string().optional(),
|
|
55
|
-
customerSupport:
|
|
56
|
-
settings:
|
|
77
|
+
customerSupport: components.CustomerSupportError$inboundSchema.optional(),
|
|
78
|
+
settings: components.CreateAccountSettings$inboundSchema.optional(),
|
|
57
79
|
capabilities: z.record(z.string()).optional(),
|
|
80
|
+
request$: z.instanceof(Request),
|
|
81
|
+
response$: z.instanceof(Response),
|
|
82
|
+
body$: z.string(),
|
|
83
|
+
})
|
|
84
|
+
.transform((v) => {
|
|
85
|
+
return new CreateAccountError(v, {
|
|
86
|
+
request: v.request$,
|
|
87
|
+
response: v.response$,
|
|
88
|
+
body: v.body$,
|
|
89
|
+
});
|
|
58
90
|
});
|
|
59
91
|
/** @internal */
|
|
60
|
-
exports.CreateAccountError$outboundSchema = z.
|
|
92
|
+
exports.CreateAccountError$outboundSchema = z.instanceof(CreateAccountError)
|
|
93
|
+
.transform(v => v.data$)
|
|
94
|
+
.pipe(z.object({
|
|
61
95
|
accountType: z.string().optional(),
|
|
62
|
-
profile:
|
|
96
|
+
profile: components.CreateProfileError$outboundSchema.optional(),
|
|
63
97
|
metadata: z.string().optional(),
|
|
64
|
-
termsOfService:
|
|
98
|
+
termsOfService: components.TermsOfServiceError$outboundSchema.optional(),
|
|
65
99
|
foreignID: z.string().optional(),
|
|
66
|
-
customerSupport:
|
|
67
|
-
settings:
|
|
100
|
+
customerSupport: components.CustomerSupportError$outboundSchema.optional(),
|
|
101
|
+
settings: components.CreateAccountSettings$outboundSchema.optional(),
|
|
68
102
|
capabilities: z.record(z.string()).optional(),
|
|
69
|
-
});
|
|
103
|
+
}));
|
|
70
104
|
/**
|
|
71
105
|
* @internal
|
|
72
106
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
@@ -78,10 +112,4 @@ var CreateAccountError$;
|
|
|
78
112
|
/** @deprecated use `CreateAccountError$outboundSchema` instead. */
|
|
79
113
|
CreateAccountError$.outboundSchema = exports.CreateAccountError$outboundSchema;
|
|
80
114
|
})(CreateAccountError$ || (exports.CreateAccountError$ = CreateAccountError$ = {}));
|
|
81
|
-
function createAccountErrorToJSON(createAccountError) {
|
|
82
|
-
return JSON.stringify(exports.CreateAccountError$outboundSchema.parse(createAccountError));
|
|
83
|
-
}
|
|
84
|
-
function createAccountErrorFromJSON(jsonString) {
|
|
85
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateAccountError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateAccountError' from JSON`);
|
|
86
|
-
}
|
|
87
115
|
//# sourceMappingURL=createaccounterror.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createaccounterror.js","sourceRoot":"","sources":["../../src/models/errors/createaccounterror.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,mEAAqD;AACrD,iDAA2C;AAa3C,MAAa,kBAAmB,SAAQ,wBAAS;IAa/C,YACE,GAA2B,EAC3B,QAAgE;QAEhE,MAAM,OAAO,GAAG,SAAS,IAAI,GAAG,IAAI,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ;YACjE,CAAC,CAAC,GAAG,CAAC,OAAO;YACb,CAAC,CAAC,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QACjD,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QACjB,IAAI,GAAG,CAAC,WAAW,IAAI,IAAI;YAAE,IAAI,CAAC,WAAW,GAAG,GAAG,CAAC,WAAW,CAAC;QAChE,IAAI,GAAG,CAAC,OAAO,IAAI,IAAI;Y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D,WAAiB,mBAAmB;IAClC,kEAAkE;IACrD,iCAAa,GAAG,wCAAgC,CAAC;IAC9D,mEAAmE;IACtD,kCAAc,GAAG,yCAAiC,CAAC;AAGlE,CAAC,EAPgB,mBAAmB,mCAAnB,mBAAmB,QAOnC"}
|
package/models/errors/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export * from "./authtokenrequesterror.js";
|
|
|
6
6
|
export * from "./bankaccountvalidationerror.js";
|
|
7
7
|
export * from "./brandvalidationerror.js";
|
|
8
8
|
export * from "./cardacquiringrefund.js";
|
|
9
|
-
export * from "./
|
|
9
|
+
export * from "./createaccounterror.js";
|
|
10
10
|
export * from "./createpaymentlinkerror.js";
|
|
11
11
|
export * from "./createsweepconfigerror.js";
|
|
12
12
|
export * from "./createticketerror.js";
|
|
@@ -19,6 +19,7 @@ export * from "./linkapplepayerror.js";
|
|
|
19
19
|
export * from "./linkcarderror.js";
|
|
20
20
|
export * from "./microdepositvalidationerror.js";
|
|
21
21
|
export * from "./onboardinginviteerror.js";
|
|
22
|
+
export * from "./patchaccounterror.js";
|
|
22
23
|
export * from "./patchsweepconfigerror.js";
|
|
23
24
|
export * from "./refundvalidationerror.js";
|
|
24
25
|
export * from "./representativevalidationerror.js";
|
|
@@ -32,7 +33,6 @@ export * from "./terminalapplicationerror.js";
|
|
|
32
33
|
export * from "./transfer.js";
|
|
33
34
|
export * from "./transferoptionsvalidationerror.js";
|
|
34
35
|
export * from "./transfervalidationerror.js";
|
|
35
|
-
export * from "./updateaccount.js";
|
|
36
36
|
export * from "./updatecarderror.js";
|
|
37
37
|
export * from "./updateissuedcarderror.js";
|
|
38
38
|
export * from "./updatepaymentlinkerror.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/errors/index.ts"],"names":[],"mappings":"AAIA,cAAc,sCAAsC,CAAC;AACrD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,eAAe,CAAC;AAC9B,cAA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AA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC"}
|
package/models/errors/index.js
CHANGED
|
@@ -25,7 +25,7 @@ __exportStar(require("./authtokenrequesterror.js"), exports);
|
|
|
25
25
|
__exportStar(require("./bankaccountvalidationerror.js"), exports);
|
|
26
26
|
__exportStar(require("./brandvalidationerror.js"), exports);
|
|
27
27
|
__exportStar(require("./cardacquiringrefund.js"), exports);
|
|
28
|
-
__exportStar(require("./
|
|
28
|
+
__exportStar(require("./createaccounterror.js"), exports);
|
|
29
29
|
__exportStar(require("./createpaymentlinkerror.js"), exports);
|
|
30
30
|
__exportStar(require("./createsweepconfigerror.js"), exports);
|
|
31
31
|
__exportStar(require("./createticketerror.js"), exports);
|
|
@@ -38,6 +38,7 @@ __exportStar(require("./linkapplepayerror.js"), exports);
|
|
|
38
38
|
__exportStar(require("./linkcarderror.js"), exports);
|
|
39
39
|
__exportStar(require("./microdepositvalidationerror.js"), exports);
|
|
40
40
|
__exportStar(require("./onboardinginviteerror.js"), exports);
|
|
41
|
+
__exportStar(require("./patchaccounterror.js"), exports);
|
|
41
42
|
__exportStar(require("./patchsweepconfigerror.js"), exports);
|
|
42
43
|
__exportStar(require("./refundvalidationerror.js"), exports);
|
|
43
44
|
__exportStar(require("./representativevalidationerror.js"), exports);
|
|
@@ -51,7 +52,6 @@ __exportStar(require("./terminalapplicationerror.js"), exports);
|
|
|
51
52
|
__exportStar(require("./transfer.js"), exports);
|
|
52
53
|
__exportStar(require("./transferoptionsvalidationerror.js"), exports);
|
|
53
54
|
__exportStar(require("./transfervalidationerror.js"), exports);
|
|
54
|
-
__exportStar(require("./updateaccount.js"), exports);
|
|
55
55
|
__exportStar(require("./updatecarderror.js"), exports);
|
|
56
56
|
__exportStar(require("./updateissuedcarderror.js"), exports);
|
|
57
57
|
__exportStar(require("./updatepaymentlinkerror.js"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/errors/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,uEAAqD;AACrD,4DAA0C;AAC1C,gDAA8B;AAC9B,4DAA0C;AAC1C,6DAA2C;AAC3C,kEAAgD;AAChD,4DAA0C;AAC1C,2DAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/errors/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,uEAAqD;AACrD,4DAA0C;AAC1C,gDAA8B;AAC9B,4DAA0C;AAC1C,6DAA2C;AAC3C,kEAAgD;AAChD,4DAA0C;AAC1C,2DAAyC;AACzC,0DAAwC;AACxC,8DAA4C;AAC5C,8DAA4C;AAC5C,yDAAuC;AACvC,6DAA2C;AAC3C,iEAA+C;AAC/C,2DAAyC;AACzC,oDAAkC;AAClC,wDAAsC;AACtC,yDAAuC;AACvC,qDAAmC;AACnC,mEAAiD;AACjD,6DAA2C;AAC3C,yDAAuC;AACvC,6DAA2C;AAC3C,6DAA2C;AAC3C,qEAAmD;AACnD,wDAAsC;AACtC,+DAA6C;AAC7C,+DAA6C;AAC7C,+DAA6C;AAC7C,+DAA6C;AAC7C,0DAAwC;AACxC,gEAA8C;AAC9C,gDAA8B;AAC9B,sEAAoD;AACpD,+DAA6C;AAC7C,uDAAqC;AACrC,6DAA2C;AAC3C,8DAA4C;AAC5C,yDAAuC;AACvC,+DAA6C;AAC7C,+DAA6C"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import * as components from "../components/index.js";
|
|
3
|
+
import { MoovError } from "./mooverror.js";
|
|
4
|
+
export type PatchAccountErrorData = {
|
|
5
|
+
profile?: components.CreateProfileError | undefined;
|
|
6
|
+
metadata?: string | undefined;
|
|
7
|
+
termsOfService?: components.TermsOfServiceError | undefined;
|
|
8
|
+
foreignID?: string | undefined;
|
|
9
|
+
customerSupport?: components.CustomerSupportError | undefined;
|
|
10
|
+
settings?: components.CreateAccountSettings | undefined;
|
|
11
|
+
};
|
|
12
|
+
export declare class PatchAccountError extends MoovError {
|
|
13
|
+
profile?: components.CreateProfileError | undefined;
|
|
14
|
+
metadata?: string | undefined;
|
|
15
|
+
termsOfService?: components.TermsOfServiceError | undefined;
|
|
16
|
+
foreignID?: string | undefined;
|
|
17
|
+
customerSupport?: components.CustomerSupportError | undefined;
|
|
18
|
+
settings?: components.CreateAccountSettings | undefined;
|
|
19
|
+
/** The original data that was passed to this error instance. */
|
|
20
|
+
data$: PatchAccountErrorData;
|
|
21
|
+
constructor(err: PatchAccountErrorData, httpMeta: {
|
|
22
|
+
response: Response;
|
|
23
|
+
request: Request;
|
|
24
|
+
body: string;
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
/** @internal */
|
|
28
|
+
export declare const PatchAccountError$inboundSchema: z.ZodType<PatchAccountError, z.ZodTypeDef, unknown>;
|
|
29
|
+
/** @internal */
|
|
30
|
+
export type PatchAccountError$Outbound = {
|
|
31
|
+
profile?: components.CreateProfileError$Outbound | undefined;
|
|
32
|
+
metadata?: string | undefined;
|
|
33
|
+
termsOfService?: components.TermsOfServiceError$Outbound | undefined;
|
|
34
|
+
foreignID?: string | undefined;
|
|
35
|
+
customerSupport?: components.CustomerSupportError$Outbound | undefined;
|
|
36
|
+
settings?: components.CreateAccountSettings$Outbound | undefined;
|
|
37
|
+
};
|
|
38
|
+
/** @internal */
|
|
39
|
+
export declare const PatchAccountError$outboundSchema: z.ZodType<PatchAccountError$Outbound, z.ZodTypeDef, PatchAccountError>;
|
|
40
|
+
/**
|
|
41
|
+
* @internal
|
|
42
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
43
|
+
*/
|
|
44
|
+
export declare namespace PatchAccountError$ {
|
|
45
|
+
/** @deprecated use `PatchAccountError$inboundSchema` instead. */
|
|
46
|
+
const inboundSchema: z.ZodType<PatchAccountError, z.ZodTypeDef, unknown>;
|
|
47
|
+
/** @deprecated use `PatchAccountError$outboundSchema` instead. */
|
|
48
|
+
const outboundSchema: z.ZodType<PatchAccountError$Outbound, z.ZodTypeDef, PatchAccountError>;
|
|
49
|
+
/** @deprecated use `PatchAccountError$Outbound` instead. */
|
|
50
|
+
type Outbound = PatchAccountError$Outbound;
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=patchaccounterror.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patchaccounterror.d.ts","sourceRoot":"","sources":["../../src/models/errors/patchaccounterror.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,CAAC,EAAE,UAAU,CAAC,kBAAkB,GAAG,SAAS,CAAC;IACpD,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,cAAc,CAAC,EAAE,UAAU,CAAC,mBAAmB,GAAG,SAAS,CAAC;IAC5D,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,eAAe,CAAC,EAAE,UAAU,CAAC,oBAAoB,GAAG,SAAS,CAAC;IAC9D,QAAQ,CAAC,EAAE,UAAU,CAAC,qBAAqB,GAAG,SAAS,CAAC;CACzD,CAAC;AAEF,qBAAa,iBAAkB,SAAQ,SAAS;IAC9C,OAAO,CAAC,EAAE,UAAU,CAAC,kBAAkB,GAAG,SAAS,CAAC;IACpD,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,cAAc,CAAC,EAAE,UAAU,CAAC,mBAAmB,GAAG,SAAS,CAAC;IAC5D,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,eAAe,CAAC,EAAE,UAAU,C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36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.PatchAccountError$ = exports.PatchAccountError$outboundSchema = exports.PatchAccountError$inboundSchema = void 0;
|
|
40
|
-
exports.patchAccountErrorToJSON = patchAccountErrorToJSON;
|
|
41
|
-
exports.patchAccountErrorFromJSON = patchAccountErrorFromJSON;
|
|
39
|
+
exports.PatchAccountError$ = exports.PatchAccountError$outboundSchema = exports.PatchAccountError$inboundSchema = exports.PatchAccountError = void 0;
|
|
42
40
|
const z = __importStar(require("zod"));
|
|
43
|
-
const
|
|
44
|
-
const
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
const
|
|
41
|
+
const components = __importStar(require("../components/index.js"));
|
|
42
|
+
const mooverror_js_1 = require("./mooverror.js");
|
|
43
|
+
class PatchAccountError extends mooverror_js_1.MoovError {
|
|
44
|
+
constructor(err, httpMeta) {
|
|
45
|
+
const message = "message" in err && typeof err.message === "string"
|
|
46
|
+
? err.message
|
|
47
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
48
|
+
super(message, httpMeta);
|
|
49
|
+
this.data$ = err;
|
|
50
|
+
if (err.profile != null)
|
|
51
|
+
this.profile = err.profile;
|
|
52
|
+
if (err.metadata != null)
|
|
53
|
+
this.metadata = err.metadata;
|
|
54
|
+
if (err.termsOfService != null)
|
|
55
|
+
this.termsOfService = err.termsOfService;
|
|
56
|
+
if (err.foreignID != null)
|
|
57
|
+
this.foreignID = err.foreignID;
|
|
58
|
+
if (err.customerSupport != null)
|
|
59
|
+
this.customerSupport = err.customerSupport;
|
|
60
|
+
if (err.settings != null)
|
|
61
|
+
this.settings = err.settings;
|
|
62
|
+
this.name = "PatchAccountError";
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.PatchAccountError = PatchAccountError;
|
|
48
66
|
/** @internal */
|
|
49
67
|
exports.PatchAccountError$inboundSchema = z.object({
|
|
50
|
-
profile:
|
|
68
|
+
profile: components.CreateProfileError$inboundSchema.optional(),
|
|
51
69
|
metadata: z.string().optional(),
|
|
52
|
-
termsOfService:
|
|
70
|
+
termsOfService: components.TermsOfServiceError$inboundSchema.optional(),
|
|
53
71
|
foreignID: z.string().optional(),
|
|
54
|
-
customerSupport:
|
|
55
|
-
settings:
|
|
72
|
+
customerSupport: components.CustomerSupportError$inboundSchema.optional(),
|
|
73
|
+
settings: components.CreateAccountSettings$inboundSchema.optional(),
|
|
74
|
+
request$: z.instanceof(Request),
|
|
75
|
+
response$: z.instanceof(Response),
|
|
76
|
+
body$: z.string(),
|
|
77
|
+
})
|
|
78
|
+
.transform((v) => {
|
|
79
|
+
return new PatchAccountError(v, {
|
|
80
|
+
request: v.request$,
|
|
81
|
+
response: v.response$,
|
|
82
|
+
body: v.body$,
|
|
83
|
+
});
|
|
56
84
|
});
|
|
57
85
|
/** @internal */
|
|
58
|
-
exports.PatchAccountError$outboundSchema = z.
|
|
59
|
-
|
|
86
|
+
exports.PatchAccountError$outboundSchema = z.instanceof(PatchAccountError)
|
|
87
|
+
.transform(v => v.data$)
|
|
88
|
+
.pipe(z.object({
|
|
89
|
+
profile: components.CreateProfileError$outboundSchema.optional(),
|
|
60
90
|
metadata: z.string().optional(),
|
|
61
|
-
termsOfService:
|
|
91
|
+
termsOfService: components.TermsOfServiceError$outboundSchema.optional(),
|
|
62
92
|
foreignID: z.string().optional(),
|
|
63
|
-
customerSupport:
|
|
64
|
-
settings:
|
|
65
|
-
});
|
|
93
|
+
customerSupport: components.CustomerSupportError$outboundSchema.optional(),
|
|
94
|
+
settings: components.CreateAccountSettings$outboundSchema.optional(),
|
|
95
|
+
}));
|
|
66
96
|
/**
|
|
67
97
|
* @internal
|
|
68
98
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
@@ -74,10 +104,4 @@ var PatchAccountError$;
|
|
|
74
104
|
/** @deprecated use `PatchAccountError$outboundSchema` instead. */
|
|
75
105
|
PatchAccountError$.outboundSchema = exports.PatchAccountError$outboundSchema;
|
|
76
106
|
})(PatchAccountError$ || (exports.PatchAccountError$ = PatchAccountError$ = {}));
|
|
77
|
-
function patchAccountErrorToJSON(patchAccountError) {
|
|
78
|
-
return JSON.stringify(exports.PatchAccountError$outboundSchema.parse(patchAccountError));
|
|
79
|
-
}
|
|
80
|
-
function patchAccountErrorFromJSON(jsonString) {
|
|
81
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.PatchAccountError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PatchAccountError' from JSON`);
|
|
82
|
-
}
|
|
83
107
|
//# sourceMappingURL=patchaccounterror.js.map
|