@kya-os/consent 0.1.37 → 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/index.js +15 -0
- package/dist/cjs/mcp-app/index.js.map +1 -0
- package/dist/cjs/mcp-app/inline.js +20 -0
- package/dist/cjs/mcp-app/inline.js.map +1 -0
- package/dist/cjs/mcp-app/types.js +10 -0
- package/dist/cjs/mcp-app/types.js.map +1 -0
- 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 +1578 -210
- 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/index.d.ts +10 -0
- package/dist/mcp-app/index.d.ts.map +1 -0
- package/dist/mcp-app/index.js +9 -0
- package/dist/mcp-app/index.js.map +1 -0
- package/dist/mcp-app/inline.d.ts +16 -0
- package/dist/mcp-app/inline.d.ts.map +1 -0
- package/dist/mcp-app/inline.js +16 -0
- package/dist/mcp-app/inline.js.map +1 -0
- package/dist/mcp-app/types.d.ts +33 -0
- package/dist/mcp-app/types.d.ts.map +1 -0
- package/dist/mcp-app/types.js +8 -0
- package/dist/mcp-app/types.js.map +1 -0
- 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 +234 -30
- 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 +332 -36
- 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 +15 -8
|
@@ -21,8 +21,8 @@ export declare const ConsentUISchema: z.ZodObject<{
|
|
|
21
21
|
popupEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
22
22
|
theme: z.ZodOptional<z.ZodEnum<["light", "dark", "auto"]>>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
title?: string | undefined;
|
|
25
24
|
description?: string | undefined;
|
|
25
|
+
title?: string | undefined;
|
|
26
26
|
expirationText?: string | undefined;
|
|
27
27
|
cancelButtonText?: string | undefined;
|
|
28
28
|
submitButtonText?: string | undefined;
|
|
@@ -31,8 +31,8 @@ export declare const ConsentUISchema: z.ZodObject<{
|
|
|
31
31
|
popupEnabled?: boolean | undefined;
|
|
32
32
|
theme?: "light" | "dark" | "auto" | undefined;
|
|
33
33
|
}, {
|
|
34
|
-
title?: string | undefined;
|
|
35
34
|
description?: string | undefined;
|
|
35
|
+
title?: string | undefined;
|
|
36
36
|
expirationText?: string | undefined;
|
|
37
37
|
cancelButtonText?: string | undefined;
|
|
38
38
|
submitButtonText?: string | undefined;
|
|
@@ -73,15 +73,15 @@ export declare const ConsentSuccessSchema: z.ZodObject<{
|
|
|
73
73
|
redirectDelay: z.ZodOptional<z.ZodNumber>;
|
|
74
74
|
continueButtonText: z.ZodOptional<z.ZodString>;
|
|
75
75
|
}, "strip", z.ZodTypeAny, {
|
|
76
|
-
title?: string | undefined;
|
|
77
76
|
description?: string | undefined;
|
|
77
|
+
title?: string | undefined;
|
|
78
78
|
showCredential?: boolean | undefined;
|
|
79
79
|
redirectUrl?: string | undefined;
|
|
80
80
|
redirectDelay?: number | undefined;
|
|
81
81
|
continueButtonText?: string | undefined;
|
|
82
82
|
}, {
|
|
83
|
-
title?: string | undefined;
|
|
84
83
|
description?: string | undefined;
|
|
84
|
+
title?: string | undefined;
|
|
85
85
|
showCredential?: boolean | undefined;
|
|
86
86
|
redirectUrl?: string | undefined;
|
|
87
87
|
redirectDelay?: number | undefined;
|
|
@@ -123,9 +123,9 @@ export declare const ConsentCustomFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
123
123
|
pattern: z.ZodOptional<z.ZodString>;
|
|
124
124
|
}, "strip", z.ZodTypeAny, {
|
|
125
125
|
type: "text" | "textarea" | "checkbox" | "select" | "email";
|
|
126
|
-
required: boolean;
|
|
127
126
|
label: string;
|
|
128
127
|
name: string;
|
|
128
|
+
required: boolean;
|
|
129
129
|
options?: {
|
|
130
130
|
value: string;
|
|
131
131
|
label: string;
|
|
@@ -134,9 +134,9 @@ export declare const ConsentCustomFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
134
134
|
pattern?: string | undefined;
|
|
135
135
|
}, {
|
|
136
136
|
type: "text" | "textarea" | "checkbox" | "select" | "email";
|
|
137
|
-
required: boolean;
|
|
138
137
|
label: string;
|
|
139
138
|
name: string;
|
|
139
|
+
required: boolean;
|
|
140
140
|
options?: {
|
|
141
141
|
value: string;
|
|
142
142
|
label: string;
|
|
@@ -145,9 +145,9 @@ export declare const ConsentCustomFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
145
145
|
pattern?: string | undefined;
|
|
146
146
|
}>, {
|
|
147
147
|
type: "text" | "textarea" | "checkbox" | "select" | "email";
|
|
148
|
-
required: boolean;
|
|
149
148
|
label: string;
|
|
150
149
|
name: string;
|
|
150
|
+
required: boolean;
|
|
151
151
|
options?: {
|
|
152
152
|
value: string;
|
|
153
153
|
label: string;
|
|
@@ -156,9 +156,9 @@ export declare const ConsentCustomFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
156
156
|
pattern?: string | undefined;
|
|
157
157
|
}, {
|
|
158
158
|
type: "text" | "textarea" | "checkbox" | "select" | "email";
|
|
159
|
-
required: boolean;
|
|
160
159
|
label: string;
|
|
161
160
|
name: string;
|
|
161
|
+
required: boolean;
|
|
162
162
|
options?: {
|
|
163
163
|
value: string;
|
|
164
164
|
label: string;
|
|
@@ -217,8 +217,8 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
217
217
|
popupEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
218
218
|
theme: z.ZodOptional<z.ZodEnum<["light", "dark", "auto"]>>;
|
|
219
219
|
}, "strip", z.ZodTypeAny, {
|
|
220
|
-
title?: string | undefined;
|
|
221
220
|
description?: string | undefined;
|
|
221
|
+
title?: string | undefined;
|
|
222
222
|
expirationText?: string | undefined;
|
|
223
223
|
cancelButtonText?: string | undefined;
|
|
224
224
|
submitButtonText?: string | undefined;
|
|
@@ -227,8 +227,8 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
227
227
|
popupEnabled?: boolean | undefined;
|
|
228
228
|
theme?: "light" | "dark" | "auto" | undefined;
|
|
229
229
|
}, {
|
|
230
|
-
title?: string | undefined;
|
|
231
230
|
description?: string | undefined;
|
|
231
|
+
title?: string | undefined;
|
|
232
232
|
expirationText?: string | undefined;
|
|
233
233
|
cancelButtonText?: string | undefined;
|
|
234
234
|
submitButtonText?: string | undefined;
|
|
@@ -261,15 +261,15 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
261
261
|
redirectDelay: z.ZodOptional<z.ZodNumber>;
|
|
262
262
|
continueButtonText: z.ZodOptional<z.ZodString>;
|
|
263
263
|
}, "strip", z.ZodTypeAny, {
|
|
264
|
-
title?: string | undefined;
|
|
265
264
|
description?: string | undefined;
|
|
265
|
+
title?: string | undefined;
|
|
266
266
|
showCredential?: boolean | undefined;
|
|
267
267
|
redirectUrl?: string | undefined;
|
|
268
268
|
redirectDelay?: number | undefined;
|
|
269
269
|
continueButtonText?: string | undefined;
|
|
270
270
|
}, {
|
|
271
|
-
title?: string | undefined;
|
|
272
271
|
description?: string | undefined;
|
|
272
|
+
title?: string | undefined;
|
|
273
273
|
showCredential?: boolean | undefined;
|
|
274
274
|
redirectUrl?: string | undefined;
|
|
275
275
|
redirectDelay?: number | undefined;
|
|
@@ -294,9 +294,9 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
294
294
|
pattern: z.ZodOptional<z.ZodString>;
|
|
295
295
|
}, "strip", z.ZodTypeAny, {
|
|
296
296
|
type: "text" | "textarea" | "checkbox" | "select" | "email";
|
|
297
|
-
required: boolean;
|
|
298
297
|
label: string;
|
|
299
298
|
name: string;
|
|
299
|
+
required: boolean;
|
|
300
300
|
options?: {
|
|
301
301
|
value: string;
|
|
302
302
|
label: string;
|
|
@@ -305,9 +305,9 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
305
305
|
pattern?: string | undefined;
|
|
306
306
|
}, {
|
|
307
307
|
type: "text" | "textarea" | "checkbox" | "select" | "email";
|
|
308
|
-
required: boolean;
|
|
309
308
|
label: string;
|
|
310
309
|
name: string;
|
|
310
|
+
required: boolean;
|
|
311
311
|
options?: {
|
|
312
312
|
value: string;
|
|
313
313
|
label: string;
|
|
@@ -316,9 +316,9 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
316
316
|
pattern?: string | undefined;
|
|
317
317
|
}>, {
|
|
318
318
|
type: "text" | "textarea" | "checkbox" | "select" | "email";
|
|
319
|
-
required: boolean;
|
|
320
319
|
label: string;
|
|
321
320
|
name: string;
|
|
321
|
+
required: boolean;
|
|
322
322
|
options?: {
|
|
323
323
|
value: string;
|
|
324
324
|
label: string;
|
|
@@ -327,9 +327,9 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
327
327
|
pattern?: string | undefined;
|
|
328
328
|
}, {
|
|
329
329
|
type: "text" | "textarea" | "checkbox" | "select" | "email";
|
|
330
|
-
required: boolean;
|
|
331
330
|
label: string;
|
|
332
331
|
name: string;
|
|
332
|
+
required: boolean;
|
|
333
333
|
options?: {
|
|
334
334
|
value: string;
|
|
335
335
|
label: string;
|
|
@@ -468,6 +468,98 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
468
468
|
estimatedTime?: string | undefined;
|
|
469
469
|
}>>;
|
|
470
470
|
expirationDays: z.ZodOptional<z.ZodNumber>;
|
|
471
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
472
|
+
id: z.ZodString;
|
|
473
|
+
label: z.ZodString;
|
|
474
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
475
|
+
id: z.ZodString;
|
|
476
|
+
label: z.ZodString;
|
|
477
|
+
description: z.ZodString;
|
|
478
|
+
icon: z.ZodEnum<["search", "cart", "card", "pin", "pin-new", "shield", "key", "tools", "user", "calendar", "lock", "eye", "send", "package", "neutral"]>;
|
|
479
|
+
riskLevel: z.ZodEnum<["low", "medium", "high", "critical"]>;
|
|
480
|
+
defaultOn: z.ZodBoolean;
|
|
481
|
+
cedar: z.ZodEffects<z.ZodString, string, string>;
|
|
482
|
+
scopes: z.ZodArray<z.ZodString, "many">;
|
|
483
|
+
category: z.ZodOptional<z.ZodString>;
|
|
484
|
+
}, "strip", z.ZodTypeAny, {
|
|
485
|
+
id: string;
|
|
486
|
+
label: string;
|
|
487
|
+
description: string;
|
|
488
|
+
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
489
|
+
riskLevel: "low" | "medium" | "high" | "critical";
|
|
490
|
+
defaultOn: boolean;
|
|
491
|
+
cedar: string;
|
|
492
|
+
scopes: string[];
|
|
493
|
+
category?: string | undefined;
|
|
494
|
+
}, {
|
|
495
|
+
id: string;
|
|
496
|
+
label: string;
|
|
497
|
+
description: string;
|
|
498
|
+
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
499
|
+
riskLevel: "low" | "medium" | "high" | "critical";
|
|
500
|
+
defaultOn: boolean;
|
|
501
|
+
cedar: string;
|
|
502
|
+
scopes: string[];
|
|
503
|
+
category?: string | undefined;
|
|
504
|
+
}>, "many">;
|
|
505
|
+
}, "strip", z.ZodTypeAny, {
|
|
506
|
+
id: string;
|
|
507
|
+
label: string;
|
|
508
|
+
capabilities: {
|
|
509
|
+
id: string;
|
|
510
|
+
label: string;
|
|
511
|
+
description: string;
|
|
512
|
+
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
513
|
+
riskLevel: "low" | "medium" | "high" | "critical";
|
|
514
|
+
defaultOn: boolean;
|
|
515
|
+
cedar: string;
|
|
516
|
+
scopes: string[];
|
|
517
|
+
category?: string | undefined;
|
|
518
|
+
}[];
|
|
519
|
+
}, {
|
|
520
|
+
id: string;
|
|
521
|
+
label: string;
|
|
522
|
+
capabilities: {
|
|
523
|
+
id: string;
|
|
524
|
+
label: string;
|
|
525
|
+
description: string;
|
|
526
|
+
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
527
|
+
riskLevel: "low" | "medium" | "high" | "critical";
|
|
528
|
+
defaultOn: boolean;
|
|
529
|
+
cedar: string;
|
|
530
|
+
scopes: string[];
|
|
531
|
+
category?: string | undefined;
|
|
532
|
+
}[];
|
|
533
|
+
}>, "many">>;
|
|
534
|
+
agentMetadata: z.ZodOptional<z.ZodObject<{
|
|
535
|
+
name: z.ZodString;
|
|
536
|
+
did: z.ZodString;
|
|
537
|
+
vendor: z.ZodOptional<z.ZodString>;
|
|
538
|
+
surfaceLabel: z.ZodOptional<z.ZodString>;
|
|
539
|
+
verified: z.ZodBoolean;
|
|
540
|
+
logoUrl: z.ZodOptional<z.ZodString>;
|
|
541
|
+
connectedAt: z.ZodOptional<z.ZodString>;
|
|
542
|
+
}, "strip", z.ZodTypeAny, {
|
|
543
|
+
name: string;
|
|
544
|
+
did: string;
|
|
545
|
+
verified: boolean;
|
|
546
|
+
logoUrl?: string | undefined;
|
|
547
|
+
vendor?: string | undefined;
|
|
548
|
+
surfaceLabel?: string | undefined;
|
|
549
|
+
connectedAt?: string | undefined;
|
|
550
|
+
}, {
|
|
551
|
+
name: string;
|
|
552
|
+
did: string;
|
|
553
|
+
verified: boolean;
|
|
554
|
+
logoUrl?: string | undefined;
|
|
555
|
+
vendor?: string | undefined;
|
|
556
|
+
surfaceLabel?: string | undefined;
|
|
557
|
+
connectedAt?: string | undefined;
|
|
558
|
+
}>>;
|
|
559
|
+
theme: z.ZodOptional<z.ZodEnum<["light", "dark"]>>;
|
|
560
|
+
headlineVerb: z.ZodOptional<z.ZodString>;
|
|
561
|
+
revocationPath: z.ZodOptional<z.ZodString>;
|
|
562
|
+
inactivityDays: z.ZodOptional<z.ZodNumber>;
|
|
471
563
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
472
564
|
version: z.ZodOptional<z.ZodNumber>;
|
|
473
565
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -530,6 +622,22 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
530
622
|
size?: number | undefined;
|
|
531
623
|
showManualEntry?: boolean | undefined;
|
|
532
624
|
} | undefined;
|
|
625
|
+
capabilities?: {
|
|
626
|
+
id: string;
|
|
627
|
+
label: string;
|
|
628
|
+
capabilities: {
|
|
629
|
+
id: string;
|
|
630
|
+
label: string;
|
|
631
|
+
description: string;
|
|
632
|
+
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
633
|
+
riskLevel: "low" | "medium" | "high" | "critical";
|
|
634
|
+
defaultOn: boolean;
|
|
635
|
+
cedar: string;
|
|
636
|
+
scopes: string[];
|
|
637
|
+
category?: string | undefined;
|
|
638
|
+
}[];
|
|
639
|
+
}[] | undefined;
|
|
640
|
+
theme?: "light" | "dark" | undefined;
|
|
533
641
|
branding?: {
|
|
534
642
|
primaryColor?: string | undefined;
|
|
535
643
|
secondaryColor?: string | undefined;
|
|
@@ -537,8 +645,8 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
537
645
|
companyName?: string | undefined;
|
|
538
646
|
} | undefined;
|
|
539
647
|
ui?: {
|
|
540
|
-
title?: string | undefined;
|
|
541
648
|
description?: string | undefined;
|
|
649
|
+
title?: string | undefined;
|
|
542
650
|
expirationText?: string | undefined;
|
|
543
651
|
cancelButtonText?: string | undefined;
|
|
544
652
|
submitButtonText?: string | undefined;
|
|
@@ -554,8 +662,8 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
554
662
|
required?: boolean | undefined;
|
|
555
663
|
} | undefined;
|
|
556
664
|
success?: {
|
|
557
|
-
title?: string | undefined;
|
|
558
665
|
description?: string | undefined;
|
|
666
|
+
title?: string | undefined;
|
|
559
667
|
showCredential?: boolean | undefined;
|
|
560
668
|
redirectUrl?: string | undefined;
|
|
561
669
|
redirectDelay?: number | undefined;
|
|
@@ -563,9 +671,9 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
563
671
|
} | undefined;
|
|
564
672
|
customFields?: {
|
|
565
673
|
type: "text" | "textarea" | "checkbox" | "select" | "email";
|
|
566
|
-
required: boolean;
|
|
567
674
|
label: string;
|
|
568
675
|
name: string;
|
|
676
|
+
required: boolean;
|
|
569
677
|
options?: {
|
|
570
678
|
value: string;
|
|
571
679
|
label: string;
|
|
@@ -574,6 +682,18 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
574
682
|
pattern?: string | undefined;
|
|
575
683
|
}[] | undefined;
|
|
576
684
|
expirationDays?: number | undefined;
|
|
685
|
+
agentMetadata?: {
|
|
686
|
+
name: string;
|
|
687
|
+
did: string;
|
|
688
|
+
verified: boolean;
|
|
689
|
+
logoUrl?: string | undefined;
|
|
690
|
+
vendor?: string | undefined;
|
|
691
|
+
surfaceLabel?: string | undefined;
|
|
692
|
+
connectedAt?: string | undefined;
|
|
693
|
+
} | undefined;
|
|
694
|
+
headlineVerb?: string | undefined;
|
|
695
|
+
revocationPath?: string | undefined;
|
|
696
|
+
inactivityDays?: number | undefined;
|
|
577
697
|
metadata?: {
|
|
578
698
|
version?: number | undefined;
|
|
579
699
|
updatedAt?: string | undefined;
|
|
@@ -628,6 +748,22 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
628
748
|
size?: number | undefined;
|
|
629
749
|
showManualEntry?: boolean | undefined;
|
|
630
750
|
} | undefined;
|
|
751
|
+
capabilities?: {
|
|
752
|
+
id: string;
|
|
753
|
+
label: string;
|
|
754
|
+
capabilities: {
|
|
755
|
+
id: string;
|
|
756
|
+
label: string;
|
|
757
|
+
description: string;
|
|
758
|
+
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
759
|
+
riskLevel: "low" | "medium" | "high" | "critical";
|
|
760
|
+
defaultOn: boolean;
|
|
761
|
+
cedar: string;
|
|
762
|
+
scopes: string[];
|
|
763
|
+
category?: string | undefined;
|
|
764
|
+
}[];
|
|
765
|
+
}[] | undefined;
|
|
766
|
+
theme?: "light" | "dark" | undefined;
|
|
631
767
|
branding?: {
|
|
632
768
|
primaryColor?: string | undefined;
|
|
633
769
|
secondaryColor?: string | undefined;
|
|
@@ -635,8 +771,8 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
635
771
|
companyName?: string | undefined;
|
|
636
772
|
} | undefined;
|
|
637
773
|
ui?: {
|
|
638
|
-
title?: string | undefined;
|
|
639
774
|
description?: string | undefined;
|
|
775
|
+
title?: string | undefined;
|
|
640
776
|
expirationText?: string | undefined;
|
|
641
777
|
cancelButtonText?: string | undefined;
|
|
642
778
|
submitButtonText?: string | undefined;
|
|
@@ -652,8 +788,8 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
652
788
|
required?: boolean | undefined;
|
|
653
789
|
} | undefined;
|
|
654
790
|
success?: {
|
|
655
|
-
title?: string | undefined;
|
|
656
791
|
description?: string | undefined;
|
|
792
|
+
title?: string | undefined;
|
|
657
793
|
showCredential?: boolean | undefined;
|
|
658
794
|
redirectUrl?: string | undefined;
|
|
659
795
|
redirectDelay?: number | undefined;
|
|
@@ -661,9 +797,9 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
661
797
|
} | undefined;
|
|
662
798
|
customFields?: {
|
|
663
799
|
type: "text" | "textarea" | "checkbox" | "select" | "email";
|
|
664
|
-
required: boolean;
|
|
665
800
|
label: string;
|
|
666
801
|
name: string;
|
|
802
|
+
required: boolean;
|
|
667
803
|
options?: {
|
|
668
804
|
value: string;
|
|
669
805
|
label: string;
|
|
@@ -672,6 +808,18 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
672
808
|
pattern?: string | undefined;
|
|
673
809
|
}[] | undefined;
|
|
674
810
|
expirationDays?: number | undefined;
|
|
811
|
+
agentMetadata?: {
|
|
812
|
+
name: string;
|
|
813
|
+
did: string;
|
|
814
|
+
verified: boolean;
|
|
815
|
+
logoUrl?: string | undefined;
|
|
816
|
+
vendor?: string | undefined;
|
|
817
|
+
surfaceLabel?: string | undefined;
|
|
818
|
+
connectedAt?: string | undefined;
|
|
819
|
+
} | undefined;
|
|
820
|
+
headlineVerb?: string | undefined;
|
|
821
|
+
revocationPath?: string | undefined;
|
|
822
|
+
inactivityDays?: number | undefined;
|
|
675
823
|
metadata?: {
|
|
676
824
|
version?: number | undefined;
|
|
677
825
|
updatedAt?: string | undefined;
|
|
@@ -710,8 +858,8 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
710
858
|
popupEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
711
859
|
theme: z.ZodOptional<z.ZodEnum<["light", "dark", "auto"]>>;
|
|
712
860
|
}, "strip", z.ZodTypeAny, {
|
|
713
|
-
title?: string | undefined;
|
|
714
861
|
description?: string | undefined;
|
|
862
|
+
title?: string | undefined;
|
|
715
863
|
expirationText?: string | undefined;
|
|
716
864
|
cancelButtonText?: string | undefined;
|
|
717
865
|
submitButtonText?: string | undefined;
|
|
@@ -720,8 +868,8 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
720
868
|
popupEnabled?: boolean | undefined;
|
|
721
869
|
theme?: "light" | "dark" | "auto" | undefined;
|
|
722
870
|
}, {
|
|
723
|
-
title?: string | undefined;
|
|
724
871
|
description?: string | undefined;
|
|
872
|
+
title?: string | undefined;
|
|
725
873
|
expirationText?: string | undefined;
|
|
726
874
|
cancelButtonText?: string | undefined;
|
|
727
875
|
submitButtonText?: string | undefined;
|
|
@@ -754,15 +902,15 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
754
902
|
redirectDelay: z.ZodOptional<z.ZodNumber>;
|
|
755
903
|
continueButtonText: z.ZodOptional<z.ZodString>;
|
|
756
904
|
}, "strip", z.ZodTypeAny, {
|
|
757
|
-
title?: string | undefined;
|
|
758
905
|
description?: string | undefined;
|
|
906
|
+
title?: string | undefined;
|
|
759
907
|
showCredential?: boolean | undefined;
|
|
760
908
|
redirectUrl?: string | undefined;
|
|
761
909
|
redirectDelay?: number | undefined;
|
|
762
910
|
continueButtonText?: string | undefined;
|
|
763
911
|
}, {
|
|
764
|
-
title?: string | undefined;
|
|
765
912
|
description?: string | undefined;
|
|
913
|
+
title?: string | undefined;
|
|
766
914
|
showCredential?: boolean | undefined;
|
|
767
915
|
redirectUrl?: string | undefined;
|
|
768
916
|
redirectDelay?: number | undefined;
|
|
@@ -787,9 +935,9 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
787
935
|
pattern: z.ZodOptional<z.ZodString>;
|
|
788
936
|
}, "strip", z.ZodTypeAny, {
|
|
789
937
|
type: "text" | "textarea" | "checkbox" | "select" | "email";
|
|
790
|
-
required: boolean;
|
|
791
938
|
label: string;
|
|
792
939
|
name: string;
|
|
940
|
+
required: boolean;
|
|
793
941
|
options?: {
|
|
794
942
|
value: string;
|
|
795
943
|
label: string;
|
|
@@ -798,9 +946,9 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
798
946
|
pattern?: string | undefined;
|
|
799
947
|
}, {
|
|
800
948
|
type: "text" | "textarea" | "checkbox" | "select" | "email";
|
|
801
|
-
required: boolean;
|
|
802
949
|
label: string;
|
|
803
950
|
name: string;
|
|
951
|
+
required: boolean;
|
|
804
952
|
options?: {
|
|
805
953
|
value: string;
|
|
806
954
|
label: string;
|
|
@@ -809,9 +957,9 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
809
957
|
pattern?: string | undefined;
|
|
810
958
|
}>, {
|
|
811
959
|
type: "text" | "textarea" | "checkbox" | "select" | "email";
|
|
812
|
-
required: boolean;
|
|
813
960
|
label: string;
|
|
814
961
|
name: string;
|
|
962
|
+
required: boolean;
|
|
815
963
|
options?: {
|
|
816
964
|
value: string;
|
|
817
965
|
label: string;
|
|
@@ -820,9 +968,9 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
820
968
|
pattern?: string | undefined;
|
|
821
969
|
}, {
|
|
822
970
|
type: "text" | "textarea" | "checkbox" | "select" | "email";
|
|
823
|
-
required: boolean;
|
|
824
971
|
label: string;
|
|
825
972
|
name: string;
|
|
973
|
+
required: boolean;
|
|
826
974
|
options?: {
|
|
827
975
|
value: string;
|
|
828
976
|
label: string;
|
|
@@ -961,6 +1109,98 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
961
1109
|
estimatedTime?: string | undefined;
|
|
962
1110
|
}>>;
|
|
963
1111
|
expirationDays: z.ZodOptional<z.ZodNumber>;
|
|
1112
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1113
|
+
id: z.ZodString;
|
|
1114
|
+
label: z.ZodString;
|
|
1115
|
+
capabilities: z.ZodArray<z.ZodObject<{
|
|
1116
|
+
id: z.ZodString;
|
|
1117
|
+
label: z.ZodString;
|
|
1118
|
+
description: z.ZodString;
|
|
1119
|
+
icon: z.ZodEnum<["search", "cart", "card", "pin", "pin-new", "shield", "key", "tools", "user", "calendar", "lock", "eye", "send", "package", "neutral"]>;
|
|
1120
|
+
riskLevel: z.ZodEnum<["low", "medium", "high", "critical"]>;
|
|
1121
|
+
defaultOn: z.ZodBoolean;
|
|
1122
|
+
cedar: z.ZodEffects<z.ZodString, string, string>;
|
|
1123
|
+
scopes: z.ZodArray<z.ZodString, "many">;
|
|
1124
|
+
category: z.ZodOptional<z.ZodString>;
|
|
1125
|
+
}, "strip", z.ZodTypeAny, {
|
|
1126
|
+
id: string;
|
|
1127
|
+
label: string;
|
|
1128
|
+
description: string;
|
|
1129
|
+
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
1130
|
+
riskLevel: "low" | "medium" | "high" | "critical";
|
|
1131
|
+
defaultOn: boolean;
|
|
1132
|
+
cedar: string;
|
|
1133
|
+
scopes: string[];
|
|
1134
|
+
category?: string | undefined;
|
|
1135
|
+
}, {
|
|
1136
|
+
id: string;
|
|
1137
|
+
label: string;
|
|
1138
|
+
description: string;
|
|
1139
|
+
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
1140
|
+
riskLevel: "low" | "medium" | "high" | "critical";
|
|
1141
|
+
defaultOn: boolean;
|
|
1142
|
+
cedar: string;
|
|
1143
|
+
scopes: string[];
|
|
1144
|
+
category?: string | undefined;
|
|
1145
|
+
}>, "many">;
|
|
1146
|
+
}, "strip", z.ZodTypeAny, {
|
|
1147
|
+
id: string;
|
|
1148
|
+
label: string;
|
|
1149
|
+
capabilities: {
|
|
1150
|
+
id: string;
|
|
1151
|
+
label: string;
|
|
1152
|
+
description: string;
|
|
1153
|
+
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
1154
|
+
riskLevel: "low" | "medium" | "high" | "critical";
|
|
1155
|
+
defaultOn: boolean;
|
|
1156
|
+
cedar: string;
|
|
1157
|
+
scopes: string[];
|
|
1158
|
+
category?: string | undefined;
|
|
1159
|
+
}[];
|
|
1160
|
+
}, {
|
|
1161
|
+
id: string;
|
|
1162
|
+
label: string;
|
|
1163
|
+
capabilities: {
|
|
1164
|
+
id: string;
|
|
1165
|
+
label: string;
|
|
1166
|
+
description: string;
|
|
1167
|
+
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
1168
|
+
riskLevel: "low" | "medium" | "high" | "critical";
|
|
1169
|
+
defaultOn: boolean;
|
|
1170
|
+
cedar: string;
|
|
1171
|
+
scopes: string[];
|
|
1172
|
+
category?: string | undefined;
|
|
1173
|
+
}[];
|
|
1174
|
+
}>, "many">>;
|
|
1175
|
+
agentMetadata: z.ZodOptional<z.ZodObject<{
|
|
1176
|
+
name: z.ZodString;
|
|
1177
|
+
did: z.ZodString;
|
|
1178
|
+
vendor: z.ZodOptional<z.ZodString>;
|
|
1179
|
+
surfaceLabel: z.ZodOptional<z.ZodString>;
|
|
1180
|
+
verified: z.ZodBoolean;
|
|
1181
|
+
logoUrl: z.ZodOptional<z.ZodString>;
|
|
1182
|
+
connectedAt: z.ZodOptional<z.ZodString>;
|
|
1183
|
+
}, "strip", z.ZodTypeAny, {
|
|
1184
|
+
name: string;
|
|
1185
|
+
did: string;
|
|
1186
|
+
verified: boolean;
|
|
1187
|
+
logoUrl?: string | undefined;
|
|
1188
|
+
vendor?: string | undefined;
|
|
1189
|
+
surfaceLabel?: string | undefined;
|
|
1190
|
+
connectedAt?: string | undefined;
|
|
1191
|
+
}, {
|
|
1192
|
+
name: string;
|
|
1193
|
+
did: string;
|
|
1194
|
+
verified: boolean;
|
|
1195
|
+
logoUrl?: string | undefined;
|
|
1196
|
+
vendor?: string | undefined;
|
|
1197
|
+
surfaceLabel?: string | undefined;
|
|
1198
|
+
connectedAt?: string | undefined;
|
|
1199
|
+
}>>;
|
|
1200
|
+
theme: z.ZodOptional<z.ZodEnum<["light", "dark"]>>;
|
|
1201
|
+
headlineVerb: z.ZodOptional<z.ZodString>;
|
|
1202
|
+
revocationPath: z.ZodOptional<z.ZodString>;
|
|
1203
|
+
inactivityDays: z.ZodOptional<z.ZodNumber>;
|
|
964
1204
|
} & {
|
|
965
1205
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
966
1206
|
version: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1024,6 +1264,22 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
1024
1264
|
size?: number | undefined;
|
|
1025
1265
|
showManualEntry?: boolean | undefined;
|
|
1026
1266
|
} | undefined;
|
|
1267
|
+
capabilities?: {
|
|
1268
|
+
id: string;
|
|
1269
|
+
label: string;
|
|
1270
|
+
capabilities: {
|
|
1271
|
+
id: string;
|
|
1272
|
+
label: string;
|
|
1273
|
+
description: string;
|
|
1274
|
+
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
1275
|
+
riskLevel: "low" | "medium" | "high" | "critical";
|
|
1276
|
+
defaultOn: boolean;
|
|
1277
|
+
cedar: string;
|
|
1278
|
+
scopes: string[];
|
|
1279
|
+
category?: string | undefined;
|
|
1280
|
+
}[];
|
|
1281
|
+
}[] | undefined;
|
|
1282
|
+
theme?: "light" | "dark" | undefined;
|
|
1027
1283
|
branding?: {
|
|
1028
1284
|
primaryColor?: string | undefined;
|
|
1029
1285
|
secondaryColor?: string | undefined;
|
|
@@ -1031,8 +1287,8 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
1031
1287
|
companyName?: string | undefined;
|
|
1032
1288
|
} | undefined;
|
|
1033
1289
|
ui?: {
|
|
1034
|
-
title?: string | undefined;
|
|
1035
1290
|
description?: string | undefined;
|
|
1291
|
+
title?: string | undefined;
|
|
1036
1292
|
expirationText?: string | undefined;
|
|
1037
1293
|
cancelButtonText?: string | undefined;
|
|
1038
1294
|
submitButtonText?: string | undefined;
|
|
@@ -1048,8 +1304,8 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
1048
1304
|
required?: boolean | undefined;
|
|
1049
1305
|
} | undefined;
|
|
1050
1306
|
success?: {
|
|
1051
|
-
title?: string | undefined;
|
|
1052
1307
|
description?: string | undefined;
|
|
1308
|
+
title?: string | undefined;
|
|
1053
1309
|
showCredential?: boolean | undefined;
|
|
1054
1310
|
redirectUrl?: string | undefined;
|
|
1055
1311
|
redirectDelay?: number | undefined;
|
|
@@ -1057,9 +1313,9 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
1057
1313
|
} | undefined;
|
|
1058
1314
|
customFields?: {
|
|
1059
1315
|
type: "text" | "textarea" | "checkbox" | "select" | "email";
|
|
1060
|
-
required: boolean;
|
|
1061
1316
|
label: string;
|
|
1062
1317
|
name: string;
|
|
1318
|
+
required: boolean;
|
|
1063
1319
|
options?: {
|
|
1064
1320
|
value: string;
|
|
1065
1321
|
label: string;
|
|
@@ -1068,6 +1324,18 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
1068
1324
|
pattern?: string | undefined;
|
|
1069
1325
|
}[] | undefined;
|
|
1070
1326
|
expirationDays?: number | undefined;
|
|
1327
|
+
agentMetadata?: {
|
|
1328
|
+
name: string;
|
|
1329
|
+
did: string;
|
|
1330
|
+
verified: boolean;
|
|
1331
|
+
logoUrl?: string | undefined;
|
|
1332
|
+
vendor?: string | undefined;
|
|
1333
|
+
surfaceLabel?: string | undefined;
|
|
1334
|
+
connectedAt?: string | undefined;
|
|
1335
|
+
} | undefined;
|
|
1336
|
+
headlineVerb?: string | undefined;
|
|
1337
|
+
revocationPath?: string | undefined;
|
|
1338
|
+
inactivityDays?: number | undefined;
|
|
1071
1339
|
metadata?: {
|
|
1072
1340
|
version?: number | undefined;
|
|
1073
1341
|
updatedAt?: string | undefined;
|
|
@@ -1122,6 +1390,22 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
1122
1390
|
size?: number | undefined;
|
|
1123
1391
|
showManualEntry?: boolean | undefined;
|
|
1124
1392
|
} | undefined;
|
|
1393
|
+
capabilities?: {
|
|
1394
|
+
id: string;
|
|
1395
|
+
label: string;
|
|
1396
|
+
capabilities: {
|
|
1397
|
+
id: string;
|
|
1398
|
+
label: string;
|
|
1399
|
+
description: string;
|
|
1400
|
+
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
1401
|
+
riskLevel: "low" | "medium" | "high" | "critical";
|
|
1402
|
+
defaultOn: boolean;
|
|
1403
|
+
cedar: string;
|
|
1404
|
+
scopes: string[];
|
|
1405
|
+
category?: string | undefined;
|
|
1406
|
+
}[];
|
|
1407
|
+
}[] | undefined;
|
|
1408
|
+
theme?: "light" | "dark" | undefined;
|
|
1125
1409
|
branding?: {
|
|
1126
1410
|
primaryColor?: string | undefined;
|
|
1127
1411
|
secondaryColor?: string | undefined;
|
|
@@ -1129,8 +1413,8 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
1129
1413
|
companyName?: string | undefined;
|
|
1130
1414
|
} | undefined;
|
|
1131
1415
|
ui?: {
|
|
1132
|
-
title?: string | undefined;
|
|
1133
1416
|
description?: string | undefined;
|
|
1417
|
+
title?: string | undefined;
|
|
1134
1418
|
expirationText?: string | undefined;
|
|
1135
1419
|
cancelButtonText?: string | undefined;
|
|
1136
1420
|
submitButtonText?: string | undefined;
|
|
@@ -1146,8 +1430,8 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
1146
1430
|
required?: boolean | undefined;
|
|
1147
1431
|
} | undefined;
|
|
1148
1432
|
success?: {
|
|
1149
|
-
title?: string | undefined;
|
|
1150
1433
|
description?: string | undefined;
|
|
1434
|
+
title?: string | undefined;
|
|
1151
1435
|
showCredential?: boolean | undefined;
|
|
1152
1436
|
redirectUrl?: string | undefined;
|
|
1153
1437
|
redirectDelay?: number | undefined;
|
|
@@ -1155,9 +1439,9 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
1155
1439
|
} | undefined;
|
|
1156
1440
|
customFields?: {
|
|
1157
1441
|
type: "text" | "textarea" | "checkbox" | "select" | "email";
|
|
1158
|
-
required: boolean;
|
|
1159
1442
|
label: string;
|
|
1160
1443
|
name: string;
|
|
1444
|
+
required: boolean;
|
|
1161
1445
|
options?: {
|
|
1162
1446
|
value: string;
|
|
1163
1447
|
label: string;
|
|
@@ -1166,6 +1450,18 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
1166
1450
|
pattern?: string | undefined;
|
|
1167
1451
|
}[] | undefined;
|
|
1168
1452
|
expirationDays?: number | undefined;
|
|
1453
|
+
agentMetadata?: {
|
|
1454
|
+
name: string;
|
|
1455
|
+
did: string;
|
|
1456
|
+
verified: boolean;
|
|
1457
|
+
logoUrl?: string | undefined;
|
|
1458
|
+
vendor?: string | undefined;
|
|
1459
|
+
surfaceLabel?: string | undefined;
|
|
1460
|
+
connectedAt?: string | undefined;
|
|
1461
|
+
} | undefined;
|
|
1462
|
+
headlineVerb?: string | undefined;
|
|
1463
|
+
revocationPath?: string | undefined;
|
|
1464
|
+
inactivityDays?: number | undefined;
|
|
1169
1465
|
metadata?: {
|
|
1170
1466
|
version?: number | undefined;
|
|
1171
1467
|
updatedAt?: string | undefined;
|