@moovio/sdk 0.11.3 → 0.11.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +59 -12
- package/bin/mcp-server.js.map +15 -13
- package/funcs/accountsList.js +1 -0
- package/funcs/accountsList.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/accounttype.d.ts +3 -0
- package/models/components/accounttype.d.ts.map +1 -1
- package/models/components/accounttype.js +1 -0
- package/models/components/accounttype.js.map +1 -1
- package/models/components/bankaccountholdertype.d.ts +3 -0
- package/models/components/bankaccountholdertype.d.ts.map +1 -1
- package/models/components/bankaccountholdertype.js +1 -0
- package/models/components/bankaccountholdertype.js.map +1 -1
- package/models/components/createaccount.d.ts +2 -5
- package/models/components/createaccount.d.ts.map +1 -1
- package/models/components/createaccount.js +3 -3
- package/models/components/createaccount.js.map +1 -1
- package/models/components/createaccounttype.d.ts +28 -0
- package/models/components/createaccounttype.d.ts.map +1 -0
- package/models/components/createaccounttype.js +60 -0
- package/models/components/createaccounttype.js.map +1 -0
- package/models/components/guestprofile.d.ts +43 -0
- package/models/components/guestprofile.d.ts.map +1 -0
- package/models/components/guestprofile.js +74 -0
- package/models/components/guestprofile.js.map +1 -0
- package/models/components/index.d.ts +2 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -0
- package/models/components/index.js.map +1 -1
- package/models/components/profile.d.ts +6 -0
- package/models/components/profile.d.ts.map +1 -1
- package/models/components/profile.js +3 -0
- package/models/components/profile.js.map +1 -1
- package/models/operations/listaccounts.d.ts +9 -0
- package/models/operations/listaccounts.d.ts.map +1 -1
- package/models/operations/listaccounts.js +2 -0
- package/models/operations/listaccounts.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/accountsList.ts +1 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/accounttype.ts +1 -0
- package/src/models/components/bankaccountholdertype.ts +1 -0
- package/src/models/components/createaccount.ts +8 -11
- package/src/models/components/createaccounttype.ts +33 -0
- package/src/models/components/guestprofile.ts +85 -0
- package/src/models/components/index.ts +2 -0
- package/src/models/components/profile.ts +13 -0
- package/src/models/operations/listaccounts.ts +11 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../src/models/components/profile.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,eAAe,EAEf,wBAAwB,EAEzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,iBAAiB,EAEjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAEhC;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAC3C;;OAEG;IACH,QAAQ,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../src/models/components/profile.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,eAAe,EAEf,wBAAwB,EAEzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,YAAY,EAEZ,qBAAqB,EAEtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,iBAAiB,EAEjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAEhC;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAC3C;;OAEG;IACH,QAAQ,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IACvC;;OAEG;IACH,KAAK,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qBAAqB,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAKxE,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,CAAC,EAAE,0BAA0B,GAAG,SAAS,CAAC;IACpD,QAAQ,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;IAChD,KAAK,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;CAC3C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,EAAE,CAAC,CAAC,OAAO,CAC5C,gBAAgB,EAChB,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH;;;GAGG;AACH,yBAAiB,QAAQ,CAAC;IACxB,uDAAuD;IAChD,MAAM,aAAa,2CAAwB,CAAC;IACnD,wDAAwD;IACjD,MAAM,cAAc,oDAAyB,CAAC;IACrD,kDAAkD;IAClD,KAAY,QAAQ,GAAG,gBAAgB,CAAC;CACzC;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAEtD;AAED,wBAAgB,eAAe,CAC7B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAM9C"}
|
|
@@ -42,16 +42,19 @@ exports.profileFromJSON = profileFromJSON;
|
|
|
42
42
|
const z = __importStar(require("zod"));
|
|
43
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
44
|
const businessprofile_js_1 = require("./businessprofile.js");
|
|
45
|
+
const guestprofile_js_1 = require("./guestprofile.js");
|
|
45
46
|
const individualprofile_js_1 = require("./individualprofile.js");
|
|
46
47
|
/** @internal */
|
|
47
48
|
exports.Profile$inboundSchema = z.object({
|
|
48
49
|
individual: individualprofile_js_1.IndividualProfile$inboundSchema.optional(),
|
|
49
50
|
business: businessprofile_js_1.BusinessProfile$inboundSchema.optional(),
|
|
51
|
+
guest: guestprofile_js_1.GuestProfile$inboundSchema.optional(),
|
|
50
52
|
});
|
|
51
53
|
/** @internal */
|
|
52
54
|
exports.Profile$outboundSchema = z.object({
|
|
53
55
|
individual: individualprofile_js_1.IndividualProfile$outboundSchema.optional(),
|
|
54
56
|
business: businessprofile_js_1.BusinessProfile$outboundSchema.optional(),
|
|
57
|
+
guest: guestprofile_js_1.GuestProfile$outboundSchema.optional(),
|
|
55
58
|
});
|
|
56
59
|
/**
|
|
57
60
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile.js","sourceRoot":"","sources":["../../src/models/components/profile.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"profile.js","sourceRoot":"","sources":["../../src/models/components/profile.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkFH,sCAEC;AAED,0CAQC;AA5FD,uCAAyB;AACzB,qDAAiD;AAGjD,6DAK8B;AAC9B,uDAK2B;AAC3B,iEAKgC;AAoBhC,gBAAgB;AACH,QAAA,qBAAqB,GAChC,CAAC,CAAC,MAAM,CAAC;IACP,UAAU,EAAE,sDAA+B,CAAC,QAAQ,EAAE;IACtD,QAAQ,EAAE,kDAA6B,CAAC,QAAQ,EAAE;IAClD,KAAK,EAAE,4CAA0B,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAC;AASL,gBAAgB;AACH,QAAA,sBAAsB,GAI/B,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,uDAAgC,CAAC,QAAQ,EAAE;IACvD,QAAQ,EAAE,mDAA8B,CAAC,QAAQ,EAAE;IACnD,KAAK,EAAE,6CAA2B,CAAC,QAAQ,EAAE;CAC9C,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,QAAQ,CAOxB;AAPD,WAAiB,QAAQ;IACvB,uDAAuD;IAC1C,sBAAa,GAAG,6BAAqB,CAAC;IACnD,wDAAwD;IAC3C,uBAAc,GAAG,8BAAsB,CAAC;AAGvD,CAAC,EAPgB,QAAQ,wBAAR,QAAQ,QAOxB;AAED,SAAgB,aAAa,CAAC,OAAgB;IAC5C,OAAO,IAAI,CAAC,SAAS,CAAC,8BAAsB,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;AAC/D,CAAC;AAED,SAAgB,eAAe,CAC7B,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6BAAqB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjD,qCAAqC,CACtC,CAAC;AACJ,CAAC"}
|
|
@@ -50,6 +50,14 @@ export type ListAccountsRequest = {
|
|
|
50
50
|
* the display name and Business Profile name fields (`legalBusinessName`, and `doingBusinessAs`).
|
|
51
51
|
*/
|
|
52
52
|
type?: components.AccountType | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* Filter accounts with AccountType guest.
|
|
55
|
+
*
|
|
56
|
+
* @remarks
|
|
57
|
+
*
|
|
58
|
+
* If true, the response will include guest accounts.
|
|
59
|
+
*/
|
|
60
|
+
includeGuest?: boolean | undefined;
|
|
53
61
|
/**
|
|
54
62
|
* Serves as an optional alias from a foreign/external system which can be used to reference this resource.
|
|
55
63
|
*/
|
|
@@ -108,6 +116,7 @@ export type ListAccountsRequest$Outbound = {
|
|
|
108
116
|
name?: string | undefined;
|
|
109
117
|
email?: string | undefined;
|
|
110
118
|
type?: string | undefined;
|
|
119
|
+
includeGuest?: boolean | undefined;
|
|
111
120
|
foreignID?: string | undefined;
|
|
112
121
|
includeDisconnected?: boolean | undefined;
|
|
113
122
|
capability?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listaccounts.d.ts","sourceRoot":"","sources":["../../src/models/operations/listaccounts.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;;;;;;;;;;OAYG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;;;;;;;OAQG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC,WAAW,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;;;;;OAMG;IACH,mBAAmB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC,YAAY,GAAG,SAAS,CAAC;IACjD;;OAEG;IACH,gBAAgB,CAAC,EAAE,UAAU,CAAC,gBAAgB,GAAG,SAAS,CAAC;IAC3D,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B,CAA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AAC;CACtD;AAED,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR;AAED,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
|
|
@@ -85,6 +85,7 @@ exports.ListAccountsRequest$inboundSchema = z.object({
|
|
|
85
85
|
name: z.string().optional(),
|
|
86
86
|
email: z.string().optional(),
|
|
87
87
|
type: components.AccountType$inboundSchema.optional(),
|
|
88
|
+
includeGuest: z.boolean().optional(),
|
|
88
89
|
foreignID: z.string().optional(),
|
|
89
90
|
includeDisconnected: z.boolean().optional(),
|
|
90
91
|
capability: components.CapabilityID$inboundSchema.optional(),
|
|
@@ -97,6 +98,7 @@ exports.ListAccountsRequest$outboundSchema = z.object({
|
|
|
97
98
|
name: z.string().optional(),
|
|
98
99
|
email: z.string().optional(),
|
|
99
100
|
type: components.AccountType$outboundSchema.optional(),
|
|
101
|
+
includeGuest: z.boolean().optional(),
|
|
100
102
|
foreignID: z.string().optional(),
|
|
101
103
|
includeDisconnected: z.boolean().optional(),
|
|
102
104
|
capability: components.CapabilityID$outboundSchema.optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listaccounts.js","sourceRoot":"","sources":["../../src/models/operations/listaccounts.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"listaccounts.js","sourceRoot":"","sources":["../../src/models/operations/listaccounts.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2IH,8DAMC;AAED,kEAQC;AAiED,8DAMC;AAED,kEAQC;AAmDD,gEAMC;AAED,oEAQC;AA7SD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAyFrD,gBAAgB;AACH,QAAA,iCAAiC,GAI1C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AAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IACtC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,sBAAsB,CAAC;CACnD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,OAAO,EAAE,SAAS;QAClB,MAAM,EAAE,QAAQ;KACjB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,qBAAqB,CAOrC;AAPD,WAAiB,qBAAqB;IACpC,oEAAoE;IACvD,mCAAa,GAAG,0CAAkC,CAAC;IAChE,qEAAqE;IACxD,oCAAc,GAAG,2CAAmC,CAAC;AAGpE,CAAC,EAPgB,qBAAqB,qCAArB,qBAAqB,QAOrC;AAED,SAAgB,0BAA0B,CACxC,oBAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,2CAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC;AAED,SAAgB,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0CAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -69,7 +69,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
69
69
|
export const SDK_METADATA = {
|
|
70
70
|
language: "typescript",
|
|
71
71
|
openapiDocVersion: "latest",
|
|
72
|
-
sdkVersion: "0.11.
|
|
72
|
+
sdkVersion: "0.11.4",
|
|
73
73
|
genVersion: "2.597.9",
|
|
74
|
-
userAgent: "speakeasy-sdk/typescript 0.11.
|
|
74
|
+
userAgent: "speakeasy-sdk/typescript 0.11.4 2.597.9 latest @moovio/sdk",
|
|
75
75
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -6,16 +6,16 @@ import * as z from "zod";
|
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
7
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
import {
|
|
10
|
-
AccountType,
|
|
11
|
-
AccountType$inboundSchema,
|
|
12
|
-
AccountType$outboundSchema,
|
|
13
|
-
} from "./accounttype.js";
|
|
14
9
|
import {
|
|
15
10
|
CapabilityID,
|
|
16
11
|
CapabilityID$inboundSchema,
|
|
17
12
|
CapabilityID$outboundSchema,
|
|
18
13
|
} from "./capabilityid.js";
|
|
14
|
+
import {
|
|
15
|
+
CreateAccountType,
|
|
16
|
+
CreateAccountType$inboundSchema,
|
|
17
|
+
CreateAccountType$outboundSchema,
|
|
18
|
+
} from "./createaccounttype.js";
|
|
19
19
|
import {
|
|
20
20
|
CreateProfile,
|
|
21
21
|
CreateProfile$inboundSchema,
|
|
@@ -53,10 +53,7 @@ export type CreateAccountTermsOfService =
|
|
|
53
53
|
| ManualTermsOfService;
|
|
54
54
|
|
|
55
55
|
export type CreateAccount = {
|
|
56
|
-
|
|
57
|
-
* The type of entity represented by this account.
|
|
58
|
-
*/
|
|
59
|
-
accountType: AccountType;
|
|
56
|
+
accountType: CreateAccountType;
|
|
60
57
|
profile: CreateProfile;
|
|
61
58
|
/**
|
|
62
59
|
* Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
|
|
@@ -149,7 +146,7 @@ export const CreateAccount$inboundSchema: z.ZodType<
|
|
|
149
146
|
z.ZodTypeDef,
|
|
150
147
|
unknown
|
|
151
148
|
> = z.object({
|
|
152
|
-
accountType:
|
|
149
|
+
accountType: CreateAccountType$inboundSchema,
|
|
153
150
|
profile: CreateProfile$inboundSchema,
|
|
154
151
|
metadata: z.record(z.string()).optional(),
|
|
155
152
|
termsOfService: z.union([
|
|
@@ -185,7 +182,7 @@ export const CreateAccount$outboundSchema: z.ZodType<
|
|
|
185
182
|
z.ZodTypeDef,
|
|
186
183
|
CreateAccount
|
|
187
184
|
> = z.object({
|
|
188
|
-
accountType:
|
|
185
|
+
accountType: CreateAccountType$outboundSchema,
|
|
189
186
|
profile: CreateProfile$outboundSchema,
|
|
190
187
|
metadata: z.record(z.string()).optional(),
|
|
191
188
|
termsOfService: z.union([
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const CreateAccountType = {
|
|
9
|
+
Individual: "individual",
|
|
10
|
+
Business: "business",
|
|
11
|
+
} as const;
|
|
12
|
+
export type CreateAccountType = ClosedEnum<typeof CreateAccountType>;
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export const CreateAccountType$inboundSchema: z.ZodNativeEnum<
|
|
16
|
+
typeof CreateAccountType
|
|
17
|
+
> = z.nativeEnum(CreateAccountType);
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const CreateAccountType$outboundSchema: z.ZodNativeEnum<
|
|
21
|
+
typeof CreateAccountType
|
|
22
|
+
> = CreateAccountType$inboundSchema;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
27
|
+
*/
|
|
28
|
+
export namespace CreateAccountType$ {
|
|
29
|
+
/** @deprecated use `CreateAccountType$inboundSchema` instead. */
|
|
30
|
+
export const inboundSchema = CreateAccountType$inboundSchema;
|
|
31
|
+
/** @deprecated use `CreateAccountType$outboundSchema` instead. */
|
|
32
|
+
export const outboundSchema = CreateAccountType$outboundSchema;
|
|
33
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
PhoneNumber,
|
|
11
|
+
PhoneNumber$inboundSchema,
|
|
12
|
+
PhoneNumber$Outbound,
|
|
13
|
+
PhoneNumber$outboundSchema,
|
|
14
|
+
} from "./phonenumber.js";
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Describes a guest account profile.
|
|
18
|
+
*/
|
|
19
|
+
export type GuestProfile = {
|
|
20
|
+
/**
|
|
21
|
+
* The name associated with the guest account.
|
|
22
|
+
*
|
|
23
|
+
* @remarks
|
|
24
|
+
* This will default to "Guest {accountIDfirst8}" if no other name is provided.
|
|
25
|
+
*/
|
|
26
|
+
name: string;
|
|
27
|
+
phone?: PhoneNumber | undefined;
|
|
28
|
+
email?: string | undefined;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export const GuestProfile$inboundSchema: z.ZodType<
|
|
33
|
+
GuestProfile,
|
|
34
|
+
z.ZodTypeDef,
|
|
35
|
+
unknown
|
|
36
|
+
> = z.object({
|
|
37
|
+
name: z.string(),
|
|
38
|
+
phone: PhoneNumber$inboundSchema.optional(),
|
|
39
|
+
email: z.string().optional(),
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
/** @internal */
|
|
43
|
+
export type GuestProfile$Outbound = {
|
|
44
|
+
name: string;
|
|
45
|
+
phone?: PhoneNumber$Outbound | undefined;
|
|
46
|
+
email?: string | undefined;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
/** @internal */
|
|
50
|
+
export const GuestProfile$outboundSchema: z.ZodType<
|
|
51
|
+
GuestProfile$Outbound,
|
|
52
|
+
z.ZodTypeDef,
|
|
53
|
+
GuestProfile
|
|
54
|
+
> = z.object({
|
|
55
|
+
name: z.string(),
|
|
56
|
+
phone: PhoneNumber$outboundSchema.optional(),
|
|
57
|
+
email: z.string().optional(),
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
63
|
+
*/
|
|
64
|
+
export namespace GuestProfile$ {
|
|
65
|
+
/** @deprecated use `GuestProfile$inboundSchema` instead. */
|
|
66
|
+
export const inboundSchema = GuestProfile$inboundSchema;
|
|
67
|
+
/** @deprecated use `GuestProfile$outboundSchema` instead. */
|
|
68
|
+
export const outboundSchema = GuestProfile$outboundSchema;
|
|
69
|
+
/** @deprecated use `GuestProfile$Outbound` instead. */
|
|
70
|
+
export type Outbound = GuestProfile$Outbound;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function guestProfileToJSON(guestProfile: GuestProfile): string {
|
|
74
|
+
return JSON.stringify(GuestProfile$outboundSchema.parse(guestProfile));
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function guestProfileFromJSON(
|
|
78
|
+
jsonString: string,
|
|
79
|
+
): SafeParseResult<GuestProfile, SDKValidationError> {
|
|
80
|
+
return safeParse(
|
|
81
|
+
jsonString,
|
|
82
|
+
(x) => GuestProfile$inboundSchema.parse(JSON.parse(x)),
|
|
83
|
+
`Failed to parse 'GuestProfile' from JSON`,
|
|
84
|
+
);
|
|
85
|
+
}
|
|
@@ -108,6 +108,7 @@ export * from "./countrieserrors.js";
|
|
|
108
108
|
export * from "./createaccount.js";
|
|
109
109
|
export * from "./createaccounterror.js";
|
|
110
110
|
export * from "./createaccountsettings.js";
|
|
111
|
+
export * from "./createaccounttype.js";
|
|
111
112
|
export * from "./createapplepaysession.js";
|
|
112
113
|
export * from "./createauthorizeduser.js";
|
|
113
114
|
export * from "./createauthorizedusererror.js";
|
|
@@ -188,6 +189,7 @@ export * from "./generatedbytransferid.js";
|
|
|
188
189
|
export * from "./governmentid.js";
|
|
189
190
|
export * from "./governmentiderror.js";
|
|
190
191
|
export * from "./granttype.js";
|
|
192
|
+
export * from "./guestprofile.js";
|
|
191
193
|
export * from "./incurredfee.js";
|
|
192
194
|
export * from "./individualname.js";
|
|
193
195
|
export * from "./individualnameerror.js";
|
|
@@ -12,6 +12,12 @@ import {
|
|
|
12
12
|
BusinessProfile$Outbound,
|
|
13
13
|
BusinessProfile$outboundSchema,
|
|
14
14
|
} from "./businessprofile.js";
|
|
15
|
+
import {
|
|
16
|
+
GuestProfile,
|
|
17
|
+
GuestProfile$inboundSchema,
|
|
18
|
+
GuestProfile$Outbound,
|
|
19
|
+
GuestProfile$outboundSchema,
|
|
20
|
+
} from "./guestprofile.js";
|
|
15
21
|
import {
|
|
16
22
|
IndividualProfile,
|
|
17
23
|
IndividualProfile$inboundSchema,
|
|
@@ -31,6 +37,10 @@ export type Profile = {
|
|
|
31
37
|
* Describes a business.
|
|
32
38
|
*/
|
|
33
39
|
business?: BusinessProfile | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* Describes a guest account profile.
|
|
42
|
+
*/
|
|
43
|
+
guest?: GuestProfile | undefined;
|
|
34
44
|
};
|
|
35
45
|
|
|
36
46
|
/** @internal */
|
|
@@ -38,12 +48,14 @@ export const Profile$inboundSchema: z.ZodType<Profile, z.ZodTypeDef, unknown> =
|
|
|
38
48
|
z.object({
|
|
39
49
|
individual: IndividualProfile$inboundSchema.optional(),
|
|
40
50
|
business: BusinessProfile$inboundSchema.optional(),
|
|
51
|
+
guest: GuestProfile$inboundSchema.optional(),
|
|
41
52
|
});
|
|
42
53
|
|
|
43
54
|
/** @internal */
|
|
44
55
|
export type Profile$Outbound = {
|
|
45
56
|
individual?: IndividualProfile$Outbound | undefined;
|
|
46
57
|
business?: BusinessProfile$Outbound | undefined;
|
|
58
|
+
guest?: GuestProfile$Outbound | undefined;
|
|
47
59
|
};
|
|
48
60
|
|
|
49
61
|
/** @internal */
|
|
@@ -54,6 +66,7 @@ export const Profile$outboundSchema: z.ZodType<
|
|
|
54
66
|
> = z.object({
|
|
55
67
|
individual: IndividualProfile$outboundSchema.optional(),
|
|
56
68
|
business: BusinessProfile$outboundSchema.optional(),
|
|
69
|
+
guest: GuestProfile$outboundSchema.optional(),
|
|
57
70
|
});
|
|
58
71
|
|
|
59
72
|
/**
|
|
@@ -58,6 +58,14 @@ export type ListAccountsRequest = {
|
|
|
58
58
|
* the display name and Business Profile name fields (`legalBusinessName`, and `doingBusinessAs`).
|
|
59
59
|
*/
|
|
60
60
|
type?: components.AccountType | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* Filter accounts with AccountType guest.
|
|
63
|
+
*
|
|
64
|
+
* @remarks
|
|
65
|
+
*
|
|
66
|
+
* If true, the response will include guest accounts.
|
|
67
|
+
*/
|
|
68
|
+
includeGuest?: boolean | undefined;
|
|
61
69
|
/**
|
|
62
70
|
* Serves as an optional alias from a foreign/external system which can be used to reference this resource.
|
|
63
71
|
*/
|
|
@@ -158,6 +166,7 @@ export const ListAccountsRequest$inboundSchema: z.ZodType<
|
|
|
158
166
|
name: z.string().optional(),
|
|
159
167
|
email: z.string().optional(),
|
|
160
168
|
type: components.AccountType$inboundSchema.optional(),
|
|
169
|
+
includeGuest: z.boolean().optional(),
|
|
161
170
|
foreignID: z.string().optional(),
|
|
162
171
|
includeDisconnected: z.boolean().optional(),
|
|
163
172
|
capability: components.CapabilityID$inboundSchema.optional(),
|
|
@@ -171,6 +180,7 @@ export type ListAccountsRequest$Outbound = {
|
|
|
171
180
|
name?: string | undefined;
|
|
172
181
|
email?: string | undefined;
|
|
173
182
|
type?: string | undefined;
|
|
183
|
+
includeGuest?: boolean | undefined;
|
|
174
184
|
foreignID?: string | undefined;
|
|
175
185
|
includeDisconnected?: boolean | undefined;
|
|
176
186
|
capability?: string | undefined;
|
|
@@ -188,6 +198,7 @@ export const ListAccountsRequest$outboundSchema: z.ZodType<
|
|
|
188
198
|
name: z.string().optional(),
|
|
189
199
|
email: z.string().optional(),
|
|
190
200
|
type: components.AccountType$outboundSchema.optional(),
|
|
201
|
+
includeGuest: z.boolean().optional(),
|
|
191
202
|
foreignID: z.string().optional(),
|
|
192
203
|
includeDisconnected: z.boolean().optional(),
|
|
193
204
|
capability: components.CapabilityID$outboundSchema.optional(),
|