@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
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import * as components from "../components/index.js";
|
|
7
|
+
import { MoovError } from "./mooverror.js";
|
|
8
|
+
|
|
9
|
+
export type PatchAccountErrorData = {
|
|
10
|
+
profile?: components.CreateProfileError | undefined;
|
|
11
|
+
metadata?: string | undefined;
|
|
12
|
+
termsOfService?: components.TermsOfServiceError | undefined;
|
|
13
|
+
foreignID?: string | undefined;
|
|
14
|
+
customerSupport?: components.CustomerSupportError | undefined;
|
|
15
|
+
settings?: components.CreateAccountSettings | undefined;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export class PatchAccountError extends MoovError {
|
|
19
|
+
profile?: components.CreateProfileError | undefined;
|
|
20
|
+
metadata?: string | undefined;
|
|
21
|
+
termsOfService?: components.TermsOfServiceError | undefined;
|
|
22
|
+
foreignID?: string | undefined;
|
|
23
|
+
customerSupport?: components.CustomerSupportError | undefined;
|
|
24
|
+
settings?: components.CreateAccountSettings | undefined;
|
|
25
|
+
|
|
26
|
+
/** The original data that was passed to this error instance. */
|
|
27
|
+
data$: PatchAccountErrorData;
|
|
28
|
+
|
|
29
|
+
constructor(
|
|
30
|
+
err: PatchAccountErrorData,
|
|
31
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
32
|
+
) {
|
|
33
|
+
const message = "message" in err && typeof err.message === "string"
|
|
34
|
+
? err.message
|
|
35
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
36
|
+
super(message, httpMeta);
|
|
37
|
+
this.data$ = err;
|
|
38
|
+
if (err.profile != null) this.profile = err.profile;
|
|
39
|
+
if (err.metadata != null) this.metadata = err.metadata;
|
|
40
|
+
if (err.termsOfService != null) this.termsOfService = err.termsOfService;
|
|
41
|
+
if (err.foreignID != null) this.foreignID = err.foreignID;
|
|
42
|
+
if (err.customerSupport != null) this.customerSupport = err.customerSupport;
|
|
43
|
+
if (err.settings != null) this.settings = err.settings;
|
|
44
|
+
|
|
45
|
+
this.name = "PatchAccountError";
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/** @internal */
|
|
50
|
+
export const PatchAccountError$inboundSchema: z.ZodType<
|
|
51
|
+
PatchAccountError,
|
|
52
|
+
z.ZodTypeDef,
|
|
53
|
+
unknown
|
|
54
|
+
> = z.object({
|
|
55
|
+
profile: components.CreateProfileError$inboundSchema.optional(),
|
|
56
|
+
metadata: z.string().optional(),
|
|
57
|
+
termsOfService: components.TermsOfServiceError$inboundSchema.optional(),
|
|
58
|
+
foreignID: z.string().optional(),
|
|
59
|
+
customerSupport: components.CustomerSupportError$inboundSchema.optional(),
|
|
60
|
+
settings: components.CreateAccountSettings$inboundSchema.optional(),
|
|
61
|
+
request$: z.instanceof(Request),
|
|
62
|
+
response$: z.instanceof(Response),
|
|
63
|
+
body$: z.string(),
|
|
64
|
+
})
|
|
65
|
+
.transform((v) => {
|
|
66
|
+
return new PatchAccountError(v, {
|
|
67
|
+
request: v.request$,
|
|
68
|
+
response: v.response$,
|
|
69
|
+
body: v.body$,
|
|
70
|
+
});
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
/** @internal */
|
|
74
|
+
export type PatchAccountError$Outbound = {
|
|
75
|
+
profile?: components.CreateProfileError$Outbound | undefined;
|
|
76
|
+
metadata?: string | undefined;
|
|
77
|
+
termsOfService?: components.TermsOfServiceError$Outbound | undefined;
|
|
78
|
+
foreignID?: string | undefined;
|
|
79
|
+
customerSupport?: components.CustomerSupportError$Outbound | undefined;
|
|
80
|
+
settings?: components.CreateAccountSettings$Outbound | undefined;
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
/** @internal */
|
|
84
|
+
export const PatchAccountError$outboundSchema: z.ZodType<
|
|
85
|
+
PatchAccountError$Outbound,
|
|
86
|
+
z.ZodTypeDef,
|
|
87
|
+
PatchAccountError
|
|
88
|
+
> = z.instanceof(PatchAccountError)
|
|
89
|
+
.transform(v => v.data$)
|
|
90
|
+
.pipe(z.object({
|
|
91
|
+
profile: components.CreateProfileError$outboundSchema.optional(),
|
|
92
|
+
metadata: z.string().optional(),
|
|
93
|
+
termsOfService: components.TermsOfServiceError$outboundSchema.optional(),
|
|
94
|
+
foreignID: z.string().optional(),
|
|
95
|
+
customerSupport: components.CustomerSupportError$outboundSchema.optional(),
|
|
96
|
+
settings: components.CreateAccountSettings$outboundSchema.optional(),
|
|
97
|
+
}));
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
102
|
+
*/
|
|
103
|
+
export namespace PatchAccountError$ {
|
|
104
|
+
/** @deprecated use `PatchAccountError$inboundSchema` instead. */
|
|
105
|
+
export const inboundSchema = PatchAccountError$inboundSchema;
|
|
106
|
+
/** @deprecated use `PatchAccountError$outboundSchema` instead. */
|
|
107
|
+
export const outboundSchema = PatchAccountError$outboundSchema;
|
|
108
|
+
/** @deprecated use `PatchAccountError$Outbound` instead. */
|
|
109
|
+
export type Outbound = PatchAccountError$Outbound;
|
|
110
|
+
}
|
package/src/sdk/support.ts
CHANGED
|
@@ -17,6 +17,9 @@ export class Support extends ClientSDK {
|
|
|
17
17
|
*
|
|
18
18
|
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
19
19
|
* you'll need to specify the `/accounts/{accountID}/tickets.write` scope.
|
|
20
|
+
*
|
|
21
|
+
* If you're creating the ticket on behalf of another account, then you'll need to
|
|
22
|
+
* specify the `/accounts/{partnerAccountID}/tickets.write` and `/accounts/{accountID}/profile.read` scopes.
|
|
20
23
|
*/
|
|
21
24
|
async createTicket(
|
|
22
25
|
request: operations.CreateTicketRequest,
|
|
@@ -34,6 +37,9 @@ export class Support extends ClientSDK {
|
|
|
34
37
|
*
|
|
35
38
|
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
36
39
|
* you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
|
|
40
|
+
*
|
|
41
|
+
* If you're listing another account's tickets, then you'll need to
|
|
42
|
+
* specify the `/accounts/{partnerAccountID}/tickets.read` and `/accounts/{accountID}/profile.read` scopes.
|
|
37
43
|
*/
|
|
38
44
|
async listTickets(
|
|
39
45
|
request: operations.ListTicketsRequest,
|
|
@@ -51,6 +57,9 @@ export class Support extends ClientSDK {
|
|
|
51
57
|
*
|
|
52
58
|
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
53
59
|
* you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
|
|
60
|
+
*
|
|
61
|
+
* If you're retrieving another account's ticket, then you'll need to
|
|
62
|
+
* specify the `/accounts/{partnerAccountID}/tickets.read` and `/accounts/{accountID}/profile.read` scopes.
|
|
54
63
|
*/
|
|
55
64
|
async getTicket(
|
|
56
65
|
request: operations.GetTicketRequest,
|
|
@@ -68,6 +77,9 @@ export class Support extends ClientSDK {
|
|
|
68
77
|
*
|
|
69
78
|
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
70
79
|
* you'll need to specify the `/accounts/{accountID}/tickets.write` scope.
|
|
80
|
+
*
|
|
81
|
+
* If you're updating the ticket on behalf of another account, then you'll need to
|
|
82
|
+
* specify the `/accounts/{partnerAccountID}/tickets.write` and `/accounts/{accountID}/profile.read` scopes.
|
|
71
83
|
*/
|
|
72
84
|
async updateTicket(
|
|
73
85
|
request: operations.UpdateTicketRequest,
|
|
@@ -85,6 +97,9 @@ export class Support extends ClientSDK {
|
|
|
85
97
|
*
|
|
86
98
|
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
87
99
|
* you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
|
|
100
|
+
*
|
|
101
|
+
* If you're listing another account's messages, then you'll need to
|
|
102
|
+
* specify the `/accounts/{partnerAccountID}/tickets.read` and `/accounts/{accountID}/profile.read` scopes.
|
|
88
103
|
*/
|
|
89
104
|
async listTicketMessages(
|
|
90
105
|
request: operations.ListTicketMessagesRequest,
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import { CreateAccountSettings, CreateAccountSettings$Outbound } from "./createaccountsettings.js";
|
|
5
|
-
import { CreateProfileError, CreateProfileError$Outbound } from "./createprofileerror.js";
|
|
6
|
-
import { CustomerSupportError, CustomerSupportError$Outbound } from "./customersupporterror.js";
|
|
7
|
-
import { TermsOfServiceError, TermsOfServiceError$Outbound } from "./termsofserviceerror.js";
|
|
8
|
-
export type CreateAccountError = {
|
|
9
|
-
accountType?: string | undefined;
|
|
10
|
-
profile?: CreateProfileError | undefined;
|
|
11
|
-
metadata?: string | undefined;
|
|
12
|
-
termsOfService?: TermsOfServiceError | undefined;
|
|
13
|
-
foreignID?: string | undefined;
|
|
14
|
-
customerSupport?: CustomerSupportError | undefined;
|
|
15
|
-
settings?: CreateAccountSettings | undefined;
|
|
16
|
-
capabilities?: {
|
|
17
|
-
[k: string]: string;
|
|
18
|
-
} | undefined;
|
|
19
|
-
};
|
|
20
|
-
/** @internal */
|
|
21
|
-
export declare const CreateAccountError$inboundSchema: z.ZodType<CreateAccountError, z.ZodTypeDef, unknown>;
|
|
22
|
-
/** @internal */
|
|
23
|
-
export type CreateAccountError$Outbound = {
|
|
24
|
-
accountType?: string | undefined;
|
|
25
|
-
profile?: CreateProfileError$Outbound | undefined;
|
|
26
|
-
metadata?: string | undefined;
|
|
27
|
-
termsOfService?: TermsOfServiceError$Outbound | undefined;
|
|
28
|
-
foreignID?: string | undefined;
|
|
29
|
-
customerSupport?: CustomerSupportError$Outbound | undefined;
|
|
30
|
-
settings?: CreateAccountSettings$Outbound | undefined;
|
|
31
|
-
capabilities?: {
|
|
32
|
-
[k: string]: string;
|
|
33
|
-
} | undefined;
|
|
34
|
-
};
|
|
35
|
-
/** @internal */
|
|
36
|
-
export declare const CreateAccountError$outboundSchema: z.ZodType<CreateAccountError$Outbound, z.ZodTypeDef, CreateAccountError>;
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
40
|
-
*/
|
|
41
|
-
export declare namespace CreateAccountError$ {
|
|
42
|
-
/** @deprecated use `CreateAccountError$inboundSchema` instead. */
|
|
43
|
-
const inboundSchema: z.ZodType<CreateAccountError, z.ZodTypeDef, unknown>;
|
|
44
|
-
/** @deprecated use `CreateAccountError$outboundSchema` instead. */
|
|
45
|
-
const outboundSchema: z.ZodType<CreateAccountError$Outbound, z.ZodTypeDef, CreateAccountError>;
|
|
46
|
-
/** @deprecated use `CreateAccountError$Outbound` instead. */
|
|
47
|
-
type Outbound = CreateAccountError$Outbound;
|
|
48
|
-
}
|
|
49
|
-
export declare function createAccountErrorToJSON(createAccountError: CreateAccountError): string;
|
|
50
|
-
export declare function createAccountErrorFromJSON(jsonString: string): SafeParseResult<CreateAccountError, SDKValidationError>;
|
|
51
|
-
//# sourceMappingURL=createaccounterror.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createaccounterror.d.ts","sourceRoot":"","sources":["../../src/models/components/createaccounterror.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,qBAAqB,EAErB,8BAA8B,EAE/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,kBAAkB,EAElB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,oBAAoB,EAEpB,6BAA6B,EAE9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,mBAAmB,EAEnB,4BAA4B,EAE7B,MAAM,0BAA0B,CAAC;AAElC,MAAM,MAAM,kBAAkB,GAAG;IAC/B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,OAAO,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACzC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,cAAc,CAA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AC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,cAAc,EAAE,2DAAkC,CAAC,QAAQ,EAAE;IAC7D,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,eAAe,EAAE,6DAAmC,CAAC,QAAQ,EAAE;IAC/D,QAAQ,EAAE,+DAAoC,CAAC,QAAQ,EAAE;IACzD,YAAY,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC9C,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,mBAAmB,CAOnC;AAPD,WAAiB,mBAAmB;IAClC,kEAAkE;IACrD,iCAAa,GAAG,wCAAgC,CAAC;IAC9D,mEAAmE;IACtD,kCAAc,GAAG,yCAAiC,CAAC;AAGlE,CAAC,EAPgB,mBAAmB,mCAAnB,mBAAmB,QAOnC;AAED,SAAgB,wBAAwB,CACtC,kBAAsC;IAEtC,OAAO,IAAI,CAAC,SAAS,CACnB,yCAAiC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAC5D,CAAC;AACJ,CAAC;AAED,SAAgB,0BAA0B,CACxC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import { CreateAccountSettings, CreateAccountSettings$Outbound } from "./createaccountsettings.js";
|
|
5
|
-
import { CreateProfileError, CreateProfileError$Outbound } from "./createprofileerror.js";
|
|
6
|
-
import { CustomerSupportError, CustomerSupportError$Outbound } from "./customersupporterror.js";
|
|
7
|
-
import { TermsOfServiceError, TermsOfServiceError$Outbound } from "./termsofserviceerror.js";
|
|
8
|
-
export type PatchAccountError = {
|
|
9
|
-
profile?: CreateProfileError | undefined;
|
|
10
|
-
metadata?: string | undefined;
|
|
11
|
-
termsOfService?: TermsOfServiceError | undefined;
|
|
12
|
-
foreignID?: string | undefined;
|
|
13
|
-
customerSupport?: CustomerSupportError | undefined;
|
|
14
|
-
settings?: CreateAccountSettings | undefined;
|
|
15
|
-
};
|
|
16
|
-
/** @internal */
|
|
17
|
-
export declare const PatchAccountError$inboundSchema: z.ZodType<PatchAccountError, z.ZodTypeDef, unknown>;
|
|
18
|
-
/** @internal */
|
|
19
|
-
export type PatchAccountError$Outbound = {
|
|
20
|
-
profile?: CreateProfileError$Outbound | undefined;
|
|
21
|
-
metadata?: string | undefined;
|
|
22
|
-
termsOfService?: TermsOfServiceError$Outbound | undefined;
|
|
23
|
-
foreignID?: string | undefined;
|
|
24
|
-
customerSupport?: CustomerSupportError$Outbound | undefined;
|
|
25
|
-
settings?: CreateAccountSettings$Outbound | undefined;
|
|
26
|
-
};
|
|
27
|
-
/** @internal */
|
|
28
|
-
export declare const PatchAccountError$outboundSchema: z.ZodType<PatchAccountError$Outbound, z.ZodTypeDef, PatchAccountError>;
|
|
29
|
-
/**
|
|
30
|
-
* @internal
|
|
31
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
32
|
-
*/
|
|
33
|
-
export declare namespace PatchAccountError$ {
|
|
34
|
-
/** @deprecated use `PatchAccountError$inboundSchema` instead. */
|
|
35
|
-
const inboundSchema: z.ZodType<PatchAccountError, z.ZodTypeDef, unknown>;
|
|
36
|
-
/** @deprecated use `PatchAccountError$outboundSchema` instead. */
|
|
37
|
-
const outboundSchema: z.ZodType<PatchAccountError$Outbound, z.ZodTypeDef, PatchAccountError>;
|
|
38
|
-
/** @deprecated use `PatchAccountError$Outbound` instead. */
|
|
39
|
-
type Outbound = PatchAccountError$Outbound;
|
|
40
|
-
}
|
|
41
|
-
export declare function patchAccountErrorToJSON(patchAccountError: PatchAccountError): string;
|
|
42
|
-
export declare function patchAccountErrorFromJSON(jsonString: string): SafeParseResult<PatchAccountError, SDKValidationError>;
|
|
43
|
-
//# sourceMappingURL=patchaccounterror.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"patchaccounterror.d.ts","sourceRoot":"","sources":["../../src/models/components/patchaccounterror.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,qBAAqB,EAErB,8BAA8B,EAE/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,kBAAkB,EAElB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,oBAAoB,EAEpB,6BAA6B,EAE9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,mBAAmB,EAEnB,4BAA4B,EAE7B,MAAM,0BAA0B,CAAC;AAElC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACzC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,cAAc,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IACjD,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,eAAe,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IACnD,QAAQ,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;CAC9C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,iBAAiB,EACjB,CAAC,CAAC,UAAU,EACZ,OAAO,CAQP,CAAC;AAEH,gBAAgB;AAChB,M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AChD,CAAC;AACJ,CAAC"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import * as components from "../components/index.js";
|
|
3
|
-
import { MoovError } from "./mooverror.js";
|
|
4
|
-
/**
|
|
5
|
-
* The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
|
|
6
|
-
*/
|
|
7
|
-
export type CreateAccountResponseBodyData = {
|
|
8
|
-
error: components.CreateAccountError;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
|
|
12
|
-
*/
|
|
13
|
-
export declare class CreateAccountResponseBody extends MoovError {
|
|
14
|
-
error: components.CreateAccountError;
|
|
15
|
-
/** The original data that was passed to this error instance. */
|
|
16
|
-
data$: CreateAccountResponseBodyData;
|
|
17
|
-
constructor(err: CreateAccountResponseBodyData, httpMeta: {
|
|
18
|
-
response: Response;
|
|
19
|
-
request: Request;
|
|
20
|
-
body: string;
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
/** @internal */
|
|
24
|
-
export declare const CreateAccountResponseBody$inboundSchema: z.ZodType<CreateAccountResponseBody, z.ZodTypeDef, unknown>;
|
|
25
|
-
/** @internal */
|
|
26
|
-
export type CreateAccountResponseBody$Outbound = {
|
|
27
|
-
error: components.CreateAccountError$Outbound;
|
|
28
|
-
};
|
|
29
|
-
/** @internal */
|
|
30
|
-
export declare const CreateAccountResponseBody$outboundSchema: z.ZodType<CreateAccountResponseBody$Outbound, z.ZodTypeDef, CreateAccountResponseBody>;
|
|
31
|
-
/**
|
|
32
|
-
* @internal
|
|
33
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
34
|
-
*/
|
|
35
|
-
export declare namespace CreateAccountResponseBody$ {
|
|
36
|
-
/** @deprecated use `CreateAccountResponseBody$inboundSchema` instead. */
|
|
37
|
-
const inboundSchema: z.ZodType<CreateAccountResponseBody, z.ZodTypeDef, unknown>;
|
|
38
|
-
/** @deprecated use `CreateAccountResponseBody$outboundSchema` instead. */
|
|
39
|
-
const outboundSchema: z.ZodType<CreateAccountResponseBody$Outbound, z.ZodTypeDef, CreateAccountResponseBody>;
|
|
40
|
-
/** @deprecated use `CreateAccountResponseBody$Outbound` instead. */
|
|
41
|
-
type Outbound = CreateAccountResponseBody$Outbound;
|
|
42
|
-
}
|
|
43
|
-
//# sourceMappingURL=createaccount.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createaccount.d.ts","sourceRoot":"","sources":["../../src/models/errors/createaccount.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;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C,KAAK,EAAE,UAAU,CAAC,kBAAkB,CAAC;CACtC,CAAC;AAEF;;GAEG;AACH,qBAAa,yBAA0B,SAAQ,SAAS;IACtD,KAAK,EAAE,UAAU,CAAC,kBAAkB,CAAC;IAErC,gEAAgE;IAChE,KAAK,EAAE,6BAA6B,CAAC;gBAGnC,GAAG,EAAE,6BAA6B,EAClC,QAAQ,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;CAWnE;AAED,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,CAaL,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC/C,KAAK,EAAE,UAAU,CAAC,2BAA2B,CAAC;CAC/C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,yBAAyB,CAKtB,CAAC;AAEN;;;GAGG;AACH,yBAAiB,0BAA0B,CAAC;IAC1C,yEAAyE;IAClE,MAAM,aAAa,6DAA0C,CAAC;IACrE,0EAA0E;IACnE,MAAM,cAAc,wFAA2C,CAAC;IACvE,oEAAoE;IACpE,KAAY,QAAQ,GAAG,kCAAkC,CAAC;CAC3D"}
|
|
@@ -1,89 +0,0 @@
|
|
|
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.CreateAccountResponseBody$ = exports.CreateAccountResponseBody$outboundSchema = exports.CreateAccountResponseBody$inboundSchema = exports.CreateAccountResponseBody = void 0;
|
|
40
|
-
const z = __importStar(require("zod"));
|
|
41
|
-
const components = __importStar(require("../components/index.js"));
|
|
42
|
-
const mooverror_js_1 = require("./mooverror.js");
|
|
43
|
-
/**
|
|
44
|
-
* The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
|
|
45
|
-
*/
|
|
46
|
-
class CreateAccountResponseBody extends mooverror_js_1.MoovError {
|
|
47
|
-
constructor(err, httpMeta) {
|
|
48
|
-
const message = "message" in err && typeof err.message === "string"
|
|
49
|
-
? err.message
|
|
50
|
-
: `API error occurred: ${JSON.stringify(err)}`;
|
|
51
|
-
super(message, httpMeta);
|
|
52
|
-
this.data$ = err;
|
|
53
|
-
this.error = err.error;
|
|
54
|
-
this.name = "CreateAccountResponseBody";
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
exports.CreateAccountResponseBody = CreateAccountResponseBody;
|
|
58
|
-
/** @internal */
|
|
59
|
-
exports.CreateAccountResponseBody$inboundSchema = z.object({
|
|
60
|
-
error: components.CreateAccountError$inboundSchema,
|
|
61
|
-
request$: z.instanceof(Request),
|
|
62
|
-
response$: z.instanceof(Response),
|
|
63
|
-
body$: z.string(),
|
|
64
|
-
})
|
|
65
|
-
.transform((v) => {
|
|
66
|
-
return new CreateAccountResponseBody(v, {
|
|
67
|
-
request: v.request$,
|
|
68
|
-
response: v.response$,
|
|
69
|
-
body: v.body$,
|
|
70
|
-
});
|
|
71
|
-
});
|
|
72
|
-
/** @internal */
|
|
73
|
-
exports.CreateAccountResponseBody$outboundSchema = z.instanceof(CreateAccountResponseBody)
|
|
74
|
-
.transform(v => v.data$)
|
|
75
|
-
.pipe(z.object({
|
|
76
|
-
error: components.CreateAccountError$outboundSchema,
|
|
77
|
-
}));
|
|
78
|
-
/**
|
|
79
|
-
* @internal
|
|
80
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
81
|
-
*/
|
|
82
|
-
var CreateAccountResponseBody$;
|
|
83
|
-
(function (CreateAccountResponseBody$) {
|
|
84
|
-
/** @deprecated use `CreateAccountResponseBody$inboundSchema` instead. */
|
|
85
|
-
CreateAccountResponseBody$.inboundSchema = exports.CreateAccountResponseBody$inboundSchema;
|
|
86
|
-
/** @deprecated use `CreateAccountResponseBody$outboundSchema` instead. */
|
|
87
|
-
CreateAccountResponseBody$.outboundSchema = exports.CreateAccountResponseBody$outboundSchema;
|
|
88
|
-
})(CreateAccountResponseBody$ || (exports.CreateAccountResponseBody$ = CreateAccountResponseBody$ = {}));
|
|
89
|
-
//# sourceMappingURL=createaccount.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createaccount.js","sourceRoot":"","sources":["../../src/models/errors/createaccount.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,mEAAqD;AACrD,iDAA2C;AAS3C;;GAEG;AACH,MAAa,yBAA0B,SAAQ,wBAAS;IAMtD,YACE,GAAkC,EAClC,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,QA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components/index.js";
|
|
3
|
-
import { MoovError } from "./mooverror.js";
|
|
4
|
-
/**
|
|
5
|
-
* The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
|
|
6
|
-
*/
|
|
7
|
-
export type UpdateAccountResponseBodyData = {
|
|
8
|
-
error: components.PatchAccountError;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
|
|
12
|
-
*/
|
|
13
|
-
export declare class UpdateAccountResponseBody extends MoovError {
|
|
14
|
-
error: components.PatchAccountError;
|
|
15
|
-
/** The original data that was passed to this error instance. */
|
|
16
|
-
data$: UpdateAccountResponseBodyData;
|
|
17
|
-
constructor(err: UpdateAccountResponseBodyData, httpMeta: {
|
|
18
|
-
response: Response;
|
|
19
|
-
request: Request;
|
|
20
|
-
body: string;
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
/** @internal */
|
|
24
|
-
export declare const UpdateAccountResponseBody$inboundSchema: z.ZodType<UpdateAccountResponseBody, z.ZodTypeDef, unknown>;
|
|
25
|
-
/** @internal */
|
|
26
|
-
export type UpdateAccountResponseBody$Outbound = {
|
|
27
|
-
error: components.PatchAccountError$Outbound;
|
|
28
|
-
};
|
|
29
|
-
/** @internal */
|
|
30
|
-
export declare const UpdateAccountResponseBody$outboundSchema: z.ZodType<UpdateAccountResponseBody$Outbound, z.ZodTypeDef, UpdateAccountResponseBody>;
|
|
31
|
-
/**
|
|
32
|
-
* @internal
|
|
33
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
34
|
-
*/
|
|
35
|
-
export declare namespace UpdateAccountResponseBody$ {
|
|
36
|
-
/** @deprecated use `UpdateAccountResponseBody$inboundSchema` instead. */
|
|
37
|
-
const inboundSchema: z.ZodType<UpdateAccountResponseBody, z.ZodTypeDef, unknown>;
|
|
38
|
-
/** @deprecated use `UpdateAccountResponseBody$outboundSchema` instead. */
|
|
39
|
-
const outboundSchema: z.ZodType<UpdateAccountResponseBody$Outbound, z.ZodTypeDef, UpdateAccountResponseBody>;
|
|
40
|
-
/** @deprecated use `UpdateAccountResponseBody$Outbound` instead. */
|
|
41
|
-
type Outbound = UpdateAccountResponseBody$Outbound;
|
|
42
|
-
}
|
|
43
|
-
//# sourceMappingURL=updateaccount.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updateaccount.d.ts","sourceRoot":"","sources":["../../src/models/errors/updateaccount.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;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC;CACrC,CAAC;AAEF;;GAEG;AACH,qBAAa,yBAA0B,SAAQ,SAAS;IACtD,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC;IAEpC,gEAAgE;IAChE,KAAK,EAAE,6BAA6B,CAAC;gBAGnC,GAAG,EAAE,6BAA6B,EAClC,QAAQ,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;CAWnE;AAED,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,CAaL,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC/C,KAAK,EAAE,UAAU,CAAC,0BAA0B,CAAC;CAC9C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,yBAAyB,CAKtB,CAAC;AAEN;;;GAGG;AACH,yBAAiB,0BAA0B,CAAC;IAC1C,yEAAyE;IAClE,MAAM,aAAa,6DAA0C,CAAC;IACrE,0EAA0E;IACnE,MAAM,cAAc,wFAA2C,CAAC;IACvE,oEAAoE;IACpE,KAAY,QAAQ,GAAG,kCAAkC,CAAC;CAC3D"}
|
|
@@ -1,89 +0,0 @@
|
|
|
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.UpdateAccountResponseBody$ = exports.UpdateAccountResponseBody$outboundSchema = exports.UpdateAccountResponseBody$inboundSchema = exports.UpdateAccountResponseBody = void 0;
|
|
40
|
-
const z = __importStar(require("zod"));
|
|
41
|
-
const components = __importStar(require("../components/index.js"));
|
|
42
|
-
const mooverror_js_1 = require("./mooverror.js");
|
|
43
|
-
/**
|
|
44
|
-
* The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields.
|
|
45
|
-
*/
|
|
46
|
-
class UpdateAccountResponseBody extends mooverror_js_1.MoovError {
|
|
47
|
-
constructor(err, httpMeta) {
|
|
48
|
-
const message = "message" in err && typeof err.message === "string"
|
|
49
|
-
? err.message
|
|
50
|
-
: `API error occurred: ${JSON.stringify(err)}`;
|
|
51
|
-
super(message, httpMeta);
|
|
52
|
-
this.data$ = err;
|
|
53
|
-
this.error = err.error;
|
|
54
|
-
this.name = "UpdateAccountResponseBody";
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
exports.UpdateAccountResponseBody = UpdateAccountResponseBody;
|
|
58
|
-
/** @internal */
|
|
59
|
-
exports.UpdateAccountResponseBody$inboundSchema = z.object({
|
|
60
|
-
error: components.PatchAccountError$inboundSchema,
|
|
61
|
-
request$: z.instanceof(Request),
|
|
62
|
-
response$: z.instanceof(Response),
|
|
63
|
-
body$: z.string(),
|
|
64
|
-
})
|
|
65
|
-
.transform((v) => {
|
|
66
|
-
return new UpdateAccountResponseBody(v, {
|
|
67
|
-
request: v.request$,
|
|
68
|
-
response: v.response$,
|
|
69
|
-
body: v.body$,
|
|
70
|
-
});
|
|
71
|
-
});
|
|
72
|
-
/** @internal */
|
|
73
|
-
exports.UpdateAccountResponseBody$outboundSchema = z.instanceof(UpdateAccountResponseBody)
|
|
74
|
-
.transform(v => v.data$)
|
|
75
|
-
.pipe(z.object({
|
|
76
|
-
error: components.PatchAccountError$outboundSchema,
|
|
77
|
-
}));
|
|
78
|
-
/**
|
|
79
|
-
* @internal
|
|
80
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
81
|
-
*/
|
|
82
|
-
var UpdateAccountResponseBody$;
|
|
83
|
-
(function (UpdateAccountResponseBody$) {
|
|
84
|
-
/** @deprecated use `UpdateAccountResponseBody$inboundSchema` instead. */
|
|
85
|
-
UpdateAccountResponseBody$.inboundSchema = exports.UpdateAccountResponseBody$inboundSchema;
|
|
86
|
-
/** @deprecated use `UpdateAccountResponseBody$outboundSchema` instead. */
|
|
87
|
-
UpdateAccountResponseBody$.outboundSchema = exports.UpdateAccountResponseBody$outboundSchema;
|
|
88
|
-
})(UpdateAccountResponseBody$ || (exports.UpdateAccountResponseBody$ = UpdateAccountResponseBody$ = {}));
|
|
89
|
-
//# sourceMappingURL=updateaccount.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updateaccount.js","sourceRoot":"","sources":["../../src/models/errors/updateaccount.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,mEAAqD;AACrD,iDAA2C;AAS3C;;GAEG;AACH,MAAa,yBAA0B,SAAQ,wBAAS;IAMtD,YACE,GAAkC,EAClC,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,KAA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