botshield-sdk 2.0.0 → 2.0.2
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/LICENSE +21 -0
- package/README.md +80 -17
- package/bin/mcp-server.js +393 -30
- package/bin/mcp-server.js.map +17 -17
- package/dist/commonjs/funcs/census-create-session.d.ts +1 -1
- package/dist/commonjs/funcs/census-create-session.js +1 -1
- package/dist/commonjs/funcs/census-create-verification-link.js +1 -1
- package/dist/commonjs/funcs/census-create-verification-link.js.map +1 -1
- package/dist/commonjs/funcs/census-get-partner-config.js +72 -0
- package/dist/commonjs/funcs/census-get-partner-config.js.map +1 -1
- package/dist/commonjs/funcs/census-logout.d.ts +1 -1
- package/dist/commonjs/funcs/census-logout.js +1 -1
- package/dist/commonjs/funcs/census-verify-token.js +72 -0
- package/dist/commonjs/funcs/census-verify-token.js.map +1 -1
- package/dist/commonjs/funcs/verification-get-status.js +72 -0
- package/dist/commonjs/funcs/verification-get-status.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/encodings.d.ts +10 -9
- package/dist/commonjs/lib/encodings.d.ts.map +1 -1
- package/dist/commonjs/lib/encodings.js +29 -13
- package/dist/commonjs/lib/encodings.js.map +1 -1
- package/dist/commonjs/lib/security.d.ts.map +1 -1
- package/dist/commonjs/lib/security.js +84 -0
- package/dist/commonjs/lib/security.js.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/command.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/command.js +96 -0
- package/dist/commonjs/mcp-server/cli/start/command.js.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/impl.d.ts +12 -0
- package/dist/commonjs/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/impl.js +24 -0
- package/dist/commonjs/mcp-server/cli/start/impl.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/mcp-server/tools/actions-cancel-action.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/actions-cancel-action.js +17 -1
- package/dist/commonjs/mcp-server/tools/actions-cancel-action.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/actions-check-action-status.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/actions-check-action-status.js +17 -1
- package/dist/commonjs/mcp-server/tools/actions-check-action-status.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/actions-propose-action.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/actions-propose-action.js +17 -1
- package/dist/commonjs/mcp-server/tools/actions-propose-action.js.map +1 -1
- package/dist/commonjs/models/operations/sdk-create-verification-link.d.ts +13 -3
- package/dist/commonjs/models/operations/sdk-create-verification-link.d.ts.map +1 -1
- package/dist/commonjs/models/operations/sdk-create-verification-link.js +4 -4
- package/dist/commonjs/models/operations/sdk-create-verification-link.js.map +1 -1
- package/dist/commonjs/models/operations/sdk-get-partner-config.d.ts +24 -0
- package/dist/commonjs/models/operations/sdk-get-partner-config.d.ts.map +1 -1
- package/dist/commonjs/models/operations/sdk-get-partner-config.js +24 -0
- package/dist/commonjs/models/operations/sdk-get-partner-config.js.map +1 -1
- package/dist/commonjs/models/operations/sdk-verify-token.d.ts +24 -0
- package/dist/commonjs/models/operations/sdk-verify-token.d.ts.map +1 -1
- package/dist/commonjs/models/operations/sdk-verify-token.js +24 -0
- package/dist/commonjs/models/operations/sdk-verify-token.js.map +1 -1
- package/dist/commonjs/models/operations/verification-get-status.d.ts +34 -0
- package/dist/commonjs/models/operations/verification-get-status.d.ts.map +1 -1
- package/dist/commonjs/models/operations/verification-get-status.js +28 -0
- package/dist/commonjs/models/operations/verification-get-status.js.map +1 -1
- package/dist/commonjs/models/security.d.ts +24 -0
- package/dist/commonjs/models/security.d.ts.map +1 -1
- package/dist/commonjs/models/security.js +24 -0
- package/dist/commonjs/models/security.js.map +1 -1
- package/dist/commonjs/sdk/census.d.ts +2 -2
- package/dist/commonjs/sdk/census.js +2 -2
- package/dist/esm/funcs/census-create-session.d.ts +1 -1
- package/dist/esm/funcs/census-create-session.js +1 -1
- package/dist/esm/funcs/census-create-verification-link.js +1 -1
- package/dist/esm/funcs/census-create-verification-link.js.map +1 -1
- package/dist/esm/funcs/census-get-partner-config.js +72 -0
- package/dist/esm/funcs/census-get-partner-config.js.map +1 -1
- package/dist/esm/funcs/census-logout.d.ts +1 -1
- package/dist/esm/funcs/census-logout.js +1 -1
- package/dist/esm/funcs/census-verify-token.js +72 -0
- package/dist/esm/funcs/census-verify-token.js.map +1 -1
- package/dist/esm/funcs/verification-get-status.js +72 -0
- package/dist/esm/funcs/verification-get-status.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/encodings.d.ts +10 -9
- package/dist/esm/lib/encodings.d.ts.map +1 -1
- package/dist/esm/lib/encodings.js +29 -13
- package/dist/esm/lib/encodings.js.map +1 -1
- package/dist/esm/lib/security.d.ts.map +1 -1
- package/dist/esm/lib/security.js +84 -0
- package/dist/esm/lib/security.js.map +1 -1
- package/dist/esm/mcp-server/cli/start/command.d.ts.map +1 -1
- package/dist/esm/mcp-server/cli/start/command.js +96 -0
- package/dist/esm/mcp-server/cli/start/command.js.map +1 -1
- package/dist/esm/mcp-server/cli/start/impl.d.ts +12 -0
- package/dist/esm/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/dist/esm/mcp-server/cli/start/impl.js +24 -0
- package/dist/esm/mcp-server/cli/start/impl.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/mcp-server/tools/actions-cancel-action.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/actions-cancel-action.js +17 -1
- package/dist/esm/mcp-server/tools/actions-cancel-action.js.map +1 -1
- package/dist/esm/mcp-server/tools/actions-check-action-status.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/actions-check-action-status.js +17 -1
- package/dist/esm/mcp-server/tools/actions-check-action-status.js.map +1 -1
- package/dist/esm/mcp-server/tools/actions-propose-action.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/actions-propose-action.js +17 -1
- package/dist/esm/mcp-server/tools/actions-propose-action.js.map +1 -1
- package/dist/esm/models/operations/sdk-create-verification-link.d.ts +13 -3
- package/dist/esm/models/operations/sdk-create-verification-link.d.ts.map +1 -1
- package/dist/esm/models/operations/sdk-create-verification-link.js +4 -4
- package/dist/esm/models/operations/sdk-create-verification-link.js.map +1 -1
- package/dist/esm/models/operations/sdk-get-partner-config.d.ts +24 -0
- package/dist/esm/models/operations/sdk-get-partner-config.d.ts.map +1 -1
- package/dist/esm/models/operations/sdk-get-partner-config.js +24 -0
- package/dist/esm/models/operations/sdk-get-partner-config.js.map +1 -1
- package/dist/esm/models/operations/sdk-verify-token.d.ts +24 -0
- package/dist/esm/models/operations/sdk-verify-token.d.ts.map +1 -1
- package/dist/esm/models/operations/sdk-verify-token.js +24 -0
- package/dist/esm/models/operations/sdk-verify-token.js.map +1 -1
- package/dist/esm/models/operations/verification-get-status.d.ts +34 -0
- package/dist/esm/models/operations/verification-get-status.d.ts.map +1 -1
- package/dist/esm/models/operations/verification-get-status.js +28 -0
- package/dist/esm/models/operations/verification-get-status.js.map +1 -1
- package/dist/esm/models/security.d.ts +24 -0
- package/dist/esm/models/security.d.ts.map +1 -1
- package/dist/esm/models/security.js +24 -0
- package/dist/esm/models/security.js.map +1 -1
- package/dist/esm/sdk/census.d.ts +2 -2
- package/dist/esm/sdk/census.js +2 -2
- package/jsr.json +1 -1
- package/package.json +17 -2
- package/src/funcs/census-create-session.ts +1 -1
- package/src/funcs/census-create-verification-link.ts +1 -1
- package/src/funcs/census-get-partner-config.ts +84 -0
- package/src/funcs/census-logout.ts +1 -1
- package/src/funcs/census-verify-token.ts +84 -0
- package/src/funcs/verification-get-status.ts +84 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +58 -23
- package/src/lib/security.ts +84 -0
- package/src/mcp-server/cli/start/command.ts +96 -0
- package/src/mcp-server/cli/start/impl.ts +36 -0
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/actions-cancel-action.ts +17 -1
- package/src/mcp-server/tools/actions-check-action-status.ts +17 -1
- package/src/mcp-server/tools/actions-propose-action.ts +17 -1
- package/src/models/operations/sdk-create-verification-link.ts +17 -7
- package/src/models/operations/sdk-get-partner-config.ts +48 -0
- package/src/models/operations/sdk-verify-token.ts +48 -0
- package/src/models/operations/verification-get-status.ts +58 -0
- package/src/models/security.ts +48 -0
- package/src/sdk/census.ts +2 -2
|
@@ -16,6 +16,18 @@ export type SDKGetPartnerConfigSecurity = {
|
|
|
16
16
|
apiKeyAuth?: string | undefined;
|
|
17
17
|
apiKeyAuth1?: string | undefined;
|
|
18
18
|
apiKeyAuth2?: string | undefined;
|
|
19
|
+
apiKeyAuth3?: string | undefined;
|
|
20
|
+
apiKeyAuth4?: string | undefined;
|
|
21
|
+
apiKeyAuth5?: string | undefined;
|
|
22
|
+
apiKeyAuth6?: string | undefined;
|
|
23
|
+
apiKeyAuth7?: string | undefined;
|
|
24
|
+
apiKeyAuth8?: string | undefined;
|
|
25
|
+
apiKeyAuth9?: string | undefined;
|
|
26
|
+
apiKeyAuth10?: string | undefined;
|
|
27
|
+
apiKeyAuth11?: string | undefined;
|
|
28
|
+
apiKeyAuth12?: string | undefined;
|
|
29
|
+
apiKeyAuth13?: string | undefined;
|
|
30
|
+
apiKeyAuth14?: string | undefined;
|
|
19
31
|
};
|
|
20
32
|
|
|
21
33
|
export type SDKGetPartnerConfigRequest = {
|
|
@@ -74,12 +86,36 @@ export const SDKGetPartnerConfigSecurity$inboundSchema: z.ZodType<
|
|
|
74
86
|
apiKeyAuth: types.optional(types.string()),
|
|
75
87
|
apiKeyAuth1: types.optional(types.string()),
|
|
76
88
|
apiKeyAuth2: types.optional(types.string()),
|
|
89
|
+
apiKeyAuth3: types.optional(types.string()),
|
|
90
|
+
apiKeyAuth4: types.optional(types.string()),
|
|
91
|
+
apiKeyAuth5: types.optional(types.string()),
|
|
92
|
+
apiKeyAuth6: types.optional(types.string()),
|
|
93
|
+
apiKeyAuth7: types.optional(types.string()),
|
|
94
|
+
apiKeyAuth8: types.optional(types.string()),
|
|
95
|
+
apiKeyAuth9: types.optional(types.string()),
|
|
96
|
+
apiKeyAuth10: types.optional(types.string()),
|
|
97
|
+
apiKeyAuth11: types.optional(types.string()),
|
|
98
|
+
apiKeyAuth12: types.optional(types.string()),
|
|
99
|
+
apiKeyAuth13: types.optional(types.string()),
|
|
100
|
+
apiKeyAuth14: types.optional(types.string()),
|
|
77
101
|
});
|
|
78
102
|
/** @internal */
|
|
79
103
|
export type SDKGetPartnerConfigSecurity$Outbound = {
|
|
80
104
|
apiKeyAuth?: string | undefined;
|
|
81
105
|
apiKeyAuth1?: string | undefined;
|
|
82
106
|
apiKeyAuth2?: string | undefined;
|
|
107
|
+
apiKeyAuth3?: string | undefined;
|
|
108
|
+
apiKeyAuth4?: string | undefined;
|
|
109
|
+
apiKeyAuth5?: string | undefined;
|
|
110
|
+
apiKeyAuth6?: string | undefined;
|
|
111
|
+
apiKeyAuth7?: string | undefined;
|
|
112
|
+
apiKeyAuth8?: string | undefined;
|
|
113
|
+
apiKeyAuth9?: string | undefined;
|
|
114
|
+
apiKeyAuth10?: string | undefined;
|
|
115
|
+
apiKeyAuth11?: string | undefined;
|
|
116
|
+
apiKeyAuth12?: string | undefined;
|
|
117
|
+
apiKeyAuth13?: string | undefined;
|
|
118
|
+
apiKeyAuth14?: string | undefined;
|
|
83
119
|
};
|
|
84
120
|
|
|
85
121
|
/** @internal */
|
|
@@ -91,6 +127,18 @@ export const SDKGetPartnerConfigSecurity$outboundSchema: z.ZodType<
|
|
|
91
127
|
apiKeyAuth: z.string().optional(),
|
|
92
128
|
apiKeyAuth1: z.string().optional(),
|
|
93
129
|
apiKeyAuth2: z.string().optional(),
|
|
130
|
+
apiKeyAuth3: z.string().optional(),
|
|
131
|
+
apiKeyAuth4: z.string().optional(),
|
|
132
|
+
apiKeyAuth5: z.string().optional(),
|
|
133
|
+
apiKeyAuth6: z.string().optional(),
|
|
134
|
+
apiKeyAuth7: z.string().optional(),
|
|
135
|
+
apiKeyAuth8: z.string().optional(),
|
|
136
|
+
apiKeyAuth9: z.string().optional(),
|
|
137
|
+
apiKeyAuth10: z.string().optional(),
|
|
138
|
+
apiKeyAuth11: z.string().optional(),
|
|
139
|
+
apiKeyAuth12: z.string().optional(),
|
|
140
|
+
apiKeyAuth13: z.string().optional(),
|
|
141
|
+
apiKeyAuth14: z.string().optional(),
|
|
94
142
|
});
|
|
95
143
|
|
|
96
144
|
export function sdkGetPartnerConfigSecurityToJSON(
|
|
@@ -14,6 +14,18 @@ export type SDKVerifyTokenSecurity = {
|
|
|
14
14
|
apiKeyAuth?: string | undefined;
|
|
15
15
|
apiKeyAuth1?: string | undefined;
|
|
16
16
|
apiKeyAuth2?: string | undefined;
|
|
17
|
+
apiKeyAuth3?: string | undefined;
|
|
18
|
+
apiKeyAuth4?: string | undefined;
|
|
19
|
+
apiKeyAuth5?: string | undefined;
|
|
20
|
+
apiKeyAuth6?: string | undefined;
|
|
21
|
+
apiKeyAuth7?: string | undefined;
|
|
22
|
+
apiKeyAuth8?: string | undefined;
|
|
23
|
+
apiKeyAuth9?: string | undefined;
|
|
24
|
+
apiKeyAuth10?: string | undefined;
|
|
25
|
+
apiKeyAuth11?: string | undefined;
|
|
26
|
+
apiKeyAuth12?: string | undefined;
|
|
27
|
+
apiKeyAuth13?: string | undefined;
|
|
28
|
+
apiKeyAuth14?: string | undefined;
|
|
17
29
|
};
|
|
18
30
|
|
|
19
31
|
export type SDKVerifyTokenRequest = {
|
|
@@ -70,12 +82,36 @@ export const SDKVerifyTokenSecurity$inboundSchema: z.ZodType<
|
|
|
70
82
|
apiKeyAuth: types.optional(types.string()),
|
|
71
83
|
apiKeyAuth1: types.optional(types.string()),
|
|
72
84
|
apiKeyAuth2: types.optional(types.string()),
|
|
85
|
+
apiKeyAuth3: types.optional(types.string()),
|
|
86
|
+
apiKeyAuth4: types.optional(types.string()),
|
|
87
|
+
apiKeyAuth5: types.optional(types.string()),
|
|
88
|
+
apiKeyAuth6: types.optional(types.string()),
|
|
89
|
+
apiKeyAuth7: types.optional(types.string()),
|
|
90
|
+
apiKeyAuth8: types.optional(types.string()),
|
|
91
|
+
apiKeyAuth9: types.optional(types.string()),
|
|
92
|
+
apiKeyAuth10: types.optional(types.string()),
|
|
93
|
+
apiKeyAuth11: types.optional(types.string()),
|
|
94
|
+
apiKeyAuth12: types.optional(types.string()),
|
|
95
|
+
apiKeyAuth13: types.optional(types.string()),
|
|
96
|
+
apiKeyAuth14: types.optional(types.string()),
|
|
73
97
|
});
|
|
74
98
|
/** @internal */
|
|
75
99
|
export type SDKVerifyTokenSecurity$Outbound = {
|
|
76
100
|
apiKeyAuth?: string | undefined;
|
|
77
101
|
apiKeyAuth1?: string | undefined;
|
|
78
102
|
apiKeyAuth2?: string | undefined;
|
|
103
|
+
apiKeyAuth3?: string | undefined;
|
|
104
|
+
apiKeyAuth4?: string | undefined;
|
|
105
|
+
apiKeyAuth5?: string | undefined;
|
|
106
|
+
apiKeyAuth6?: string | undefined;
|
|
107
|
+
apiKeyAuth7?: string | undefined;
|
|
108
|
+
apiKeyAuth8?: string | undefined;
|
|
109
|
+
apiKeyAuth9?: string | undefined;
|
|
110
|
+
apiKeyAuth10?: string | undefined;
|
|
111
|
+
apiKeyAuth11?: string | undefined;
|
|
112
|
+
apiKeyAuth12?: string | undefined;
|
|
113
|
+
apiKeyAuth13?: string | undefined;
|
|
114
|
+
apiKeyAuth14?: string | undefined;
|
|
79
115
|
};
|
|
80
116
|
|
|
81
117
|
/** @internal */
|
|
@@ -87,6 +123,18 @@ export const SDKVerifyTokenSecurity$outboundSchema: z.ZodType<
|
|
|
87
123
|
apiKeyAuth: z.string().optional(),
|
|
88
124
|
apiKeyAuth1: z.string().optional(),
|
|
89
125
|
apiKeyAuth2: z.string().optional(),
|
|
126
|
+
apiKeyAuth3: z.string().optional(),
|
|
127
|
+
apiKeyAuth4: z.string().optional(),
|
|
128
|
+
apiKeyAuth5: z.string().optional(),
|
|
129
|
+
apiKeyAuth6: z.string().optional(),
|
|
130
|
+
apiKeyAuth7: z.string().optional(),
|
|
131
|
+
apiKeyAuth8: z.string().optional(),
|
|
132
|
+
apiKeyAuth9: z.string().optional(),
|
|
133
|
+
apiKeyAuth10: z.string().optional(),
|
|
134
|
+
apiKeyAuth11: z.string().optional(),
|
|
135
|
+
apiKeyAuth12: z.string().optional(),
|
|
136
|
+
apiKeyAuth13: z.string().optional(),
|
|
137
|
+
apiKeyAuth14: z.string().optional(),
|
|
90
138
|
});
|
|
91
139
|
|
|
92
140
|
export function sdkVerifyTokenSecurityToJSON(
|
|
@@ -16,20 +16,39 @@ export type VerificationGetStatusSecurity = {
|
|
|
16
16
|
apiKeyAuth?: string | undefined;
|
|
17
17
|
apiKeyAuth1?: string | undefined;
|
|
18
18
|
apiKeyAuth2?: string | undefined;
|
|
19
|
+
apiKeyAuth3?: string | undefined;
|
|
20
|
+
apiKeyAuth4?: string | undefined;
|
|
21
|
+
apiKeyAuth5?: string | undefined;
|
|
22
|
+
apiKeyAuth6?: string | undefined;
|
|
23
|
+
apiKeyAuth7?: string | undefined;
|
|
24
|
+
apiKeyAuth8?: string | undefined;
|
|
25
|
+
apiKeyAuth9?: string | undefined;
|
|
26
|
+
apiKeyAuth10?: string | undefined;
|
|
27
|
+
apiKeyAuth11?: string | undefined;
|
|
28
|
+
apiKeyAuth12?: string | undefined;
|
|
29
|
+
apiKeyAuth13?: string | undefined;
|
|
30
|
+
apiKeyAuth14?: string | undefined;
|
|
19
31
|
};
|
|
20
32
|
|
|
21
33
|
export type VerificationGetStatusRequest = {
|
|
22
34
|
requestId: string;
|
|
23
35
|
};
|
|
24
36
|
|
|
37
|
+
/**
|
|
38
|
+
* `pass` is a Recent Presence pass: the pre-check resolved the person without a new ceremony. Its record expires 60 seconds after the check, after which this endpoint reports `expired` — it never becomes `completed`. Treat `pass` as success and read it promptly.
|
|
39
|
+
*/
|
|
25
40
|
export const VerificationGetStatusStatus = {
|
|
26
41
|
Pending: "pending",
|
|
27
42
|
Completed: "completed",
|
|
43
|
+
Pass: "pass",
|
|
28
44
|
Expired: "expired",
|
|
29
45
|
Failed: "failed",
|
|
30
46
|
NotFound: "not_found",
|
|
31
47
|
Error: "error",
|
|
32
48
|
} as const;
|
|
49
|
+
/**
|
|
50
|
+
* `pass` is a Recent Presence pass: the pre-check resolved the person without a new ceremony. Its record expires 60 seconds after the check, after which this endpoint reports `expired` — it never becomes `completed`. Treat `pass` as success and read it promptly.
|
|
51
|
+
*/
|
|
33
52
|
export type VerificationGetStatusStatus = OpenEnum<
|
|
34
53
|
typeof VerificationGetStatusStatus
|
|
35
54
|
>;
|
|
@@ -55,6 +74,9 @@ export type Metadata = {
|
|
|
55
74
|
|
|
56
75
|
export type VerificationGetStatusData = {
|
|
57
76
|
found?: boolean | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* `pass` is a Recent Presence pass: the pre-check resolved the person without a new ceremony. Its record expires 60 seconds after the check, after which this endpoint reports `expired` — it never becomes `completed`. Treat `pass` as success and read it promptly.
|
|
79
|
+
*/
|
|
58
80
|
status?: VerificationGetStatusStatus | undefined;
|
|
59
81
|
requestId?: string | undefined;
|
|
60
82
|
organizationId?: string | undefined;
|
|
@@ -100,12 +122,36 @@ export const VerificationGetStatusSecurity$inboundSchema: z.ZodType<
|
|
|
100
122
|
apiKeyAuth: types.optional(types.string()),
|
|
101
123
|
apiKeyAuth1: types.optional(types.string()),
|
|
102
124
|
apiKeyAuth2: types.optional(types.string()),
|
|
125
|
+
apiKeyAuth3: types.optional(types.string()),
|
|
126
|
+
apiKeyAuth4: types.optional(types.string()),
|
|
127
|
+
apiKeyAuth5: types.optional(types.string()),
|
|
128
|
+
apiKeyAuth6: types.optional(types.string()),
|
|
129
|
+
apiKeyAuth7: types.optional(types.string()),
|
|
130
|
+
apiKeyAuth8: types.optional(types.string()),
|
|
131
|
+
apiKeyAuth9: types.optional(types.string()),
|
|
132
|
+
apiKeyAuth10: types.optional(types.string()),
|
|
133
|
+
apiKeyAuth11: types.optional(types.string()),
|
|
134
|
+
apiKeyAuth12: types.optional(types.string()),
|
|
135
|
+
apiKeyAuth13: types.optional(types.string()),
|
|
136
|
+
apiKeyAuth14: types.optional(types.string()),
|
|
103
137
|
});
|
|
104
138
|
/** @internal */
|
|
105
139
|
export type VerificationGetStatusSecurity$Outbound = {
|
|
106
140
|
apiKeyAuth?: string | undefined;
|
|
107
141
|
apiKeyAuth1?: string | undefined;
|
|
108
142
|
apiKeyAuth2?: string | undefined;
|
|
143
|
+
apiKeyAuth3?: string | undefined;
|
|
144
|
+
apiKeyAuth4?: string | undefined;
|
|
145
|
+
apiKeyAuth5?: string | undefined;
|
|
146
|
+
apiKeyAuth6?: string | undefined;
|
|
147
|
+
apiKeyAuth7?: string | undefined;
|
|
148
|
+
apiKeyAuth8?: string | undefined;
|
|
149
|
+
apiKeyAuth9?: string | undefined;
|
|
150
|
+
apiKeyAuth10?: string | undefined;
|
|
151
|
+
apiKeyAuth11?: string | undefined;
|
|
152
|
+
apiKeyAuth12?: string | undefined;
|
|
153
|
+
apiKeyAuth13?: string | undefined;
|
|
154
|
+
apiKeyAuth14?: string | undefined;
|
|
109
155
|
};
|
|
110
156
|
|
|
111
157
|
/** @internal */
|
|
@@ -117,6 +163,18 @@ export const VerificationGetStatusSecurity$outboundSchema: z.ZodType<
|
|
|
117
163
|
apiKeyAuth: z.string().optional(),
|
|
118
164
|
apiKeyAuth1: z.string().optional(),
|
|
119
165
|
apiKeyAuth2: z.string().optional(),
|
|
166
|
+
apiKeyAuth3: z.string().optional(),
|
|
167
|
+
apiKeyAuth4: z.string().optional(),
|
|
168
|
+
apiKeyAuth5: z.string().optional(),
|
|
169
|
+
apiKeyAuth6: z.string().optional(),
|
|
170
|
+
apiKeyAuth7: z.string().optional(),
|
|
171
|
+
apiKeyAuth8: z.string().optional(),
|
|
172
|
+
apiKeyAuth9: z.string().optional(),
|
|
173
|
+
apiKeyAuth10: z.string().optional(),
|
|
174
|
+
apiKeyAuth11: z.string().optional(),
|
|
175
|
+
apiKeyAuth12: z.string().optional(),
|
|
176
|
+
apiKeyAuth13: z.string().optional(),
|
|
177
|
+
apiKeyAuth14: z.string().optional(),
|
|
120
178
|
});
|
|
121
179
|
|
|
122
180
|
export function verificationGetStatusSecurityToJSON(
|
package/src/models/security.ts
CHANGED
|
@@ -12,6 +12,18 @@ export type Security = {
|
|
|
12
12
|
agentKeyAuth?: string | undefined;
|
|
13
13
|
agentKeyAuth1?: string | undefined;
|
|
14
14
|
agentKeyAuth2?: string | undefined;
|
|
15
|
+
agentKeyAuth3?: string | undefined;
|
|
16
|
+
agentKeyAuth4?: string | undefined;
|
|
17
|
+
agentKeyAuth5?: string | undefined;
|
|
18
|
+
agentKeyAuth6?: string | undefined;
|
|
19
|
+
agentKeyAuth7?: string | undefined;
|
|
20
|
+
agentKeyAuth8?: string | undefined;
|
|
21
|
+
agentKeyAuth9?: string | undefined;
|
|
22
|
+
agentKeyAuth10?: string | undefined;
|
|
23
|
+
agentKeyAuth11?: string | undefined;
|
|
24
|
+
agentKeyAuth12?: string | undefined;
|
|
25
|
+
agentKeyAuth13?: string | undefined;
|
|
26
|
+
agentKeyAuth14?: string | undefined;
|
|
15
27
|
};
|
|
16
28
|
|
|
17
29
|
/** @internal */
|
|
@@ -23,12 +35,36 @@ export const Security$inboundSchema: z.ZodType<
|
|
|
23
35
|
agentKeyAuth: types.optional(types.string()),
|
|
24
36
|
agentKeyAuth1: types.optional(types.string()),
|
|
25
37
|
agentKeyAuth2: types.optional(types.string()),
|
|
38
|
+
agentKeyAuth3: types.optional(types.string()),
|
|
39
|
+
agentKeyAuth4: types.optional(types.string()),
|
|
40
|
+
agentKeyAuth5: types.optional(types.string()),
|
|
41
|
+
agentKeyAuth6: types.optional(types.string()),
|
|
42
|
+
agentKeyAuth7: types.optional(types.string()),
|
|
43
|
+
agentKeyAuth8: types.optional(types.string()),
|
|
44
|
+
agentKeyAuth9: types.optional(types.string()),
|
|
45
|
+
agentKeyAuth10: types.optional(types.string()),
|
|
46
|
+
agentKeyAuth11: types.optional(types.string()),
|
|
47
|
+
agentKeyAuth12: types.optional(types.string()),
|
|
48
|
+
agentKeyAuth13: types.optional(types.string()),
|
|
49
|
+
agentKeyAuth14: types.optional(types.string()),
|
|
26
50
|
});
|
|
27
51
|
/** @internal */
|
|
28
52
|
export type Security$Outbound = {
|
|
29
53
|
agentKeyAuth?: string | undefined;
|
|
30
54
|
agentKeyAuth1?: string | undefined;
|
|
31
55
|
agentKeyAuth2?: string | undefined;
|
|
56
|
+
agentKeyAuth3?: string | undefined;
|
|
57
|
+
agentKeyAuth4?: string | undefined;
|
|
58
|
+
agentKeyAuth5?: string | undefined;
|
|
59
|
+
agentKeyAuth6?: string | undefined;
|
|
60
|
+
agentKeyAuth7?: string | undefined;
|
|
61
|
+
agentKeyAuth8?: string | undefined;
|
|
62
|
+
agentKeyAuth9?: string | undefined;
|
|
63
|
+
agentKeyAuth10?: string | undefined;
|
|
64
|
+
agentKeyAuth11?: string | undefined;
|
|
65
|
+
agentKeyAuth12?: string | undefined;
|
|
66
|
+
agentKeyAuth13?: string | undefined;
|
|
67
|
+
agentKeyAuth14?: string | undefined;
|
|
32
68
|
};
|
|
33
69
|
|
|
34
70
|
/** @internal */
|
|
@@ -40,6 +76,18 @@ export const Security$outboundSchema: z.ZodType<
|
|
|
40
76
|
agentKeyAuth: z.string().optional(),
|
|
41
77
|
agentKeyAuth1: z.string().optional(),
|
|
42
78
|
agentKeyAuth2: z.string().optional(),
|
|
79
|
+
agentKeyAuth3: z.string().optional(),
|
|
80
|
+
agentKeyAuth4: z.string().optional(),
|
|
81
|
+
agentKeyAuth5: z.string().optional(),
|
|
82
|
+
agentKeyAuth6: z.string().optional(),
|
|
83
|
+
agentKeyAuth7: z.string().optional(),
|
|
84
|
+
agentKeyAuth8: z.string().optional(),
|
|
85
|
+
agentKeyAuth9: z.string().optional(),
|
|
86
|
+
agentKeyAuth10: z.string().optional(),
|
|
87
|
+
agentKeyAuth11: z.string().optional(),
|
|
88
|
+
agentKeyAuth12: z.string().optional(),
|
|
89
|
+
agentKeyAuth13: z.string().optional(),
|
|
90
|
+
agentKeyAuth14: z.string().optional(),
|
|
43
91
|
});
|
|
44
92
|
|
|
45
93
|
export function securityToJSON(security: Security): string {
|
package/src/sdk/census.ts
CHANGED
|
@@ -16,7 +16,7 @@ import { unwrapAsync } from "../types/fp.js";
|
|
|
16
16
|
|
|
17
17
|
export class Census extends ClientSDK {
|
|
18
18
|
/**
|
|
19
|
-
* Create
|
|
19
|
+
* Create a grant token
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
22
|
* Creates a short-lived anchor grant token (5 minutes) from an API token or site key. Use this to get a token before creating verification links.
|
|
@@ -145,7 +145,7 @@ export class Census extends ClientSDK {
|
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
|
-
* Revoke
|
|
148
|
+
* Revoke a grant token
|
|
149
149
|
*/
|
|
150
150
|
async logout(
|
|
151
151
|
security: operations.SDKLogoutSecurity,
|