@moovio/sdk 0.3.4 → 0.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/sdks/accounts/README.md +2 -4
- package/funcs/accountsUpdate.d.ts.map +1 -1
- package/funcs/accountsUpdate.js +1 -3
- package/funcs/accountsUpdate.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/index.d.ts +4 -7
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +4 -7
- package/models/components/index.js.map +1 -1
- package/models/components/patchaccount.d.ts +116 -0
- package/models/components/patchaccount.d.ts.map +1 -0
- package/models/components/patchaccount.js +153 -0
- package/models/components/patchaccount.js.map +1 -0
- package/models/components/{createbusinessprofileupdate.d.ts → patchbusiness.d.ts} +16 -20
- package/models/components/patchbusiness.d.ts.map +1 -0
- package/models/components/{createbusinessprofileupdate.js → patchbusiness.js} +19 -17
- package/models/components/patchbusiness.js.map +1 -0
- package/models/components/patchindividual.d.ts +47 -0
- package/models/components/patchindividual.d.ts.map +1 -0
- package/models/components/{createindividualprofileupdate.js → patchindividual.js} +17 -17
- package/models/components/patchindividual.js.map +1 -0
- package/models/components/patchprofile.d.ts +42 -0
- package/models/components/patchprofile.d.ts.map +1 -0
- package/models/components/{achpaymentsettingsupdate.js → patchprofile.js} +23 -19
- package/models/components/patchprofile.js.map +1 -0
- package/models/components/transfer.d.ts +2 -2
- package/models/components/transfer.js +2 -2
- package/models/components/transfer.js.map +1 -1
- package/models/errors/transfer.d.ts +3 -3
- package/models/errors/transfer.js +2 -2
- package/models/errors/transfer.js.map +1 -1
- package/models/operations/updateaccount.d.ts +2 -2
- package/models/operations/updateaccount.d.ts.map +1 -1
- package/models/operations/updateaccount.js +4 -4
- package/models/operations/updateaccount.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/accountsUpdate.ts +1 -3
- package/src/lib/config.ts +2 -2
- package/src/models/components/index.ts +4 -7
- package/src/models/components/patchaccount.ts +281 -0
- package/src/models/components/{createbusinessprofileupdate.ts → patchbusiness.ts} +24 -32
- package/src/models/components/{createindividualprofileupdate.ts → patchindividual.ts} +24 -25
- package/src/models/components/patchprofile.ts +87 -0
- package/src/models/components/transfer.ts +4 -4
- package/src/models/errors/transfer.ts +5 -5
- package/src/models/operations/updateaccount.ts +6 -6
- package/models/components/achpaymentsettingsupdate.d.ts +0 -32
- package/models/components/achpaymentsettingsupdate.d.ts.map +0 -1
- package/models/components/achpaymentsettingsupdate.js.map +0 -1
- package/models/components/createaccountupdate.d.ts +0 -93
- package/models/components/createaccountupdate.d.ts.map +0 -1
- package/models/components/createaccountupdate.js +0 -125
- package/models/components/createaccountupdate.js.map +0 -1
- package/models/components/createbusinessprofileupdate.d.ts.map +0 -1
- package/models/components/createbusinessprofileupdate.js.map +0 -1
- package/models/components/createindividualprofileupdate.d.ts +0 -44
- package/models/components/createindividualprofileupdate.d.ts.map +0 -1
- package/models/components/createindividualprofileupdate.js.map +0 -1
- package/models/components/createprofileupdate.d.ts +0 -33
- package/models/components/createprofileupdate.d.ts.map +0 -1
- package/models/components/createprofileupdate.js +0 -73
- package/models/components/createprofileupdate.js.map +0 -1
- package/models/components/customersupportupdate.d.ts +0 -43
- package/models/components/customersupportupdate.d.ts.map +0 -1
- package/models/components/customersupportupdate.js +0 -77
- package/models/components/customersupportupdate.js.map +0 -1
- package/models/components/settingsupdate.d.ts +0 -39
- package/models/components/settingsupdate.d.ts.map +0 -1
- package/models/components/settingsupdate.js +0 -73
- package/models/components/settingsupdate.js.map +0 -1
- package/src/models/components/achpaymentsettingsupdate.ts +0 -69
- package/src/models/components/createaccountupdate.ts +0 -227
- package/src/models/components/createprofileupdate.ts +0 -82
- package/src/models/components/customersupportupdate.ts +0 -96
- package/src/models/components/settingsupdate.ts +0 -84
|
@@ -96,7 +96,7 @@ export type Transfer = {
|
|
|
96
96
|
/**
|
|
97
97
|
* Same as `moovFee`, but a decimal-formatted numerical string that represents up to 9 decimal place precision.
|
|
98
98
|
*/
|
|
99
|
-
moovFeeDecimal?:
|
|
99
|
+
moovFeeDecimal?: string | undefined;
|
|
100
100
|
/**
|
|
101
101
|
* Processing and pass-through costs that add up to the moovFee.
|
|
102
102
|
*/
|
|
@@ -130,7 +130,7 @@ export const Transfer$inboundSchema: z.ZodType<
|
|
|
130
130
|
metadata: z.record(z.string()).optional(),
|
|
131
131
|
facilitatorFee: FacilitatorFee$inboundSchema.optional(),
|
|
132
132
|
moovFee: z.number().int().optional(),
|
|
133
|
-
moovFeeDecimal: z.
|
|
133
|
+
moovFeeDecimal: z.string().optional(),
|
|
134
134
|
moovFeeDetails: MoovFeeDetails$inboundSchema.optional(),
|
|
135
135
|
groupID: z.string().optional(),
|
|
136
136
|
refundedAmount: Amount$inboundSchema.optional(),
|
|
@@ -156,7 +156,7 @@ export type Transfer$Outbound = {
|
|
|
156
156
|
metadata?: { [k: string]: string } | undefined;
|
|
157
157
|
facilitatorFee?: FacilitatorFee$Outbound | undefined;
|
|
158
158
|
moovFee?: number | undefined;
|
|
159
|
-
moovFeeDecimal?:
|
|
159
|
+
moovFeeDecimal?: string | undefined;
|
|
160
160
|
moovFeeDetails?: MoovFeeDetails$Outbound | undefined;
|
|
161
161
|
groupID?: string | undefined;
|
|
162
162
|
refundedAmount?: Amount$Outbound | undefined;
|
|
@@ -186,7 +186,7 @@ export const Transfer$outboundSchema: z.ZodType<
|
|
|
186
186
|
metadata: z.record(z.string()).optional(),
|
|
187
187
|
facilitatorFee: FacilitatorFee$outboundSchema.optional(),
|
|
188
188
|
moovFee: z.number().int().optional(),
|
|
189
|
-
moovFeeDecimal: z.
|
|
189
|
+
moovFeeDecimal: z.string().optional(),
|
|
190
190
|
moovFeeDetails: MoovFeeDetails$outboundSchema.optional(),
|
|
191
191
|
groupID: z.string().optional(),
|
|
192
192
|
refundedAmount: Amount$outboundSchema.optional(),
|
|
@@ -42,7 +42,7 @@ export type TransferData = {
|
|
|
42
42
|
/**
|
|
43
43
|
* Same as `moovFee`, but a decimal-formatted numerical string that represents up to 9 decimal place precision.
|
|
44
44
|
*/
|
|
45
|
-
moovFeeDecimal?:
|
|
45
|
+
moovFeeDecimal?: string | undefined;
|
|
46
46
|
/**
|
|
47
47
|
* Processing and pass-through costs that add up to the moovFee.
|
|
48
48
|
*/
|
|
@@ -94,7 +94,7 @@ export class Transfer extends Error {
|
|
|
94
94
|
/**
|
|
95
95
|
* Same as `moovFee`, but a decimal-formatted numerical string that represents up to 9 decimal place precision.
|
|
96
96
|
*/
|
|
97
|
-
moovFeeDecimal?:
|
|
97
|
+
moovFeeDecimal?: string | undefined;
|
|
98
98
|
/**
|
|
99
99
|
* Processing and pass-through costs that add up to the moovFee.
|
|
100
100
|
*/
|
|
@@ -164,7 +164,7 @@ export const Transfer$inboundSchema: z.ZodType<
|
|
|
164
164
|
metadata: z.record(z.string()).optional(),
|
|
165
165
|
facilitatorFee: components.FacilitatorFee$inboundSchema.optional(),
|
|
166
166
|
moovFee: z.number().int().optional(),
|
|
167
|
-
moovFeeDecimal: z.
|
|
167
|
+
moovFeeDecimal: z.string().optional(),
|
|
168
168
|
moovFeeDetails: components.MoovFeeDetails$inboundSchema.optional(),
|
|
169
169
|
groupID: z.string().optional(),
|
|
170
170
|
refundedAmount: components.Amount$inboundSchema.optional(),
|
|
@@ -193,7 +193,7 @@ export type Transfer$Outbound = {
|
|
|
193
193
|
metadata?: { [k: string]: string } | undefined;
|
|
194
194
|
facilitatorFee?: components.FacilitatorFee$Outbound | undefined;
|
|
195
195
|
moovFee?: number | undefined;
|
|
196
|
-
moovFeeDecimal?:
|
|
196
|
+
moovFeeDecimal?: string | undefined;
|
|
197
197
|
moovFeeDetails?: components.MoovFeeDetails$Outbound | undefined;
|
|
198
198
|
groupID?: string | undefined;
|
|
199
199
|
refundedAmount?: components.Amount$Outbound | undefined;
|
|
@@ -225,7 +225,7 @@ export const Transfer$outboundSchema: z.ZodType<
|
|
|
225
225
|
metadata: z.record(z.string()).optional(),
|
|
226
226
|
facilitatorFee: components.FacilitatorFee$outboundSchema.optional(),
|
|
227
227
|
moovFee: z.number().int().optional(),
|
|
228
|
-
moovFeeDecimal: z.
|
|
228
|
+
moovFeeDecimal: z.string().optional(),
|
|
229
229
|
moovFeeDetails: components.MoovFeeDetails$outboundSchema.optional(),
|
|
230
230
|
groupID: z.string().optional(),
|
|
231
231
|
refundedAmount: components.Amount$outboundSchema.optional(),
|
|
@@ -28,7 +28,7 @@ export type UpdateAccountGlobals = {
|
|
|
28
28
|
|
|
29
29
|
export type UpdateAccountRequest = {
|
|
30
30
|
accountID: string;
|
|
31
|
-
|
|
31
|
+
patchAccount: components.PatchAccount;
|
|
32
32
|
};
|
|
33
33
|
|
|
34
34
|
export type UpdateAccountResponse = {
|
|
@@ -105,17 +105,17 @@ export const UpdateAccountRequest$inboundSchema: z.ZodType<
|
|
|
105
105
|
unknown
|
|
106
106
|
> = z.object({
|
|
107
107
|
accountID: z.string(),
|
|
108
|
-
|
|
108
|
+
PatchAccount: components.PatchAccount$inboundSchema,
|
|
109
109
|
}).transform((v) => {
|
|
110
110
|
return remap$(v, {
|
|
111
|
-
"
|
|
111
|
+
"PatchAccount": "patchAccount",
|
|
112
112
|
});
|
|
113
113
|
});
|
|
114
114
|
|
|
115
115
|
/** @internal */
|
|
116
116
|
export type UpdateAccountRequest$Outbound = {
|
|
117
117
|
accountID: string;
|
|
118
|
-
|
|
118
|
+
PatchAccount: components.PatchAccount$Outbound;
|
|
119
119
|
};
|
|
120
120
|
|
|
121
121
|
/** @internal */
|
|
@@ -125,10 +125,10 @@ export const UpdateAccountRequest$outboundSchema: z.ZodType<
|
|
|
125
125
|
UpdateAccountRequest
|
|
126
126
|
> = z.object({
|
|
127
127
|
accountID: z.string(),
|
|
128
|
-
|
|
128
|
+
patchAccount: components.PatchAccount$outboundSchema,
|
|
129
129
|
}).transform((v) => {
|
|
130
130
|
return remap$(v, {
|
|
131
|
-
|
|
131
|
+
patchAccount: "PatchAccount",
|
|
132
132
|
});
|
|
133
133
|
});
|
|
134
134
|
|
|
@@ -1,32 +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
|
-
export type ACHPaymentSettingsUpdate = {
|
|
5
|
-
/**
|
|
6
|
-
* The description that shows up on ACH transactions. This will default to the account's display name on account creation.
|
|
7
|
-
*/
|
|
8
|
-
companyName?: string | undefined;
|
|
9
|
-
};
|
|
10
|
-
/** @internal */
|
|
11
|
-
export declare const ACHPaymentSettingsUpdate$inboundSchema: z.ZodType<ACHPaymentSettingsUpdate, z.ZodTypeDef, unknown>;
|
|
12
|
-
/** @internal */
|
|
13
|
-
export type ACHPaymentSettingsUpdate$Outbound = {
|
|
14
|
-
companyName?: string | undefined;
|
|
15
|
-
};
|
|
16
|
-
/** @internal */
|
|
17
|
-
export declare const ACHPaymentSettingsUpdate$outboundSchema: z.ZodType<ACHPaymentSettingsUpdate$Outbound, z.ZodTypeDef, ACHPaymentSettingsUpdate>;
|
|
18
|
-
/**
|
|
19
|
-
* @internal
|
|
20
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
21
|
-
*/
|
|
22
|
-
export declare namespace ACHPaymentSettingsUpdate$ {
|
|
23
|
-
/** @deprecated use `ACHPaymentSettingsUpdate$inboundSchema` instead. */
|
|
24
|
-
const inboundSchema: z.ZodType<ACHPaymentSettingsUpdate, z.ZodTypeDef, unknown>;
|
|
25
|
-
/** @deprecated use `ACHPaymentSettingsUpdate$outboundSchema` instead. */
|
|
26
|
-
const outboundSchema: z.ZodType<ACHPaymentSettingsUpdate$Outbound, z.ZodTypeDef, ACHPaymentSettingsUpdate>;
|
|
27
|
-
/** @deprecated use `ACHPaymentSettingsUpdate$Outbound` instead. */
|
|
28
|
-
type Outbound = ACHPaymentSettingsUpdate$Outbound;
|
|
29
|
-
}
|
|
30
|
-
export declare function achPaymentSettingsUpdateToJSON(achPaymentSettingsUpdate: ACHPaymentSettingsUpdate): string;
|
|
31
|
-
export declare function achPaymentSettingsUpdateFromJSON(jsonString: string): SafeParseResult<ACHPaymentSettingsUpdate, SDKValidationError>;
|
|
32
|
-
//# sourceMappingURL=achpaymentsettingsupdate.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"achpaymentsettingsupdate.d.ts","sourceRoot":"","sources":["../../src/models/components/achpaymentsettingsupdate.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;AAErE,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,iCAAiC,GAAG;IAC9C,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,iCAAiC,EACjC,CAAC,CAAC,UAAU,EACZ,wBAAwB,CAGxB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,yBAAyB,CAAC;IACzC,wEAAwE;IACjE,MAAM,aAAa,4DAAyC,CAAC;IACpE,yEAAyE;IAClE,MAAM,cAAc,sFAA0C,CAAC;IACtE,mEAAmE;IACnE,KAAY,QAAQ,GAAG,iCAAiC,CAAC;CAC1D;AAED,wBAAgB,8BAA8B,CAC5C,wBAAwB,EAAE,wBAAwB,GACjD,MAAM,CAIR;AAED,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"achpaymentsettingsupdate.js","sourceRoot":"","sources":["../../src/models/components/achpaymentsettingsupdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkDH,wEAMC;AAED,4EAQC;AAhED,uCAAyB;AACzB,qDAAiD;AAWjD,gBAAgB;AACH,QAAA,sCAAsC,GAI/C,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,yBAAyB,CAOzC;AAPD,WAAiB,yBAAyB;IACxC,wEAAwE;IAC3D,uCAAa,GAAG,8CAAsC,CAAC;IACpE,yEAAyE;IAC5D,wCAAc,GAAG,+CAAuC,CAAC;AAGxE,CAAC,EAPgB,yBAAyB,yCAAzB,yBAAyB,QAOzC;AAED,SAAgB,8BAA8B,CAC5C,wBAAkD;IAElD,OAAO,IAAI,CAAC,SAAS,CACnB,+CAAuC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CACxE,CAAC;AACJ,CAAC;AAED,SAAgB,gCAAgC,CAC9C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8CAAsC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClE,sDAAsD,CACvD,CAAC;AACJ,CAAC"}
|
|
@@ -1,93 +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 { AccountType } from "./accounttype.js";
|
|
5
|
-
import { CapabilityID } from "./capabilityid.js";
|
|
6
|
-
import { CreateProfileUpdate, CreateProfileUpdate$Outbound } from "./createprofileupdate.js";
|
|
7
|
-
import { CustomerSupportUpdate, CustomerSupportUpdate$Outbound } from "./customersupportupdate.js";
|
|
8
|
-
import { ManualTermsOfServiceUpdate, ManualTermsOfServiceUpdate$Outbound } from "./manualtermsofserviceupdate.js";
|
|
9
|
-
import { SettingsUpdate, SettingsUpdate$Outbound } from "./settingsupdate.js";
|
|
10
|
-
import { TermsOfServiceTokenUpdate, TermsOfServiceTokenUpdate$Outbound } from "./termsofservicetokenupdate.js";
|
|
11
|
-
export type CreateAccountUpdateTermsOfService = TermsOfServiceTokenUpdate | ManualTermsOfServiceUpdate;
|
|
12
|
-
export type CreateAccountUpdate = {
|
|
13
|
-
/**
|
|
14
|
-
* The type of entity represented by this account.
|
|
15
|
-
*/
|
|
16
|
-
accountType?: AccountType | undefined;
|
|
17
|
-
profile?: CreateProfileUpdate | undefined;
|
|
18
|
-
/**
|
|
19
|
-
* Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
|
|
20
|
-
*/
|
|
21
|
-
metadata?: {
|
|
22
|
-
[k: string]: string;
|
|
23
|
-
} | undefined;
|
|
24
|
-
termsOfService?: TermsOfServiceTokenUpdate | ManualTermsOfServiceUpdate | undefined;
|
|
25
|
-
/**
|
|
26
|
-
* Optional alias from a foreign/external system which can be used to reference this resource.
|
|
27
|
-
*/
|
|
28
|
-
foreignID?: string | undefined;
|
|
29
|
-
/**
|
|
30
|
-
* User-provided information that can be displayed on credit card transactions for customers to use when
|
|
31
|
-
*
|
|
32
|
-
* @remarks
|
|
33
|
-
* contacting a customer support team. This data is only allowed on a business account.
|
|
34
|
-
*/
|
|
35
|
-
customerSupport?: CustomerSupportUpdate | undefined;
|
|
36
|
-
/**
|
|
37
|
-
* User provided settings to manage an account.
|
|
38
|
-
*/
|
|
39
|
-
settings?: SettingsUpdate | undefined;
|
|
40
|
-
capabilities?: Array<CapabilityID> | undefined;
|
|
41
|
-
};
|
|
42
|
-
/** @internal */
|
|
43
|
-
export declare const CreateAccountUpdateTermsOfService$inboundSchema: z.ZodType<CreateAccountUpdateTermsOfService, z.ZodTypeDef, unknown>;
|
|
44
|
-
/** @internal */
|
|
45
|
-
export type CreateAccountUpdateTermsOfService$Outbound = TermsOfServiceTokenUpdate$Outbound | ManualTermsOfServiceUpdate$Outbound;
|
|
46
|
-
/** @internal */
|
|
47
|
-
export declare const CreateAccountUpdateTermsOfService$outboundSchema: z.ZodType<CreateAccountUpdateTermsOfService$Outbound, z.ZodTypeDef, CreateAccountUpdateTermsOfService>;
|
|
48
|
-
/**
|
|
49
|
-
* @internal
|
|
50
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
51
|
-
*/
|
|
52
|
-
export declare namespace CreateAccountUpdateTermsOfService$ {
|
|
53
|
-
/** @deprecated use `CreateAccountUpdateTermsOfService$inboundSchema` instead. */
|
|
54
|
-
const inboundSchema: z.ZodType<CreateAccountUpdateTermsOfService, z.ZodTypeDef, unknown>;
|
|
55
|
-
/** @deprecated use `CreateAccountUpdateTermsOfService$outboundSchema` instead. */
|
|
56
|
-
const outboundSchema: z.ZodType<CreateAccountUpdateTermsOfService$Outbound, z.ZodTypeDef, CreateAccountUpdateTermsOfService>;
|
|
57
|
-
/** @deprecated use `CreateAccountUpdateTermsOfService$Outbound` instead. */
|
|
58
|
-
type Outbound = CreateAccountUpdateTermsOfService$Outbound;
|
|
59
|
-
}
|
|
60
|
-
export declare function createAccountUpdateTermsOfServiceToJSON(createAccountUpdateTermsOfService: CreateAccountUpdateTermsOfService): string;
|
|
61
|
-
export declare function createAccountUpdateTermsOfServiceFromJSON(jsonString: string): SafeParseResult<CreateAccountUpdateTermsOfService, SDKValidationError>;
|
|
62
|
-
/** @internal */
|
|
63
|
-
export declare const CreateAccountUpdate$inboundSchema: z.ZodType<CreateAccountUpdate, z.ZodTypeDef, unknown>;
|
|
64
|
-
/** @internal */
|
|
65
|
-
export type CreateAccountUpdate$Outbound = {
|
|
66
|
-
accountType?: string | undefined;
|
|
67
|
-
profile?: CreateProfileUpdate$Outbound | undefined;
|
|
68
|
-
metadata?: {
|
|
69
|
-
[k: string]: string;
|
|
70
|
-
} | undefined;
|
|
71
|
-
termsOfService?: TermsOfServiceTokenUpdate$Outbound | ManualTermsOfServiceUpdate$Outbound | undefined;
|
|
72
|
-
foreignID?: string | undefined;
|
|
73
|
-
customerSupport?: CustomerSupportUpdate$Outbound | undefined;
|
|
74
|
-
settings?: SettingsUpdate$Outbound | undefined;
|
|
75
|
-
capabilities?: Array<string> | undefined;
|
|
76
|
-
};
|
|
77
|
-
/** @internal */
|
|
78
|
-
export declare const CreateAccountUpdate$outboundSchema: z.ZodType<CreateAccountUpdate$Outbound, z.ZodTypeDef, CreateAccountUpdate>;
|
|
79
|
-
/**
|
|
80
|
-
* @internal
|
|
81
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
82
|
-
*/
|
|
83
|
-
export declare namespace CreateAccountUpdate$ {
|
|
84
|
-
/** @deprecated use `CreateAccountUpdate$inboundSchema` instead. */
|
|
85
|
-
const inboundSchema: z.ZodType<CreateAccountUpdate, z.ZodTypeDef, unknown>;
|
|
86
|
-
/** @deprecated use `CreateAccountUpdate$outboundSchema` instead. */
|
|
87
|
-
const outboundSchema: z.ZodType<CreateAccountUpdate$Outbound, z.ZodTypeDef, CreateAccountUpdate>;
|
|
88
|
-
/** @deprecated use `CreateAccountUpdate$Outbound` instead. */
|
|
89
|
-
type Outbound = CreateAccountUpdate$Outbound;
|
|
90
|
-
}
|
|
91
|
-
export declare function createAccountUpdateToJSON(createAccountUpdate: CreateAccountUpdate): string;
|
|
92
|
-
export declare function createAccountUpdateFromJSON(jsonString: string): SafeParseResult<CreateAccountUpdate, SDKValidationError>;
|
|
93
|
-
//# sourceMappingURL=createaccountupdate.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createaccountupdate.d.ts","sourceRoot":"","sources":["../../src/models/components/createaccountupdate.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,WAAW,EAGZ,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,YAAY,EAGb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,mBAAmB,EAEnB,4BAA4B,EAE7B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,EAErB,8BAA8B,EAE/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,0BAA0B,EAE1B,mCAAmC,EAEpC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,cAAc,EAEd,uBAAuB,EAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,yBAAyB,EAEzB,kCAAkC,EAEnC,MAAM,gCAAgC,CAAC;AAExC,MAAM,MAAM,iCAAiC,GACzC,yBAAyB,GACzB,0BAA0B,CAAC;AAE/B,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IACtC,OAAO,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IAC/C,cAAc,CAAC,EACX,yBAAyB,GACzB,0BAA0B,GAC1B,SAAS,CAAC;IACd;;OAEG;IACH,SAA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,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IAC/C,cAAc,CAAC,EACX,kCAAkC,GAClC,mCAAmC,GACnC,SAAS,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,eAAe,CAAC,EAAE,8BAA8B,GAAG,SAAS,CAAC;IAC7D,QAAQ,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;IAC/C,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CAanB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,oBAAoB,CAAC;IACpC,mEAAmE;IAC5D,MAAM,aAAa,uDAAoC,CAAC;IAC/D,oEAAoE;IAC7D,MAAM,cAAc,4EAAqC,CAAC;IACjE,8DAA8D;IAC9D,KAAY,QAAQ,GAAG,4BAA4B,CAAC;CACrD;AAED,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR;AAED,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
|
|
@@ -1,125 +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.CreateAccountUpdate$ = exports.CreateAccountUpdate$outboundSchema = exports.CreateAccountUpdate$inboundSchema = exports.CreateAccountUpdateTermsOfService$ = exports.CreateAccountUpdateTermsOfService$outboundSchema = exports.CreateAccountUpdateTermsOfService$inboundSchema = void 0;
|
|
40
|
-
exports.createAccountUpdateTermsOfServiceToJSON = createAccountUpdateTermsOfServiceToJSON;
|
|
41
|
-
exports.createAccountUpdateTermsOfServiceFromJSON = createAccountUpdateTermsOfServiceFromJSON;
|
|
42
|
-
exports.createAccountUpdateToJSON = createAccountUpdateToJSON;
|
|
43
|
-
exports.createAccountUpdateFromJSON = createAccountUpdateFromJSON;
|
|
44
|
-
const z = __importStar(require("zod"));
|
|
45
|
-
const schemas_js_1 = require("../../lib/schemas.js");
|
|
46
|
-
const accounttype_js_1 = require("./accounttype.js");
|
|
47
|
-
const capabilityid_js_1 = require("./capabilityid.js");
|
|
48
|
-
const createprofileupdate_js_1 = require("./createprofileupdate.js");
|
|
49
|
-
const customersupportupdate_js_1 = require("./customersupportupdate.js");
|
|
50
|
-
const manualtermsofserviceupdate_js_1 = require("./manualtermsofserviceupdate.js");
|
|
51
|
-
const settingsupdate_js_1 = require("./settingsupdate.js");
|
|
52
|
-
const termsofservicetokenupdate_js_1 = require("./termsofservicetokenupdate.js");
|
|
53
|
-
/** @internal */
|
|
54
|
-
exports.CreateAccountUpdateTermsOfService$inboundSchema = z.union([
|
|
55
|
-
termsofservicetokenupdate_js_1.TermsOfServiceTokenUpdate$inboundSchema,
|
|
56
|
-
manualtermsofserviceupdate_js_1.ManualTermsOfServiceUpdate$inboundSchema,
|
|
57
|
-
]);
|
|
58
|
-
/** @internal */
|
|
59
|
-
exports.CreateAccountUpdateTermsOfService$outboundSchema = z.union([
|
|
60
|
-
termsofservicetokenupdate_js_1.TermsOfServiceTokenUpdate$outboundSchema,
|
|
61
|
-
manualtermsofserviceupdate_js_1.ManualTermsOfServiceUpdate$outboundSchema,
|
|
62
|
-
]);
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
66
|
-
*/
|
|
67
|
-
var CreateAccountUpdateTermsOfService$;
|
|
68
|
-
(function (CreateAccountUpdateTermsOfService$) {
|
|
69
|
-
/** @deprecated use `CreateAccountUpdateTermsOfService$inboundSchema` instead. */
|
|
70
|
-
CreateAccountUpdateTermsOfService$.inboundSchema = exports.CreateAccountUpdateTermsOfService$inboundSchema;
|
|
71
|
-
/** @deprecated use `CreateAccountUpdateTermsOfService$outboundSchema` instead. */
|
|
72
|
-
CreateAccountUpdateTermsOfService$.outboundSchema = exports.CreateAccountUpdateTermsOfService$outboundSchema;
|
|
73
|
-
})(CreateAccountUpdateTermsOfService$ || (exports.CreateAccountUpdateTermsOfService$ = CreateAccountUpdateTermsOfService$ = {}));
|
|
74
|
-
function createAccountUpdateTermsOfServiceToJSON(createAccountUpdateTermsOfService) {
|
|
75
|
-
return JSON.stringify(exports.CreateAccountUpdateTermsOfService$outboundSchema.parse(createAccountUpdateTermsOfService));
|
|
76
|
-
}
|
|
77
|
-
function createAccountUpdateTermsOfServiceFromJSON(jsonString) {
|
|
78
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateAccountUpdateTermsOfService$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateAccountUpdateTermsOfService' from JSON`);
|
|
79
|
-
}
|
|
80
|
-
/** @internal */
|
|
81
|
-
exports.CreateAccountUpdate$inboundSchema = z.object({
|
|
82
|
-
accountType: accounttype_js_1.AccountType$inboundSchema.optional(),
|
|
83
|
-
profile: createprofileupdate_js_1.CreateProfileUpdate$inboundSchema.optional(),
|
|
84
|
-
metadata: z.record(z.string()).optional(),
|
|
85
|
-
termsOfService: z.union([
|
|
86
|
-
termsofservicetokenupdate_js_1.TermsOfServiceTokenUpdate$inboundSchema,
|
|
87
|
-
manualtermsofserviceupdate_js_1.ManualTermsOfServiceUpdate$inboundSchema,
|
|
88
|
-
]).optional(),
|
|
89
|
-
foreignID: z.string().optional(),
|
|
90
|
-
customerSupport: customersupportupdate_js_1.CustomerSupportUpdate$inboundSchema.optional(),
|
|
91
|
-
settings: settingsupdate_js_1.SettingsUpdate$inboundSchema.optional(),
|
|
92
|
-
capabilities: z.array(capabilityid_js_1.CapabilityID$inboundSchema).optional(),
|
|
93
|
-
});
|
|
94
|
-
/** @internal */
|
|
95
|
-
exports.CreateAccountUpdate$outboundSchema = z.object({
|
|
96
|
-
accountType: accounttype_js_1.AccountType$outboundSchema.optional(),
|
|
97
|
-
profile: createprofileupdate_js_1.CreateProfileUpdate$outboundSchema.optional(),
|
|
98
|
-
metadata: z.record(z.string()).optional(),
|
|
99
|
-
termsOfService: z.union([
|
|
100
|
-
termsofservicetokenupdate_js_1.TermsOfServiceTokenUpdate$outboundSchema,
|
|
101
|
-
manualtermsofserviceupdate_js_1.ManualTermsOfServiceUpdate$outboundSchema,
|
|
102
|
-
]).optional(),
|
|
103
|
-
foreignID: z.string().optional(),
|
|
104
|
-
customerSupport: customersupportupdate_js_1.CustomerSupportUpdate$outboundSchema.optional(),
|
|
105
|
-
settings: settingsupdate_js_1.SettingsUpdate$outboundSchema.optional(),
|
|
106
|
-
capabilities: z.array(capabilityid_js_1.CapabilityID$outboundSchema).optional(),
|
|
107
|
-
});
|
|
108
|
-
/**
|
|
109
|
-
* @internal
|
|
110
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
111
|
-
*/
|
|
112
|
-
var CreateAccountUpdate$;
|
|
113
|
-
(function (CreateAccountUpdate$) {
|
|
114
|
-
/** @deprecated use `CreateAccountUpdate$inboundSchema` instead. */
|
|
115
|
-
CreateAccountUpdate$.inboundSchema = exports.CreateAccountUpdate$inboundSchema;
|
|
116
|
-
/** @deprecated use `CreateAccountUpdate$outboundSchema` instead. */
|
|
117
|
-
CreateAccountUpdate$.outboundSchema = exports.CreateAccountUpdate$outboundSchema;
|
|
118
|
-
})(CreateAccountUpdate$ || (exports.CreateAccountUpdate$ = CreateAccountUpdate$ = {}));
|
|
119
|
-
function createAccountUpdateToJSON(createAccountUpdate) {
|
|
120
|
-
return JSON.stringify(exports.CreateAccountUpdate$outboundSchema.parse(createAccountUpdate));
|
|
121
|
-
}
|
|
122
|
-
function createAccountUpdateFromJSON(jsonString) {
|
|
123
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateAccountUpdate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateAccountUpdate' from JSON`);
|
|
124
|
-
}
|
|
125
|
-
//# sourceMappingURL=createaccountupdate.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createaccountupdate.js","sourceRoot":"","sources":["../../src/models/components/createaccountupdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0HH,0FAQC;AAED,8FAQC;AAoED,8DAMC;AAED,kEAQC;AA9ND,uCAAyB;AACzB,qDAAiD;AAGjD,qDAI0B;AAC1B,uDAI2B;AAC3B,qEAKkC;AAClC,yEAKoC;AACpC,mFAKyC;AACzC,2DAK6B;AAC7B,iFAKwC;AAsCxC,gBAAgB;AACH,QAAA,+CAA+C,GAIxD,CAAC,CAAC,KAAK,CAAC;IACV,sEAAuC;IACvC,wEAAwC;CACzC,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,gDAAgD,GAIzD,CAAC,CAAC,KAAK,CAAC;IACV,uEAAwC;IACxC,yEAAyC;CAC1C,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,kCAAkC,CAQlD;AARD,WAAiB,kCAAkC;IACjD,iFAAiF;IACpE,gDAAa,GAAG,uDAA+C,CAAC;IAC7E,kFAAkF;IACrE,iDAAc,GACzB,wDAAgD,CAAC;AAGrD,CAAC,EARgB,kCAAkC,kDAAlC,kCAAkC,QAQlD;AAED,SAAgB,uCAAuC,CACrD,iCAAoE;IAEpE,OAAO,IAAI,CAAC,SAAS,CACnB,wDAAgD,CAAC,KAAK,CACpD,iCAAiC,CAClC,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,yCAAyC,CACvD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uDAA+C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3E,+DAA+D,CAChE,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,C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mE;IACtD,kCAAa,GAAG,yCAAiC,CAAC;IAC/D,oEAAoE;IACvD,mCAAc,GAAG,0CAAkC,CAAC;AAGnE,CAAC,EAPgB,oBAAoB,oCAApB,oBAAoB,QAOpC;AAED,SAAgB,yBAAyB,CACvC,mBAAwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,0CAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC;AAED,SAAgB,2BAA2B,CACzC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createbusinessprofileupdate.d.ts","sourceRoot":"","sources":["../../src/models/components/createbusinessprofileupdate.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,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,YAAY,EAGb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,WAAW,EAEX,oBAAoB,EAErB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,gBAAgB,EAGjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,WAAW,EAEX,oBAAoB,EAErB,MAAM,kBAAkB,CAAC;AAE1B,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS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ACnD,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,oCAAoC,EACpC,CAAC,CAAC,UAAU,EACZ,2BAA2B,CAa3B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,4BAA4B,CAAC;IAC5C,2EAA2E;IACpE,MAAM,aAAa,+DAA4C,CAAC;IACvE,4EAA4E;IACrE,MAAM,cAAc,4FAA6C,CAAC;IACzE,sEAAsE;IACtE,KAAY,QAAQ,GAAG,oCAAoC,CAAC;CAC7D;AAED,wBAAgB,iCAAiC,CAC/C,2BAA2B,EAAE,2BAA2B,GACvD,MAAM,CAMR;AAED,wBAAgB,mCAAmC,CACjD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,2BAA2B,EAAE,kBAAkB,CAAC,CAMlE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createbusinessprofileupdate.js","sourceRoot":"","sources":["../../src/models/components/createbusinessprofileupdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwIH,8EAQC;AAED,kFAQC;AAxJD,uCAAyB;AACzB,qDAAiD;AAGjD,yDAK4B;AAC5B,uDAI2B;AAC3B,yDAK4B;AAC5B,qDAK0B;AAC1B,+DAI+B;AAC/B,qDAK0B;AA+B1B,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACxC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtC,YAAY,EAAE,4CAA0B,CAAC,QAAQ,EAAE;IACnD,OAAO,EAAE,8CAA2B,CAAC,QAAQ,EAAE;IAC/C,KAAK,EAAE,0CAAyB,CAAC,QAAQ,EAAE;IAC3C,KAA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SAAgB,iCAAiC,CAC/C,2BAAwD;IAExD,OAAO,IAAI,CAAC,SAAS,CACnB,kDAA0C,CAAC,KAAK,CAC9C,2BAA2B,CAC5B,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,mCAAmC,CACjD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iDAAyC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrE,yDAAyD,CAC1D,CAAC;AACJ,CAAC"}
|
|
@@ -1,44 +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 { AddressUpdate, AddressUpdate$Outbound } from "./addressupdate.js";
|
|
5
|
-
import { BirthDateUpdate, BirthDateUpdate$Outbound } from "./birthdateupdate.js";
|
|
6
|
-
import { GovernmentID, GovernmentID$Outbound } from "./governmentid.js";
|
|
7
|
-
import { IndividualNameUpdate, IndividualNameUpdate$Outbound } from "./individualnameupdate.js";
|
|
8
|
-
import { PhoneNumber, PhoneNumber$Outbound } from "./phonenumber.js";
|
|
9
|
-
export type CreateIndividualProfileUpdate = {
|
|
10
|
-
name?: IndividualNameUpdate | undefined;
|
|
11
|
-
phone?: PhoneNumber | undefined;
|
|
12
|
-
email?: string | undefined;
|
|
13
|
-
address?: AddressUpdate | undefined;
|
|
14
|
-
birthDate?: BirthDateUpdate | undefined;
|
|
15
|
-
governmentID?: GovernmentID | undefined;
|
|
16
|
-
};
|
|
17
|
-
/** @internal */
|
|
18
|
-
export declare const CreateIndividualProfileUpdate$inboundSchema: z.ZodType<CreateIndividualProfileUpdate, z.ZodTypeDef, unknown>;
|
|
19
|
-
/** @internal */
|
|
20
|
-
export type CreateIndividualProfileUpdate$Outbound = {
|
|
21
|
-
name?: IndividualNameUpdate$Outbound | undefined;
|
|
22
|
-
phone?: PhoneNumber$Outbound | undefined;
|
|
23
|
-
email?: string | undefined;
|
|
24
|
-
address?: AddressUpdate$Outbound | undefined;
|
|
25
|
-
birthDate?: BirthDateUpdate$Outbound | undefined;
|
|
26
|
-
governmentID?: GovernmentID$Outbound | undefined;
|
|
27
|
-
};
|
|
28
|
-
/** @internal */
|
|
29
|
-
export declare const CreateIndividualProfileUpdate$outboundSchema: z.ZodType<CreateIndividualProfileUpdate$Outbound, z.ZodTypeDef, CreateIndividualProfileUpdate>;
|
|
30
|
-
/**
|
|
31
|
-
* @internal
|
|
32
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
33
|
-
*/
|
|
34
|
-
export declare namespace CreateIndividualProfileUpdate$ {
|
|
35
|
-
/** @deprecated use `CreateIndividualProfileUpdate$inboundSchema` instead. */
|
|
36
|
-
const inboundSchema: z.ZodType<CreateIndividualProfileUpdate, z.ZodTypeDef, unknown>;
|
|
37
|
-
/** @deprecated use `CreateIndividualProfileUpdate$outboundSchema` instead. */
|
|
38
|
-
const outboundSchema: z.ZodType<CreateIndividualProfileUpdate$Outbound, z.ZodTypeDef, CreateIndividualProfileUpdate>;
|
|
39
|
-
/** @deprecated use `CreateIndividualProfileUpdate$Outbound` instead. */
|
|
40
|
-
type Outbound = CreateIndividualProfileUpdate$Outbound;
|
|
41
|
-
}
|
|
42
|
-
export declare function createIndividualProfileUpdateToJSON(createIndividualProfileUpdate: CreateIndividualProfileUpdate): string;
|
|
43
|
-
export declare function createIndividualProfileUpdateFromJSON(jsonString: string): SafeParseResult<CreateIndividualProfileUpdate, SDKValidationError>;
|
|
44
|
-
//# sourceMappingURL=createindividualprofileupdate.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createindividualprofileupdate.d.ts","sourceRoot":"","sources":["../../src/models/components/createindividualprofileupdate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,O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,qBAAqB,GAAG,SAAS,CAAC;CAClD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAClE,sCAAsC,EACtC,CAAC,CAAC,UAAU,EACZ,6BAA6B,CAQ7B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,8BAA8B,CAAC;IAC9C,6EAA6E;IACtE,MAAM,aAAa,iEAA8C,CAAC;IACzE,8EAA8E;IACvE,MAAM,cAAc,gGAA+C,CAAC;IAC3E,wEAAwE;IACxE,KAAY,QAAQ,GAAG,sCAAsC,CAAC;CAC/D;AAED,wBAAgB,mCAAmC,CACjD,6BAA6B,EAAE,6BAA6B,GAC3D,MAAM,CAMR;AAED,wBAAgB,qCAAqC,CACnD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,6BAA6B,EAAE,kBAAkB,CAAC,CAMpE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createindividualprofileupdate.js","sourceRoot":"","sources":["../../src/models/components/createindividualprofileupdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiGH,kFAQC;AAED,sFAQC;AAjHD,uCAAyB;AACzB,qDAAiD;AAGjD,yDAK4B;AAC5B,6DAK8B;AAC9B,uDAK2B;AAC3B,uEAKmC;AACnC,qDAK0B;AAW1B,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,4DAAkC,CAAC,QAAQ,EAAE;IACnD,KAAK,EAAE,0CAAyB,CAAC,QAAQ,EAAE;IAC3C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,OAAO,EAAE,8CAA2B,CAAC,QAAQ,EAAE;IAC/C,SAAS,EAAE,kDAA6B,CAAC,QAAQ,EAAE;IACnD,YAAY,EAAE,4CAA0B,CAAC,QAAQ,EAAE;CACpD,CAAC,CAAC;AAYH,gBAAgB;AACH,QAAA,4CAA4C,GAIrD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,6DAAmC,CAAC,QAAQ,EAAE;IACpD,KAAK,EAAE,2CAA0B,CAAC,QAAQ,EAAE;IAC5C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,OAAO,EAAE,+CAA4B,CAAC,QAAQ,EAAE;IAChD,SAAS,EAAE,mDAA8B,CAAC,QAAQ,EAAE;IACpD,YAAY,EAAE,6CAA2B,CAAC,QAAQ,EAAE;CACrD,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,8BAA8B,CAO9C;AAPD,WAAiB,8BAA8B;IAC7C,6EAA6E;IAChE,4CAAa,GAAG,mDAA2C,CAAC;IACzE,8EAA8E;IACjE,6CAAc,GAAG,oDAA4C,CAAC;AAG7E,CAAC,EAPgB,8BAA8B,8CAA9B,8BAA8B,QAO9C;AAED,SAAgB,mCAAmC,CACjD,6BAA4D;IAE5D,OAAO,IAAI,CAAC,SAAS,CACnB,oDAA4C,CAAC,KAAK,CAChD,6BAA6B,CAC9B,CACF,CAAC;AACJ,CAAC;AAED,SAAgB,qCAAqC,CACnD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mDAA2C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,2DAA2D,CAC5D,CAAC;AACJ,CAAC"}
|
|
@@ -1,33 +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 { CreateBusinessProfileUpdate, CreateBusinessProfileUpdate$Outbound } from "./createbusinessprofileupdate.js";
|
|
5
|
-
import { CreateIndividualProfileUpdate, CreateIndividualProfileUpdate$Outbound } from "./createindividualprofileupdate.js";
|
|
6
|
-
export type CreateProfileUpdate = {
|
|
7
|
-
individual?: CreateIndividualProfileUpdate | undefined;
|
|
8
|
-
business?: CreateBusinessProfileUpdate | undefined;
|
|
9
|
-
};
|
|
10
|
-
/** @internal */
|
|
11
|
-
export declare const CreateProfileUpdate$inboundSchema: z.ZodType<CreateProfileUpdate, z.ZodTypeDef, unknown>;
|
|
12
|
-
/** @internal */
|
|
13
|
-
export type CreateProfileUpdate$Outbound = {
|
|
14
|
-
individual?: CreateIndividualProfileUpdate$Outbound | undefined;
|
|
15
|
-
business?: CreateBusinessProfileUpdate$Outbound | undefined;
|
|
16
|
-
};
|
|
17
|
-
/** @internal */
|
|
18
|
-
export declare const CreateProfileUpdate$outboundSchema: z.ZodType<CreateProfileUpdate$Outbound, z.ZodTypeDef, CreateProfileUpdate>;
|
|
19
|
-
/**
|
|
20
|
-
* @internal
|
|
21
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
22
|
-
*/
|
|
23
|
-
export declare namespace CreateProfileUpdate$ {
|
|
24
|
-
/** @deprecated use `CreateProfileUpdate$inboundSchema` instead. */
|
|
25
|
-
const inboundSchema: z.ZodType<CreateProfileUpdate, z.ZodTypeDef, unknown>;
|
|
26
|
-
/** @deprecated use `CreateProfileUpdate$outboundSchema` instead. */
|
|
27
|
-
const outboundSchema: z.ZodType<CreateProfileUpdate$Outbound, z.ZodTypeDef, CreateProfileUpdate>;
|
|
28
|
-
/** @deprecated use `CreateProfileUpdate$Outbound` instead. */
|
|
29
|
-
type Outbound = CreateProfileUpdate$Outbound;
|
|
30
|
-
}
|
|
31
|
-
export declare function createProfileUpdateToJSON(createProfileUpdate: CreateProfileUpdate): string;
|
|
32
|
-
export declare function createProfileUpdateFromJSON(jsonString: string): SafeParseResult<CreateProfileUpdate, SDKValidationError>;
|
|
33
|
-
//# sourceMappingURL=createprofileupdate.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createprofileupdate.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E,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
|
|
@@ -1,73 +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.CreateProfileUpdate$ = exports.CreateProfileUpdate$outboundSchema = exports.CreateProfileUpdate$inboundSchema = void 0;
|
|
40
|
-
exports.createProfileUpdateToJSON = createProfileUpdateToJSON;
|
|
41
|
-
exports.createProfileUpdateFromJSON = createProfileUpdateFromJSON;
|
|
42
|
-
const z = __importStar(require("zod"));
|
|
43
|
-
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
-
const createbusinessprofileupdate_js_1 = require("./createbusinessprofileupdate.js");
|
|
45
|
-
const createindividualprofileupdate_js_1 = require("./createindividualprofileupdate.js");
|
|
46
|
-
/** @internal */
|
|
47
|
-
exports.CreateProfileUpdate$inboundSchema = z.object({
|
|
48
|
-
individual: createindividualprofileupdate_js_1.CreateIndividualProfileUpdate$inboundSchema.optional(),
|
|
49
|
-
business: createbusinessprofileupdate_js_1.CreateBusinessProfileUpdate$inboundSchema.optional(),
|
|
50
|
-
});
|
|
51
|
-
/** @internal */
|
|
52
|
-
exports.CreateProfileUpdate$outboundSchema = z.object({
|
|
53
|
-
individual: createindividualprofileupdate_js_1.CreateIndividualProfileUpdate$outboundSchema.optional(),
|
|
54
|
-
business: createbusinessprofileupdate_js_1.CreateBusinessProfileUpdate$outboundSchema.optional(),
|
|
55
|
-
});
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
59
|
-
*/
|
|
60
|
-
var CreateProfileUpdate$;
|
|
61
|
-
(function (CreateProfileUpdate$) {
|
|
62
|
-
/** @deprecated use `CreateProfileUpdate$inboundSchema` instead. */
|
|
63
|
-
CreateProfileUpdate$.inboundSchema = exports.CreateProfileUpdate$inboundSchema;
|
|
64
|
-
/** @deprecated use `CreateProfileUpdate$outboundSchema` instead. */
|
|
65
|
-
CreateProfileUpdate$.outboundSchema = exports.CreateProfileUpdate$outboundSchema;
|
|
66
|
-
})(CreateProfileUpdate$ || (exports.CreateProfileUpdate$ = CreateProfileUpdate$ = {}));
|
|
67
|
-
function createProfileUpdateToJSON(createProfileUpdate) {
|
|
68
|
-
return JSON.stringify(exports.CreateProfileUpdate$outboundSchema.parse(createProfileUpdate));
|
|
69
|
-
}
|
|
70
|
-
function createProfileUpdateFromJSON(jsonString) {
|
|
71
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateProfileUpdate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProfileUpdate' from JSON`);
|
|
72
|
-
}
|
|
73
|
-
//# sourceMappingURL=createprofileupdate.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createprofileupdate.js","sourceRoot":"","sources":["../../src/models/components/createprofileupdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+DH,8DAMC;AAED,kEAQC;AA7ED,uCAAyB;AACzB,qDAAiD;AAGjD,qFAK0C;AAC1C,yFAK4C;AAO5C,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,8EAA2C,CAAC,QAAQ,EAAE;IAClE,QAAQ,EAAE,0EAAyC,CAAC,QAAQ,EAAE;CAC/D,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,+EAA4C,CAAC,QAAQ,EAAE;IACnE,QAAQ,EAAE,2EAA0C,CAAC,QAAQ,EAAE;CAChE,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,oBAAoB,CAOpC;AAPD,WAAiB,oBAAoB;IACnC,mEAAmE;IACtD,kCAAa,GAAG,yCAAiC,CAAC;IAC/D,oEAAoE;IACvD,mCAAc,GAAG,0CAAkC,CAAC;AAGnE,CAAC,EAPgB,oBAAoB,oCAApB,oBAAoB,QAOpC;AAED,SAAgB,yBAAyB,CACvC,mBAAwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,0CAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC;AAED,SAAgB,2BAA2B,CACzC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC"}
|
|
@@ -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 { AddressUpdate, AddressUpdate$Outbound } from "./addressupdate.js";
|
|
5
|
-
import { PhoneNumber, PhoneNumber$Outbound } from "./phonenumber.js";
|
|
6
|
-
/**
|
|
7
|
-
* User-provided information that can be displayed on credit card transactions for customers to use when
|
|
8
|
-
*
|
|
9
|
-
* @remarks
|
|
10
|
-
* contacting a customer support team. This data is only allowed on a business account.
|
|
11
|
-
*/
|
|
12
|
-
export type CustomerSupportUpdate = {
|
|
13
|
-
phone?: PhoneNumber | undefined;
|
|
14
|
-
email?: string | undefined;
|
|
15
|
-
address?: AddressUpdate | undefined;
|
|
16
|
-
website?: string | undefined;
|
|
17
|
-
};
|
|
18
|
-
/** @internal */
|
|
19
|
-
export declare const CustomerSupportUpdate$inboundSchema: z.ZodType<CustomerSupportUpdate, z.ZodTypeDef, unknown>;
|
|
20
|
-
/** @internal */
|
|
21
|
-
export type CustomerSupportUpdate$Outbound = {
|
|
22
|
-
phone?: PhoneNumber$Outbound | undefined;
|
|
23
|
-
email?: string | undefined;
|
|
24
|
-
address?: AddressUpdate$Outbound | undefined;
|
|
25
|
-
website?: string | undefined;
|
|
26
|
-
};
|
|
27
|
-
/** @internal */
|
|
28
|
-
export declare const CustomerSupportUpdate$outboundSchema: z.ZodType<CustomerSupportUpdate$Outbound, z.ZodTypeDef, CustomerSupportUpdate>;
|
|
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 CustomerSupportUpdate$ {
|
|
34
|
-
/** @deprecated use `CustomerSupportUpdate$inboundSchema` instead. */
|
|
35
|
-
const inboundSchema: z.ZodType<CustomerSupportUpdate, z.ZodTypeDef, unknown>;
|
|
36
|
-
/** @deprecated use `CustomerSupportUpdate$outboundSchema` instead. */
|
|
37
|
-
const outboundSchema: z.ZodType<CustomerSupportUpdate$Outbound, z.ZodTypeDef, CustomerSupportUpdate>;
|
|
38
|
-
/** @deprecated use `CustomerSupportUpdate$Outbound` instead. */
|
|
39
|
-
type Outbound = CustomerSupportUpdate$Outbound;
|
|
40
|
-
}
|
|
41
|
-
export declare function customerSupportUpdateToJSON(customerSupportUpdate: CustomerSupportUpdate): string;
|
|
42
|
-
export declare function customerSupportUpdateFromJSON(jsonString: string): SafeParseResult<CustomerSupportUpdate, SDKValidationError>;
|
|
43
|
-
//# sourceMappingURL=customersupportupdate.d.ts.map
|