@wix/auto_sdk_forms_forms 1.0.9 → 1.0.11

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.
Files changed (57) hide show
  1. package/build/cjs/src/forms-v4-form-forms.context.d.ts +2 -2
  2. package/build/cjs/src/forms-v4-form-forms.context.js +32 -13
  3. package/build/cjs/src/forms-v4-form-forms.context.js.map +1 -1
  4. package/build/cjs/src/forms-v4-form-forms.http.js +28107 -10842
  5. package/build/cjs/src/forms-v4-form-forms.http.js.map +1 -1
  6. package/build/cjs/src/forms-v4-form-forms.public.d.ts +1 -1
  7. package/build/cjs/src/forms-v4-form-forms.public.js +21 -2
  8. package/build/cjs/src/forms-v4-form-forms.public.js.map +1 -1
  9. package/build/cjs/src/forms-v4-form-forms.types.d.ts +1078 -277
  10. package/build/cjs/src/forms-v4-form-forms.types.js +257 -113
  11. package/build/cjs/src/forms-v4-form-forms.types.js.map +1 -1
  12. package/build/cjs/src/forms-v4-form-forms.universal.d.ts +1079 -279
  13. package/build/cjs/src/forms-v4-form-forms.universal.js +393 -113
  14. package/build/cjs/src/forms-v4-form-forms.universal.js.map +1 -1
  15. package/build/es/src/forms-v4-form-forms.context.d.ts +2 -2
  16. package/build/es/src/forms-v4-form-forms.context.js +1 -1
  17. package/build/es/src/forms-v4-form-forms.context.js.map +1 -1
  18. package/build/es/src/forms-v4-form-forms.http.js +28096 -10831
  19. package/build/es/src/forms-v4-form-forms.http.js.map +1 -1
  20. package/build/es/src/forms-v4-form-forms.public.d.ts +1 -1
  21. package/build/es/src/forms-v4-form-forms.public.js +1 -1
  22. package/build/es/src/forms-v4-form-forms.public.js.map +1 -1
  23. package/build/es/src/forms-v4-form-forms.types.d.ts +1078 -277
  24. package/build/es/src/forms-v4-form-forms.types.js +255 -111
  25. package/build/es/src/forms-v4-form-forms.types.js.map +1 -1
  26. package/build/es/src/forms-v4-form-forms.universal.d.ts +1079 -279
  27. package/build/es/src/forms-v4-form-forms.universal.js +390 -111
  28. package/build/es/src/forms-v4-form-forms.universal.js.map +1 -1
  29. package/build/internal/cjs/src/forms-v4-form-forms.context.d.ts +2 -2
  30. package/build/internal/cjs/src/forms-v4-form-forms.context.js +32 -13
  31. package/build/internal/cjs/src/forms-v4-form-forms.context.js.map +1 -1
  32. package/build/internal/cjs/src/forms-v4-form-forms.http.js +28107 -10842
  33. package/build/internal/cjs/src/forms-v4-form-forms.http.js.map +1 -1
  34. package/build/internal/cjs/src/forms-v4-form-forms.public.d.ts +1 -1
  35. package/build/internal/cjs/src/forms-v4-form-forms.public.js +21 -2
  36. package/build/internal/cjs/src/forms-v4-form-forms.public.js.map +1 -1
  37. package/build/internal/cjs/src/forms-v4-form-forms.types.d.ts +1078 -277
  38. package/build/internal/cjs/src/forms-v4-form-forms.types.js +257 -113
  39. package/build/internal/cjs/src/forms-v4-form-forms.types.js.map +1 -1
  40. package/build/internal/cjs/src/forms-v4-form-forms.universal.d.ts +1079 -279
  41. package/build/internal/cjs/src/forms-v4-form-forms.universal.js +393 -113
  42. package/build/internal/cjs/src/forms-v4-form-forms.universal.js.map +1 -1
  43. package/build/internal/es/src/forms-v4-form-forms.context.d.ts +2 -2
  44. package/build/internal/es/src/forms-v4-form-forms.context.js +1 -1
  45. package/build/internal/es/src/forms-v4-form-forms.context.js.map +1 -1
  46. package/build/internal/es/src/forms-v4-form-forms.http.js +28096 -10831
  47. package/build/internal/es/src/forms-v4-form-forms.http.js.map +1 -1
  48. package/build/internal/es/src/forms-v4-form-forms.public.d.ts +1 -1
  49. package/build/internal/es/src/forms-v4-form-forms.public.js +1 -1
  50. package/build/internal/es/src/forms-v4-form-forms.public.js.map +1 -1
  51. package/build/internal/es/src/forms-v4-form-forms.types.d.ts +1078 -277
  52. package/build/internal/es/src/forms-v4-form-forms.types.js +255 -111
  53. package/build/internal/es/src/forms-v4-form-forms.types.js.map +1 -1
  54. package/build/internal/es/src/forms-v4-form-forms.universal.d.ts +1079 -279
  55. package/build/internal/es/src/forms-v4-form-forms.universal.js +390 -111
  56. package/build/internal/es/src/forms-v4-form-forms.universal.js.map +1 -1
  57. package/package.json +2 -2
@@ -8,9 +8,8 @@ export interface Form {
8
8
  /**
9
9
  * List of form fields that represent input elements.
10
10
  * @maxSize 500
11
- * @readonly
12
11
  */
13
- fieldsV2?: FormFieldV2[];
12
+ formFields?: Field[];
14
13
  /**
15
14
  * Defines the layout for form fields in each submission step.
16
15
  * @maxSize 100
@@ -142,17 +141,17 @@ export interface FormField {
142
141
  */
143
142
  readOnly?: boolean;
144
143
  }
