@kya-os/contracts 1.5.3-canary.17 → 1.5.3-canary.18

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.
@@ -65,38 +65,38 @@ export declare const AuditContextSchema: z.ZodObject<{
65
65
  */
66
66
  scopeId: z.ZodOptional<z.ZodString>;
67
67
  }, "strip", z.ZodTypeAny, {
68
- identity: {
69
- did: string;
70
- kid: string;
71
- } & {
72
- [k: string]: unknown;
73
- };
68
+ requestHash: string;
69
+ responseHash: string;
74
70
  session: {
75
- sessionId: string;
76
71
  audience: string;
72
+ sessionId: string;
77
73
  } & {
78
74
  [k: string]: unknown;
79
75
  };
80
- requestHash: string;
81
- responseHash: string;
82
76
  verified: "yes" | "no";
83
- scopeId?: string | undefined;
84
- }, {
85
77
  identity: {
86
78
  did: string;
87
79
  kid: string;
88
80
  } & {
89
81
  [k: string]: unknown;
90
82
  };
83
+ scopeId?: string | undefined;
84
+ }, {
85
+ requestHash: string;
86
+ responseHash: string;
91
87
  session: {
92
- sessionId: string;
93
88
  audience: string;
89
+ sessionId: string;
94
90
  } & {
95
91
  [k: string]: unknown;
96
92
  };
97
- requestHash: string;
98
- responseHash: string;
99
93
  verified: "yes" | "no";
94
+ identity: {
95
+ did: string;
96
+ kid: string;
97
+ } & {
98
+ [k: string]: unknown;
99
+ };
100
100
  scopeId?: string | undefined;
101
101
  }>;
