@kya-os/consent 0.1.39 → 0.1.41
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 +2 -0
- package/dist/bundle/index.d.ts.map +1 -1
- package/dist/bundle/index.js +2 -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/cjs/bundle/index.js +4 -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/components/consent-capabilities-screen.js +39 -2
- package/dist/cjs/components/consent-capabilities-screen.js.map +1 -1
- package/dist/cjs/components/consent-capability-card.js +62 -3
- package/dist/cjs/components/consent-capability-card.js.map +1 -1
- package/dist/cjs/components/consent-connector-header.js +247 -0
- package/dist/cjs/components/consent-connector-header.js.map +1 -0
- package/dist/cjs/components/index.js +3 -1
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/cjs/components/mcp-consent.js +18 -1
- package/dist/cjs/components/mcp-consent.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/components/consent-capabilities-screen.d.ts +13 -0
- package/dist/components/consent-capabilities-screen.d.ts.map +1 -1
- package/dist/components/consent-capabilities-screen.js +39 -2
- package/dist/components/consent-capabilities-screen.js.map +1 -1
- package/dist/components/consent-capability-card.d.ts +8 -0
- package/dist/components/consent-capability-card.d.ts.map +1 -1
- package/dist/components/consent-capability-card.js +62 -3
- package/dist/components/consent-capability-card.js.map +1 -1
- package/dist/components/consent-connector-header.d.ts +64 -0
- package/dist/components/consent-connector-header.d.ts.map +1 -0
- package/dist/components/consent-connector-header.js +244 -0
- package/dist/components/consent-connector-header.js.map +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/mcp-consent.d.ts.map +1 -1
- package/dist/components/mcp-consent.js +18 -1
- package/dist/components/mcp-consent.js.map +1 -1
- package/dist/consent.js +273 -5
- package/dist/consent.min.js +246 -108
- 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/schemas/api.schemas.d.ts +30 -30
- package/dist/schemas/capabilities.schemas.d.ts +8 -8
- package/dist/schemas/config.schemas.d.ts +52 -52
- package/dist/schemas/modes.schemas.d.ts +6 -6
- package/package.json +1 -1
|
@@ -95,11 +95,11 @@ export declare const ConsentCustomFieldOptionSchema: z.ZodObject<{
|
|
|
95
95
|
value: z.ZodString;
|
|
96
96
|
label: z.ZodString;
|
|
97
97
|
}, "strip", z.ZodTypeAny, {
|
|
98
|
-
value: string;
|
|
99
98
|
label: string;
|
|
100
|
-
}, {
|
|
101
99
|
value: string;
|
|
100
|
+
}, {
|
|
102
101
|
label: string;
|
|
102
|
+
value: string;
|
|
103
103
|
}>;
|
|
104
104
|
/**
|
|
105
105
|
* Custom Field Schema
|
|
@@ -114,11 +114,11 @@ export declare const ConsentCustomFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
114
114
|
value: z.ZodString;
|
|
115
115
|
label: z.ZodString;
|
|
116
116
|
}, "strip", z.ZodTypeAny, {
|
|
117
|
-
value: string;
|
|
118
117
|
label: string;
|
|
119
|
-
}, {
|
|
120
118
|
value: string;
|
|
119
|
+
}, {
|
|
121
120
|
label: string;
|
|
121
|
+
value: string;
|
|
122
122
|
}>, "many">>;
|
|
123
123
|
pattern: z.ZodOptional<z.ZodString>;
|
|
124
124
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -127,8 +127,8 @@ export declare const ConsentCustomFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
127
127
|
name: string;
|
|
128
128
|
required: boolean;
|
|
129
129
|
options?: {
|
|
130
|
-
value: string;
|
|
131
130
|
label: string;
|
|
131
|
+
value: string;
|
|
132
132
|
}[] | undefined;
|
|
133
133
|
placeholder?: string | undefined;
|
|
134
134
|
pattern?: string | undefined;
|
|
@@ -138,8 +138,8 @@ export declare const ConsentCustomFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
138
138
|
name: string;
|
|
139
139
|
required: boolean;
|
|
140
140
|
options?: {
|
|
141
|
-
value: string;
|
|
142
141
|
label: string;
|
|
142
|
+
value: string;
|
|
143
143
|
}[] | undefined;
|
|
144
144
|
placeholder?: string | undefined;
|
|
145
145
|
pattern?: string | undefined;
|
|
@@ -149,8 +149,8 @@ export declare const ConsentCustomFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
149
149
|
name: string;
|
|
150
150
|
required: boolean;
|
|
151
151
|
options?: {
|
|
152
|
-
value: string;
|
|
153
152
|
label: string;
|
|
153
|
+
value: string;
|
|
154
154
|
}[] | undefined;
|
|
155
155
|
placeholder?: string | undefined;
|
|
156
156
|
pattern?: string | undefined;
|
|
@@ -160,8 +160,8 @@ export declare const ConsentCustomFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
160
160
|
name: string;
|
|
161
161
|
required: boolean;
|
|
162
162
|
options?: {
|
|
163
|
-
value: string;
|
|
164
163
|
label: string;
|
|
164
|
+
value: string;
|
|
165
165
|
}[] | undefined;
|
|
166
166
|
placeholder?: string | undefined;
|
|
167
167
|
pattern?: string | undefined;
|
|
@@ -285,11 +285,11 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
285
285
|
value: z.ZodString;
|
|
286
286
|
label: z.ZodString;
|
|
287
287
|
}, "strip", z.ZodTypeAny, {
|
|
288
|
-
value: string;
|
|
289
288
|
label: string;
|
|
290
|
-
}, {
|
|
291
289
|
value: string;
|
|
290
|
+
}, {
|
|
292
291
|
label: string;
|
|
292
|
+
value: string;
|
|
293
293
|
}>, "many">>;
|
|
294
294
|
pattern: z.ZodOptional<z.ZodString>;
|
|
295
295
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -298,8 +298,8 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
298
298
|
name: string;
|
|
299
299
|
required: boolean;
|
|
300
300
|
options?: {
|
|
301
|
-
value: string;
|
|
302
301
|
label: string;
|
|
302
|
+
value: string;
|
|
303
303
|
}[] | undefined;
|
|
304
304
|
placeholder?: string | undefined;
|
|
305
305
|
pattern?: string | undefined;
|
|
@@ -309,8 +309,8 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
309
309
|
name: string;
|
|
310
310
|
required: boolean;
|
|
311
311
|
options?: {
|
|
312
|
-
value: string;
|
|
313
312
|
label: string;
|
|
313
|
+
value: string;
|
|
314
314
|
}[] | undefined;
|
|
315
315
|
placeholder?: string | undefined;
|
|
316
316
|
pattern?: string | undefined;
|
|
@@ -320,8 +320,8 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
320
320
|
name: string;
|
|
321
321
|
required: boolean;
|
|
322
322
|
options?: {
|
|
323
|
-
value: string;
|
|
324
323
|
label: string;
|
|
324
|
+
value: string;
|
|
325
325
|
}[] | undefined;
|
|
326
326
|
placeholder?: string | undefined;
|
|
327
327
|
pattern?: string | undefined;
|
|
@@ -331,8 +331,8 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
331
331
|
name: string;
|
|
332
332
|
required: boolean;
|
|
333
333
|
options?: {
|
|
334
|
-
value: string;
|
|
335
334
|
label: string;
|
|
335
|
+
value: string;
|
|
336
336
|
}[] | undefined;
|
|
337
337
|
placeholder?: string | undefined;
|
|
338
338
|
pattern?: string | undefined;
|
|
@@ -407,14 +407,14 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
407
407
|
phoneLabel?: string | undefined;
|
|
408
408
|
phonePlaceholder?: string | undefined;
|
|
409
409
|
instructions?: string | undefined;
|
|
410
|
-
digits?:
|
|
410
|
+
digits?: 4 | 6 | 8 | undefined;
|
|
411
411
|
}, {
|
|
412
412
|
enabled?: boolean | undefined;
|
|
413
413
|
resendCooldown?: number | undefined;
|
|
414
414
|
phoneLabel?: string | undefined;
|
|
415
415
|
phonePlaceholder?: string | undefined;
|
|
416
416
|
instructions?: string | undefined;
|
|
417
|
-
digits?:
|
|
417
|
+
digits?: 4 | 6 | 8 | undefined;
|
|
418
418
|
}>>;
|
|
419
419
|
qrCode: z.ZodOptional<z.ZodObject<{
|
|
420
420
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -482,49 +482,49 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
482
482
|
scopes: z.ZodArray<z.ZodString, "many">;
|
|
483
483
|
category: z.ZodOptional<z.ZodString>;
|
|
484
484
|
}, "strip", z.ZodTypeAny, {
|
|
485
|
-
id: string;
|
|
486
485
|
label: string;
|
|
487
486
|
description: string;
|
|
488
487
|
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
489
488
|
riskLevel: "low" | "medium" | "high" | "critical";
|
|
489
|
+
id: string;
|
|
490
490
|
defaultOn: boolean;
|
|
491
491
|
cedar: string;
|
|
492
492
|
scopes: string[];
|
|
493
493
|
category?: string | undefined;
|
|
494
494
|
}, {
|
|
495
|
-
id: string;
|
|
496
495
|
label: string;
|
|
497
496
|
description: string;
|
|
498
497
|
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
499
498
|
riskLevel: "low" | "medium" | "high" | "critical";
|
|
499
|
+
id: string;
|
|
500
500
|
defaultOn: boolean;
|
|
501
501
|
cedar: string;
|
|
502
502
|
scopes: string[];
|
|
503
503
|
category?: string | undefined;
|
|
504
504
|
}>, "many">;
|
|
505
505
|
}, "strip", z.ZodTypeAny, {
|
|
506
|
-
id: string;
|
|
507
506
|
label: string;
|
|
507
|
+
id: string;
|
|
508
508
|
capabilities: {
|
|
509
|
-
id: string;
|
|
510
509
|
label: string;
|
|
511
510
|
description: string;
|
|
512
511
|
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
513
512
|
riskLevel: "low" | "medium" | "high" | "critical";
|
|
513
|
+
id: string;
|
|
514
514
|
defaultOn: boolean;
|
|
515
515
|
cedar: string;
|
|
516
516
|
scopes: string[];
|
|
517
517
|
category?: string | undefined;
|
|
518
518
|
}[];
|
|
519
519
|
}, {
|
|
520
|
-
id: string;
|
|
521
520
|
label: string;
|
|
521
|
+
id: string;
|
|
522
522
|
capabilities: {
|
|
523
|
-
id: string;
|
|
524
523
|
label: string;
|
|
525
524
|
description: string;
|
|
526
525
|
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
527
526
|
riskLevel: "low" | "medium" | "high" | "critical";
|
|
527
|
+
id: string;
|
|
528
528
|
defaultOn: boolean;
|
|
529
529
|
cedar: string;
|
|
530
530
|
scopes: string[];
|
|
@@ -594,7 +594,7 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
594
594
|
phoneLabel?: string | undefined;
|
|
595
595
|
phonePlaceholder?: string | undefined;
|
|
596
596
|
instructions?: string | undefined;
|
|
597
|
-
digits?:
|
|
597
|
+
digits?: 4 | 6 | 8 | undefined;
|
|
598
598
|
} | undefined;
|
|
599
599
|
passkey?: {
|
|
600
600
|
buttonText?: string | undefined;
|
|
@@ -623,14 +623,14 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
623
623
|
showManualEntry?: boolean | undefined;
|
|
624
624
|
} | undefined;
|
|
625
625
|
capabilities?: {
|
|
626
|
-
id: string;
|
|
627
626
|
label: string;
|
|
627
|
+
id: string;
|
|
628
628
|
capabilities: {
|
|
629
|
-
id: string;
|
|
630
629
|
label: string;
|
|
631
630
|
description: string;
|
|
632
631
|
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
633
632
|
riskLevel: "low" | "medium" | "high" | "critical";
|
|
633
|
+
id: string;
|
|
634
634
|
defaultOn: boolean;
|
|
635
635
|
cedar: string;
|
|
636
636
|
scopes: string[];
|
|
@@ -675,8 +675,8 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
675
675
|
name: string;
|
|
676
676
|
required: boolean;
|
|
677
677
|
options?: {
|
|
678
|
-
value: string;
|
|
679
678
|
label: string;
|
|
679
|
+
value: string;
|
|
680
680
|
}[] | undefined;
|
|
681
681
|
placeholder?: string | undefined;
|
|
682
682
|
pattern?: string | undefined;
|
|
@@ -720,7 +720,7 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
720
720
|
phoneLabel?: string | undefined;
|
|
721
721
|
phonePlaceholder?: string | undefined;
|
|
722
722
|
instructions?: string | undefined;
|
|
723
|
-
digits?:
|
|
723
|
+
digits?: 4 | 6 | 8 | undefined;
|
|
724
724
|
} | undefined;
|
|
725
725
|
passkey?: {
|
|
726
726
|
buttonText?: string | undefined;
|
|
@@ -749,14 +749,14 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
749
749
|
showManualEntry?: boolean | undefined;
|
|
750
750
|
} | undefined;
|
|
751
751
|
capabilities?: {
|
|
752
|
-
id: string;
|
|
753
752
|
label: string;
|
|
753
|
+
id: string;
|
|
754
754
|
capabilities: {
|
|
755
|
-
id: string;
|
|
756
755
|
label: string;
|
|
757
756
|
description: string;
|
|
758
757
|
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
759
758
|
riskLevel: "low" | "medium" | "high" | "critical";
|
|
759
|
+
id: string;
|
|
760
760
|
defaultOn: boolean;
|
|
761
761
|
cedar: string;
|
|
762
762
|
scopes: string[];
|
|
@@ -801,8 +801,8 @@ export declare const ConsentConfigSchema: z.ZodObject<{
|
|
|
801
801
|
name: string;
|
|
802
802
|
required: boolean;
|
|
803
803
|
options?: {
|
|
804
|
-
value: string;
|
|
805
804
|
label: string;
|
|
805
|
+
value: string;
|
|
806
806
|
}[] | undefined;
|
|
807
807
|
placeholder?: string | undefined;
|
|
808
808
|
pattern?: string | undefined;
|
|
@@ -926,11 +926,11 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
926
926
|
value: z.ZodString;
|
|
927
927
|
label: z.ZodString;
|
|
928
928
|
}, "strip", z.ZodTypeAny, {
|
|
929
|
-
value: string;
|
|
930
929
|
label: string;
|
|
931
|
-
}, {
|
|
932
930
|
value: string;
|
|
931
|
+
}, {
|
|
933
932
|
label: string;
|
|
933
|
+
value: string;
|
|
934
934
|
}>, "many">>;
|
|
935
935
|
pattern: z.ZodOptional<z.ZodString>;
|
|
936
936
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -939,8 +939,8 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
939
939
|
name: string;
|
|
940
940
|
required: boolean;
|
|
941
941
|
options?: {
|
|
942
|
-
value: string;
|
|
943
942
|
label: string;
|
|
943
|
+
value: string;
|
|
944
944
|
}[] | undefined;
|
|
945
945
|
placeholder?: string | undefined;
|
|
946
946
|
pattern?: string | undefined;
|
|
@@ -950,8 +950,8 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
950
950
|
name: string;
|
|
951
951
|
required: boolean;
|
|
952
952
|
options?: {
|
|
953
|
-
value: string;
|
|
954
953
|
label: string;
|
|
954
|
+
value: string;
|
|
955
955
|
}[] | undefined;
|
|
956
956
|
placeholder?: string | undefined;
|
|
957
957
|
pattern?: string | undefined;
|
|
@@ -961,8 +961,8 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
961
961
|
name: string;
|
|
962
962
|
required: boolean;
|
|
963
963
|
options?: {
|
|
964
|
-
value: string;
|
|
965
964
|
label: string;
|
|
965
|
+
value: string;
|
|
966
966
|
}[] | undefined;
|
|
967
967
|
placeholder?: string | undefined;
|
|
968
968
|
pattern?: string | undefined;
|
|
@@ -972,8 +972,8 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
972
972
|
name: string;
|
|
973
973
|
required: boolean;
|
|
974
974
|
options?: {
|
|
975
|
-
value: string;
|
|
976
975
|
label: string;
|
|
976
|
+
value: string;
|
|
977
977
|
}[] | undefined;
|
|
978
978
|
placeholder?: string | undefined;
|
|
979
979
|
pattern?: string | undefined;
|
|
@@ -1048,14 +1048,14 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
1048
1048
|
phoneLabel?: string | undefined;
|
|
1049
1049
|
phonePlaceholder?: string | undefined;
|
|
1050
1050
|
instructions?: string | undefined;
|
|
1051
|
-
digits?:
|
|
1051
|
+
digits?: 4 | 6 | 8 | undefined;
|
|
1052
1052
|
}, {
|
|
1053
1053
|
enabled?: boolean | undefined;
|
|
1054
1054
|
resendCooldown?: number | undefined;
|
|
1055
1055
|
phoneLabel?: string | undefined;
|
|
1056
1056
|
phonePlaceholder?: string | undefined;
|
|
1057
1057
|
instructions?: string | undefined;
|
|
1058
|
-
digits?:
|
|
1058
|
+
digits?: 4 | 6 | 8 | undefined;
|
|
1059
1059
|
}>>;
|
|
1060
1060
|
qrCode: z.ZodOptional<z.ZodObject<{
|
|
1061
1061
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1123,49 +1123,49 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
1123
1123
|
scopes: z.ZodArray<z.ZodString, "many">;
|
|
1124
1124
|
category: z.ZodOptional<z.ZodString>;
|
|
1125
1125
|
}, "strip", z.ZodTypeAny, {
|
|
1126
|
-
id: string;
|
|
1127
1126
|
label: string;
|
|
1128
1127
|
description: string;
|
|
1129
1128
|
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
1130
1129
|
riskLevel: "low" | "medium" | "high" | "critical";
|
|
1130
|
+
id: string;
|
|
1131
1131
|
defaultOn: boolean;
|
|
1132
1132
|
cedar: string;
|
|
1133
1133
|
scopes: string[];
|
|
1134
1134
|
category?: string | undefined;
|
|
1135
1135
|
}, {
|
|
1136
|
-
id: string;
|
|
1137
1136
|
label: string;
|
|
1138
1137
|
description: string;
|
|
1139
1138
|
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
1140
1139
|
riskLevel: "low" | "medium" | "high" | "critical";
|
|
1140
|
+
id: string;
|
|
1141
1141
|
defaultOn: boolean;
|
|
1142
1142
|
cedar: string;
|
|
1143
1143
|
scopes: string[];
|
|
1144
1144
|
category?: string | undefined;
|
|
1145
1145
|
}>, "many">;
|
|
1146
1146
|
}, "strip", z.ZodTypeAny, {
|
|
1147
|
-
id: string;
|
|
1148
1147
|
label: string;
|
|
1148
|
+
id: string;
|
|
1149
1149
|
capabilities: {
|
|
1150
|
-
id: string;
|
|
1151
1150
|
label: string;
|
|
1152
1151
|
description: string;
|
|
1153
1152
|
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
1154
1153
|
riskLevel: "low" | "medium" | "high" | "critical";
|
|
1154
|
+
id: string;
|
|
1155
1155
|
defaultOn: boolean;
|
|
1156
1156
|
cedar: string;
|
|
1157
1157
|
scopes: string[];
|
|
1158
1158
|
category?: string | undefined;
|
|
1159
1159
|
}[];
|
|
1160
1160
|
}, {
|
|
1161
|
-
id: string;
|
|
1162
1161
|
label: string;
|
|
1162
|
+
id: string;
|
|
1163
1163
|
capabilities: {
|
|
1164
|
-
id: string;
|
|
1165
1164
|
label: string;
|
|
1166
1165
|
description: string;
|
|
1167
1166
|
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
1168
1167
|
riskLevel: "low" | "medium" | "high" | "critical";
|
|
1168
|
+
id: string;
|
|
1169
1169
|
defaultOn: boolean;
|
|
1170
1170
|
cedar: string;
|
|
1171
1171
|
scopes: string[];
|
|
@@ -1236,7 +1236,7 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
1236
1236
|
phoneLabel?: string | undefined;
|
|
1237
1237
|
phonePlaceholder?: string | undefined;
|
|
1238
1238
|
instructions?: string | undefined;
|
|
1239
|
-
digits?:
|
|
1239
|
+
digits?: 4 | 6 | 8 | undefined;
|
|
1240
1240
|
} | undefined;
|
|
1241
1241
|
passkey?: {
|
|
1242
1242
|
buttonText?: string | undefined;
|
|
@@ -1265,14 +1265,14 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
1265
1265
|
showManualEntry?: boolean | undefined;
|
|
1266
1266
|
} | undefined;
|
|
1267
1267
|
capabilities?: {
|
|
1268
|
-
id: string;
|
|
1269
1268
|
label: string;
|
|
1269
|
+
id: string;
|
|
1270
1270
|
capabilities: {
|
|
1271
|
-
id: string;
|
|
1272
1271
|
label: string;
|
|
1273
1272
|
description: string;
|
|
1274
1273
|
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
1275
1274
|
riskLevel: "low" | "medium" | "high" | "critical";
|
|
1275
|
+
id: string;
|
|
1276
1276
|
defaultOn: boolean;
|
|
1277
1277
|
cedar: string;
|
|
1278
1278
|
scopes: string[];
|
|
@@ -1317,8 +1317,8 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
1317
1317
|
name: string;
|
|
1318
1318
|
required: boolean;
|
|
1319
1319
|
options?: {
|
|
1320
|
-
value: string;
|
|
1321
1320
|
label: string;
|
|
1321
|
+
value: string;
|
|
1322
1322
|
}[] | undefined;
|
|
1323
1323
|
placeholder?: string | undefined;
|
|
1324
1324
|
pattern?: string | undefined;
|
|
@@ -1362,7 +1362,7 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
1362
1362
|
phoneLabel?: string | undefined;
|
|
1363
1363
|
phonePlaceholder?: string | undefined;
|
|
1364
1364
|
instructions?: string | undefined;
|
|
1365
|
-
digits?:
|
|
1365
|
+
digits?: 4 | 6 | 8 | undefined;
|
|
1366
1366
|
} | undefined;
|
|
1367
1367
|
passkey?: {
|
|
1368
1368
|
buttonText?: string | undefined;
|
|
@@ -1391,14 +1391,14 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
1391
1391
|
showManualEntry?: boolean | undefined;
|
|
1392
1392
|
} | undefined;
|
|
1393
1393
|
capabilities?: {
|
|
1394
|
-
id: string;
|
|
1395
1394
|
label: string;
|
|
1395
|
+
id: string;
|
|
1396
1396
|
capabilities: {
|
|
1397
|
-
id: string;
|
|
1398
1397
|
label: string;
|
|
1399
1398
|
description: string;
|
|
1400
1399
|
icon: "search" | "cart" | "card" | "pin" | "pin-new" | "shield" | "key" | "tools" | "user" | "calendar" | "lock" | "eye" | "send" | "package" | "neutral";
|
|
1401
1400
|
riskLevel: "low" | "medium" | "high" | "critical";
|
|
1401
|
+
id: string;
|
|
1402
1402
|
defaultOn: boolean;
|
|
1403
1403
|
cedar: string;
|
|
1404
1404
|
scopes: string[];
|
|
@@ -1443,8 +1443,8 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
|
|
|
1443
1443
|
name: string;
|
|
1444
1444
|
required: boolean;
|
|
1445
1445
|
options?: {
|
|
1446
|
-
value: string;
|
|
1447
1446
|
label: string;
|
|
1447
|
+
value: string;
|
|
1448
1448
|
}[] | undefined;
|
|
1449
1449
|
placeholder?: string | undefined;
|
|
1450
1450
|
pattern?: string | undefined;
|
|
@@ -96,14 +96,14 @@ export declare const OTPConfigSchema: z.ZodObject<{
|
|
|
96
96
|
phoneLabel?: string | undefined;
|
|
97
97
|
phonePlaceholder?: string | undefined;
|
|
98
98
|
instructions?: string | undefined;
|
|
99
|
-
digits?:
|
|
99
|
+
digits?: 4 | 6 | 8 | undefined;
|
|
100
100
|
}, {
|
|
101
101
|
enabled?: boolean | undefined;
|
|
102
102
|
resendCooldown?: number | undefined;
|
|
103
103
|
phoneLabel?: string | undefined;
|
|
104
104
|
phonePlaceholder?: string | undefined;
|
|
105
105
|
instructions?: string | undefined;
|
|
106
|
-
digits?:
|
|
106
|
+
digits?: 4 | 6 | 8 | undefined;
|
|
107
107
|
}>;
|
|
108
108
|
export type OTPConfigSchemaType = z.infer<typeof OTPConfigSchema>;
|
|
109
109
|
/**
|
|
@@ -243,14 +243,14 @@ export declare const ModeConfigsSchema: z.ZodObject<{
|
|
|
243
243
|
phoneLabel?: string | undefined;
|
|
244
244
|
phonePlaceholder?: string | undefined;
|
|
245
245
|
instructions?: string | undefined;
|
|
246
|
-
digits?:
|
|
246
|
+
digits?: 4 | 6 | 8 | undefined;
|
|
247
247
|
}, {
|
|
248
248
|
enabled?: boolean | undefined;
|
|
249
249
|
resendCooldown?: number | undefined;
|
|
250
250
|
phoneLabel?: string | undefined;
|
|
251
251
|
phonePlaceholder?: string | undefined;
|
|
252
252
|
instructions?: string | undefined;
|
|
253
|
-
digits?:
|
|
253
|
+
digits?: 4 | 6 | 8 | undefined;
|
|
254
254
|
}>>;
|
|
255
255
|
qrCode: z.ZodOptional<z.ZodObject<{
|
|
256
256
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -324,7 +324,7 @@ export declare const ModeConfigsSchema: z.ZodObject<{
|
|
|
324
324
|
phoneLabel?: string | undefined;
|
|
325
325
|
phonePlaceholder?: string | undefined;
|
|
326
326
|
instructions?: string | undefined;
|
|
327
|
-
digits?:
|
|
327
|
+
digits?: 4 | 6 | 8 | undefined;
|
|
328
328
|
} | undefined;
|
|
329
329
|
passkey?: {
|
|
330
330
|
buttonText?: string | undefined;
|
|
@@ -373,7 +373,7 @@ export declare const ModeConfigsSchema: z.ZodObject<{
|
|
|
373
373
|
phoneLabel?: string | undefined;
|
|
374
374
|
phonePlaceholder?: string | undefined;
|
|
375
375
|
instructions?: string | undefined;
|
|
376
|
-
digits?:
|
|
376
|
+
digits?: 4 | 6 | 8 | undefined;
|
|
377
377
|
} | undefined;
|
|
378
378
|
passkey?: {
|
|
379
379
|
buttonText?: string | undefined;
|