@kya-os/consent 0.1.38 → 0.1.39
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/dist/bundle/index.d.ts +12 -0
- package/dist/bundle/index.d.ts.map +1 -1
- package/dist/bundle/index.js +12 -0
- package/dist/bundle/index.js.map +1 -1
- package/dist/bundle/inline.d.ts.map +1 -1
- package/dist/bundle/inline.js +2 -2
- package/dist/bundle/inline.js.map +1 -1
- package/dist/bundle/shell.d.ts +23 -0
- package/dist/bundle/shell.d.ts.map +1 -1
- package/dist/bundle/shell.js +25 -1
- package/dist/bundle/shell.js.map +1 -1
- package/dist/capabilities/index.d.ts +7 -0
- package/dist/capabilities/index.d.ts.map +1 -0
- package/dist/capabilities/index.js +7 -0
- package/dist/capabilities/index.js.map +1 -0
- package/dist/capabilities/registry.d.ts +29 -0
- package/dist/capabilities/registry.d.ts.map +1 -0
- package/dist/capabilities/registry.js +178 -0
- package/dist/capabilities/registry.js.map +1 -0
- package/dist/cedar/compile.d.ts +30 -0
- package/dist/cedar/compile.d.ts.map +1 -0
- package/dist/cedar/compile.js +55 -0
- package/dist/cedar/compile.js.map +1 -0
- package/dist/cedar/explain.d.ts +22 -0
- package/dist/cedar/explain.d.ts.map +1 -0
- package/dist/cedar/explain.js +72 -0
- package/dist/cedar/explain.js.map +1 -0
- package/dist/cedar/index.d.ts +8 -0
- package/dist/cedar/index.d.ts.map +1 -0
- package/dist/cedar/index.js +8 -0
- package/dist/cedar/index.js.map +1 -0
- package/dist/cjs/bundle/index.js +19 -1
- package/dist/cjs/bundle/index.js.map +1 -1
- package/dist/cjs/bundle/inline.js +2 -2
- package/dist/cjs/bundle/inline.js.map +1 -1
- package/dist/cjs/bundle/shell.js +25 -1
- package/dist/cjs/bundle/shell.js.map +1 -1
- package/dist/cjs/capabilities/index.js +12 -0
- package/dist/cjs/capabilities/index.js.map +1 -0
- package/dist/cjs/capabilities/registry.js +182 -0
- package/dist/cjs/capabilities/registry.js.map +1 -0
- package/dist/cjs/cedar/compile.js +59 -0
- package/dist/cjs/cedar/compile.js.map +1 -0
- package/dist/cjs/cedar/explain.js +75 -0
- package/dist/cjs/cedar/explain.js.map +1 -0
- package/dist/cjs/cedar/index.js +14 -0
- package/dist/cjs/cedar/index.js.map +1 -0
- package/dist/cjs/components/consent-action-bar.js +138 -0
- package/dist/cjs/components/consent-action-bar.js.map +1 -0
- package/dist/cjs/components/consent-agent-header.js +205 -0
- package/dist/cjs/components/consent-agent-header.js.map +1 -0
- package/dist/cjs/components/consent-capabilities-screen.js +309 -0
- package/dist/cjs/components/consent-capabilities-screen.js.map +1 -0
- package/dist/cjs/components/consent-capability-card.js +340 -0
- package/dist/cjs/components/consent-capability-card.js.map +1 -0
- package/dist/cjs/components/consent-footer.js +99 -0
- package/dist/cjs/components/consent-footer.js.map +1 -0
- package/dist/cjs/components/consent-revocation-notice.js +101 -0
- package/dist/cjs/components/consent-revocation-notice.js.map +1 -0
- package/dist/cjs/components/index.js +14 -1
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/cjs/components/mcp-consent.js +176 -7
- package/dist/cjs/components/mcp-consent.js.map +1 -1
- package/dist/cjs/copy/index.js +12 -0
- package/dist/cjs/copy/index.js.map +1 -0
- package/dist/cjs/copy/tokens.js +101 -0
- package/dist/cjs/copy/tokens.js.map +1 -0
- package/dist/cjs/index.js +8 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/mcp-app/inline.js +2 -2
- package/dist/cjs/mcp-app/inline.js.map +1 -1
- package/dist/cjs/popup/index.js +15 -0
- package/dist/cjs/popup/index.js.map +1 -0
- package/dist/cjs/popup/launcher.js +77 -0
- package/dist/cjs/popup/launcher.js.map +1 -0
- package/dist/cjs/schemas/capabilities.schemas.js +129 -0
- package/dist/cjs/schemas/capabilities.schemas.js.map +1 -0
- package/dist/cjs/schemas/config.schemas.js +18 -0
- package/dist/cjs/schemas/config.schemas.js.map +1 -1
- package/dist/cjs/schemas/index.js +1 -0
- package/dist/cjs/schemas/index.js.map +1 -1
- package/dist/cjs/styles/index.js +1 -0
- package/dist/cjs/styles/index.js.map +1 -1
- package/dist/cjs/styles/theme.js +86 -0
- package/dist/cjs/styles/theme.js.map +1 -0
- package/dist/cjs/types/capabilities.types.js +12 -0
- package/dist/cjs/types/capabilities.types.js.map +1 -0
- package/dist/cjs/types/index.js +1 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/components/consent-action-bar.d.ts +30 -0
- package/dist/components/consent-action-bar.d.ts.map +1 -0
- package/dist/components/consent-action-bar.js +135 -0
- package/dist/components/consent-action-bar.js.map +1 -0
- package/dist/components/consent-agent-header.d.ts +31 -0
- package/dist/components/consent-agent-header.d.ts.map +1 -0
- package/dist/components/consent-agent-header.js +202 -0
- package/dist/components/consent-agent-header.js.map +1 -0
- package/dist/components/consent-capabilities-screen.d.ts +62 -0
- package/dist/components/consent-capabilities-screen.d.ts.map +1 -0
- package/dist/components/consent-capabilities-screen.js +306 -0
- package/dist/components/consent-capabilities-screen.js.map +1 -0
- package/dist/components/consent-capability-card.d.ts +44 -0
- package/dist/components/consent-capability-card.d.ts.map +1 -0
- package/dist/components/consent-capability-card.js +337 -0
- package/dist/components/consent-capability-card.js.map +1 -0
- package/dist/components/consent-footer.d.ts +22 -0
- package/dist/components/consent-footer.d.ts.map +1 -0
- package/dist/components/consent-footer.js +96 -0
- package/dist/components/consent-footer.js.map +1 -0
- package/dist/components/consent-revocation-notice.d.ts +22 -0
- package/dist/components/consent-revocation-notice.d.ts.map +1 -0
- package/dist/components/consent-revocation-notice.js +98 -0
- package/dist/components/consent-revocation-notice.js.map +1 -0
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +7 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/mcp-consent.d.ts +41 -0
- package/dist/components/mcp-consent.d.ts.map +1 -1
- package/dist/components/mcp-consent.js +176 -7
- package/dist/components/mcp-consent.js.map +1 -1
- package/dist/consent.js +1374 -7
- package/dist/consent.min.js +727 -96
- package/dist/copy/index.d.ts +8 -0
- package/dist/copy/index.d.ts.map +1 -0
- package/dist/copy/index.js +7 -0
- package/dist/copy/index.js.map +1 -0
- package/dist/copy/tokens.d.ts +93 -0
- package/dist/copy/tokens.d.ts.map +1 -0
- package/dist/copy/tokens.js +97 -0
- package/dist/copy/tokens.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-app/inline.d.ts.map +1 -1
- package/dist/mcp-app/inline.js +2 -2
- package/dist/mcp-app/inline.js.map +1 -1
- package/dist/popup/index.d.ts +8 -0
- package/dist/popup/index.d.ts.map +1 -0
- package/dist/popup/index.js +7 -0
- package/dist/popup/index.js.map +1 -0
- package/dist/popup/launcher.d.ts +81 -0
- package/dist/popup/launcher.d.ts.map +1 -0
- package/dist/popup/launcher.js +71 -0
- package/dist/popup/launcher.js.map +1 -0
- package/dist/schemas/api.schemas.d.ts +354 -150
- package/dist/schemas/api.schemas.d.ts.map +1 -1
- package/dist/schemas/capabilities.schemas.d.ts +186 -0
- package/dist/schemas/capabilities.schemas.d.ts.map +1 -0
- package/dist/schemas/capabilities.schemas.js +123 -0
- package/dist/schemas/capabilities.schemas.js.map +1 -0
- package/dist/schemas/config.schemas.d.ts +452 -156
- package/dist/schemas/config.schemas.d.ts.map +1 -1
- package/dist/schemas/config.schemas.js +18 -0
- package/dist/schemas/config.schemas.js.map +1 -1
- package/dist/schemas/index.d.ts +1 -0
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +1 -0
- package/dist/schemas/index.js.map +1 -1
- package/dist/styles/index.d.ts +1 -0
- package/dist/styles/index.d.ts.map +1 -1
- package/dist/styles/index.js +1 -0
- package/dist/styles/index.js.map +1 -1
- package/dist/styles/theme.d.ts +72 -0
- package/dist/styles/theme.d.ts.map +1 -0
- package/dist/styles/theme.js +81 -0
- package/dist/styles/theme.js.map +1 -0
- package/dist/types/capabilities.types.d.ts +126 -0
- package/dist/types/capabilities.types.d.ts.map +1 -0
- package/dist/types/capabilities.types.js +11 -0
- package/dist/types/capabilities.types.js.map +1 -0
- package/dist/types/config.types.d.ts +33 -0
- package/dist/types/config.types.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -74,43 +74,43 @@ export declare const ConsentApprovalRequestSchema: z.ZodObject<{
|
|
|
74
74
|
*/
|
|
75
75
|
credential_provider_user_id: z.ZodOptional<z.ZodString>;
|
|
76
76
|
}, "strip", z.ZodTypeAny, {
|
|
77
|
-
tool: string;
|
|
78
77
|
scopes: string[];
|
|
79
78
|
agent_did: string;
|
|
79
|
+
tool: string;
|
|
80
80
|
session_id: string;
|
|
81
81
|
project_id: string;
|
|
82
82
|
auth_mode: "consent-only" | "credentials" | "oauth" | "magic-link" | "otp" | "qr-code" | "passkey" | "idv";
|
|
83
83
|
provider_type: string;
|
|
84
84
|
termsAccepted: boolean;
|
|
85
|
-
|
|
85
|
+
user_did?: string | undefined;
|
|
86
86
|
customFields?: Record<string, string | boolean> | undefined;
|
|
87
|
+
termsVersion?: string | undefined;
|
|
87
88
|
oauth_identity?: {
|
|
88
89
|
provider: string;
|
|
89
90
|
subject: string;
|
|
90
91
|
email?: string | undefined;
|
|
91
92
|
name?: string | undefined;
|
|
92
93
|
} | null | undefined;
|
|
93
|
-
user_did?: string | undefined;
|
|
94
94
|
credential_user_email?: string | undefined;
|
|
95
95
|
credential_provider_user_id?: string | undefined;
|
|
96
96
|
}, {
|
|
97
|
-
tool: string;
|
|
98
97
|
scopes: string[];
|
|
99
98
|
agent_did: string;
|
|
99
|
+
tool: string;
|
|
100
100
|
session_id: string;
|
|
101
101
|
project_id: string;
|
|
102
102
|
termsAccepted: boolean;
|
|
103
|
+
user_did?: string | undefined;
|
|
104
|
+
customFields?: Record<string, string | boolean> | undefined;
|
|
103
105
|
auth_mode?: "consent-only" | "credentials" | "oauth" | "magic-link" | "otp" | "qr-code" | "passkey" | "idv" | undefined;
|
|
104
106
|
provider_type?: string | undefined;
|
|
105
107
|
termsVersion?: string | undefined;
|
|
106
|
-
customFields?: Record<string, string | boolean> | undefined;
|
|
107
108
|
oauth_identity?: {
|
|
108
109
|
provider: string;
|
|
109
110
|
subject: string;
|
|
110
111
|
email?: string | undefined;
|
|
111
112
|
name?: string | undefined;
|
|
112
113
|
} | null | undefined;
|
|
113
|
-
user_did?: string | undefined;
|
|
114
114
|
credential_user_email?: string | undefined;
|
|
115
115
|
credential_provider_user_id?: string | undefined;
|
|
116
116
|
}>;
|
|
@@ -183,8 +183,8 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
183
183
|
popupEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
184
184
|
theme: z.ZodOptional<z.ZodEnum<["light", "dark", "auto"]>>;
|
|
185
185
|
}, "strip", z.ZodTypeAny, {
|
|
186
|
-
title?: string | undefined;
|
|
187
186
|
description?: string | undefined;
|
|
187
|
+
title?: string | undefined;
|
|
188
188
|
expirationText?: string | undefined;
|
|
189
189
|
cancelButtonText?: string | undefined;
|
|
190
190
|
submitButtonText?: string | undefined;
|
|
@@ -193,8 +193,8 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
193
193
|
popupEnabled?: boolean | undefined;
|
|
194
194
|
theme?: "light" | "dark" | "auto" | undefined;
|
|
195
195
|
}, {
|
|
196
|
-
title?: string | undefined;
|
|
197
196
|
description?: string | undefined;
|
|
197
|
+
title?: string | undefined;
|
|
198
198
|
expirationText?: string | undefined;
|
|
199
199
|
cancelButtonText?: string | undefined;
|
|
200
200
|
submitButtonText?: string | undefined;
|
|
@@ -227,15 +227,15 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
227
227
|
redirectDelay: z.ZodOptional<z.ZodNumber>;
|
|
228
228
|
continueButtonText: z.ZodOptional<z.ZodString>;
|
|
229
229
|
}, "strip", z.ZodTypeAny, {
|
|
230
|
-
title?: string | undefined;
|
|
231
230
|
description?: string | undefined;
|
|
231
|
+
title?: string | undefined;
|
|
232
232
|
showCredential?: boolean | undefined;
|
|
233
233
|
redirectUrl?: string | undefined;
|
|
234
234
|
redirectDelay?: number | undefined;
|
|
235
235
|
continueButtonText?: string | undefined;
|
|
236
236
|
}, {
|
|
237
|
-
title?: string | undefined;
|
|
238
237
|
description?: string | undefined;
|
|
238
|
+
title?: string | undefined;
|
|
239
239
|
showCredential?: boolean | undefined;
|
|
240
240
|
redirectUrl?: string | undefined;
|
|
241
241
|
redirectDelay?: number | undefined;
|
|
@@ -259,10 +259,10 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
259
259
|
}>, "many">>;
|
|
260
260
|
pattern: z.ZodOptional<z.ZodString>;
|
|
261
261
|
}, "strip", z.ZodTypeAny, {
|
|
262
|
+
type: "text" | "textarea" | "checkbox" | "select" | "email";
|
|
263
|
+
label: string;
|
|
262
264
|
name: string;
|
|
263
|
-
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
264
265
|
required: boolean;
|
|
265
|
-
label: string;
|
|
266
266
|
options?: {
|
|
267
267
|
value: string;
|
|
268
268
|
label: string;
|
|
@@ -270,10 +270,10 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
270
270
|
placeholder?: string | undefined;
|
|
271
271
|
pattern?: string | undefined;
|
|
272
272
|
}, {
|
|
273
|
+
type: "text" | "textarea" | "checkbox" | "select" | "email";
|
|
274
|
+
label: string;
|
|
273
275
|
name: string;
|
|
274
|
-
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
275
276
|
required: boolean;
|
|
276
|
-
label: string;
|
|
277
277
|
options?: {
|
|
278
278
|
value: string;
|
|
279
279
|
label: string;
|
|
@@ -281,10 +281,10 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
281
281
|
placeholder?: string | undefined;
|
|
282
282
|
pattern?: string | undefined;
|
|
283
283
|
}>, {
|
|
284
|
+
type: "text" | "textarea" | "checkbox" | "select" | "email";
|
|
285
|
+
label: string;
|
|
284
286
|
name: string;
|
|
285
|
-
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
286
287
|
required: boolean;
|
|
287
|
-
label: string;
|
|
288
288
|
options?: {
|
|
289
289
|
value: string;
|
|
290
290
|
label: string;
|
|
@@ -292,10 +292,10 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
292
292
|
placeholder?: string | undefined;
|
|
293
293
|
pattern?: string | undefined;
|
|
294
294
|
}, {
|
|
295
|
+
type: "text" | "textarea" | "checkbox" | "select" | "email";
|
|
296
|
+
label: string;
|
|
295
297
|
name: string;
|
|
296
|
-
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
297
298
|
required: boolean;
|
|
298
|
-
label: string;
|
|
299
299
|
options?: {
|
|
300
300
|
value: string;
|
|
301
301
|
label: string;
|
|
@@ -434,6 +434,98 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
434
434
|
estimatedTime?: string | undefined;
|
|
435
435
|
}>>;
|
|
436
436
|
expirationDays: z.ZodOptional<z.ZodNumber>;
|
|
437
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
438
|
+
id: z.ZodString;
|
|
439
|
+
label: z.ZodString;
|
|
440
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
441
|
+
id: z.ZodString;
|
|
442
|
+
label: z.ZodString;
|
|
443
|
+
description: z.ZodString;
|
|
444
|
+
icon: z.ZodEnum<["search", "cart", "card", "pin", "pin-new", "shield", "key", "tools", "user", "calendar", "lock", "eye", "send", "package", "neutral"]>;
|
|
445
|
+
riskLevel: z.ZodEnum<["low", "medium", "high", "critical"]>;
|
|
446
|
+
defaultOn: z.ZodBoolean;
|
|
447
|
+
cedar: z.ZodEffects<z.ZodString, string, string>;
|
|
448
|
+
scopes: z.ZodArray<z.ZodString, "many">;
|
|
449
|
+
category: z.ZodOptional<z.ZodString>;
|
|
450
|
+
}, "strip", z.ZodTypeAny, {
|
|
451
|
+
id: string;
|
|
452
|
+
label: string;
|
|
453
|
+
description: string;
|
|
454
|
+
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
455
|
+
riskLevel: "low" | "medium" | "high" | "critical";
|
|
456
|
+
defaultOn: boolean;
|
|
457
|
+
cedar: string;
|
|
458
|
+
scopes: string[];
|
|
459
|
+
category?: string | undefined;
|
|
460
|
+
}, {
|
|
461
|
+
id: string;
|
|
462
|
+
label: string;
|
|
463
|
+
description: string;
|
|
464
|
+
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
465
|
+
riskLevel: "low" | "medium" | "high" | "critical";
|
|
466
|
+
defaultOn: boolean;
|
|
467
|
+
cedar: string;
|
|
468
|
+
scopes: string[];
|
|
469
|
+
category?: string | undefined;
|
|
470
|
+
}>, "many">;
|
|
471
|
+
}, "strip", z.ZodTypeAny, {
|
|
472
|
+
id: string;
|
|
473
|
+
label: string;
|
|
474
|
+
capabilities: {
|
|
475
|
+
id: string;
|
|
476
|
+
label: string;
|
|
477
|
+
description: string;
|
|
478
|
+
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
479
|
+
riskLevel: "low" | "medium" | "high" | "critical";
|
|
480
|
+
defaultOn: boolean;
|
|
481
|
+
cedar: string;
|
|
482
|
+
scopes: string[];
|
|
483
|
+
category?: string | undefined;
|
|
484
|
+
}[];
|
|
485
|
+
}, {
|
|
486
|
+
id: string;
|
|
487
|
+
label: string;
|
|
488
|
+
capabilities: {
|
|
489
|
+
id: string;
|
|
490
|
+
label: string;
|
|
491
|
+
description: string;
|
|
492
|
+
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
493
|
+
riskLevel: "low" | "medium" | "high" | "critical";
|
|
494
|
+
defaultOn: boolean;
|
|
495
|
+
cedar: string;
|
|
496
|
+
scopes: string[];
|
|
497
|
+
category?: string | undefined;
|
|
498
|
+
}[];
|
|
499
|
+
}>, "many">>;
|
|
500
|
+
agentMetadata: z.ZodOptional<z.ZodObject<{
|
|
501
|
+
name: z.ZodString;
|
|
502
|
+
did: z.ZodString;
|
|
503
|
+
vendor: z.ZodOptional<z.ZodString>;
|
|
504
|
+
surfaceLabel: z.ZodOptional<z.ZodString>;
|
|
505
|
+
verified: z.ZodBoolean;
|
|
506
|
+
logoUrl: z.ZodOptional<z.ZodString>;
|
|
507
|
+
connectedAt: z.ZodOptional<z.ZodString>;
|
|
508
|
+
}, "strip", z.ZodTypeAny, {
|
|
509
|
+
name: string;
|
|
510
|
+
did: string;
|
|
511
|
+
verified: boolean;
|
|
512
|
+
logoUrl?: string | undefined;
|
|
513
|
+
vendor?: string | undefined;
|
|
514
|
+
surfaceLabel?: string | undefined;
|
|
515
|
+
connectedAt?: string | undefined;
|
|
516
|
+
}, {
|
|
517
|
+
name: string;
|
|
518
|
+
did: string;
|
|
519
|
+
verified: boolean;
|
|
520
|
+
logoUrl?: string | undefined;
|
|
521
|
+
vendor?: string | undefined;
|
|
522
|
+
surfaceLabel?: string | undefined;
|
|
523
|
+
connectedAt?: string | undefined;
|
|
524
|
+
}>>;
|
|
525
|
+
theme: z.ZodOptional<z.ZodEnum<["light", "dark"]>>;
|
|
526
|
+
headlineVerb: z.ZodOptional<z.ZodString>;
|
|
527
|
+
revocationPath: z.ZodOptional<z.ZodString>;
|
|
528
|
+
inactivityDays: z.ZodOptional<z.ZodNumber>;
|
|
437
529
|
} & {
|
|
438
530
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
439
531
|
version: z.ZodOptional<z.ZodNumber>;
|
|
@@ -484,26 +576,35 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
484
576
|
verificationType?: "document" | "selfie" | "both" | undefined;
|
|
485
577
|
estimatedTime?: string | undefined;
|
|
486
578
|
} | undefined;
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
579
|
+
magicLink?: {
|
|
580
|
+
buttonText?: string | undefined;
|
|
581
|
+
enabled?: boolean | undefined;
|
|
582
|
+
emailLabel?: string | undefined;
|
|
583
|
+
emailPlaceholder?: string | undefined;
|
|
584
|
+
resendCooldown?: number | undefined;
|
|
585
|
+
} | undefined;
|
|
586
|
+
qrCode?: {
|
|
587
|
+
enabled?: boolean | undefined;
|
|
588
|
+
instructions?: string | undefined;
|
|
589
|
+
size?: number | undefined;
|
|
590
|
+
showManualEntry?: boolean | undefined;
|
|
591
|
+
} | undefined;
|
|
592
|
+
capabilities?: {
|
|
593
|
+
id: string;
|
|
491
594
|
label: string;
|
|
492
|
-
|
|
493
|
-
|
|
595
|
+
capabilities: {
|
|
596
|
+
id: string;
|
|
494
597
|
label: string;
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
598
|
+
description: string;
|
|
599
|
+
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
600
|
+
riskLevel: "low" | "medium" | "high" | "critical";
|
|
601
|
+
defaultOn: boolean;
|
|
602
|
+
cedar: string;
|
|
603
|
+
scopes: string[];
|
|
604
|
+
category?: string | undefined;
|
|
605
|
+
}[];
|
|
498
606
|
}[] | undefined;
|
|
499
|
-
|
|
500
|
-
title?: string | undefined;
|
|
501
|
-
description?: string | undefined;
|
|
502
|
-
showCredential?: boolean | undefined;
|
|
503
|
-
redirectUrl?: string | undefined;
|
|
504
|
-
redirectDelay?: number | undefined;
|
|
505
|
-
continueButtonText?: string | undefined;
|
|
506
|
-
} | undefined;
|
|
607
|
+
theme?: "light" | "dark" | undefined;
|
|
507
608
|
branding?: {
|
|
508
609
|
primaryColor?: string | undefined;
|
|
509
610
|
secondaryColor?: string | undefined;
|
|
@@ -511,8 +612,8 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
511
612
|
companyName?: string | undefined;
|
|
512
613
|
} | undefined;
|
|
513
614
|
ui?: {
|
|
514
|
-
title?: string | undefined;
|
|
515
615
|
description?: string | undefined;
|
|
616
|
+
title?: string | undefined;
|
|
516
617
|
expirationText?: string | undefined;
|
|
517
618
|
cancelButtonText?: string | undefined;
|
|
518
619
|
submitButtonText?: string | undefined;
|
|
@@ -527,20 +628,39 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
527
628
|
version?: string | undefined;
|
|
528
629
|
required?: boolean | undefined;
|
|
529
630
|
} | undefined;
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
qrCode?: {
|
|
538
|
-
enabled?: boolean | undefined;
|
|
539
|
-
instructions?: string | undefined;
|
|
540
|
-
size?: number | undefined;
|
|
541
|
-
showManualEntry?: boolean | undefined;
|
|
631
|
+
success?: {
|
|
632
|
+
description?: string | undefined;
|
|
633
|
+
title?: string | undefined;
|
|
634
|
+
showCredential?: boolean | undefined;
|
|
635
|
+
redirectUrl?: string | undefined;
|
|
636
|
+
redirectDelay?: number | undefined;
|
|
637
|
+
continueButtonText?: string | undefined;
|
|
542
638
|
} | undefined;
|
|
639
|
+
customFields?: {
|
|
640
|
+
type: "text" | "textarea" | "checkbox" | "select" | "email";
|
|
641
|
+
label: string;
|
|
642
|
+
name: string;
|
|
643
|
+
required: boolean;
|
|
644
|
+
options?: {
|
|
645
|
+
value: string;
|
|
646
|
+
label: string;
|
|
647
|
+
}[] | undefined;
|
|
648
|
+
placeholder?: string | undefined;
|
|
649
|
+
pattern?: string | undefined;
|
|
650
|
+
}[] | undefined;
|
|
543
651
|
expirationDays?: number | undefined;
|
|
652
|
+
agentMetadata?: {
|
|
653
|
+
name: string;
|
|
654
|
+
did: string;
|
|
655
|
+
verified: boolean;
|
|
656
|
+
logoUrl?: string | undefined;
|
|
657
|
+
vendor?: string | undefined;
|
|
658
|
+
surfaceLabel?: string | undefined;
|
|
659
|
+
connectedAt?: string | undefined;
|
|
660
|
+
} | undefined;
|
|
661
|
+
headlineVerb?: string | undefined;
|
|
662
|
+
revocationPath?: string | undefined;
|
|
663
|
+
inactivityDays?: number | undefined;
|
|
544
664
|
metadata?: {
|
|
545
665
|
version?: number | undefined;
|
|
546
666
|
updatedAt?: string | undefined;
|
|
@@ -582,26 +702,35 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
582
702
|
verificationType?: "document" | "selfie" | "both" | undefined;
|
|
583
703
|
estimatedTime?: string | undefined;
|
|
584
704
|
} | undefined;
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
705
|
+
magicLink?: {
|
|
706
|
+
buttonText?: string | undefined;
|
|
707
|
+
enabled?: boolean | undefined;
|
|
708
|
+
emailLabel?: string | undefined;
|
|
709
|
+
emailPlaceholder?: string | undefined;
|
|
710
|
+
resendCooldown?: number | undefined;
|
|
711
|
+
} | undefined;
|
|
712
|
+
qrCode?: {
|
|
713
|
+
enabled?: boolean | undefined;
|
|
714
|
+
instructions?: string | undefined;
|
|
715
|
+
size?: number | undefined;
|
|
716
|
+
showManualEntry?: boolean | undefined;
|
|
717
|
+
} | undefined;
|
|
718
|
+
capabilities?: {
|
|
719
|
+
id: string;
|
|
589
720
|
label: string;
|
|
590
|
-
|
|
591
|
-
|
|
721
|
+
capabilities: {
|
|
722
|
+
id: string;
|
|
592
723
|
label: string;
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
724
|
+
description: string;
|
|
725
|
+
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
726
|
+
riskLevel: "low" | "medium" | "high" | "critical";
|
|
727
|
+
defaultOn: boolean;
|
|
728
|
+
cedar: string;
|
|
729
|
+
scopes: string[];
|
|
730
|
+
category?: string | undefined;
|
|
731
|
+
}[];
|
|
596
732
|
}[] | undefined;
|
|
597
|
-
|
|
598
|
-
title?: string | undefined;
|
|
599
|
-
description?: string | undefined;
|
|
600
|
-
showCredential?: boolean | undefined;
|
|
601
|
-
redirectUrl?: string | undefined;
|
|
602
|
-
redirectDelay?: number | undefined;
|
|
603
|
-
continueButtonText?: string | undefined;
|
|
604
|
-
} | undefined;
|
|
733
|
+
theme?: "light" | "dark" | undefined;
|
|
605
734
|
branding?: {
|
|
606
735
|
primaryColor?: string | undefined;
|
|
607
736
|
secondaryColor?: string | undefined;
|
|
@@ -609,8 +738,8 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
609
738
|
companyName?: string | undefined;
|
|
610
739
|
} | undefined;
|
|
611
740
|
ui?: {
|
|
612
|
-
title?: string | undefined;
|
|
613
741
|
description?: string | undefined;
|
|
742
|
+
title?: string | undefined;
|
|
614
743
|
expirationText?: string | undefined;
|
|
615
744
|
cancelButtonText?: string | undefined;
|
|
616
745
|
submitButtonText?: string | undefined;
|
|
@@ -625,20 +754,39 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
625
754
|
version?: string | undefined;
|
|
626
755
|
required?: boolean | undefined;
|
|
627
756
|
} | undefined;
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
qrCode?: {
|
|
636
|
-
enabled?: boolean | undefined;
|
|
637
|
-
instructions?: string | undefined;
|
|
638
|
-
size?: number | undefined;
|
|
639
|
-
showManualEntry?: boolean | undefined;
|
|
757
|
+
success?: {
|
|
758
|
+
description?: string | undefined;
|
|
759
|
+
title?: string | undefined;
|
|
760
|
+
showCredential?: boolean | undefined;
|
|
761
|
+
redirectUrl?: string | undefined;
|
|
762
|
+
redirectDelay?: number | undefined;
|
|
763
|
+
continueButtonText?: string | undefined;
|
|
640
764
|
} | undefined;
|
|
765
|
+
customFields?: {
|
|
766
|
+
type: "text" | "textarea" | "checkbox" | "select" | "email";
|
|
767
|
+
label: string;
|
|
768
|
+
name: string;
|
|
769
|
+
required: boolean;
|
|
770
|
+
options?: {
|
|
771
|
+
value: string;
|
|
772
|
+
label: string;
|
|
773
|
+
}[] | undefined;
|
|
774
|
+
placeholder?: string | undefined;
|
|
775
|
+
pattern?: string | undefined;
|
|
776
|
+
}[] | undefined;
|
|
641
777
|
expirationDays?: number | undefined;
|
|
778
|
+
agentMetadata?: {
|
|
779
|
+
name: string;
|
|
780
|
+
did: string;
|
|
781
|
+
verified: boolean;
|
|
782
|
+
logoUrl?: string | undefined;
|
|
783
|
+
vendor?: string | undefined;
|
|
784
|
+
surfaceLabel?: string | undefined;
|
|
785
|
+
connectedAt?: string | undefined;
|
|
786
|
+
} | undefined;
|
|
787
|
+
headlineVerb?: string | undefined;
|
|
788
|
+
revocationPath?: string | undefined;
|
|
789
|
+
inactivityDays?: number | undefined;
|
|
642
790
|
metadata?: {
|
|
643
791
|
version?: number | undefined;
|
|
644
792
|
updatedAt?: string | undefined;
|
|
@@ -685,26 +833,35 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
685
833
|
verificationType?: "document" | "selfie" | "both" | undefined;
|
|
686
834
|
estimatedTime?: string | undefined;
|
|
687
835
|
} | undefined;
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
836
|
+
magicLink?: {
|
|
837
|
+
buttonText?: string | undefined;
|
|
838
|
+
enabled?: boolean | undefined;
|
|
839
|
+
emailLabel?: string | undefined;
|
|
840
|
+
emailPlaceholder?: string | undefined;
|
|
841
|
+
resendCooldown?: number | undefined;
|
|
842
|
+
} | undefined;
|
|
843
|
+
qrCode?: {
|
|
844
|
+
enabled?: boolean | undefined;
|
|
845
|
+
instructions?: string | undefined;
|
|
846
|
+
size?: number | undefined;
|
|
847
|
+
showManualEntry?: boolean | undefined;
|
|
848
|
+
} | undefined;
|
|
849
|
+
capabilities?: {
|
|
850
|
+
id: string;
|
|
692
851
|
label: string;
|
|
693
|
-
|
|
694
|
-
|
|
852
|
+
capabilities: {
|
|
853
|
+
id: string;
|
|
695
854
|
label: string;
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
855
|
+
description: string;
|
|
856
|
+
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
857
|
+
riskLevel: "low" | "medium" | "high" | "critical";
|
|
858
|
+
defaultOn: boolean;
|
|
859
|
+
cedar: string;
|
|
860
|
+
scopes: string[];
|
|
861
|
+
category?: string | undefined;
|
|
862
|
+
}[];
|
|
699
863
|
}[] | undefined;
|
|
700
|
-
|
|
701
|
-
title?: string | undefined;
|
|
702
|
-
description?: string | undefined;
|
|
703
|
-
showCredential?: boolean | undefined;
|
|
704
|
-
redirectUrl?: string | undefined;
|
|
705
|
-
redirectDelay?: number | undefined;
|
|
706
|
-
continueButtonText?: string | undefined;
|
|
707
|
-
} | undefined;
|
|
864
|
+
theme?: "light" | "dark" | undefined;
|
|
708
865
|
branding?: {
|
|
709
866
|
primaryColor?: string | undefined;
|
|
710
867
|
secondaryColor?: string | undefined;
|
|
@@ -712,8 +869,8 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
712
869
|
companyName?: string | undefined;
|
|
713
870
|
} | undefined;
|
|
714
871
|
ui?: {
|
|
715
|
-
title?: string | undefined;
|
|
716
872
|
description?: string | undefined;
|
|
873
|
+
title?: string | undefined;
|
|
717
874
|
expirationText?: string | undefined;
|
|
718
875
|
cancelButtonText?: string | undefined;
|
|
719
876
|
submitButtonText?: string | undefined;
|
|
@@ -728,20 +885,39 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
728
885
|
version?: string | undefined;
|
|
729
886
|
required?: boolean | undefined;
|
|
730
887
|
} | undefined;
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
qrCode?: {
|
|
739
|
-
enabled?: boolean | undefined;
|
|
740
|
-
instructions?: string | undefined;
|
|
741
|
-
size?: number | undefined;
|
|
742
|
-
showManualEntry?: boolean | undefined;
|
|
888
|
+
success?: {
|
|
889
|
+
description?: string | undefined;
|
|
890
|
+
title?: string | undefined;
|
|
891
|
+
showCredential?: boolean | undefined;
|
|
892
|
+
redirectUrl?: string | undefined;
|
|
893
|
+
redirectDelay?: number | undefined;
|
|
894
|
+
continueButtonText?: string | undefined;
|
|
743
895
|
} | undefined;
|
|
896
|
+
customFields?: {
|
|
897
|
+
type: "text" | "textarea" | "checkbox" | "select" | "email";
|
|
898
|
+
label: string;
|
|
899
|
+
name: string;
|
|
900
|
+
required: boolean;
|
|
901
|
+
options?: {
|
|
902
|
+
value: string;
|
|
903
|
+
label: string;
|
|
904
|
+
}[] | undefined;
|
|
905
|
+
placeholder?: string | undefined;
|
|
906
|
+
pattern?: string | undefined;
|
|
907
|
+
}[] | undefined;
|
|
744
908
|
expirationDays?: number | undefined;
|
|
909
|
+
agentMetadata?: {
|
|
910
|
+
name: string;
|
|
911
|
+
did: string;
|
|
912
|
+
verified: boolean;
|
|
913
|
+
logoUrl?: string | undefined;
|
|
914
|
+
vendor?: string | undefined;
|
|
915
|
+
surfaceLabel?: string | undefined;
|
|
916
|
+
connectedAt?: string | undefined;
|
|
917
|
+
} | undefined;
|
|
918
|
+
headlineVerb?: string | undefined;
|
|
919
|
+
revocationPath?: string | undefined;
|
|
920
|
+
inactivityDays?: number | undefined;
|
|
745
921
|
metadata?: {
|
|
746
922
|
version?: number | undefined;
|
|
747
923
|
updatedAt?: string | undefined;
|
|
@@ -787,26 +963,35 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
787
963
|
verificationType?: "document" | "selfie" | "both" | undefined;
|
|
788
964
|
estimatedTime?: string | undefined;
|
|
789
965
|
} | undefined;
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
966
|
+
magicLink?: {
|
|
967
|
+
buttonText?: string | undefined;
|
|
968
|
+
enabled?: boolean | undefined;
|
|
969
|
+
emailLabel?: string | undefined;
|
|
970
|
+
emailPlaceholder?: string | undefined;
|
|
971
|
+
resendCooldown?: number | undefined;
|
|
972
|
+
} | undefined;
|
|
973
|
+
qrCode?: {
|
|
974
|
+
enabled?: boolean | undefined;
|
|
975
|
+
instructions?: string | undefined;
|
|
976
|
+
size?: number | undefined;
|
|
977
|
+
showManualEntry?: boolean | undefined;
|
|
978
|
+
} | undefined;
|
|
979
|
+
capabilities?: {
|
|
980
|
+
id: string;
|
|
794
981
|
label: string;
|
|
795
|
-
|
|
796
|
-
|
|
982
|
+
capabilities: {
|
|
983
|
+
id: string;
|
|
797
984
|
label: string;
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
985
|
+
description: string;
|
|
986
|
+
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
987
|
+
riskLevel: "low" | "medium" | "high" | "critical";
|
|
988
|
+
defaultOn: boolean;
|
|
989
|
+
cedar: string;
|
|
990
|
+
scopes: string[];
|
|
991
|
+
category?: string | undefined;
|
|
992
|
+
}[];
|
|
801
993
|
}[] | undefined;
|
|
802
|
-
|
|
803
|
-
title?: string | undefined;
|
|
804
|
-
description?: string | undefined;
|
|
805
|
-
showCredential?: boolean | undefined;
|
|
806
|
-
redirectUrl?: string | undefined;
|
|
807
|
-
redirectDelay?: number | undefined;
|
|
808
|
-
continueButtonText?: string | undefined;
|
|
809
|
-
} | undefined;
|
|
994
|
+
theme?: "light" | "dark" | undefined;
|
|
810
995
|
branding?: {
|
|
811
996
|
primaryColor?: string | undefined;
|
|
812
997
|
secondaryColor?: string | undefined;
|
|
@@ -814,8 +999,8 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
814
999
|
companyName?: string | undefined;
|
|
815
1000
|
} | undefined;
|
|
816
1001
|
ui?: {
|
|
817
|
-
title?: string | undefined;
|
|
818
1002
|
description?: string | undefined;
|
|
1003
|
+
title?: string | undefined;
|
|
819
1004
|
expirationText?: string | undefined;
|
|
820
1005
|
cancelButtonText?: string | undefined;
|
|
821
1006
|
submitButtonText?: string | undefined;
|
|
@@ -830,20 +1015,39 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
830
1015
|
version?: string | undefined;
|
|
831
1016
|
required?: boolean | undefined;
|
|
832
1017
|
} | undefined;
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
qrCode?: {
|
|
841
|
-
enabled?: boolean | undefined;
|
|
842
|
-
instructions?: string | undefined;
|
|
843
|
-
size?: number | undefined;
|
|
844
|
-
showManualEntry?: boolean | undefined;
|
|
1018
|
+
success?: {
|
|
1019
|
+
description?: string | undefined;
|
|
1020
|
+
title?: string | undefined;
|
|
1021
|
+
showCredential?: boolean | undefined;
|
|
1022
|
+
redirectUrl?: string | undefined;
|
|
1023
|
+
redirectDelay?: number | undefined;
|
|
1024
|
+
continueButtonText?: string | undefined;
|
|
845
1025
|
} | undefined;
|
|
1026
|
+
customFields?: {
|
|
1027
|
+
type: "text" | "textarea" | "checkbox" | "select" | "email";
|
|
1028
|
+
label: string;
|
|
1029
|
+
name: string;
|
|
1030
|
+
required: boolean;
|
|
1031
|
+
options?: {
|
|
1032
|
+
value: string;
|
|
1033
|
+
label: string;
|
|
1034
|
+
}[] | undefined;
|
|
1035
|
+
placeholder?: string | undefined;
|
|
1036
|
+
pattern?: string | undefined;
|
|
1037
|
+
}[] | undefined;
|
|
846
1038
|
expirationDays?: number | undefined;
|
|
1039
|
+
agentMetadata?: {
|
|
1040
|
+
name: string;
|
|
1041
|
+
did: string;
|
|
1042
|
+
verified: boolean;
|
|
1043
|
+
logoUrl?: string | undefined;
|
|
1044
|
+
vendor?: string | undefined;
|
|
1045
|
+
surfaceLabel?: string | undefined;
|
|
1046
|
+
connectedAt?: string | undefined;
|
|
1047
|
+
} | undefined;
|
|
1048
|
+
headlineVerb?: string | undefined;
|
|
1049
|
+
revocationPath?: string | undefined;
|
|
1050
|
+
inactivityDays?: number | undefined;
|
|
847
1051
|
metadata?: {
|
|
848
1052
|
version?: number | undefined;
|
|
849
1053
|
updatedAt?: string | undefined;
|
|
@@ -865,21 +1069,21 @@ export declare const CredentialAuthRequestSchema: z.ZodObject<{
|
|
|
865
1069
|
provider: z.ZodString;
|
|
866
1070
|
remember_me: z.ZodOptional<z.ZodBoolean>;
|
|
867
1071
|
}, "strip", z.ZodTypeAny, {
|
|
868
|
-
|
|
1072
|
+
password: string;
|
|
869
1073
|
agent_did: string;
|
|
1074
|
+
provider: string;
|
|
870
1075
|
session_id: string;
|
|
871
1076
|
project_id: string;
|
|
872
1077
|
username: string;
|
|
873
|
-
password: string;
|
|
874
1078
|
csrf_token: string;
|
|
875
1079
|
remember_me?: boolean | undefined;
|
|
876
1080
|
}, {
|
|
877
|
-
|
|
1081
|
+
password: string;
|
|
878
1082
|
agent_did: string;
|
|
1083
|
+
provider: string;
|
|
879
1084
|
session_id: string;
|
|
880
1085
|
project_id: string;
|
|
881
1086
|
username: string;
|
|
882
|
-
password: string;
|
|
883
1087
|
csrf_token: string;
|
|
884
1088
|
remember_me?: boolean | undefined;
|
|
885
1089
|
}>;
|
|
@@ -945,51 +1149,51 @@ export declare const ConsentPageConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
945
1149
|
oauthRequired: z.ZodOptional<z.ZodBoolean>;
|
|
946
1150
|
oauthUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
947
1151
|
}, "strip", z.ZodTypeAny, {
|
|
948
|
-
tool: string;
|
|
949
1152
|
scopes: string[];
|
|
1153
|
+
tool: string;
|
|
950
1154
|
toolDescription: string;
|
|
951
1155
|
agentDid: string;
|
|
952
1156
|
sessionId: string;
|
|
953
1157
|
projectId: string;
|
|
954
1158
|
serverUrl: string;
|
|
955
|
-
provider?: string | undefined;
|
|
956
1159
|
autoClose?: boolean | undefined;
|
|
1160
|
+
provider?: string | undefined;
|
|
957
1161
|
oauthRequired?: boolean | undefined;
|
|
958
1162
|
oauthUrl?: string | undefined;
|
|
959
1163
|
}, {
|
|
960
|
-
tool: string;
|
|
961
1164
|
scopes: string[];
|
|
1165
|
+
tool: string;
|
|
962
1166
|
toolDescription: string;
|
|
963
1167
|
agentDid: string;
|
|
964
1168
|
sessionId: string;
|
|
965
1169
|
projectId: string;
|
|
966
1170
|
serverUrl: string;
|
|
967
|
-
provider?: string | undefined;
|
|
968
1171
|
autoClose?: boolean | undefined;
|
|
1172
|
+
provider?: string | undefined;
|
|
969
1173
|
oauthRequired?: boolean | undefined;
|
|
970
1174
|
oauthUrl?: string | undefined;
|
|
971
1175
|
}>, {
|
|
972
|
-
tool: string;
|
|
973
1176
|
scopes: string[];
|
|
1177
|
+
tool: string;
|
|
974
1178
|
toolDescription: string;
|
|
975
1179
|
agentDid: string;
|
|
976
1180
|
sessionId: string;
|
|
977
1181
|
projectId: string;
|
|
978
1182
|
serverUrl: string;
|
|
979
|
-
provider?: string | undefined;
|
|
980
1183
|
autoClose?: boolean | undefined;
|
|
1184
|
+
provider?: string | undefined;
|
|
981
1185
|
oauthRequired?: boolean | undefined;
|
|
982
1186
|
oauthUrl?: string | undefined;
|
|
983
1187
|
}, {
|
|
984
|
-
tool: string;
|
|
985
1188
|
scopes: string[];
|
|
1189
|
+
tool: string;
|
|
986
1190
|
toolDescription: string;
|
|
987
1191
|
agentDid: string;
|
|
988
1192
|
sessionId: string;
|
|
989
1193
|
projectId: string;
|
|
990
1194
|
serverUrl: string;
|
|
991
|
-
provider?: string | undefined;
|
|
992
1195
|
autoClose?: boolean | undefined;
|
|
1196
|
+
provider?: string | undefined;
|
|
993
1197
|
oauthRequired?: boolean | undefined;
|
|
994
1198
|
oauthUrl?: string | undefined;
|
|
995
1199
|
}>;
|