145
- export interface StringType extends StringTypeFormatOptionsOneOf {
144
+ export interface FormFieldStringType extends FormFieldStringTypeFormatOptionsOneOf {
146
145
  /** DATE format options */
147
- dateOptions?: DateTimeConstraints;
146
+ dateOptions?: StringTypeDateTimeConstraints;
148
147
  /** DATE_TIME format options */
149
- dateTimeOptions?: DateTimeConstraints;
148
+ dateTimeOptions?: StringTypeDateTimeConstraints;
150
149
  /** TIME format options */
151
- timeOptions?: DateTimeConstraints;
150
+ timeOptions?: StringTypeDateTimeConstraints;
152
151
  /** DATE_OPTIONAL_TIME format options */
153
- dateOptionalTimeOptions?: DateTimeConstraints;
152
+ dateOptionalTimeOptions?: StringTypeDateTimeConstraints;
154
153
  /** PHONE format options */
155
- phoneOptions?: PhoneConstraints;
154
+ phoneOptions?: StringTypePhoneConstraints;
156
155
  /**
157
156
  * Minimum length.
158
157
  * @max 20000
@@ -169,7 +168,7 @@ export interface StringType extends StringTypeFormatOptionsOneOf {
169
168
  */
170
169
  pattern?: string | null;
171
170
  /** Format of a string. */
172
- format?: FormatEnumFormat;
171
+ format?: StringTypeFormatEnumFormat;
173
172
  /** Custom error messages when validation fails. */
174
173
  errorMessages?: StringErrorMessages;
175
174
  /**
@@ -180,19 +179,19 @@ export interface StringType extends StringTypeFormatOptionsOneOf {
180
179
  enum?: string[] | null;
181
180
  }
182
181
  /** @oneof */
183
- export interface StringTypeFormatOptionsOneOf {
182
+ export interface FormFieldStringTypeFormatOptionsOneOf {
184
183
  /** DATE format options */
185
- dateOptions?: DateTimeConstraints;
184
+ dateOptions?: StringTypeDateTimeConstraints;
186
185
  /** DATE_TIME format options */
187
- dateTimeOptions?: DateTimeConstraints;
186
+ dateTimeOptions?: StringTypeDateTimeConstraints;
188
187
  /** TIME format options */
189
- timeOptions?: DateTimeConstraints;
188
+ timeOptions?: StringTypeDateTimeConstraints;
190
189
  /** DATE_OPTIONAL_TIME format options */
191
- dateOptionalTimeOptions?: DateTimeConstraints;
190
+ dateOptionalTimeOptions?: StringTypeDateTimeConstraints;
192
191
  /** PHONE format options */
193
- phoneOptions?: PhoneConstraints;
192
+ phoneOptions?: StringTypePhoneConstraints;
194
193
  }
195
- export declare enum FormatEnumFormat {
194
+ export declare enum StringTypeFormatEnumFormat {
196
195
  UNDEFINED = "UNDEFINED",
197
196
  DATE = "DATE",
198
197
  TIME = "TIME",
@@ -215,7 +214,7 @@ export interface StringErrorMessages {
215
214
  */
216
215
  default?: string | null;
217
216
  }
218
- export interface DateTimeConstraints {
217
+ export interface StringTypeDateTimeConstraints {
219
218
  /**
220
219
  * Support static constrains defined as ISO date/time format, as well as
221
220
  * dynamic calculations can be performed using special keywords such as "$now" to represent the current date and time.
@@ -233,7 +232,7 @@ export interface DateTimeConstraints {
233
232
  */
234
233
  maximum?: string | null;
235
234
  }
236
- export interface PhoneConstraints {
235
+ export interface StringTypePhoneConstraints {
237
236
  /**
238
237
  * Country codes for phone number that are allowed
239
238
  * @maxSize 250
@@ -241,7 +240,7 @@ export interface PhoneConstraints {
241
240
  */
242
241
  allowedCountryCodes?: string[];
243
242
  }
244
- export interface NumberType {
243
+ export interface FormFieldNumberType {
245
244
  /** Inclusive maximum value. */
246
245
  maximum?: number | null;
247
246
  /** Inclusive minimum value. */
@@ -263,7 +262,7 @@ export interface NumberErrorMessages {
263
262
  */
264
263
  default?: string | null;
265
264
  }
266
- export interface IntegerType {
265
+ export interface FormFieldIntegerType {
267
266
  /** Minimum value. */
268
267
  maximum?: number | null;
269
268
  /** Maximum value. */
@@ -278,7 +277,7 @@ export interface IntegerType {
278
277
  */
279
278
  enum?: number[] | null;
280
279
  }
281
- export interface BooleanType {
280
+ export interface FormFieldBooleanType {
282
281
  /** Custom error message when validation fails. */
283
282
  errorMessages?: BooleanErrorMessages;
284
283
  /**
@@ -294,7 +293,7 @@ export interface BooleanErrorMessages {
294
293
  */
295
294
  default?: string | null;
296
295
  }
297
- export interface ArrayType {
296
+ export interface FormFieldArrayType {
298
297
  /**
299
298
  * Maximum amount of array elements.
300
299
  * @max 1000
@@ -306,42 +305,42 @@ export interface ArrayType {
306
305
  */
307
306
  minItems?: number | null;
308
307
  /** Type of items allowed in array. */
309
- items?: ArrayItems;
308
+ items?: ArrayTypeArrayItems;
310
309
  /** Custom error message when validation fails. */
311
310
  errorMessages?: ArrayErrorMessages;
312
311
  }
313
- export interface ObjectType {
312
+ export interface FormFieldObjectType {
314
313
  /** Description of object properties. */
315
- properties?: Record<string, PropertiesType>;
314
+ properties?: Record<string, ObjectTypePropertiesType>;
316
315
  /** Custom error message when validation fails. */
317
316
  errorMessages?: ObjectErrorMessages;
318
317
  }
319
- export interface PropertiesType extends PropertiesTypePropertiesTypeOneOf {
318
+ export interface ObjectTypePropertiesType extends ObjectTypePropertiesTypePropertiesTypeOneOf {
320
319
  /** String type validation for property. */
321
- string?: StringType;
320
+ string?: FormFieldStringType;
322
321
  /** Number type validation for property. */
323
- number?: NumberType;
322
+ number?: FormFieldNumberType;
324
323
  /** Boolean type validation for property. */
325
- boolean?: BooleanType;
324
+ boolean?: FormFieldBooleanType;
326
325
  /** Integer type validation for property. */
327
- integer?: IntegerType;
326
+ integer?: FormFieldIntegerType;
328
327
  /** Array type validation for property. */
329
- array?: ArrayType;
328
+ array?: FormFieldArrayType;
330
329
  /** Whether the property is required. */
331
330
  required?: boolean;
332
331
  }
333
332
  /** @oneof */
334
- export interface PropertiesTypePropertiesTypeOneOf {
333
+ export interface ObjectTypePropertiesTypePropertiesTypeOneOf {
335
334
  /** String type validation for property. */
336
- string?: StringType;
335
+ string?: FormFieldStringType;
337
336
  /** Number type validation for property. */
338
- number?: NumberType;
337
+ number?: FormFieldNumberType;
339
338
  /** Boolean type validation for property. */
340
- boolean?: BooleanType;
339
+ boolean?: FormFieldBooleanType;
341
340
  /** Integer type validation for property. */
342
- integer?: IntegerType;
341
+ integer?: FormFieldIntegerType;
343
342
  /** Array type validation for property. */
344
- array?: ArrayType;
343
+ array?: FormFieldArrayType;
345
344
  }
346
345
  export interface ObjectErrorMessages {
347
346
  /**
@@ -350,30 +349,30 @@ export interface ObjectErrorMessages {
350
349
  */
351
350
  default?: string | null;
352
351
  }
353
- export interface ArrayItems extends ArrayItemsItemsOneOf {
352
+ export interface ArrayTypeArrayItems extends ArrayTypeArrayItemsItemsOneOf {
354
353
  /** String type validation for items. */
355
- string?: StringType;
354
+ string?: FormFieldStringType;
356
355
  /** Number type validation for items. */
357
- number?: NumberType;
356
+ number?: FormFieldNumberType;
358
357
  /** Boolean type validation for items. */
359
- boolean?: BooleanType;
358
+ boolean?: FormFieldBooleanType;
360
359
  /** Integer type validation for items. */
361
- integer?: IntegerType;
360
+ integer?: FormFieldIntegerType;
362
361
  /** Object type validation for items */
363
- object?: ObjectType;
362
+ object?: FormFieldObjectType;
364
363
  }
365
364
  /** @oneof */
366
- export interface ArrayItemsItemsOneOf {
365
+ export interface ArrayTypeArrayItemsItemsOneOf {
367
366
  /** String type validation for items. */
368
- string?: StringType;
367
+ string?: FormFieldStringType;
369
368
  /** Number type validation for items. */
370
- number?: NumberType;
369
+ number?: FormFieldNumberType;
371
370
  /** Boolean type validation for items. */
372
- boolean?: BooleanType;
371
+ boolean?: FormFieldBooleanType;
373
372
  /** Integer type validation for items. */
374
- integer?: IntegerType;
373
+ integer?: FormFieldIntegerType;
375
374
  /** Object type validation for items */
376
- object?: ObjectType;
375
+ object?: FormFieldObjectType;
377
376
  }
378
377
  export interface ArrayErrorMessages {
379
378
  /**
@@ -540,17 +539,17 @@ export interface NestedFormFieldOverrides {
540
539
  }
541
540
  export interface Validation extends ValidationValidationOneOf {
542
541
  /** Validation of string type. */
543
- string?: StringType;
542
+ string?: FormFieldStringType;
544
543
  /** Validation of number type. */
545
- number?: NumberType;
544
+ number?: FormFieldNumberType;
546
545
  /** Validation of integer type. */
547
- integer?: IntegerType;
546
+ integer?: FormFieldIntegerType;
548
547
  /** Validation of boolean type. */
549
- boolean?: BooleanType;
548
+ boolean?: FormFieldBooleanType;
550
549
  /** Validation of array type. */
551
- array?: ArrayType;
550
+ array?: FormFieldArrayType;
552
551
  /** Validation of object type. */
553
- object?: ObjectType;
552
+ object?: FormFieldObjectType;
554
553
  /** Predefined validation of specific format */
555
554
  predefined?: PredefinedValidation;
556
555
  /** Whether the field is required. */
@@ -559,17 +558,17 @@ export interface Validation extends ValidationValidationOneOf {
559
558
  /** @oneof */
560
559
  export interface ValidationValidationOneOf {
561
560
  /** Validation of string type. */
562
- string?: StringType;
561
+ string?: FormFieldStringType;
563
562
  /** Validation of number type. */
564
- number?: NumberType;
563
+ number?: FormFieldNumberType;
565
564
  /** Validation of integer type. */
566
- integer?: IntegerType;
565
+ integer?: FormFieldIntegerType;
567
566
  /** Validation of boolean type. */
568
- boolean?: BooleanType;
567
+ boolean?: FormFieldBooleanType;
569
568
  /** Validation of array type. */
570
- array?: ArrayType;
569
+ array?: FormFieldArrayType;
571
570
  /** Validation of object type. */
572
- object?: ObjectType;
571
+ object?: FormFieldObjectType;
573
572
  /** Predefined validation of specific format */
574
573
  predefined?: PredefinedValidation;
575
574
  }
@@ -588,7 +587,7 @@ export interface NestedFormOverrides {
588
587
  }
589
588
  export interface FormFieldV2 extends FormFieldV2FieldTypeOptionsOneOf {
590
589
  /** Field accept input of data */
591
- inputOptions?: InputField;
590
+ inputOptions?: FormFieldV2InputField;
592
591
  /** Field for displaying information such as header or text paragraph */
593
592
  displayOptions?: DisplayField;
594
593
  /**
@@ -606,26 +605,26 @@ export interface FormFieldV2 extends FormFieldV2FieldTypeOptionsOneOf {
606
605
  * Type of the field
607
606
  * @readonly
608
607
  */
609
- fieldType?: FieldType;
608
+ fieldType?: FormFieldV2FieldType;
610
609
  }
611
610
  /** @oneof */
612
611
  export interface FormFieldV2FieldTypeOptionsOneOf {
613
612
  /** Field accept input of data */
614
- inputOptions?: InputField;
613
+ inputOptions?: FormFieldV2InputField;
615
614
  /** Field for displaying information such as header or text paragraph */
616
615
  displayOptions?: DisplayField;
617
616
  }
618
617
  export interface InputFieldStringType extends InputFieldStringTypeFormatOptionsOneOf {
619
618
  /** DATE format options */
620
- dateOptions?: StringTypeDateTimeConstraints;
619
+ dateOptions?: InputFieldStringTypeDateTimeConstraints;
621
620
  /** DATE_TIME format options */
622
- dateTimeOptions?: StringTypeDateTimeConstraints;
621
+ dateTimeOptions?: InputFieldStringTypeDateTimeConstraints;
623
622
  /** TIME format options */
624
- timeOptions?: StringTypeDateTimeConstraints;
623
+ timeOptions?: InputFieldStringTypeDateTimeConstraints;
625
624
  /** DATE_OPTIONAL_TIME format options */
626
- dateOptionalTimeOptions?: StringTypeDateTimeConstraints;
625
+ dateOptionalTimeOptions?: InputFieldStringTypeDateTimeConstraints;
627
626
  /** PHONE format options */
628
- phoneOptions?: StringTypePhoneConstraints;
627
+ phoneOptions?: InputFieldStringTypePhoneConstraints;
629
628
  /**
630
629
  * Minimum length.
631
630
  * @max 20000
@@ -642,7 +641,7 @@ export interface InputFieldStringType extends InputFieldStringTypeFormatOptionsO
642
641
  */
643
642
  pattern?: string | null;
644
643
  /** Format of a string. */
645
- format?: StringTypeFormatEnumFormat;
644
+ format?: InputFieldStringTypeFormatEnumFormat;
646
645
  /** Custom error messages when validation fails. */
647
646
  errorMessages?: InputFieldStringErrorMessages;
648
647
  /**
@@ -655,17 +654,17 @@ export interface InputFieldStringType extends InputFieldStringTypeFormatOptionsO
655
654
  /** @oneof */
656
655
  export interface InputFieldStringTypeFormatOptionsOneOf {
657
656
  /** DATE format options */
658
- dateOptions?: StringTypeDateTimeConstraints;
657
+ dateOptions?: InputFieldStringTypeDateTimeConstraints;
659
658
  /** DATE_TIME format options */
660
- dateTimeOptions?: StringTypeDateTimeConstraints;
659
+ dateTimeOptions?: InputFieldStringTypeDateTimeConstraints;
661
660
  /** TIME format options */
662
- timeOptions?: StringTypeDateTimeConstraints;
661
+ timeOptions?: InputFieldStringTypeDateTimeConstraints;
663
662
  /** DATE_OPTIONAL_TIME format options */
664
- dateOptionalTimeOptions?: StringTypeDateTimeConstraints;
663
+ dateOptionalTimeOptions?: InputFieldStringTypeDateTimeConstraints;
665
664
  /** PHONE format options */
666
- phoneOptions?: StringTypePhoneConstraints;
665
+ phoneOptions?: InputFieldStringTypePhoneConstraints;
667
666
  }
668
- export declare enum StringTypeFormatEnumFormat {
667
+ export declare enum InputFieldStringTypeFormatEnumFormat {
669
668
  UNKNOWN_FORMAT = "UNKNOWN_FORMAT",
670
669
  DATE = "DATE",
671
670
  TIME = "TIME",
@@ -688,7 +687,7 @@ export interface InputFieldStringErrorMessages {
688
687
  */
689
688
  default?: string | null;
690
689
  }
691
- export interface StringTypeDateTimeConstraints {
690
+ export interface InputFieldStringTypeDateTimeConstraints {
692
691
  /**
693
692
  * Support static constrains defined as ISO date/time format, as well as
694
693
  * dynamic calculations can be performed using special keywords such as "$now" to represent the current date and time.
@@ -706,7 +705,7 @@ export interface StringTypeDateTimeConstraints {
706
705
  */
707
706
  maximum?: string | null;
708
707
  }
709
- export interface StringTypePhoneConstraints {
708
+ export interface InputFieldStringTypePhoneConstraints {
710
709
  /**
711
710
  * Country codes for phone number that are allowed
712
711
  * @maxSize 250
@@ -714,7 +713,7 @@ export interface StringTypePhoneConstraints {
714
713
  */
715
714
  allowedCountryCodes?: string[];
716
715
  }
717
- export declare enum StringComponentType {
716
+ export declare enum InputFieldStringComponentType {
718
717
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
719
718
  TEXT_INPUT = "TEXT_INPUT",
720
719
  RADIO_GROUP = "RADIO_GROUP",
@@ -2360,7 +2359,7 @@ export interface InputFieldNumberErrorMessages {
2360
2359
  */
2361
2360
  default?: string | null;
2362
2361
  }
2363
- export declare enum NumberComponentType {
2362
+ export declare enum InputFieldNumberComponentType {
2364
2363
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
2365
2364
  NUMBER_INPUT = "NUMBER_INPUT",
2366
2365
  RATING_INPUT = "RATING_INPUT"
@@ -2422,7 +2421,7 @@ export interface InputFieldBooleanErrorMessages {
2422
2421
  */
2423
2422
  default?: string | null;
2424
2423
  }
2425
- export declare enum BooleanComponentType {
2424
+ export declare enum InputFieldBooleanComponentType {
2426
2425
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
2427
2426
  CHECKBOX = "CHECKBOX"
2428
2427
  }
@@ -2447,11 +2446,11 @@ export interface InputFieldArrayType {
2447
2446
  */
2448
2447
  minItems?: number | null;
2449
2448
  /** Type of items allowed in array. */
2450
- items?: ArrayTypeArrayItems;
2449
+ items?: InputFieldArrayTypeArrayItems;
2451
2450
  /** Custom error message when validation fails. */
2452
2451
  errorMessages?: InputFieldArrayErrorMessages;
2453
2452
  }
2454
- export declare enum ItemType {
2453
+ export declare enum ArrayItemsItemType {
2455
2454
  UNKNOWN_ITEM_TYPE = "UNKNOWN_ITEM_TYPE",
2456
2455
  STRING = "STRING",
2457
2456
  NUMBER = "NUMBER",
@@ -2476,11 +2475,11 @@ export interface InputFieldIntegerType {
2476
2475
  }
2477
2476
  export interface InputFieldObjectType {
2478
2477
  /** Description of object properties. */
2479
- properties?: Record<string, ObjectTypePropertiesType>;
2478
+ properties?: Record<string, InputFieldObjectTypePropertiesType>;
2480
2479
  /** Custom error message when validation fails. */
2481
2480
  errorMessages?: InputFieldObjectErrorMessages;
2482
2481
  }
2483
- export declare enum PropertiesTypeEnum {
2482
+ export declare enum PropertiesTypePropertiesTypeEnum {
2484
2483
  UNKNOWN_PROPERTIES_TYPE = "UNKNOWN_PROPERTIES_TYPE",
2485
2484
  STRING = "STRING",
2486
2485
  NUMBER = "NUMBER",
@@ -2488,7 +2487,7 @@ export declare enum PropertiesTypeEnum {
2488
2487
  INTEGER = "INTEGER",
2489
2488
  ARRAY = "ARRAY"
2490
2489
  }
2491
- export interface ObjectTypePropertiesType extends ObjectTypePropertiesTypePropertiesTypeOptionsOneOf {
2490
+ export interface InputFieldObjectTypePropertiesType extends InputFieldObjectTypePropertiesTypePropertiesTypeOptionsOneOf {
2492
2491
  /** String type validation for property. */
2493
2492
  stringOptions?: InputFieldStringType;
2494
2493
  /** Number type validation for property. */
@@ -2503,12 +2502,12 @@ export interface ObjectTypePropertiesType extends ObjectTypePropertiesTypeProper
2503
2502
  * Type of object properties
2504
2503
  * @readonly
2505
2504
  */
2506
- propertiesType?: PropertiesTypeEnum;
2505
+ propertiesType?: PropertiesTypePropertiesTypeEnum;
2507
2506
  /** Whether the property is required. */
2508
2507
  required?: boolean;
2509
2508
  }
2510
2509
  /** @oneof */
2511
- export interface ObjectTypePropertiesTypePropertiesTypeOptionsOneOf {
2510
+ export interface InputFieldObjectTypePropertiesTypePropertiesTypeOptionsOneOf {
2512
2511
  /** String type validation for property. */
2513
2512
  stringOptions?: InputFieldStringType;
2514
2513
  /** Number type validation for property. */
@@ -2527,7 +2526,7 @@ export interface InputFieldObjectErrorMessages {
2527
2526
  */
2528
2527
  default?: string | null;
2529
2528
  }
2530
- export interface ArrayTypeArrayItems extends ArrayTypeArrayItemsItemTypeOptionsOneOf {
2529
+ export interface InputFieldArrayTypeArrayItems extends InputFieldArrayTypeArrayItemsItemTypeOptionsOneOf {
2531
2530
  /** String type validation for items. */
2532
2531
  stringOptions?: InputFieldStringType;
2533
2532
  /** Number type validation for items. */
@@ -2542,10 +2541,10 @@ export interface ArrayTypeArrayItems extends ArrayTypeArrayItemsItemTypeOptionsO
2542
2541
  * Type of array items
2543
2542
  * @readonly
2544
2543
  */
2545
- itemType?: ItemType;
2544
+ itemType?: ArrayItemsItemType;
2546
2545
  }
2547
2546
  /** @oneof */
2548
- export interface ArrayTypeArrayItemsItemTypeOptionsOneOf {
2547
+ export interface InputFieldArrayTypeArrayItemsItemTypeOptionsOneOf {
2549
2548
  /** String type validation for items. */
2550
2549
  stringOptions?: InputFieldStringType;
2551
2550
  /** Number type validation for items. */
@@ -2564,7 +2563,7 @@ export interface InputFieldArrayErrorMessages {
2564
2563
  */
2565
2564
  default?: string | null;
2566
2565
  }
2567
- export declare enum ComponentType {
2566
+ export declare enum ArrayComponentType {
2568
2567
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
2569
2568
  CHECKBOX_GROUP = "CHECKBOX_GROUP",
2570
2569
  TAGS = "TAGS"
@@ -2725,7 +2724,7 @@ export interface CommonCustomOption {
2725
2724
  */
2726
2725
  placeholder?: string | null;
2727
2726
  }
2728
- export declare enum WixFileComponentType {
2727
+ export declare enum InputFieldWixFileComponentType {
2729
2728
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
2730
2729
  FILE_UPLOAD = "FILE_UPLOAD",
2731
2730
  SIGNATURE = "SIGNATURE"
@@ -2795,7 +2794,7 @@ export interface Signature {
2795
2794
  /** Is image upload enabled */
2796
2795
  imageUploadEnabled?: boolean;
2797
2796
  }
2798
- export declare enum PaymentComponentType {
2797
+ export declare enum InputFieldPaymentComponentType {
2799
2798
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
2800
2799
  CHECKBOX_GROUP = "CHECKBOX_GROUP",
2801
2800
  DONATION_INPUT = "DONATION_INPUT",
@@ -3023,7 +3022,7 @@ export interface PhoneOptions {
3023
3022
  */
3024
3023
  description?: string | null;
3025
3024
  }
3026
- export declare enum MultilineAddressComponentType {
3025
+ export declare enum InputFieldMultilineAddressComponentType {
3027
3026
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
3028
3027
  MULTILINE_ADDRESS = "MULTILINE_ADDRESS"
3029
3028
  }
@@ -3077,7 +3076,7 @@ export interface FieldsSettings {
3077
3076
  /** Address line 2. */
3078
3077
  addressLine2?: AddressLine2;
3079
3078
  }
3080
- export declare enum InputType {
3079
+ export declare enum InputFieldInputType {
3081
3080
  UNKNOWN_INPUT_TYPE = "UNKNOWN_INPUT_TYPE",
3082
3081
  STRING = "STRING",
3083
3082
  NUMBER = "NUMBER",
@@ -3089,42 +3088,42 @@ export declare enum InputType {
3089
3088
  MULTILINE_ADDRESS = "MULTILINE_ADDRESS",
3090
3089
  SCHEDULING = "SCHEDULING"
3091
3090
  }
3092
- export interface FormFieldContactInfo extends FormFieldContactInfoAdditionalInfoOneOf {
3091
+ export interface V4FormFieldContactInfo extends V4FormFieldContactInfoAdditionalInfoOneOf {
3093
3092
  /** Email info. */
3094
- emailInfo?: EmailInfo;
3093
+ emailInfo?: FormFieldContactInfoEmailInfo;
3095
3094
  /** Phone info. */
3096
- phoneInfo?: PhoneInfo;
3095
+ phoneInfo?: FormFieldContactInfoPhoneInfo;
3097
3096
  /** Address info. */
3098
- addressInfo?: AddressInfo;
3097
+ addressInfo?: FormFieldContactInfoAddressInfo;
3099
3098
  /** Custom field info. */
3100
- customFieldInfo?: CustomFieldInfo;
3099
+ customFieldInfo?: FormFieldContactInfoCustomFieldInfo;
3101
3100
  /** Subscription info */
3102
- subscriptionInfo?: SubscriptionInfo;
3101
+ subscriptionInfo?: FormFieldContactInfoSubscriptionInfo;
3103
3102
  /** Field mapped to contacts. */
3104
- contactField?: ContactField;
3103
+ contactField?: FormFieldContactInfoContactField;
3105
3104
  }
3106
3105
  /** @oneof */
3107
- export interface FormFieldContactInfoAdditionalInfoOneOf {
3106
+ export interface V4FormFieldContactInfoAdditionalInfoOneOf {
3108
3107
  /** Email info. */
3109
- emailInfo?: EmailInfo;
3108
+ emailInfo?: FormFieldContactInfoEmailInfo;
3110
3109
  /** Phone info. */
3111
- phoneInfo?: PhoneInfo;
3110
+ phoneInfo?: FormFieldContactInfoPhoneInfo;
3112
3111
  /** Address info. */
3113
- addressInfo?: AddressInfo;
3112
+ addressInfo?: FormFieldContactInfoAddressInfo;
3114
3113
  /** Custom field info. */
3115
- customFieldInfo?: CustomFieldInfo;
3114
+ customFieldInfo?: FormFieldContactInfoCustomFieldInfo;
3116
3115
  /** Subscription info */
3117
- subscriptionInfo?: SubscriptionInfo;
3116
+ subscriptionInfo?: FormFieldContactInfoSubscriptionInfo;
3118
3117
  }
3119
- export declare enum EmailInfoTag {
3118
+ export declare enum FormFieldContactInfoEmailInfoTag {
3120
3119
  UNTAGGED = "UNTAGGED",
3121
3120
  MAIN = "MAIN"
3122
3121
  }
3123
- export declare enum PhoneInfoTag {
3122
+ export declare enum FormFieldContactInfoPhoneInfoTag {
3124
3123
  UNTAGGED = "UNTAGGED",
3125
3124
  MAIN = "MAIN"
3126
3125
  }
3127
- export declare enum Tag {
3126
+ export declare enum AddressInfoTag {
3128
3127
  UNTAGGED = "UNTAGGED",
3129
3128
  HOME = "HOME"
3130
3129
  }
@@ -3133,7 +3132,7 @@ export declare enum OptInLevel {
3133
3132
  SINGLE_CONFIRMATION = "SINGLE_CONFIRMATION",
3134
3133
  DOUBLE_CONFIRMATION = "DOUBLE_CONFIRMATION"
3135
3134
  }
3136
- export declare enum ContactField {
3135
+ export declare enum FormFieldContactInfoContactField {
3137
3136
  UNDEFINED = "UNDEFINED",
3138
3137
  FIRST_NAME = "FIRST_NAME",
3139
3138
  LAST_NAME = "LAST_NAME",
@@ -3147,19 +3146,19 @@ export declare enum ContactField {
3147
3146
  SUBSCRIPTION = "SUBSCRIPTION",
3148
3147
  VAT_ID = "VAT_ID"
3149
3148
  }
3150
- export interface EmailInfo {
3149
+ export interface FormFieldContactInfoEmailInfo {
3151
3150
  /** Email tag. */
3152
- tag?: EmailInfoTag;
3151
+ tag?: FormFieldContactInfoEmailInfoTag;
3153
3152
  }
3154
- export interface PhoneInfo {
3153
+ export interface FormFieldContactInfoPhoneInfo {
3155
3154
  /** Phone tag. */
3156
- tag?: PhoneInfoTag;
3155
+ tag?: FormFieldContactInfoPhoneInfoTag;
3157
3156
  }
3158
- export interface AddressInfo {
3157
+ export interface FormFieldContactInfoAddressInfo {
3159
3158
  /** Address tag. */
3160
- tag?: Tag;
3159
+ tag?: AddressInfoTag;
3161
3160
  }
3162
- export interface CustomFieldInfo {
3161
+ export interface FormFieldContactInfoCustomFieldInfo {
3163
3162
  /**
3164
3163
  * Custom field key.
3165
3164
  * @minLength 1
@@ -3167,14 +3166,14 @@ export interface CustomFieldInfo {
3167
3166
  */
3168
3167
  key?: string;
3169
3168
  }
3170
- export interface SubscriptionInfo {
3169
+ export interface FormFieldContactInfoSubscriptionInfo {
3171
3170
  /**
3172
3171
  * Subscription consent opt in level, either single or double confirmation.
3173
3172
  * Default: SINGLE_CONFIRMATION
3174
3173
  */
3175
3174
  optInLevel?: OptInLevel;
3176
3175
  }
3177
- export interface _String extends _StringComponentTypeOptionsOneOf {
3176
+ export interface InputField_String extends InputField_StringComponentTypeOptionsOneOf {
3178
3177
  /** Text input field */
3179
3178
  textInputOptions?: TextInput;
3180
3179
  /** Selection field as radio group */
@@ -3197,10 +3196,10 @@ export interface _String extends _StringComponentTypeOptionsOneOf {
3197
3196
  * Component type of the string input field
3198
3197
  * @readonly
3199
3198
  */
3200
- componentType?: StringComponentType;
3199
+ componentType?: InputFieldStringComponentType;
3201
3200
  }
3202
3201
  /** @oneof */
3203
- export interface _StringComponentTypeOptionsOneOf {
3202
+ export interface InputField_StringComponentTypeOptionsOneOf {
3204
3203
  /** Text input field */
3205
3204
  textInputOptions?: TextInput;
3206
3205
  /** Selection field as radio group */
@@ -3218,7 +3217,7 @@ export interface _StringComponentTypeOptionsOneOf {
3218
3217
  /** Calendar type component for selecting date */
3219
3218
  datePickerOptions?: DatePicker;
3220
3219
  }
3221
- export interface _Number extends _NumberComponentTypeOptionsOneOf {
3220
+ export interface InputField_Number extends InputField_NumberComponentTypeOptionsOneOf {
3222
3221
  /** Number value input field */
3223
3222
  numberInputOptions?: NumberInput;
3224
3223
  /** Rating value input field */
@@ -3229,16 +3228,16 @@ export interface _Number extends _NumberComponentTypeOptionsOneOf {
3229
3228
  * Component type of the number input field
3230
3229
  * @readonly
3231
3230
  */
3232
- componentType?: NumberComponentType;
3231
+ componentType?: InputFieldNumberComponentType;
3233
3232
  }
3234
3233
  /** @oneof */
3235
- export interface _NumberComponentTypeOptionsOneOf {
3234
+ export interface InputField_NumberComponentTypeOptionsOneOf {
3236
3235
  /** Number value input field */
3237
3236
  numberInputOptions?: NumberInput;
3238
3237
  /** Rating value input field */
3239
3238
  ratingInputOptions?: RatingInput;
3240
3239
  }
3241
- export interface _Boolean extends _BooleanComponentTypeOptionsOneOf {
3240
+ export interface InputField_Boolean extends InputField_BooleanComponentTypeOptionsOneOf {
3242
3241
  /** Checkbox input field */
3243
3242
  checkboxOptions?: Checkbox;
3244
3243
  /** Validation of field output value. */
@@ -3247,14 +3246,14 @@ export interface _Boolean extends _BooleanComponentTypeOptionsOneOf {
3247
3246
  * Component type of the boolean input field
3248
3247
  * @readonly
3249
3248
  */
3250
- componentType?: BooleanComponentType;
3249
+ componentType?: InputFieldBooleanComponentType;
3251
3250
  }
3252
3251
  /** @oneof */
3253
- export interface _BooleanComponentTypeOptionsOneOf {
3252
+ export interface InputField_BooleanComponentTypeOptionsOneOf {
3254
3253
  /** Checkbox input field */
3255
3254
  checkboxOptions?: Checkbox;
3256
3255
  }
3257
- export interface _Array extends _ArrayComponentTypeOptionsOneOf {
3256
+ export interface InputField_Array extends InputField_ArrayComponentTypeOptionsOneOf {
3258
3257
  /** Checkbox group input field */
3259
3258
  checkboxGroupOptions?: CheckboxGroup;
3260
3259
  /** Tags input field */
@@ -3265,25 +3264,25 @@ export interface _Array extends _ArrayComponentTypeOptionsOneOf {
3265
3264
  * Component type of the array input field
3266
3265
  * @readonly
3267
3266
  */
3268
- componentType?: ComponentType;
3267
+ componentType?: ArrayComponentType;
3269
3268
  }
3270
3269
  /** @oneof */
3271
- export interface _ArrayComponentTypeOptionsOneOf {
3270
+ export interface InputField_ArrayComponentTypeOptionsOneOf {
3272
3271
  /** Checkbox group input field */
3273
3272
  checkboxGroupOptions?: CheckboxGroup;
3274
3273
  /** Tags input field */
3275
3274
  tagsOptions?: Tags;
3276
3275
  }
3277
- export interface _Object extends _ObjectValidationOneOf {
3276
+ export interface InputField_Object extends InputField_ObjectValidationOneOf {
3278
3277
  /** Validation of object type. */
3279
3278
  object?: InputFieldObjectType;
3280
3279
  }
3281
3280
  /** @oneof */
3282
- export interface _ObjectValidationOneOf {
3281
+ export interface InputField_ObjectValidationOneOf {
3283
3282
  /** Validation of object type. */
3284
3283
  object?: InputFieldObjectType;
3285
3284
  }
3286
- export interface WixFile extends WixFileComponentTypeOptionsOneOf {
3285
+ export interface InputFieldWixFile extends InputFieldWixFileComponentTypeOptionsOneOf {
3287
3286
  /** File upload input field */
3288
3287
  fileUploadOptions?: FileUpload;
3289
3288
  /** Signature input field */
@@ -3292,16 +3291,16 @@ export interface WixFile extends WixFileComponentTypeOptionsOneOf {
3292
3291
  * Component type of the array input field
3293
3292
  * @readonly
3294
3293
  */
3295
- componentType?: WixFileComponentType;
3294
+ componentType?: InputFieldWixFileComponentType;
3296
3295
  }
3297
3296
  /** @oneof */
3298
- export interface WixFileComponentTypeOptionsOneOf {
3297
+ export interface InputFieldWixFileComponentTypeOptionsOneOf {
3299
3298
  /** File upload input field */
3300
3299
  fileUploadOptions?: FileUpload;
3301
3300
  /** Signature input field */
3302
3301
  signatureOptions?: Signature;
3303
3302
  }
3304
- export interface Payment extends PaymentComponentTypeOptionsOneOf {
3303
+ export interface InputFieldPayment extends InputFieldPaymentComponentTypeOptionsOneOf {
3305
3304
  /** Checkbox group input field. */
3306
3305
  checkboxGroupOptions?: ProductCheckboxGroup;
3307
3306
  /** Donation input field. */
@@ -3314,12 +3313,12 @@ export interface Payment extends PaymentComponentTypeOptionsOneOf {
3314
3313
  * Component type of the payment input field.
3315
3314
  * @readonly
3316
3315
  */
3317
- componentType?: PaymentComponentType;
3316
+ componentType?: InputFieldPaymentComponentType;
3318
3317
  /** Validation of payment type. */
3319
3318
  validation?: PaymentType;
3320
3319
  }
3321
3320
  /** @oneof */
3322
- export interface PaymentComponentTypeOptionsOneOf {
3321
+ export interface InputFieldPaymentComponentTypeOptionsOneOf {
3323
3322
  /** Checkbox group input field. */
3324
3323
  checkboxGroupOptions?: ProductCheckboxGroup;
3325
3324
  /** Donation input field. */
@@ -3329,19 +3328,19 @@ export interface PaymentComponentTypeOptionsOneOf {
3329
3328
  /** Fixed payment field. */
3330
3329
  fixedPaymentOptions?: FixedPayment;
3331
3330
  }
3332
- export interface InputFieldMultilineAddress extends InputFieldMultilineAddressComponentTypeOptionsOneOf {
3331
+ export interface FormFieldV2InputFieldMultilineAddress extends FormFieldV2InputFieldMultilineAddressComponentTypeOptionsOneOf {
3333
3332
  /** Multiline address input field. */
3334
3333
  multilineAddressOptions?: MultilineAddress;
3335
3334
  /**
3336
3335
  * Component type of the multiline address field.
3337
3336
  * @readonly
3338
3337
  */
3339
- componentType?: MultilineAddressComponentType;
3338
+ componentType?: InputFieldMultilineAddressComponentType;
3340
3339
  /** Validation of multiline address field output value. */
3341
3340
  validation?: MultilineAddressValidation;
3342
3341
  }
3343
3342
  /** @oneof */
3344
- export interface InputFieldMultilineAddressComponentTypeOptionsOneOf {
3343
+ export interface FormFieldV2InputFieldMultilineAddressComponentTypeOptionsOneOf {
3345
3344
  /** Multiline address input field. */
3346
3345
  multilineAddressOptions?: MultilineAddress;
3347
3346
  }
@@ -3359,28 +3358,28 @@ export interface SchedulingComponentTypeOptionsOneOf {
3359
3358
  /** Appointment input field */
3360
3359
  appointmentOptions?: Appointment;
3361
3360
  }
3362
- export declare enum FieldType {
3361
+ export declare enum FormFieldV2FieldType {
3363
3362
  UNKNOWN_FIELD_TYPE = "UNKNOWN_FIELD_TYPE",
3364
3363
  INPUT = "INPUT",
3365
3364
  DISPLAY = "DISPLAY"
3366
3365
  }
3367
- export interface InputField extends InputFieldInputTypeOptionsOneOf {
3366
+ export interface FormFieldV2InputField extends FormFieldV2InputFieldInputTypeOptionsOneOf {
3368
3367
  /** Input return string as value */
3369
- stringOptions?: _String;
3368
+ stringOptions?: InputField_String;
3370
3369
  /** Input return number as value */
3371
- numberOptions?: _Number;
3370
+ numberOptions?: InputField_Number;
3372
3371
  /** Input return boolean as value */
3373
- booleanOptions?: _Boolean;
3372
+ booleanOptions?: InputField_Boolean;
3374
3373
  /** Input return array as value */
3375
- arrayOptions?: _Array;
3374
+ arrayOptions?: InputField_Array;
3376
3375
  /** Input return object as value */
3377
- objectOptions?: _Object;
3376
+ objectOptions?: InputField_Object;
3378
3377
  /** Input return "Wix file" as value */
3379
- wixFileOptions?: WixFile;
3378
+ wixFileOptions?: InputFieldWixFile;
3380
3379
  /** Input returns selected products as value. */
3381
- paymentOptions?: Payment;
3380
+ paymentOptions?: InputFieldPayment;
3382
3381
  /** Input returns multiline address as value. */
3383
- multilineAddressOptions?: InputFieldMultilineAddress;
3382
+ multilineAddressOptions?: FormFieldV2InputFieldMultilineAddress;
3384
3383
  /** Input returns scheduling as value. */
3385
3384
  schedulingOptions?: Scheduling;
3386
3385
  /**
@@ -3404,9 +3403,9 @@ export interface InputField extends InputFieldInputTypeOptionsOneOf {
3404
3403
  * Type of the input field
3405
3404
  * @readonly
3406
3405
  */
3407
- inputType?: InputType;
3406
+ inputType?: InputFieldInputType;
3408
3407
  /** Mapping to contacts, telling to what contact property field input value should be saved. */
3409
- contactMapping?: FormFieldContactInfo;
3408
+ contactMapping?: V4FormFieldContactInfo;
3410
3409
  /**
3411
3410
  * Whether the field is read only.
3412
3411
  * Default: false
@@ -3414,52 +3413,52 @@ export interface InputField extends InputFieldInputTypeOptionsOneOf {
3414
3413
  readOnly?: boolean;
3415
3414
  }
3416
3415
  /** @oneof */
3417
- export interface InputFieldInputTypeOptionsOneOf {
3416
+ export interface FormFieldV2InputFieldInputTypeOptionsOneOf {
3418
3417
  /** Input return string as value */
3419
- stringOptions?: _String;
3418
+ stringOptions?: InputField_String;
3420
3419
  /** Input return number as value */
3421
- numberOptions?: _Number;
3420
+ numberOptions?: InputField_Number;
3422
3421
  /** Input return boolean as value */
3423
- booleanOptions?: _Boolean;
3422
+ booleanOptions?: InputField_Boolean;
3424
3423
  /** Input return array as value */
3425
- arrayOptions?: _Array;
3424
+ arrayOptions?: InputField_Array;
3426
3425
  /** Input return object as value */
3427
- objectOptions?: _Object;
3426
+ objectOptions?: InputField_Object;
3428
3427
  /** Input return "Wix file" as value */
3429
- wixFileOptions?: WixFile;
3428
+ wixFileOptions?: InputFieldWixFile;
3430
3429
  /** Input returns selected products as value. */
3431
- paymentOptions?: Payment;
3430
+ paymentOptions?: InputFieldPayment;
3432
3431
  /** Input returns multiline address as value. */
3433
- multilineAddressOptions?: InputFieldMultilineAddress;
3432
+ multilineAddressOptions?: FormFieldV2InputFieldMultilineAddress;
3434
3433
  /** Input returns scheduling as value. */
3435
3434
  schedulingOptions?: Scheduling;
3436
3435
  }
3437
3436
  /** Copy of the entity existing in form template project, needed to hide translations. */
3438
3437
  export interface DisplayField extends DisplayFieldDisplayFieldTypeOptionsOneOf {
3439
3438
  /** Component displaying rich content */
3440
- richContentOptions?: RichContentOptions;
3439
+ richContentOptions?: V4RichContentOptions;
3441
3440
  /** Page navigation component resolving as navigation or submit buttons */
3442
- pageNavigationOptions?: PageNavigationOptions;
3441
+ pageNavigationOptions?: V4PageNavigationOptions;
3443
3442
  /** Type of the display field */
3444
3443
  displayFieldType?: DisplayFieldType;
3445
3444
  }
3446
3445
  /** @oneof */
3447
3446
  export interface DisplayFieldDisplayFieldTypeOptionsOneOf {
3448
3447
  /** Component displaying rich content */
3449
- richContentOptions?: RichContentOptions;
3448
+ richContentOptions?: V4RichContentOptions;
3450
3449
  /** Page navigation component resolving as navigation or submit buttons */
3451
- pageNavigationOptions?: PageNavigationOptions;
3450
+ pageNavigationOptions?: V4PageNavigationOptions;
3452
3451
  }
3453
3452
  export declare enum DisplayFieldType {
3454
3453
  UNKNOWN_FIELD_TYPE = "UNKNOWN_FIELD_TYPE",
3455
3454
  RICH_CONTENT = "RICH_CONTENT",
3456
3455
  PAGE_NAVIGATION = "PAGE_NAVIGATION"
3457
3456
  }
3458
- export interface RichContentOptions {
3457
+ export interface V4RichContentOptions {
3459
3458
  /** Content of the header */
3460
3459
  richContent?: RichContent;
3461
3460
  }
3462
- export interface PageNavigationOptions {
3461
+ export interface V4PageNavigationOptions {
3463
3462
  /**
3464
3463
  * When button is not on last page it behaves as switch between pages page, text of label to go to next page.
3465
3464
  * @maxLength 65
@@ -3476,88 +3475,757 @@ export interface PageNavigationOptions {
3476
3475
  */
3477
3476
  submitText?: string | null;
3478
3477
  }
3479
- export interface Step {
3478
+ export interface Field extends FieldFieldTypeOptionsOneOf {
3479
+ /** Field accept input of data */
3480
+ inputOptions?: InputField;
3481
+ /** Field for displaying information such as header or text paragraph */
3482
+ displayOptions?: FieldsDisplayField;
3480
3483
  /**
3481
- * Step ID.
3484
+ * Field id.
3482
3485
  * @format GUID
3483
3486
  * @immutable
3484
3487
  */
3485
3488
  id?: string;
3486
3489
  /**
3487
- * Name of the step.
3488
- * @maxLength 200
3490
+ * Whether the field is hidden.
3491
+ * Default: false
3489
3492
  */
3490
- name?: string | null;
3491
- /** Is step hidden */
3492
3493
  hidden?: boolean;
3493
- /** Form step properties */
3494
- layout?: FormLayout;
3495
- }
3496
- export interface FormLayout {
3497
- /** Layout for large break point. */
3498
- large?: BreakPoint;
3499
- /** Layout for medium break point. */
3500
- medium?: BreakPoint;
3501
- /** Layout for small break point. */
3502
- small?: BreakPoint;
3503
- }
3504
- export interface BreakPoint {
3505
3494
  /**
3506
- * Description of layouts for items.
3507
- * @maxSize 500
3495
+ * Custom identification of field, can be used to specify exceptional behaviour of client for specific field
3496
+ * @maxLength 50
3508
3497
  */
3509
- items?: ItemLayout[];
3510
- /** Amount of columns of layout grid. */
3511
- columns?: number | null;
3512
- /** Row height of layout grid. */
3513
- rowHeight?: number | null;
3514
- /** Description of elements margins. */
3515
- margin?: Margin;
3516
- /** Description of elements paddings. */
3517
- padding?: Margin;
3498
+ identifier?: string | null;
3518
3499
  /**
3519
- * Sections of the layout, which allow manage fields
3520
- * @maxSize 100
3500
+ * Type of the field
3501
+ * @readonly
3521
3502
  */
3522
- sections?: Section[];
3503
+ fieldType?: FieldType;
3523
3504
  }
3524
- export interface ItemLayout extends ItemLayoutItemOneOf {
3505
+ /** @oneof */
3506
+ export interface FieldFieldTypeOptionsOneOf {
3507
+ /** Field accept input of data */
3508
+ inputOptions?: InputField;
3509
+ /** Field for displaying information such as header or text paragraph */
3510
+ displayOptions?: FieldsDisplayField;
3511
+ }
3512
+ export declare enum FieldType {
3513
+ UNKNOWN_FIELD_TYPE = "UNKNOWN_FIELD_TYPE",
3514
+ INPUT = "INPUT",
3515
+ DISPLAY = "DISPLAY"
3516
+ }
3517
+ export interface InputField extends InputFieldInputTypeOptionsOneOf {
3518
+ /** Input return string as value */
3519
+ stringOptions?: _String;
3520
+ /** Input return number as value */
3521
+ numberOptions?: _Number;
3522
+ /** Input return boolean as value */
3523
+ booleanOptions?: _Boolean;
3524
+ /** Input return array as value */
3525
+ arrayOptions?: _Array;
3526
+ /** Input return object as value */
3527
+ objectOptions?: _Object;
3528
+ /** Input return "Wix file" as value */
3529
+ wixFileOptions?: WixFile;
3530
+ /** Input returns selected products as value. */
3531
+ paymentOptions?: Payment;
3532
+ /** Input returns multiline address as value. */
3533
+ multilineAddressOptions?: InputFieldMultilineAddress;
3525
3534
  /**
3526
- * Form field reference id.
3527
- * @format GUID
3535
+ * Definition of a target where the value of field belongs.
3536
+ * @minLength 1
3537
+ * @maxLength 200
3538
+ * @immutable
3528
3539
  */
3529
- fieldId?: string;
3530
- /** Group info, defining that this item is a group of multiple fields */
3531
- group?: Group;
3532
- /** Horizontal coordinate in the grid. */
3533
- row?: number | null;
3534
- /** Vertical coordinate in the grid. */
3535
- column?: number | null;
3536
- /** Height. */
3537
- width?: number | null;
3538
- /** Width. */
3539
- height?: number | null;
3540
- }
3541
- /** @oneof */
3542
- export interface ItemLayoutItemOneOf {
3540
+ target?: string;
3543
3541
  /**
3544
- * Form field reference id.
3545
- * @format GUID
3542
+ * Mark the field as containing personal information. This will encrypt user data when storing it.
3543
+ * Default: false
3546
3544
  */
3547
- fieldId?: string;
3548
- /** Group info, defining that this item is a group of multiple fields */
3549
- group?: Group;
3550
- }
3551
- export interface Group {
3545
+ pii?: boolean;
3552
3546
  /**
3553
- * Field group reference id.
3554
- * @format GUID
3547
+ * Whether the field is required.
3548
+ * Default: false
3555
3549
  */
3556
- groupId?: string;
3550
+ required?: boolean;
3557
3551
  /**
3558
- * Description of layouts for items.
3559
- * @minSize 1
3560
- * @maxSize 500
3552
+ * Type of the input field
3553
+ * @readonly
3554
+ */
3555
+ inputType?: InputType;
3556
+ /** Mapping to contacts, telling to what contact property field input value should be saved. */
3557
+ contactMapping?: FormFieldContactInfo;
3558
+ /**
3559
+ * Whether the field is read only.
3560
+ * Default: false
3561
+ */
3562
+ readOnly?: boolean;
3563
+ }
3564
+ /** @oneof */
3565
+ export interface InputFieldInputTypeOptionsOneOf {
3566
+ /** Input return string as value */
3567
+ stringOptions?: _String;
3568
+ /** Input return number as value */
3569
+ numberOptions?: _Number;
3570
+ /** Input return boolean as value */
3571
+ booleanOptions?: _Boolean;
3572
+ /** Input return array as value */
3573
+ arrayOptions?: _Array;
3574
+ /** Input return object as value */
3575
+ objectOptions?: _Object;
3576
+ /** Input return "Wix file" as value */
3577
+ wixFileOptions?: WixFile;
3578
+ /** Input returns selected products as value. */
3579
+ paymentOptions?: Payment;
3580
+ /** Input returns multiline address as value. */
3581
+ multilineAddressOptions?: InputFieldMultilineAddress;
3582
+ }
3583
+ export interface StringType extends StringTypeFormatOptionsOneOf {
3584
+ /** DATE format options */
3585
+ dateOptions?: DateTimeConstraints;
3586
+ /** DATE_TIME format options */
3587
+ dateTimeOptions?: DateTimeConstraints;
3588
+ /** TIME format options */
3589
+ timeOptions?: DateTimeConstraints;
3590
+ /** DATE_OPTIONAL_TIME format options */
3591
+ dateOptionalTimeOptions?: DateTimeConstraints;
3592
+ /** PHONE format options */
3593
+ phoneOptions?: PhoneConstraints;
3594
+ /**
3595
+ * Minimum length.
3596
+ * @max 20000
3597
+ */
3598
+ minLength?: number | null;
3599
+ /**
3600
+ * Maximum length.
3601
+ * @max 20000
3602
+ */
3603
+ maxLength?: number | null;
3604
+ /**
3605
+ * Pattern for a regular expression match.
3606
+ * @maxLength 500
3607
+ */
3608
+ pattern?: string | null;
3609
+ /** Format of a string. */
3610
+ format?: FormatEnumFormat;
3611
+ /**
3612
+ * List of allowed values.
3613
+ * @maxSize 500
3614
+ * @maxLength 20000
3615
+ */
3616
+ enum?: string[] | null;
3617
+ }
3618
+ /** @oneof */
3619
+ export interface StringTypeFormatOptionsOneOf {
3620
+ /** DATE format options */
3621
+ dateOptions?: DateTimeConstraints;
3622
+ /** DATE_TIME format options */
3623
+ dateTimeOptions?: DateTimeConstraints;
3624
+ /** TIME format options */
3625
+ timeOptions?: DateTimeConstraints;
3626
+ /** DATE_OPTIONAL_TIME format options */
3627
+ dateOptionalTimeOptions?: DateTimeConstraints;
3628
+ /** PHONE format options */
3629
+ phoneOptions?: PhoneConstraints;
3630
+ }
3631
+ export declare enum FormatEnumFormat {
3632
+ UNKNOWN_FORMAT = "UNKNOWN_FORMAT",
3633
+ DATE = "DATE",
3634
+ TIME = "TIME",
3635
+ DATE_TIME = "DATE_TIME",
3636
+ EMAIL = "EMAIL",
3637
+ URL = "URL",
3638
+ UUID = "UUID",
3639
+ PHONE = "PHONE",
3640
+ URI = "URI",
3641
+ HOSTNAME = "HOSTNAME",
3642
+ COLOR_HEX = "COLOR_HEX",
3643
+ CURRENCY = "CURRENCY",
3644
+ LANGUAGE = "LANGUAGE",
3645
+ DATE_OPTIONAL_TIME = "DATE_OPTIONAL_TIME"
3646
+ }
3647
+ export interface DateTimeConstraints {
3648
+ /**
3649
+ * Support static constrains defined as ISO date/time format, as well as
3650
+ * dynamic calculations can be performed using special keywords such as "$now" to represent the current date and time.
3651
+ * The dynamic calculation supports expressions like "$now+2d" (2 days in the future), "$now-1h" (1 hour in the past), etc.
3652
+ * The regex pattern for dynamic calculations is: \$now([+-]\d{1,2})([yMdmh])
3653
+ * @maxLength 50
3654
+ */
3655
+ minimum?: string | null;
3656
+ /**
3657
+ * Support static constrains defined as ISO date/time format, as well as
3658
+ * dynamic calculations can be performed using special keywords such as "$now" to represent the current date and time.
3659
+ * The dynamic calculation supports expressions like "$now+2d" (2 days in the future), "$now-1h" (1 hour in the past), etc.
3660
+ * The regex pattern for dynamic calculations is: \$now([+-]\d{1,2})([yMdmh])
3661
+ * @maxLength 50
3662
+ */
3663
+ maximum?: string | null;
3664
+ }
3665
+ export interface PhoneConstraints {
3666
+ /**
3667
+ * Country codes for phone number that are allowed
3668
+ * @maxSize 250
3669
+ * @maxLength 2
3670
+ */
3671
+ allowedCountryCodes?: string[];
3672
+ }
3673
+ export declare enum StringComponentType {
3674
+ UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
3675
+ TEXT_INPUT = "TEXT_INPUT",
3676
+ RADIO_GROUP = "RADIO_GROUP",
3677
+ DROPDOWN = "DROPDOWN",
3678
+ DATE_TIME = "DATE_TIME",
3679
+ PHONE_INPUT = "PHONE_INPUT",
3680
+ DATE_INPUT = "DATE_INPUT",
3681
+ TIME_INPUT = "TIME_INPUT",
3682
+ DATE_PICKER = "DATE_PICKER"
3683
+ }
3684
+ export interface NumberType {
3685
+ /** Inclusive maximum value. */
3686
+ maximum?: number | null;
3687
+ /** Inclusive minimum value. */
3688
+ minimum?: number | null;
3689
+ /** Multiple of value. */
3690
+ multipleOf?: number | null;
3691
+ /**
3692
+ * List of allowed values.
3693
+ * @maxSize 500
3694
+ */
3695
+ enum?: number[] | null;
3696
+ }
3697
+ export declare enum NumberComponentType {
3698
+ UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
3699
+ NUMBER_INPUT = "NUMBER_INPUT",
3700
+ RATING_INPUT = "RATING_INPUT"
3701
+ }
3702
+ export interface BooleanType {
3703
+ /**
3704
+ * List of allowed values.
3705
+ * @maxSize 2
3706
+ */
3707
+ enum?: boolean[];
3708
+ }
3709
+ export declare enum BooleanComponentType {
3710
+ UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
3711
+ CHECKBOX = "CHECKBOX"
3712
+ }
3713
+ export interface ArrayType {
3714
+ /**
3715
+ * Maximum amount of array elements.
3716
+ * @max 1000
3717
+ */
3718
+ maxItems?: number | null;
3719
+ /**
3720
+ * Minimum amount of array elements.
3721
+ * @max 1000
3722
+ */
3723
+ minItems?: number | null;
3724
+ /** Type of items allowed in array. */
3725
+ items?: ArrayItems;
3726
+ }
3727
+ export declare enum ItemType {
3728
+ UNKNOWN_ITEM_TYPE = "UNKNOWN_ITEM_TYPE",
3729
+ STRING = "STRING",
3730
+ NUMBER = "NUMBER",
3731
+ BOOLEAN = "BOOLEAN",
3732
+ INTEGER = "INTEGER",
3733
+ OBJECT = "OBJECT"
3734
+ }
3735
+ export interface IntegerType {
3736
+ /** Maximum value. */
3737
+ maximum?: number | null;
3738
+ /** Minimum value. */
3739
+ minimum?: number | null;
3740
+ /** Multiple of value. */
3741
+ multipleOf?: number | null;
3742
+ /**
3743
+ * List of allowed values.
3744
+ * @maxSize 500
3745
+ */
3746
+ enum?: number[] | null;
3747
+ }
3748
+ export interface ObjectType {
3749
+ /** Description of object properties. */
3750
+ properties?: Record<string, PropertiesType>;
3751
+ }
3752
+ export declare enum PropertiesTypeEnum {
3753
+ UNKNOWN_PROPERTY_TYPE = "UNKNOWN_PROPERTY_TYPE",
3754
+ STRING = "STRING",
3755
+ NUMBER = "NUMBER",
3756
+ BOOLEAN = "BOOLEAN",
3757
+ INTEGER = "INTEGER",
3758
+ ARRAY = "ARRAY"
3759
+ }
3760
+ export interface PropertiesType extends PropertiesTypePropertiesTypeOptionsOneOf {
3761
+ /** String type validation for property. */
3762
+ stringOptions?: StringType;
3763
+ /** Number type validation for property. */
3764
+ numberOptions?: NumberType;
3765
+ /** Boolean type validation for property. */
3766
+ booleanOptions?: BooleanType;
3767
+ /** Integer type validation for property. */
3768
+ integerOptions?: IntegerType;
3769
+ /** Array type validation for property. */
3770
+ arrayOptions?: ArrayType;
3771
+ /**
3772
+ * Type of object properties
3773
+ * @readonly
3774
+ */
3775
+ propertiesType?: PropertiesTypeEnum;
3776
+ /** Whether the property is required. */
3777
+ required?: boolean;
3778
+ }
3779
+ /** @oneof */
3780
+ export interface PropertiesTypePropertiesTypeOptionsOneOf {
3781
+ /** String type validation for property. */
3782
+ stringOptions?: StringType;
3783
+ /** Number type validation for property. */
3784
+ numberOptions?: NumberType;
3785
+ /** Boolean type validation for property. */
3786
+ booleanOptions?: BooleanType;
3787
+ /** Integer type validation for property. */
3788
+ integerOptions?: IntegerType;
3789
+ /** Array type validation for property. */
3790
+ arrayOptions?: ArrayType;
3791
+ }
3792
+ export interface ArrayItems extends ArrayItemsItemTypeOptionsOneOf {
3793
+ /** String type validation for items. */
3794
+ stringOptions?: StringType;
3795
+ /** Number type validation for items. */
3796
+ numberOptions?: NumberType;
3797
+ /** Boolean type validation for items. */
3798
+ booleanOptions?: BooleanType;
3799
+ /** Integer type validation for items. */
3800
+ integerOptions?: IntegerType;
3801
+ /** Object type validation for items */
3802
+ objectOptions?: ObjectType;
3803
+ /**
3804
+ * Type of array items
3805
+ * @readonly
3806
+ */
3807
+ itemType?: ItemType;
3808
+ }
3809
+ /** @oneof */
3810
+ export interface ArrayItemsItemTypeOptionsOneOf {
3811
+ /** String type validation for items. */
3812
+ stringOptions?: StringType;
3813
+ /** Number type validation for items. */
3814
+ numberOptions?: NumberType;
3815
+ /** Boolean type validation for items. */
3816
+ booleanOptions?: BooleanType;
3817
+ /** Integer type validation for items. */
3818
+ integerOptions?: IntegerType;
3819
+ /** Object type validation for items */
3820
+ objectOptions?: ObjectType;
3821
+ }
3822
+ export declare enum ComponentType {
3823
+ UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
3824
+ CHECKBOX_GROUP = "CHECKBOX_GROUP",
3825
+ TAGS = "TAGS"
3826
+ }
3827
+ export declare enum WixFileComponentType {
3828
+ UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
3829
+ FILE_UPLOAD = "FILE_UPLOAD",
3830
+ SIGNATURE = "SIGNATURE"
3831
+ }
3832
+ export declare enum PaymentComponentType {
3833
+ UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
3834
+ CHECKBOX_GROUP = "CHECKBOX_GROUP",
3835
+ DONATION_INPUT = "DONATION_INPUT",
3836
+ PAYMENT_INPUT = "PAYMENT_INPUT",
3837
+ FIXED_PAYMENT = "FIXED_PAYMENT"
3838
+ }
3839
+ export declare enum MultilineAddressComponentType {
3840
+ UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
3841
+ MULTILINE_ADDRESS = "MULTILINE_ADDRESS"
3842
+ }
3843
+ export declare enum InputType {
3844
+ UNKNOWN_INPUT_TYPE = "UNKNOWN_INPUT_TYPE",
3845
+ STRING = "STRING",
3846
+ NUMBER = "NUMBER",
3847
+ BOOLEAN = "BOOLEAN",
3848
+ ARRAY = "ARRAY",
3849
+ OBJECT = "OBJECT",
3850
+ WIX_FILE = "WIX_FILE",
3851
+ PAYMENT = "PAYMENT",
3852
+ MULTILINE_ADDRESS = "MULTILINE_ADDRESS"
3853
+ }
3854
+ export interface FormFieldContactInfo extends FormFieldContactInfoAdditionalInfoOneOf {
3855
+ /** Email info. */
3856
+ emailInfo?: EmailInfo;
3857
+ /** Phone info. */
3858
+ phoneInfo?: PhoneInfo;
3859
+ /** Address info. */
3860
+ addressInfo?: AddressInfo;
3861
+ /** Custom field info. */
3862
+ customFieldInfo?: CustomFieldInfo;
3863
+ /** Subscription info */
3864
+ subscriptionInfo?: SubscriptionInfo;
3865
+ /** Field mapped to contacts. */
3866
+ contactField?: ContactField;
3867
+ }
3868
+ /** @oneof */
3869
+ export interface FormFieldContactInfoAdditionalInfoOneOf {
3870
+ /** Email info. */
3871
+ emailInfo?: EmailInfo;
3872
+ /** Phone info. */
3873
+ phoneInfo?: PhoneInfo;
3874
+ /** Address info. */
3875
+ addressInfo?: AddressInfo;
3876
+ /** Custom field info. */
3877
+ customFieldInfo?: CustomFieldInfo;
3878
+ /** Subscription info */
3879
+ subscriptionInfo?: SubscriptionInfo;
3880
+ }
3881
+ export declare enum EmailInfoTag {
3882
+ UNTAGGED = "UNTAGGED",
3883
+ MAIN = "MAIN"
3884
+ }
3885
+ export declare enum PhoneInfoTag {
3886
+ UNTAGGED = "UNTAGGED",
3887
+ MAIN = "MAIN"
3888
+ }
3889
+ export declare enum Tag {
3890
+ UNTAGGED = "UNTAGGED",
3891
+ HOME = "HOME"
3892
+ }
3893
+ export declare enum ConfirmationLevel {
3894
+ UNKNOWN_CONFIRMATION_LEVEL = "UNKNOWN_CONFIRMATION_LEVEL",
3895
+ SINGLE_CONFIRMATION = "SINGLE_CONFIRMATION",
3896
+ DOUBLE_CONFIRMATION = "DOUBLE_CONFIRMATION"
3897
+ }
3898
+ export declare enum ContactField {
3899
+ UNKNOWN_CONTACT_FIELD = "UNKNOWN_CONTACT_FIELD",
3900
+ FIRST_NAME = "FIRST_NAME",
3901
+ LAST_NAME = "LAST_NAME",
3902
+ COMPANY = "COMPANY",
3903
+ POSITION = "POSITION",
3904
+ EMAIL = "EMAIL",
3905
+ PHONE = "PHONE",
3906
+ ADDRESS = "ADDRESS",
3907
+ BIRTHDATE = "BIRTHDATE",
3908
+ CUSTOM_FIELD = "CUSTOM_FIELD",
3909
+ SUBSCRIPTION = "SUBSCRIPTION",
3910
+ VAT_ID = "VAT_ID"
3911
+ }
3912
+ export interface EmailInfo {
3913
+ /** Email tag. */
3914
+ tag?: EmailInfoTag;
3915
+ }
3916
+ export interface PhoneInfo {
3917
+ /** Phone tag. */
3918
+ tag?: PhoneInfoTag;
3919
+ }
3920
+ export interface AddressInfo {
3921
+ /** Address tag. */
3922
+ tag?: Tag;
3923
+ }
3924
+ export interface CustomFieldInfo {
3925
+ /**
3926
+ * Custom field key.
3927
+ * @minLength 1
3928
+ * @maxLength 500
3929
+ */
3930
+ key?: string;
3931
+ }
3932
+ export interface SubscriptionInfo {
3933
+ /**
3934
+ * Subscription consent opt in level, either single or double confirmation.
3935
+ * Default: SINGLE_CONFIRMATION
3936
+ */
3937
+ confirmationLevel?: ConfirmationLevel;
3938
+ }
3939
+ export interface _String extends _StringComponentTypeOptionsOneOf {
3940
+ /** Text input field */
3941
+ textInputOptions?: TextInput;
3942
+ /** Selection field as radio group */
3943
+ radioGroupOptions?: RadioGroup;
3944
+ /** Selection field as drop down */
3945
+ dropdownOptions?: Dropdown;
3946
+ /** Field for selecting date and time */
3947
+ dateTimeOptions?: DateTimeInput;
3948
+ /** Phone input field */
3949
+ phoneInputOptions?: PhoneInput;
3950
+ /** Dropdown based component for selecting date */
3951
+ dateInputOptions?: DateInput;
3952
+ /** Field for selecting time */
3953
+ timeInputOptions?: TimeInput;
3954
+ /** Calendar type component for selecting date */
3955
+ datePickerOptions?: DatePicker;
3956
+ /** Validation of field output value. */
3957
+ validation?: StringType;
3958
+ /**
3959
+ * Component type of the string input field
3960
+ * @readonly
3961
+ */
3962
+ componentType?: StringComponentType;
3963
+ }
3964
+ /** @oneof */
3965
+ export interface _StringComponentTypeOptionsOneOf {
3966
+ /** Text input field */
3967
+ textInputOptions?: TextInput;
3968
+ /** Selection field as radio group */
3969
+ radioGroupOptions?: RadioGroup;
3970
+ /** Selection field as drop down */
3971
+ dropdownOptions?: Dropdown;
3972
+ /** Field for selecting date and time */
3973
+ dateTimeOptions?: DateTimeInput;
3974
+ /** Phone input field */
3975
+ phoneInputOptions?: PhoneInput;
3976
+ /** Dropdown based component for selecting date */
3977
+ dateInputOptions?: DateInput;
3978
+ /** Field for selecting time */
3979
+ timeInputOptions?: TimeInput;
3980
+ /** Calendar type component for selecting date */
3981
+ datePickerOptions?: DatePicker;
3982
+ }
3983
+ export interface _Number extends _NumberComponentTypeOptionsOneOf {
3984
+ /** Number value input field */
3985
+ numberInputOptions?: NumberInput;
3986
+ /** Rating value input field */
3987
+ ratingInputOptions?: RatingInput;
3988
+ /** Validation of field output value. */
3989
+ validation?: NumberType;
3990
+ /**
3991
+ * Component type of the number input field
3992
+ * @readonly
3993
+ */
3994
+ componentType?: NumberComponentType;
3995
+ }
3996
+ /** @oneof */
3997
+ export interface _NumberComponentTypeOptionsOneOf {
3998
+ /** Number value input field */
3999
+ numberInputOptions?: NumberInput;
4000
+ /** Rating value input field */
4001
+ ratingInputOptions?: RatingInput;
4002
+ }
4003
+ export interface _Boolean extends _BooleanComponentTypeOptionsOneOf {
4004
+ /** Checkbox input field */
4005
+ checkboxOptions?: Checkbox;
4006
+ /** Validation of field output value. */
4007
+ validation?: BooleanType;
4008
+ /**
4009
+ * Component type of the boolean input field
4010
+ * @readonly
4011
+ */
4012
+ componentType?: BooleanComponentType;
4013
+ }
4014
+ /** @oneof */
4015
+ export interface _BooleanComponentTypeOptionsOneOf {
4016
+ /** Checkbox input field */
4017
+ checkboxOptions?: Checkbox;
4018
+ }
4019
+ export interface _Array extends _ArrayComponentTypeOptionsOneOf {
4020
+ /** Checkbox group input field */
4021
+ checkboxGroupOptions?: CheckboxGroup;
4022
+ /** Tags input field */
4023
+ tagsOptions?: Tags;
4024
+ /** Validation of array type. */
4025
+ validation?: ArrayType;
4026
+ /**
4027
+ * Component type of the array input field
4028
+ * @readonly
4029
+ */
4030
+ componentType?: ComponentType;
4031
+ }
4032
+ /** @oneof */
4033
+ export interface _ArrayComponentTypeOptionsOneOf {
4034
+ /** Checkbox group input field */
4035
+ checkboxGroupOptions?: CheckboxGroup;
4036
+ /** Tags input field */
4037
+ tagsOptions?: Tags;
4038
+ }
4039
+ export interface _Object {
4040
+ /** Validation of object type. */
4041
+ validation?: ObjectType;
4042
+ }
4043
+ export interface WixFile extends WixFileComponentTypeOptionsOneOf {
4044
+ /** File upload input field */
4045
+ fileUploadOptions?: FileUpload;
4046
+ /** Signature input field */
4047
+ signatureOptions?: Signature;
4048
+ /**
4049
+ * Component type of the array input field
4050
+ * @readonly
4051
+ */
4052
+ componentType?: WixFileComponentType;
4053
+ }
4054
+ /** @oneof */
4055
+ export interface WixFileComponentTypeOptionsOneOf {
4056
+ /** File upload input field */
4057
+ fileUploadOptions?: FileUpload;
4058
+ /** Signature input field */
4059
+ signatureOptions?: Signature;
4060
+ }
4061
+ export interface Payment extends PaymentComponentTypeOptionsOneOf {
4062
+ /** Checkbox group input field. */
4063
+ checkboxGroupOptions?: ProductCheckboxGroup;
4064
+ /** Donation input field. */
4065
+ donationInputOptions?: DonationInput;
4066
+ /** Payment input field. */
4067
+ paymentInputOptions?: PaymentInput;
4068
+ /** Fixed payment field. */
4069
+ fixedPaymentOptions?: FixedPayment;
4070
+ /**
4071
+ * Component type of the payment input field.
4072
+ * @readonly
4073
+ */
4074
+ componentType?: PaymentComponentType;
4075
+ /** Validation of payment type. */
4076
+ validation?: PaymentType;
4077
+ }
4078
+ /** @oneof */
4079
+ export interface PaymentComponentTypeOptionsOneOf {
4080
+ /** Checkbox group input field. */
4081
+ checkboxGroupOptions?: ProductCheckboxGroup;
4082
+ /** Donation input field. */
4083
+ donationInputOptions?: DonationInput;
4084
+ /** Payment input field. */
4085
+ paymentInputOptions?: PaymentInput;
4086
+ /** Fixed payment field. */
4087
+ fixedPaymentOptions?: FixedPayment;
4088
+ }
4089
+ export interface InputFieldMultilineAddress extends InputFieldMultilineAddressComponentTypeOptionsOneOf {
4090
+ /** Multiline address input field. */
4091
+ multilineAddressOptions?: MultilineAddress;
4092
+ /**
4093
+ * Component type of the multiline address field.
4094
+ * @readonly
4095
+ */
4096
+ componentType?: MultilineAddressComponentType;
4097
+ /** Validation of multiline address field output value. */
4098
+ validation?: MultilineAddressValidation;
4099
+ }
4100
+ /** @oneof */
4101
+ export interface InputFieldMultilineAddressComponentTypeOptionsOneOf {
4102
+ /** Multiline address input field. */
4103
+ multilineAddressOptions?: MultilineAddress;
4104
+ }
4105
+ export interface FieldsDisplayField extends FieldsDisplayFieldDisplayFieldTypeOptionsOneOf {
4106
+ /** Component displaying rich content */
4107
+ richContentOptions?: RichContentOptions;
4108
+ /** Page navigation component resolving as navigation or submit buttons */
4109
+ pageNavigationOptions?: PageNavigationOptions;
4110
+ /** Type of the display field */
4111
+ displayFieldType?: DisplayFieldDisplayFieldType;
4112
+ }
4113
+ /** @oneof */
4114
+ export interface FieldsDisplayFieldDisplayFieldTypeOptionsOneOf {
4115
+ /** Component displaying rich content */
4116
+ richContentOptions?: RichContentOptions;
4117
+ /** Page navigation component resolving as navigation or submit buttons */
4118
+ pageNavigationOptions?: PageNavigationOptions;
4119
+ }
4120
+ export declare enum DisplayFieldDisplayFieldType {
4121
+ UNKNOWN_FIELD_TYPE = "UNKNOWN_FIELD_TYPE",
4122
+ RICH_CONTENT = "RICH_CONTENT",
4123
+ PAGE_NAVIGATION = "PAGE_NAVIGATION",
4124
+ LOGIN_BAR = "LOGIN_BAR"
4125
+ }
4126
+ export interface RichContentOptions {
4127
+ /** Content of the header */
4128
+ richContent?: RichContent;
4129
+ }
4130
+ export interface PageNavigationOptions {
4131
+ /**
4132
+ * When button is not on last page it behaves as switch between pages page, text of label to go to next page.
4133
+ * @maxLength 65
4134
+ */
4135
+ nextPageText?: string | null;
4136
+ /**
4137
+ * When button is not on last page it behaves as switch between pages page, text of label to go to previous page.
4138
+ * @maxLength 65
4139
+ */
4140
+ previousPageText?: string | null;
4141
+ /**
4142
+ * Text on the button when button is submitting a form
4143
+ * @maxLength 65
4144
+ */
4145
+ submitText?: string | null;
4146
+ }
4147
+ export interface Step {
4148
+ /**
4149
+ * Step ID.
4150
+ * @format GUID
4151
+ * @immutable
4152
+ */
4153
+ id?: string;
4154
+ /**
4155
+ * Name of the step.
4156
+ * @maxLength 200
4157
+ */
4158
+ name?: string | null;
4159
+ /** Is step hidden */
4160
+ hidden?: boolean;
4161
+ /** Form step properties */
4162
+ layout?: FormLayout;
4163
+ }
4164
+ export interface FormLayout {
4165
+ /** Layout for large break point. */
4166
+ large?: BreakPoint;
4167
+ /** Layout for medium break point. */
4168
+ medium?: BreakPoint;
4169
+ /** Layout for small break point. */
4170
+ small?: BreakPoint;
4171
+ }
4172
+ export interface BreakPoint {
4173
+ /**
4174
+ * Description of layouts for items.
4175
+ * @maxSize 500
4176
+ */
4177
+ items?: ItemLayout[];
4178
+ /** Amount of columns of layout grid. */
4179
+ columns?: number | null;
4180
+ /** Row height of layout grid. */
4181
+ rowHeight?: number | null;
4182
+ /** Description of elements margins. */
4183
+ margin?: Margin;
4184
+ /** Description of elements paddings. */
4185
+ padding?: Margin;
4186
+ /**
4187
+ * Sections of the layout, which allow manage fields
4188
+ * @maxSize 100
4189
+ */
4190
+ sections?: Section[];
4191
+ }
4192
+ export interface ItemLayout extends ItemLayoutItemOneOf {
4193
+ /**
4194
+ * Form field reference id.
4195
+ * @format GUID
4196
+ */
4197
+ fieldId?: string;
4198
+ /** Group info, defining that this item is a group of multiple fields */
4199
+ group?: Group;
4200
+ /** Horizontal coordinate in the grid. */
4201
+ row?: number | null;
4202
+ /** Vertical coordinate in the grid. */
4203
+ column?: number | null;
4204
+ /** Height. */
4205
+ width?: number | null;
4206
+ /** Width. */
4207
+ height?: number | null;
4208
+ }
4209
+ /** @oneof */
4210
+ export interface ItemLayoutItemOneOf {
4211
+ /**
4212
+ * Form field reference id.
4213
+ * @format GUID
4214
+ */
4215
+ fieldId?: string;
4216
+ /** Group info, defining that this item is a group of multiple fields */
4217
+ group?: Group;
4218
+ }
4219
+ export interface Group {
4220
+ /**
4221
+ * Field group reference id.
4222
+ * @format GUID
4223
+ */
4224
+ groupId?: string;
4225
+ /**
4226
+ * Description of layouts for items.
4227
+ * @minSize 1
4228
+ * @maxSize 500
3561
4229
  */
3562
4230
  items?: ItemLayout[];
3563
4231
  }
@@ -3659,7 +4327,7 @@ export interface UpsertContact {
3659
4327
  * Fields mapping (target field mapped to corresponding contact field).
3660
4328
  * @maxSize 250
3661
4329
  */
3662
- fieldsMapping?: Record<string, FormFieldContactInfo>;
4330
+ fieldsMapping?: Record<string, V4FormFieldContactInfo>;
3663
4331
  /**
3664
4332
  * List of contact label keys.
3665
4333
  * [Contact labels](https://support.wix.com/en/article/adding-labels-to-contacts-in-your-contact-list)
@@ -3983,6 +4651,22 @@ export interface FormTranslationDeleted {
3983
4651
  */
3984
4652
  language?: string;
3985
4653
  }
4654
+ export interface FormDisabled {
4655
+ /**
4656
+ * Form namespace
4657
+ * @minLength 10
4658
+ * @maxLength 50
4659
+ */
4660
+ namespace?: string;
4661
+ }
4662
+ export interface FormEnabled {
4663
+ /**
4664
+ * Form namespace
4665
+ * @minLength 10
4666
+ * @maxLength 50
4667
+ */
4668
+ namespace?: string;
4669
+ }
3986
4670
  export interface CreateFormRequest {
3987
4671
  /** Form to be created. */
3988
4672
  form: Form;
@@ -4723,7 +5407,7 @@ export interface FormSummary {
4723
5407
  * Summarized form fields.
4724
5408
  * @maxSize 500
4725
5409
  */
4726
- fields?: Field[];
5410
+ fields?: FormSummaryField[];
4727
5411
  }
4728
5412
  export declare enum FieldInputType {
4729
5413
  UNKNOWN_INPUT_TYPE = "UNKNOWN_INPUT_TYPE",
@@ -4763,7 +5447,7 @@ export interface FieldOption {
4763
5447
  */
4764
5448
  value?: string | null;
4765
5449
  }
4766
- export interface Field {
5450
+ export interface FormSummaryField {
4767
5451
  /**
4768
5452
  * Definition of a target where the value of field belongs.
4769
5453
  * @maxLength 200
@@ -4863,22 +5547,22 @@ export declare enum WebhookIdentityType {
4863
5547
  WIX_USER = "WIX_USER",
4864
5548
  APP = "APP"
4865
5549
  }
4866
- interface PhoneConstraintsNonNullableFields {
5550
+ interface StringTypePhoneConstraintsNonNullableFields {
4867
5551
  allowedCountryCodes: string[];
4868
5552
  }
4869
- interface StringTypeNonNullableFields {
4870
- phoneOptions?: PhoneConstraintsNonNullableFields;
4871
- format: FormatEnumFormat;
5553
+ interface FormFieldStringTypeNonNullableFields {
5554
+ phoneOptions?: StringTypePhoneConstraintsNonNullableFields;
5555
+ format: StringTypeFormatEnumFormat;
4872
5556
  }
4873
- interface BooleanTypeNonNullableFields {
5557
+ interface FormFieldBooleanTypeNonNullableFields {
4874
5558
  enum: boolean[];
4875
5559
  }
4876
- interface ArrayItemsNonNullableFields {
4877
- string?: StringTypeNonNullableFields;
4878
- boolean?: BooleanTypeNonNullableFields;
5560
+ interface ArrayTypeArrayItemsNonNullableFields {
5561
+ string?: FormFieldStringTypeNonNullableFields;
5562
+ boolean?: FormFieldBooleanTypeNonNullableFields;
4879
5563
  }
4880
- interface ArrayTypeNonNullableFields {
4881
- items?: ArrayItemsNonNullableFields;
5564
+ interface FormFieldArrayTypeNonNullableFields {
5565
+ items?: ArrayTypeArrayItemsNonNullableFields;
4882
5566
  }
4883
5567
  interface FixedPriceOptionsNonNullableFields {
4884
5568
  price: string;
@@ -4919,9 +5603,9 @@ interface PredefinedValidationNonNullableFields {
4919
5603
  format: ValidationFormat;
4920
5604
  }
4921
5605
  interface ValidationNonNullableFields {
4922
- string?: StringTypeNonNullableFields;
4923
- boolean?: BooleanTypeNonNullableFields;
4924
- array?: ArrayTypeNonNullableFields;
5606
+ string?: FormFieldStringTypeNonNullableFields;
5607
+ boolean?: FormFieldBooleanTypeNonNullableFields;
5608
+ array?: FormFieldArrayTypeNonNullableFields;
4925
5609
  predefined?: PredefinedValidationNonNullableFields;
4926
5610
  required: boolean;
4927
5611
  }
@@ -5223,14 +5907,14 @@ interface DatePickerNonNullableFields {
5223
5907
  description?: RichContentNonNullableFields;
5224
5908
  firstDayOfWeek: FirstDayOfWeek;
5225
5909
  }
5226
- interface StringTypePhoneConstraintsNonNullableFields {
5910
+ interface InputFieldStringTypePhoneConstraintsNonNullableFields {
5227
5911
  allowedCountryCodes: string[];
5228
5912
  }
5229
5913
  interface InputFieldStringTypeNonNullableFields {
5230
- phoneOptions?: StringTypePhoneConstraintsNonNullableFields;
5231
- format: StringTypeFormatEnumFormat;
5914
+ phoneOptions?: InputFieldStringTypePhoneConstraintsNonNullableFields;
5915
+ format: InputFieldStringTypeFormatEnumFormat;
5232
5916
  }
5233
- interface _StringNonNullableFields {
5917
+ interface InputField_StringNonNullableFields {
5234
5918
  textInputOptions?: TextInputNonNullableFields;
5235
5919
  radioGroupOptions?: RadioGroupNonNullableFields;
5236
5920
  dropdownOptions?: DropdownNonNullableFields;
@@ -5240,7 +5924,7 @@ interface _StringNonNullableFields {
5240
5924
  timeInputOptions?: TimeInputNonNullableFields;
5241
5925
  datePickerOptions?: DatePickerNonNullableFields;
5242
5926
  validation?: InputFieldStringTypeNonNullableFields;
5243
- componentType: StringComponentType;
5927
+ componentType: InputFieldStringComponentType;
5244
5928
  }
5245
5929
  interface NumberInputNonNullableFields {
5246
5930
  description?: RichContentNonNullableFields;
@@ -5248,10 +5932,10 @@ interface NumberInputNonNullableFields {
5248
5932
  interface RatingInputNonNullableFields {
5249
5933
  description?: RichContentNonNullableFields;
5250
5934
  }
5251
- interface _NumberNonNullableFields {
5935
+ interface InputField_NumberNonNullableFields {
5252
5936
  numberInputOptions?: NumberInputNonNullableFields;
5253
5937
  ratingInputOptions?: RatingInputNonNullableFields;
5254
- componentType: NumberComponentType;
5938
+ componentType: InputFieldNumberComponentType;
5255
5939
  }
5256
5940
  interface CheckboxNonNullableFields {
5257
5941
  label?: RichContentNonNullableFields;
@@ -5260,10 +5944,10 @@ interface CheckboxNonNullableFields {
5260
5944
  interface InputFieldBooleanTypeNonNullableFields {
5261
5945
  enum: boolean[];
5262
5946
  }
5263
- interface _BooleanNonNullableFields {
5947
+ interface InputField_BooleanNonNullableFields {
5264
5948
  checkboxOptions?: CheckboxNonNullableFields;
5265
5949
  validation?: InputFieldBooleanTypeNonNullableFields;
5266
- componentType: BooleanComponentType;
5950
+ componentType: InputFieldBooleanComponentType;
5267
5951
  }
5268
5952
  interface ImageNonNullableFields {
5269
5953
  id: string;
@@ -5294,19 +5978,19 @@ interface TagsNonNullableFields {
5294
5978
  options: TagsOptionNonNullableFields[];
5295
5979
  numberOfColumns: NumberOfColumns;
5296
5980
  }
5297
- interface ArrayTypeArrayItemsNonNullableFields {
5981
+ interface InputFieldArrayTypeArrayItemsNonNullableFields {
5298
5982
  stringOptions?: InputFieldStringTypeNonNullableFields;
5299
5983
  booleanOptions?: InputFieldBooleanTypeNonNullableFields;
5300
- itemType: ItemType;
5984
+ itemType: ArrayItemsItemType;
5301
5985
  }
5302
5986
  interface InputFieldArrayTypeNonNullableFields {
5303
- items?: ArrayTypeArrayItemsNonNullableFields;
5987
+ items?: InputFieldArrayTypeArrayItemsNonNullableFields;
5304
5988
  }
5305
- interface _ArrayNonNullableFields {
5989
+ interface InputField_ArrayNonNullableFields {
5306
5990
  checkboxGroupOptions?: CheckboxGroupNonNullableFields;
5307
5991
  tagsOptions?: TagsNonNullableFields;
5308
5992
  validation?: InputFieldArrayTypeNonNullableFields;
5309
- componentType: ComponentType;
5993
+ componentType: ArrayComponentType;
5310
5994
  }
5311
5995
  interface FileUploadNonNullableFields {
5312
5996
  description?: RichContentNonNullableFields;
@@ -5317,10 +6001,10 @@ interface SignatureNonNullableFields {
5317
6001
  description?: RichContentNonNullableFields;
5318
6002
  imageUploadEnabled: boolean;
5319
6003
  }
5320
- interface WixFileNonNullableFields {
6004
+ interface InputFieldWixFileNonNullableFields {
5321
6005
  fileUploadOptions?: FileUploadNonNullableFields;
5322
6006
  signatureOptions?: SignatureNonNullableFields;
5323
- componentType: WixFileComponentType;
6007
+ componentType: InputFieldWixFileComponentType;
5324
6008
  }
5325
6009
  interface ProductCheckboxGroupOptionNonNullableFields {
5326
6010
  id: string;
@@ -5347,12 +6031,12 @@ interface PaymentInputNonNullableFields {
5347
6031
  interface FixedPaymentNonNullableFields {
5348
6032
  description?: RichContentNonNullableFields;
5349
6033
  }
5350
- interface PaymentNonNullableFields {
6034
+ interface InputFieldPaymentNonNullableFields {
5351
6035
  checkboxGroupOptions?: ProductCheckboxGroupNonNullableFields;
5352
6036
  donationInputOptions?: DonationInputNonNullableFields;
5353
6037
  paymentInputOptions?: PaymentInputNonNullableFields;
5354
6038
  fixedPaymentOptions?: FixedPaymentNonNullableFields;
5355
- componentType: PaymentComponentType;
6039
+ componentType: InputFieldPaymentComponentType;
5356
6040
  validation?: PaymentTypeNonNullableFields;
5357
6041
  }
5358
6042
  interface DefaultCountryConfigNonNullableFields {
@@ -5372,9 +6056,9 @@ interface MultilineAddressNonNullableFields {
5372
6056
  fieldSettings?: FieldsSettingsNonNullableFields;
5373
6057
  autocompleteEnabled: boolean;
5374
6058
  }
5375
- interface InputFieldMultilineAddressNonNullableFields {
6059
+ interface FormFieldV2InputFieldMultilineAddressNonNullableFields {
5376
6060
  multilineAddressOptions?: MultilineAddressNonNullableFields;
5377
- componentType: MultilineAddressComponentType;
6061
+ componentType: InputFieldMultilineAddressComponentType;
5378
6062
  validation?: MultilineAddressValidationNonNullableFields;
5379
6063
  }
5380
6064
  interface AppointmentNonNullableFields {
@@ -5384,6 +6068,122 @@ interface SchedulingNonNullableFields {
5384
6068
  appointmentOptions?: AppointmentNonNullableFields;
5385
6069
  componentType: SchedulingComponentType;
5386
6070
  }
6071
+ interface FormFieldContactInfoEmailInfoNonNullableFields {
6072
+ tag: FormFieldContactInfoEmailInfoTag;
6073
+ }
6074
+ interface FormFieldContactInfoPhoneInfoNonNullableFields {
6075
+ tag: FormFieldContactInfoPhoneInfoTag;
6076
+ }
6077
+ interface FormFieldContactInfoAddressInfoNonNullableFields {
6078
+ tag: AddressInfoTag;
6079
+ }
6080
+ interface FormFieldContactInfoCustomFieldInfoNonNullableFields {
6081
+ key: string;
6082
+ }
6083
+ interface FormFieldContactInfoSubscriptionInfoNonNullableFields {
6084
+ optInLevel: OptInLevel;
6085
+ }
6086
+ interface V4FormFieldContactInfoNonNullableFields {
6087
+ emailInfo?: FormFieldContactInfoEmailInfoNonNullableFields;
6088
+ phoneInfo?: FormFieldContactInfoPhoneInfoNonNullableFields;
6089
+ addressInfo?: FormFieldContactInfoAddressInfoNonNullableFields;
6090
+ customFieldInfo?: FormFieldContactInfoCustomFieldInfoNonNullableFields;
6091
+ subscriptionInfo?: FormFieldContactInfoSubscriptionInfoNonNullableFields;
6092
+ contactField: FormFieldContactInfoContactField;
6093
+ }
6094
+ interface FormFieldV2InputFieldNonNullableFields {
6095
+ stringOptions?: InputField_StringNonNullableFields;
6096
+ numberOptions?: InputField_NumberNonNullableFields;
6097
+ booleanOptions?: InputField_BooleanNonNullableFields;
6098
+ arrayOptions?: InputField_ArrayNonNullableFields;
6099
+ wixFileOptions?: InputFieldWixFileNonNullableFields;
6100
+ paymentOptions?: InputFieldPaymentNonNullableFields;
6101
+ multilineAddressOptions?: FormFieldV2InputFieldMultilineAddressNonNullableFields;
6102
+ schedulingOptions?: SchedulingNonNullableFields;
6103
+ pii: boolean;
6104
+ required: boolean;
6105
+ inputType: InputFieldInputType;
6106
+ contactMapping?: V4FormFieldContactInfoNonNullableFields;
6107
+ readOnly: boolean;
6108
+ }
6109
+ interface V4RichContentOptionsNonNullableFields {
6110
+ richContent?: RichContentNonNullableFields;
6111
+ }
6112
+ interface DisplayFieldNonNullableFields {
6113
+ richContentOptions?: V4RichContentOptionsNonNullableFields;
6114
+ displayFieldType: DisplayFieldType;
6115
+ }
6116
+ interface FormFieldV2NonNullableFields {
6117
+ inputOptions?: FormFieldV2InputFieldNonNullableFields;
6118
+ displayOptions?: DisplayFieldNonNullableFields;
6119
+ id: string;
6120
+ hidden: boolean;
6121
+ fieldType: FormFieldV2FieldType;
6122
+ }
6123
+ interface PhoneConstraintsNonNullableFields {
6124
+ allowedCountryCodes: string[];
6125
+ }
6126
+ interface StringTypeNonNullableFields {
6127
+ phoneOptions?: PhoneConstraintsNonNullableFields;
6128
+ format: FormatEnumFormat;
6129
+ }
6130
+ interface _StringNonNullableFields {
6131
+ textInputOptions?: TextInputNonNullableFields;
6132
+ radioGroupOptions?: RadioGroupNonNullableFields;
6133
+ dropdownOptions?: DropdownNonNullableFields;
6134
+ dateTimeOptions?: DateTimeInputNonNullableFields;
6135
+ phoneInputOptions?: PhoneInputNonNullableFields;
6136
+ dateInputOptions?: DateInputNonNullableFields;
6137
+ timeInputOptions?: TimeInputNonNullableFields;
6138
+ datePickerOptions?: DatePickerNonNullableFields;
6139
+ validation?: StringTypeNonNullableFields;
6140
+ componentType: StringComponentType;
6141
+ }
6142
+ interface _NumberNonNullableFields {
6143
+ numberInputOptions?: NumberInputNonNullableFields;
6144
+ ratingInputOptions?: RatingInputNonNullableFields;
6145
+ componentType: NumberComponentType;
6146
+ }
6147
+ interface BooleanTypeNonNullableFields {
6148
+ enum: boolean[];
6149
+ }
6150
+ interface _BooleanNonNullableFields {
6151
+ checkboxOptions?: CheckboxNonNullableFields;
6152
+ validation?: BooleanTypeNonNullableFields;
6153
+ componentType: BooleanComponentType;
6154
+ }
6155
+ interface ArrayItemsNonNullableFields {
6156
+ stringOptions?: StringTypeNonNullableFields;
6157
+ booleanOptions?: BooleanTypeNonNullableFields;
6158
+ itemType: ItemType;
6159
+ }
6160
+ interface ArrayTypeNonNullableFields {
6161
+ items?: ArrayItemsNonNullableFields;
6162
+ }
6163
+ interface _ArrayNonNullableFields {
6164
+ checkboxGroupOptions?: CheckboxGroupNonNullableFields;
6165
+ tagsOptions?: TagsNonNullableFields;
6166
+ validation?: ArrayTypeNonNullableFields;
6167
+ componentType: ComponentType;
6168
+ }
6169
+ interface WixFileNonNullableFields {
6170
+ fileUploadOptions?: FileUploadNonNullableFields;
6171
+ signatureOptions?: SignatureNonNullableFields;
6172
+ componentType: WixFileComponentType;
6173
+ }
6174
+ interface PaymentNonNullableFields {
6175
+ checkboxGroupOptions?: ProductCheckboxGroupNonNullableFields;
6176
+ donationInputOptions?: DonationInputNonNullableFields;
6177
+ paymentInputOptions?: PaymentInputNonNullableFields;
6178
+ fixedPaymentOptions?: FixedPaymentNonNullableFields;
6179
+ componentType: PaymentComponentType;
6180
+ validation?: PaymentTypeNonNullableFields;
6181
+ }
6182
+ interface InputFieldMultilineAddressNonNullableFields {
6183
+ multilineAddressOptions?: MultilineAddressNonNullableFields;
6184
+ componentType: MultilineAddressComponentType;
6185
+ validation?: MultilineAddressValidationNonNullableFields;
6186
+ }
5387
6187
  interface EmailInfoNonNullableFields {
5388
6188
  tag: EmailInfoTag;
5389
6189
  }
@@ -5397,7 +6197,7 @@ interface CustomFieldInfoNonNullableFields {
5397
6197
  key: string;
5398
6198
  }
5399
6199
  interface SubscriptionInfoNonNullableFields {
5400
- optInLevel: OptInLevel;
6200
+ confirmationLevel: ConfirmationLevel;
5401
6201
  }
5402
6202
  interface FormFieldContactInfoNonNullableFields {
5403
6203
  emailInfo?: EmailInfoNonNullableFields;
@@ -5415,7 +6215,7 @@ interface InputFieldNonNullableFields {
5415
6215
  wixFileOptions?: WixFileNonNullableFields;
5416
6216
  paymentOptions?: PaymentNonNullableFields;
5417
6217
  multilineAddressOptions?: InputFieldMultilineAddressNonNullableFields;
5418
- schedulingOptions?: SchedulingNonNullableFields;
6218
+ target: string;
5419
6219
  pii: boolean;
5420
6220
  required: boolean;
5421
6221
  inputType: InputType;
@@ -5425,13 +6225,13 @@ interface InputFieldNonNullableFields {
5425
6225
  interface RichContentOptionsNonNullableFields {
5426
6226
  richContent?: RichContentNonNullableFields;
5427
6227
  }
5428
- interface DisplayFieldNonNullableFields {
6228
+ interface FieldsDisplayFieldNonNullableFields {
5429
6229
  richContentOptions?: RichContentOptionsNonNullableFields;
5430
- displayFieldType: DisplayFieldType;
6230
+ displayFieldType: DisplayFieldDisplayFieldType;
5431
6231
  }
5432
- interface FormFieldV2NonNullableFields {
6232
+ interface FieldNonNullableFields {
5433
6233
  inputOptions?: InputFieldNonNullableFields;
5434
- displayOptions?: DisplayFieldNonNullableFields;
6234
+ displayOptions?: FieldsDisplayFieldNonNullableFields;
5435
6235
  id: string;
5436
6236
  hidden: boolean;
5437
6237
  fieldType: FieldType;
@@ -5544,6 +6344,7 @@ interface RuleNonNullableFields {
5544
6344
  interface FormNonNullableFields {
5545
6345
  fields: FormFieldNonNullableFields[];
5546
6346
  fieldsV2: FormFieldV2NonNullableFields[];
6347
+ formFields: FieldNonNullableFields[];
5547
6348
  steps: StepNonNullableFields[];
5548
6349
  rules: FormRuleNonNullableFields[];
5549
6350
  properties?: FormPropertiesNonNullableFields;
@@ -5635,14 +6436,14 @@ interface FormsSchemaProvidersConfigNonNullableFields {
5635
6436
  export interface ListFormsProvidersConfigsResponseNonNullableFields {
5636
6437
  configs: FormsSchemaProvidersConfigNonNullableFields[];
5637
6438
  }
5638
- interface FieldNonNullableFields {
6439
+ interface FormSummaryFieldNonNullableFields {
5639
6440
  type: FieldInputType;
5640
6441
  deleted: boolean;
5641
6442
  id: string;
5642
6443
  }
5643
6444
  interface FormSummaryNonNullableFields {
5644
6445
  id: string;
5645
- fields: FieldNonNullableFields[];
6446
+ fields: FormSummaryFieldNonNullableFields[];
5646
6447
  }
5647
6448
  export interface GetFormSummaryResponseNonNullableFields {
5648
6449
  formSummary?: FormSummaryNonNullableFields;