102
102
  export type AuditContext = {
@@ -153,33 +153,33 @@ export declare const AuditEventContextSchema: z.ZodObject<{
153
153
  */
154
154
  eventData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
155
155
  }, "strip", z.ZodTypeAny, {
156
+ session: {
157
+ audience: string;
158
+ sessionId: string;
159
+ } & {
160
+ [k: string]: unknown;
161
+ };
156
162
  identity: {
157
163
  did: string;
158
164
  kid: string;
159
165
  } & {
160
166
  [k: string]: unknown;
161
167
  };
168
+ eventType: string;
169
+ eventData?: Record<string, unknown> | undefined;
170
+ }, {
162
171
  session: {
163
- sessionId: string;
164
172
  audience: string;
173
+ sessionId: string;
165
174
  } & {
166
175
  [k: string]: unknown;
167
176
  };
168
- eventType: string;
169
- eventData?: Record<string, unknown> | undefined;
170
- }, {
171
177
  identity: {
172
178
  did: string;
173
179
  kid: string;
174
180
  } & {
175
181
  [k: string]: unknown;
176
182
  };
177
- session: {
178
- sessionId: string;
179
- audience: string;
180
- } & {
181
- [k: string]: unknown;
182
- };
183
183
  eventType: string;
184
184
  eventData?: Record<string, unknown> | undefined;
185
185
  }>;
@@ -149,9 +149,9 @@ export declare const OAuthProviderSchema: z.ZodObject<{
149
149
  requiresClientSecret: boolean;
150
150
  responseType: string;
151
151
  grantType: string;
152
+ scopes?: string[] | undefined;
152
153
  clientSecret?: string | null | undefined;
153
154
  userInfoUrl?: string | undefined;
154
- scopes?: string[] | undefined;
155
155
  defaultScopes?: string[] | undefined;
156
156
  proxyMode?: boolean | undefined;
157
157
  customParams?: Record<string, string> | undefined;
@@ -162,9 +162,9 @@ export declare const OAuthProviderSchema: z.ZodObject<{
162
162
  tokenUrl: string;
163
163
  supportsPKCE: boolean;
164
164
  requiresClientSecret: boolean;
165
+ scopes?: string[] | undefined;
165
166
  clientSecret?: string | null | undefined;
166
167
  userInfoUrl?: string | undefined;
167
- scopes?: string[] | undefined;
168
168
  defaultScopes?: string[] | undefined;
169
169
  proxyMode?: boolean | undefined;
170
170
  customParams?: Record<string, string> | undefined;
@@ -199,9 +199,9 @@ export declare const OAuthConfigSchema: z.ZodObject<{
199
199
  requiresClientSecret: boolean;
200
200
  responseType: string;
201
201
  grantType: string;
202
+ scopes?: string[] | undefined;
202
203
  clientSecret?: string | null | undefined;
203
204
  userInfoUrl?: string | undefined;
204
- scopes?: string[] | undefined;
205
205
  defaultScopes?: string[] | undefined;
206
206
  proxyMode?: boolean | undefined;
207
207
  customParams?: Record<string, string> | undefined;
@@ -212,9 +212,9 @@ export declare const OAuthConfigSchema: z.ZodObject<{
212
212
  tokenUrl: string;
213
213
  supportsPKCE: boolean;
214
214
  requiresClientSecret: boolean;
215
+ scopes?: string[] | undefined;
215
216
  clientSecret?: string | null | undefined;
216
217
  userInfoUrl?: string | undefined;
217
- scopes?: string[] | undefined;
218
218
  defaultScopes?: string[] | undefined;
219
219
  proxyMode?: boolean | undefined;
220
220
  customParams?: Record<string, string> | undefined;
@@ -231,9 +231,9 @@ export declare const OAuthConfigSchema: z.ZodObject<{
231
231
  requiresClientSecret: boolean;
232
232
  responseType: string;
233
233
  grantType: string;
234
+ scopes?: string[] | undefined;
234
235
  clientSecret?: string | null | undefined;
235
236
  userInfoUrl?: string | undefined;
236
- scopes?: string[] | undefined;
237
237
  defaultScopes?: string[] | undefined;
238
238
  proxyMode?: boolean | undefined;
239
239
  customParams?: Record<string, string> | undefined;
@@ -246,9 +246,9 @@ export declare const OAuthConfigSchema: z.ZodObject<{
246
246
  tokenUrl: string;
247
247
  supportsPKCE: boolean;
248
248
  requiresClientSecret: boolean;
249
+ scopes?: string[] | undefined;
249
250
  clientSecret?: string | null | undefined;
250
251
  userInfoUrl?: string | undefined;
251
- scopes?: string[] | undefined;
252
252
  defaultScopes?: string[] | undefined;
253
253
  proxyMode?: boolean | undefined;
254
254
  customParams?: Record<string, string> | undefined;
@@ -38,13 +38,13 @@ export declare const consentTermsSchema: z.ZodObject<{
38
38
  }, "strip", z.ZodTypeAny, {
39
39
  required: boolean;
40
40
  version?: string | undefined;
41
- text?: string | undefined;
42
41
  url?: string | undefined;
42
+ text?: string | undefined;
43
43
  }, {
44
- required?: boolean | undefined;
45
44
  version?: string | undefined;
46
- text?: string | undefined;
47
45
  url?: string | undefined;
46
+ required?: boolean | undefined;
47
+ text?: string | undefined;
48
48
  }>;
49
49
  export type ConsentTerms = z.infer<typeof consentTermsSchema>;
50
50
  /**
@@ -82,8 +82,8 @@ export declare const consentCustomFieldSchema: z.ZodEffects<z.ZodObject<{
82
82
  pattern: z.ZodOptional<z.ZodString>;
83
83
  }, "strip", z.ZodTypeAny, {
84
84
  type: "text" | "textarea" | "checkbox" | "select";
85
- required: boolean;
86
85
  name: string;
86
+ required: boolean;
87
87
  label: string;
88
88
  options?: {
89
89
  value: string;
@@ -93,8 +93,8 @@ export declare const consentCustomFieldSchema: z.ZodEffects<z.ZodObject<{
93
93
  pattern?: string | undefined;
94
94
  }, {
95
95
  type: "text" | "textarea" | "checkbox" | "select";
96
- required: boolean;
97
96
  name: string;
97
+ required: boolean;
98
98
  label: string;
99
99
  options?: {
100
100
  value: string;
@@ -104,8 +104,8 @@ export declare const consentCustomFieldSchema: z.ZodEffects<z.ZodObject<{
104
104
  pattern?: string | undefined;
105
105
  }>, {
106
106
  type: "text" | "textarea" | "checkbox" | "select";
107
- required: boolean;
108
107
  name: string;
108
+ required: boolean;
109
109
  label: string;
110
110
  options?: {
111
111
  value: string;
@@ -115,8 +115,8 @@ export declare const consentCustomFieldSchema: z.ZodEffects<z.ZodObject<{
115
115
  pattern?: string | undefined;
116
116
  }, {
117
117
  type: "text" | "textarea" | "checkbox" | "select";
118
- required: boolean;
119
118
  name: string;
119
+ required: boolean;
120
120
  label: string;
121
121
  options?: {
122
122
  value: string;
@@ -151,13 +151,13 @@ export declare const oauthIdentitySchema: z.ZodObject<{
151
151
  */
152
152
  name: z.ZodOptional<z.ZodString>;
153
153
  }, "strip", z.ZodTypeAny, {
154
- provider: string;
155
154
  subject: string;
155
+ provider: string;
156
156
  name?: string | undefined;
157
157
  email?: string | undefined;
158
158
  }, {
159
- provider: string;
160
159
  subject: string;
160
+ provider: string;
161
161
  name?: string | undefined;
162
162
  email?: string | undefined;
163
163
  }>;
@@ -197,13 +197,13 @@ export declare const consentPageConfigSchema: z.ZodObject<{
197
197
  }, "strip", z.ZodTypeAny, {
198
198
  required: boolean;
199
199
  version?: string | undefined;
200
- text?: string | undefined;
201
200
  url?: string | undefined;
201
+ text?: string | undefined;
202
202
  }, {
203
- required?: boolean | undefined;
204
203
  version?: string | undefined;
205
- text?: string | undefined;
206
204
  url?: string | undefined;
205
+ required?: boolean | undefined;
206
+ text?: string | undefined;
207
207
  }>>;
208
208
  customFields: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
209
209
  name: z.ZodString;
@@ -224,8 +224,8 @@ export declare const consentPageConfigSchema: z.ZodObject<{
224
224
  pattern: z.ZodOptional<z.ZodString>;
225
225
  }, "strip", z.ZodTypeAny, {
226
226
  type: "text" | "textarea" | "checkbox" | "select";
227
- required: boolean;
228
227
  name: string;
228
+ required: boolean;
229
229
  label: string;
230
230
  options?: {
231
231
  value: string;
@@ -235,8 +235,8 @@ export declare const consentPageConfigSchema: z.ZodObject<{
235
235
  pattern?: string | undefined;
236
236
  }, {
237
237
  type: "text" | "textarea" | "checkbox" | "select";
238
- required: boolean;
239
238
  name: string;
239
+ required: boolean;
240
240
  label: string;
241
241
  options?: {
242
242
  value: string;
@@ -246,8 +246,8 @@ export declare const consentPageConfigSchema: z.ZodObject<{
246
246
  pattern?: string | undefined;
247
247
  }>, {
248
248
  type: "text" | "textarea" | "checkbox" | "select";
249
- required: boolean;
250
249
  name: string;
250
+ required: boolean;
251
251
  label: string;
252
252
  options?: {
253
253
  value: string;
@@ -257,8 +257,8 @@ export declare const consentPageConfigSchema: z.ZodObject<{
257
257
  pattern?: string | undefined;
258
258
  }, {
259
259
  type: "text" | "textarea" | "checkbox" | "select";
260
- required: boolean;
261
260
  name: string;
261
+ required: boolean;
262
262
  label: string;
263
263
  options?: {
264
264
  value: string;
@@ -281,12 +281,12 @@ export declare const consentPageConfigSchema: z.ZodObject<{
281
281
  oauthUrl: z.ZodOptional<z.ZodString>;
282
282
  }, "strip", z.ZodTypeAny, {
283
283
  agentDid: string;
284
- serverUrl: string;
285
- projectId: string;
284
+ sessionId: string;
286
285
  tool: string;
287
- toolDescription: string;
288
286
  scopes: string[];
289
- sessionId: string;
287
+ projectId: string;
288
+ toolDescription: string;
289
+ serverUrl: string;
290
290
  provider?: string | undefined;
291
291
  branding?: {
292
292
  primaryColor?: string | undefined;
@@ -297,13 +297,13 @@ export declare const consentPageConfigSchema: z.ZodObject<{
297
297
  terms?: {
298
298
  required: boolean;
299
299
  version?: string | undefined;
300
- text?: string | undefined;
301
300
  url?: string | undefined;
301
+ text?: string | undefined;
302
302
  } | undefined;
303
303
  customFields?: {
304
304
  type: "text" | "textarea" | "checkbox" | "select";
305
- required: boolean;
306
305
  name: string;
306
+ required: boolean;
307
307
  label: string;
308
308
  options?: {
309
309
  value: string;
@@ -317,12 +317,12 @@ export declare const consentPageConfigSchema: z.ZodObject<{
317
317
  oauthUrl?: string | undefined;
318
318
  }, {
319
319
  agentDid: string;
320
- serverUrl: string;
321
- projectId: string;
320
+ sessionId: string;
322
321
  tool: string;
323
- toolDescription: string;
324
322
  scopes: string[];
325
- sessionId: string;
323
+ projectId: string;
324
+ toolDescription: string;
325
+ serverUrl: string;
326
326
  provider?: string | undefined;
327
327
  branding?: {
328
328
  primaryColor?: string | undefined;
@@ -331,15 +331,15 @@ export declare const consentPageConfigSchema: z.ZodObject<{
331
331
  theme?: "light" | "dark" | "auto" | undefined;
332
332
  } | undefined;
333
333
  terms?: {
334
- required?: boolean | undefined;
335
334
  version?: string | undefined;
336
- text?: string | undefined;
337
335
  url?: string | undefined;
336
+ required?: boolean | undefined;
337
+ text?: string | undefined;
338
338
  } | undefined;
339
339
  customFields?: {
340
340
  type: "text" | "textarea" | "checkbox" | "select";
341
- required: boolean;
342
341
  name: string;
342
+ required: boolean;
343
343
  label: string;
344
344
  options?: {
345
345
  value: string;
@@ -397,13 +397,13 @@ export declare const consentApprovalRequestSchema: z.ZodObject<{
397
397
  */
398
398
  name: z.ZodOptional<z.ZodString>;
399
399
  }, "strip", z.ZodTypeAny, {
400
- provider: string;
401
400
  subject: string;
401
+ provider: string;
402
402
  name?: string | undefined;
403
403
  email?: string | undefined;
404
404
  }, {
405
- provider: string;
406
405
  subject: string;
406
+ provider: string;
407
407
  name?: string | undefined;
408
408
  email?: string | undefined;
409
409
  }>>>;
@@ -415,32 +415,32 @@ export declare const consentApprovalRequestSchema: z.ZodObject<{
415
415
  user_did: z.ZodOptional<z.ZodString>;
416
416
  }, "strip", z.ZodTypeAny, {
417
417
  tool: string;
418
+ session_id: string;
418
419
  scopes: string[];
419
420
  agent_did: string;
420
- session_id: string;
421
421
  project_id: string;
422
422
  termsAccepted: boolean;
423
423
  customFields?: Record<string, string | boolean> | undefined;
424
424
  termsVersion?: string | undefined;
425
425
  oauth_identity?: {
426
- provider: string;
427
426
  subject: string;
427
+ provider: string;
428
428
  name?: string | undefined;
429
429
  email?: string | undefined;
430
430
  } | null | undefined;
431
431
  user_did?: string | undefined;
432
432
  }, {
433
433
  tool: string;
434
+ session_id: string;
434
435
  scopes: string[];
435
436
  agent_did: string;
436
- session_id: string;
437
437
  project_id: string;
438
438
  termsAccepted: boolean;
439
439
  customFields?: Record<string, string | boolean> | undefined;
440
440
  termsVersion?: string | undefined;
441
441
  oauth_identity?: {
442
- provider: string;
443
442
  subject: string;
443
+ provider: string;
444
444
  name?: string | undefined;
445
445
  email?: string | undefined;
446
446
  } | null | undefined;
@@ -510,13 +510,13 @@ export declare const consentConfigSchema: z.ZodObject<{
510
510
  }, "strip", z.ZodTypeAny, {
511
511
  required: boolean;
512
512
  version?: string | undefined;
513
- text?: string | undefined;
514
513
  url?: string | undefined;
514
+ text?: string | undefined;
515
515
  }, {
516
- required?: boolean | undefined;
517
516
  version?: string | undefined;
518
- text?: string | undefined;
519
517
  url?: string | undefined;
518
+ required?: boolean | undefined;
519
+ text?: string | undefined;
520
520
  }>>;
521
521
  customFields: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
522
522
  name: z.ZodString;
@@ -537,8 +537,8 @@ export declare const consentConfigSchema: z.ZodObject<{
537
537
  pattern: z.ZodOptional<z.ZodString>;
538
538
  }, "strip", z.ZodTypeAny, {
539
539
  type: "text" | "textarea" | "checkbox" | "select";
540
- required: boolean;
541
540
  name: string;
541
+ required: boolean;
542
542
  label: string;
543
543
  options?: {
544
544
  value: string;
@@ -548,8 +548,8 @@ export declare const consentConfigSchema: z.ZodObject<{
548
548
  pattern?: string | undefined;
549
549
  }, {
550
550
  type: "text" | "textarea" | "checkbox" | "select";
551
- required: boolean;
552
551
  name: string;
552
+ required: boolean;
553
553
  label: string;
554
554
  options?: {
555
555
  value: string;
@@ -559,8 +559,8 @@ export declare const consentConfigSchema: z.ZodObject<{
559
559
  pattern?: string | undefined;
560
560
  }>, {
561
561
  type: "text" | "textarea" | "checkbox" | "select";
562
- required: boolean;
563
562
  name: string;
563
+ required: boolean;
564
564
  label: string;
565
565
  options?: {
566
566
  value: string;
@@ -570,8 +570,8 @@ export declare const consentConfigSchema: z.ZodObject<{
570
570
  pattern?: string | undefined;
571
571
  }, {
572
572
  type: "text" | "textarea" | "checkbox" | "select";
573
- required: boolean;
574
573
  name: string;
574
+ required: boolean;
575
575
  label: string;
576
576
  options?: {
577
577
  value: string;
@@ -606,13 +606,13 @@ export declare const consentConfigSchema: z.ZodObject<{
606
606
  terms?: {
607
607
  required: boolean;
608
608
  version?: string | undefined;
609
- text?: string | undefined;
610
609
  url?: string | undefined;
610
+ text?: string | undefined;
611
611
  } | undefined;
612
612
  customFields?: {
613
613
  type: "text" | "textarea" | "checkbox" | "select";
614
- required: boolean;
615
614
  name: string;
615
+ required: boolean;
616
616
  label: string;
617
617
  options?: {
618
618
  value: string;
@@ -635,15 +635,15 @@ export declare const consentConfigSchema: z.ZodObject<{
635
635
  theme?: "light" | "dark" | "auto" | undefined;
636
636
  } | undefined;
637
637
  terms?: {
638
- required?: boolean | undefined;
639
638
  version?: string | undefined;
640
- text?: string | undefined;
641
639
  url?: string | undefined;
640
+ required?: boolean | undefined;
641
+ text?: string | undefined;
642
642
  } | undefined;
643
643
  customFields?: {
644
644
  type: "text" | "textarea" | "checkbox" | "select";
645
- required: boolean;
646
645
  name: string;
646
+ required: boolean;
647
647
  label: string;
648
648
  options?: {
649
649
  value: string;
@@ -671,12 +671,12 @@ export type ConsentConfig = z.infer<typeof consentConfigSchema>;
671
671
  */
672
672
  export declare function validateConsentPageConfig(config: unknown): z.SafeParseReturnType<{
673
673
  agentDid: string;
674
- serverUrl: string;
675
- projectId: string;
674
+ sessionId: string;
676
675
  tool: string;
677
- toolDescription: string;
678
676
  scopes: string[];
679
- sessionId: string;
677
+ projectId: string;
678
+ toolDescription: string;
679
+ serverUrl: string;
680
680
  provider?: string | undefined;
681
681
  branding?: {
682
682
  primaryColor?: string | undefined;
@@ -685,15 +685,15 @@ export declare function validateConsentPageConfig(config: unknown): z.SafeParseR
685
685
  theme?: "light" | "dark" | "auto" | undefined;
686
686
  } | undefined;
687
687
  terms?: {
688
- required?: boolean | undefined;
689
688
  version?: string | undefined;
690
- text?: string | undefined;
691
689
  url?: string | undefined;
690
+ required?: boolean | undefined;
691
+ text?: string | undefined;
692
692
  } | undefined;
693
693
  customFields?: {
694
694
  type: "text" | "textarea" | "checkbox" | "select";
695
- required: boolean;
696
695
  name: string;
696
+ required: boolean;
697
697
  label: string;
698
698
  options?: {
699
699
  value: string;
@@ -707,12 +707,12 @@ export declare function validateConsentPageConfig(config: unknown): z.SafeParseR
707
707
  oauthUrl?: string | undefined;
708
708
  }, {
709
709
  agentDid: string;
710
- serverUrl: string;
711
- projectId: string;
710
+ sessionId: string;
712
711
  tool: string;
713
- toolDescription: string;
714
712
  scopes: string[];
715
- sessionId: string;
713
+ projectId: string;
714
+ toolDescription: string;
715
+ serverUrl: string;
716
716
  provider?: string | undefined;
717
717
  branding?: {
718
718
  primaryColor?: string | undefined;
@@ -723,13 +723,13 @@ export declare function validateConsentPageConfig(config: unknown): z.SafeParseR
723
723
  terms?: {
724
724
  required: boolean;
725
725
  version?: string | undefined;
726
- text?: string | undefined;
727
726
  url?: string | undefined;
727
+ text?: string | undefined;
728
728
  } | undefined;
729
729
  customFields?: {
730
730
  type: "text" | "textarea" | "checkbox" | "select";
731
- required: boolean;
732
731
  name: string;
732
+ required: boolean;
733
733
  label: string;
734
734
  options?: {
735
735
  value: string;
@@ -750,32 +750,32 @@ export declare function validateConsentPageConfig(config: unknown): z.SafeParseR
750
750
  */
751
751
  export declare function validateConsentApprovalRequest(request: unknown): z.SafeParseReturnType<{
752
752
  tool: string;
753
+ session_id: string;
753
754
  scopes: string[];
754
755
  agent_did: string;
755
- session_id: string;
756
756
  project_id: string;
757
757
  termsAccepted: boolean;
758
758
  customFields?: Record<string, string | boolean> | undefined;
759
759
  termsVersion?: string | undefined;
760
760
  oauth_identity?: {
761
- provider: string;
762
761
  subject: string;
762
+ provider: string;
763
763
  name?: string | undefined;
764
764
  email?: string | undefined;
765
765
  } | null | undefined;
766
766
  user_did?: string | undefined;
767
767
  }, {
768
768
  tool: string;
769
+ session_id: string;
769
770
  scopes: string[];
770
771
  agent_did: string;
771
- session_id: string;
772
772
  project_id: string;
773
773
  termsAccepted: boolean;
774
774
  customFields?: Record<string, string | boolean> | undefined;
775
775
  termsVersion?: string | undefined;
776
776
  oauth_identity?: {
777
- provider: string;
778
777
  subject: string;
778
+ provider: string;
779
779
  name?: string | undefined;
780
780
  email?: string | undefined;
781
781
  } | null | undefined;
@@ -814,15 +814,15 @@ export declare function validateConsentConfig(config: unknown): z.SafeParseRetur
814
814
  theme?: "light" | "dark" | "auto" | undefined;
815
815
  } | undefined;
816
816
  terms?: {
817
- required?: boolean | undefined;
818
817
  version?: string | undefined;
819
- text?: string | undefined;
820
818
  url?: string | undefined;
819
+ required?: boolean | undefined;
820
+ text?: string | undefined;
821
821
  } | undefined;
822
822
  customFields?: {
823
823
  type: "text" | "textarea" | "checkbox" | "select";
824
- required: boolean;
825
824
  name: string;
825
+ required: boolean;
826
826
  label: string;
827
827
  options?: {
828
828
  value: string;
@@ -847,13 +847,13 @@ export declare function validateConsentConfig(config: unknown): z.SafeParseRetur
847
847
  terms?: {
848
848
  required: boolean;
849
849
  version?: string | undefined;
850
- text?: string | undefined;
851
850
  url?: string | undefined;
851
+ text?: string | undefined;
852
852
  } | undefined;
853
853
  customFields?: {
854
854
  type: "text" | "textarea" | "checkbox" | "select";
855
- required: boolean;
856
855
  name: string;
856
+ required: boolean;
857
857
  label: string;
858
858
  options?: {
859
859
  value: string;