@wix/auto_sdk_forms_forms 1.0.8 → 1.0.10

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 +1063 -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 +1064 -278
  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 +1063 -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 +1064 -278
  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 +1063 -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 +1064 -278
  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 +1063 -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 +1064 -278
  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
@@ -9,7 +9,7 @@ export interface Form {
9
9
  * List of form fields that represent input elements.
10
10
  * @maxSize 500
11
11
  */
12
- fieldsV2?: FormFieldV2[];
12
+ formFields?: Field[];
13
13
  /**
14
14
  * Defines the layout for form fields in each submission step.
15
15
  * @maxSize 100
@@ -141,17 +141,17 @@ export interface FormField {
141
141
  */
142
142
  readOnly?: boolean;
143
143
  }
144
- export interface StringType extends StringTypeFormatOptionsOneOf {
144
+ export interface FormFieldStringType extends FormFieldStringTypeFormatOptionsOneOf {
145
145
  /** DATE format options */
146
- dateOptions?: DateTimeConstraints;
146
+ dateOptions?: StringTypeDateTimeConstraints;
147
147
  /** DATE_TIME format options */
148
- dateTimeOptions?: DateTimeConstraints;
148
+ dateTimeOptions?: StringTypeDateTimeConstraints;
149
149
  /** TIME format options */
150
- timeOptions?: DateTimeConstraints;
150
+ timeOptions?: StringTypeDateTimeConstraints;
151
151
  /** DATE_OPTIONAL_TIME format options */
152
- dateOptionalTimeOptions?: DateTimeConstraints;
152
+ dateOptionalTimeOptions?: StringTypeDateTimeConstraints;
153
153
  /** PHONE format options */
154
- phoneOptions?: PhoneConstraints;
154
+ phoneOptions?: StringTypePhoneConstraints;
155
155
  /**
156
156
  * Minimum length.
157
157
  * @max 20000
@@ -168,7 +168,7 @@ export interface StringType extends StringTypeFormatOptionsOneOf {
168
168
  */
169
169
  pattern?: string | null;
170
170
  /** Format of a string. */
171
- format?: FormatEnumFormat;
171
+ format?: StringTypeFormatEnumFormat;
172
172
  /** Custom error messages when validation fails. */
173
173
  errorMessages?: StringErrorMessages;
174
174
  /**
@@ -179,19 +179,19 @@ export interface StringType extends StringTypeFormatOptionsOneOf {
179
179
  enum?: string[] | null;
180
180
  }
181
181
  /** @oneof */
182
- export interface StringTypeFormatOptionsOneOf {
182
+ export interface FormFieldStringTypeFormatOptionsOneOf {
183
183
  /** DATE format options */
184
- dateOptions?: DateTimeConstraints;
184
+ dateOptions?: StringTypeDateTimeConstraints;
185
185
  /** DATE_TIME format options */
186
- dateTimeOptions?: DateTimeConstraints;
186
+ dateTimeOptions?: StringTypeDateTimeConstraints;
187
187
  /** TIME format options */
188
- timeOptions?: DateTimeConstraints;
188
+ timeOptions?: StringTypeDateTimeConstraints;
189
189
  /** DATE_OPTIONAL_TIME format options */
190
- dateOptionalTimeOptions?: DateTimeConstraints;
190
+ dateOptionalTimeOptions?: StringTypeDateTimeConstraints;
191
191
  /** PHONE format options */
192
- phoneOptions?: PhoneConstraints;
192
+ phoneOptions?: StringTypePhoneConstraints;
193
193
  }
194
- export declare enum FormatEnumFormat {
194
+ export declare enum StringTypeFormatEnumFormat {
195
195
  UNDEFINED = "UNDEFINED",
196
196
  DATE = "DATE",
197
197
  TIME = "TIME",
@@ -214,7 +214,7 @@ export interface StringErrorMessages {
214
214
  */
215
215
  default?: string | null;
216
216
  }
217
- export interface DateTimeConstraints {
217
+ export interface StringTypeDateTimeConstraints {
218
218
  /**
219
219
  * Support static constrains defined as ISO date/time format, as well as
220
220
  * dynamic calculations can be performed using special keywords such as "$now" to represent the current date and time.
@@ -232,7 +232,7 @@ export interface DateTimeConstraints {
232
232
  */
233
233
  maximum?: string | null;
234
234
  }
235
- export interface PhoneConstraints {
235
+ export interface StringTypePhoneConstraints {
236
236
  /**
237
237
  * Country codes for phone number that are allowed
238
238
  * @maxSize 250
@@ -240,7 +240,7 @@ export interface PhoneConstraints {
240
240
  */
241
241
  allowedCountryCodes?: string[];
242
242
  }
243
- export interface NumberType {
243
+ export interface FormFieldNumberType {
244
244
  /** Inclusive maximum value. */
245
245
  maximum?: number | null;
246
246
  /** Inclusive minimum value. */
@@ -262,7 +262,7 @@ export interface NumberErrorMessages {
262
262
  */
263
263
  default?: string | null;
264
264
  }
265
- export interface IntegerType {
265
+ export interface FormFieldIntegerType {
266
266
  /** Minimum value. */
267
267
  maximum?: number | null;
268
268
  /** Maximum value. */
@@ -277,7 +277,7 @@ export interface IntegerType {
277
277
  */
278
278
  enum?: number[] | null;
279
279
  }
280
- export interface BooleanType {
280
+ export interface FormFieldBooleanType {
281
281
  /** Custom error message when validation fails. */
282
282
  errorMessages?: BooleanErrorMessages;
283
283
  /**
@@ -293,7 +293,7 @@ export interface BooleanErrorMessages {
293
293
  */
294
294
  default?: string | null;
295
295
  }
296
- export interface ArrayType {
296
+ export interface FormFieldArrayType {
297
297
  /**
298
298
  * Maximum amount of array elements.
299
299
  * @max 1000
@@ -305,42 +305,42 @@ export interface ArrayType {
305
305
  */
306
306
  minItems?: number | null;
307
307
  /** Type of items allowed in array. */
308
- items?: ArrayItems;
308
+ items?: ArrayTypeArrayItems;
309
309
  /** Custom error message when validation fails. */
310
310
  errorMessages?: ArrayErrorMessages;
311
311
  }
312
- export interface ObjectType {
312
+ export interface FormFieldObjectType {
313
313
  /** Description of object properties. */
314
- properties?: Record<string, PropertiesType>;
314
+ properties?: Record<string, ObjectTypePropertiesType>;
315
315
  /** Custom error message when validation fails. */
316
316
  errorMessages?: ObjectErrorMessages;
317
317
  }
318
- export interface PropertiesType extends PropertiesTypePropertiesTypeOneOf {
318
+ export interface ObjectTypePropertiesType extends ObjectTypePropertiesTypePropertiesTypeOneOf {
319
319
  /** String type validation for property. */
320
- string?: StringType;
320
+ string?: FormFieldStringType;
321
321
  /** Number type validation for property. */
322
- number?: NumberType;
322
+ number?: FormFieldNumberType;
323
323
  /** Boolean type validation for property. */
324
- boolean?: BooleanType;
324
+ boolean?: FormFieldBooleanType;
325
325
  /** Integer type validation for property. */
326
- integer?: IntegerType;
326
+ integer?: FormFieldIntegerType;
327
327
  /** Array type validation for property. */
328
- array?: ArrayType;
328
+ array?: FormFieldArrayType;
329
329
  /** Whether the property is required. */
330
330
  required?: boolean;
331
331
  }
332
332
  /** @oneof */
333
- export interface PropertiesTypePropertiesTypeOneOf {
333
+ export interface ObjectTypePropertiesTypePropertiesTypeOneOf {
334
334
  /** String type validation for property. */
335
- string?: StringType;
335
+ string?: FormFieldStringType;
336
336
  /** Number type validation for property. */
337
- number?: NumberType;
337
+ number?: FormFieldNumberType;
338
338
  /** Boolean type validation for property. */
339
- boolean?: BooleanType;
339
+ boolean?: FormFieldBooleanType;
340
340
  /** Integer type validation for property. */
341
- integer?: IntegerType;
341
+ integer?: FormFieldIntegerType;
342
342
  /** Array type validation for property. */
343
- array?: ArrayType;
343
+ array?: FormFieldArrayType;
344
344
  }
345
345
  export interface ObjectErrorMessages {
346
346
  /**
@@ -349,30 +349,30 @@ export interface ObjectErrorMessages {
349
349
  */
350
350
  default?: string | null;
351
351
  }
352
- export interface ArrayItems extends ArrayItemsItemsOneOf {
352
+ export interface ArrayTypeArrayItems extends ArrayTypeArrayItemsItemsOneOf {
353
353
  /** String type validation for items. */
354
- string?: StringType;
354
+ string?: FormFieldStringType;
355
355
  /** Number type validation for items. */
356
- number?: NumberType;
356
+ number?: FormFieldNumberType;
357
357
  /** Boolean type validation for items. */
358
- boolean?: BooleanType;
358
+ boolean?: FormFieldBooleanType;
359
359
  /** Integer type validation for items. */
360
- integer?: IntegerType;
360
+ integer?: FormFieldIntegerType;
361
361
  /** Object type validation for items */
362
- object?: ObjectType;
362
+ object?: FormFieldObjectType;
363
363
  }
364
364
  /** @oneof */
365
- export interface ArrayItemsItemsOneOf {
365
+ export interface ArrayTypeArrayItemsItemsOneOf {
366
366
  /** String type validation for items. */
367
- string?: StringType;
367
+ string?: FormFieldStringType;
368
368
  /** Number type validation for items. */
369
- number?: NumberType;
369
+ number?: FormFieldNumberType;
370
370
  /** Boolean type validation for items. */
371
- boolean?: BooleanType;
371
+ boolean?: FormFieldBooleanType;
372
372
  /** Integer type validation for items. */
373
- integer?: IntegerType;
373
+ integer?: FormFieldIntegerType;
374
374
  /** Object type validation for items */
375
- object?: ObjectType;
375
+ object?: FormFieldObjectType;
376
376
  }
377
377
  export interface ArrayErrorMessages {
378
378
  /**
@@ -539,17 +539,17 @@ export interface NestedFormFieldOverrides {
539
539
  }
540
540
  export interface Validation extends ValidationValidationOneOf {
541
541
  /** Validation of string type. */
542
- string?: StringType;
542
+ string?: FormFieldStringType;
543
543
  /** Validation of number type. */
544
- number?: NumberType;
544
+ number?: FormFieldNumberType;
545
545
  /** Validation of integer type. */
546
- integer?: IntegerType;
546
+ integer?: FormFieldIntegerType;
547
547
  /** Validation of boolean type. */
548
- boolean?: BooleanType;
548
+ boolean?: FormFieldBooleanType;
549
549
  /** Validation of array type. */
550
- array?: ArrayType;
550
+ array?: FormFieldArrayType;
551
551
  /** Validation of object type. */
552
- object?: ObjectType;
552
+ object?: FormFieldObjectType;
553
553
  /** Predefined validation of specific format */
554
554
  predefined?: PredefinedValidation;
555
555
  /** Whether the field is required. */
@@ -558,17 +558,17 @@ export interface Validation extends ValidationValidationOneOf {
558
558
  /** @oneof */
559
559
  export interface ValidationValidationOneOf {
560
560
  /** Validation of string type. */
561
- string?: StringType;
561
+ string?: FormFieldStringType;
562
562
  /** Validation of number type. */
563
- number?: NumberType;
563
+ number?: FormFieldNumberType;
564
564
  /** Validation of integer type. */
565
- integer?: IntegerType;
565
+ integer?: FormFieldIntegerType;
566
566
  /** Validation of boolean type. */
567
- boolean?: BooleanType;
567
+ boolean?: FormFieldBooleanType;
568
568
  /** Validation of array type. */
569
- array?: ArrayType;
569
+ array?: FormFieldArrayType;
570
570
  /** Validation of object type. */
571
- object?: ObjectType;
571
+ object?: FormFieldObjectType;
572
572
  /** Predefined validation of specific format */
573
573
  predefined?: PredefinedValidation;
574
574
  }
@@ -587,7 +587,7 @@ export interface NestedFormOverrides {
587
587
  }
588
588
  export interface FormFieldV2 extends FormFieldV2FieldTypeOptionsOneOf {
589
589
  /** Field accept input of data */
590
- inputOptions?: InputField;
590
+ inputOptions?: FormFieldV2InputField;
591
591
  /** Field for displaying information such as header or text paragraph */
592
592
  displayOptions?: DisplayField;
593
593
  /**
@@ -605,26 +605,26 @@ export interface FormFieldV2 extends FormFieldV2FieldTypeOptionsOneOf {
605
605
  * Type of the field
606
606
  * @readonly
607
607
  */
608
- fieldType?: FieldType;
608
+ fieldType?: FormFieldV2FieldType;
609
609
  }
610
610
  /** @oneof */
611
611
  export interface FormFieldV2FieldTypeOptionsOneOf {
612
612
  /** Field accept input of data */
613
- inputOptions?: InputField;
613
+ inputOptions?: FormFieldV2InputField;
614
614
  /** Field for displaying information such as header or text paragraph */
615
615
  displayOptions?: DisplayField;
616
616
  }
617
617
  export interface InputFieldStringType extends InputFieldStringTypeFormatOptionsOneOf {
618
618
  /** DATE format options */
619
- dateOptions?: StringTypeDateTimeConstraints;
619
+ dateOptions?: InputFieldStringTypeDateTimeConstraints;
620
620
  /** DATE_TIME format options */
621
- dateTimeOptions?: StringTypeDateTimeConstraints;
621
+ dateTimeOptions?: InputFieldStringTypeDateTimeConstraints;
622
622
  /** TIME format options */
623
- timeOptions?: StringTypeDateTimeConstraints;
623
+ timeOptions?: InputFieldStringTypeDateTimeConstraints;
624
624
  /** DATE_OPTIONAL_TIME format options */
625
- dateOptionalTimeOptions?: StringTypeDateTimeConstraints;
625
+ dateOptionalTimeOptions?: InputFieldStringTypeDateTimeConstraints;
626
626
  /** PHONE format options */
627
- phoneOptions?: StringTypePhoneConstraints;
627
+ phoneOptions?: InputFieldStringTypePhoneConstraints;
628
628
  /**
629
629
  * Minimum length.
630
630
  * @max 20000
@@ -641,7 +641,7 @@ export interface InputFieldStringType extends InputFieldStringTypeFormatOptionsO
641
641
  */
642
642
  pattern?: string | null;
643
643
  /** Format of a string. */
644
- format?: StringTypeFormatEnumFormat;
644
+ format?: InputFieldStringTypeFormatEnumFormat;
645
645
  /** Custom error messages when validation fails. */
646
646
  errorMessages?: InputFieldStringErrorMessages;
647
647
  /**
@@ -654,17 +654,17 @@ export interface InputFieldStringType extends InputFieldStringTypeFormatOptionsO
654
654
  /** @oneof */
655
655
  export interface InputFieldStringTypeFormatOptionsOneOf {
656
656
  /** DATE format options */
657
- dateOptions?: StringTypeDateTimeConstraints;
657
+ dateOptions?: InputFieldStringTypeDateTimeConstraints;
658
658
  /** DATE_TIME format options */
659
- dateTimeOptions?: StringTypeDateTimeConstraints;
659
+ dateTimeOptions?: InputFieldStringTypeDateTimeConstraints;
660
660
  /** TIME format options */
661
- timeOptions?: StringTypeDateTimeConstraints;
661
+ timeOptions?: InputFieldStringTypeDateTimeConstraints;
662
662
  /** DATE_OPTIONAL_TIME format options */
663
- dateOptionalTimeOptions?: StringTypeDateTimeConstraints;
663
+ dateOptionalTimeOptions?: InputFieldStringTypeDateTimeConstraints;
664
664
  /** PHONE format options */
665
- phoneOptions?: StringTypePhoneConstraints;
665
+ phoneOptions?: InputFieldStringTypePhoneConstraints;
666
666
  }
667
- export declare enum StringTypeFormatEnumFormat {
667
+ export declare enum InputFieldStringTypeFormatEnumFormat {
668
668
  UNKNOWN_FORMAT = "UNKNOWN_FORMAT",
669
669
  DATE = "DATE",
670
670
  TIME = "TIME",
@@ -687,7 +687,7 @@ export interface InputFieldStringErrorMessages {
687
687
  */
688
688
  default?: string | null;
689
689
  }
690
- export interface StringTypeDateTimeConstraints {
690
+ export interface InputFieldStringTypeDateTimeConstraints {
691
691
  /**
692
692
  * Support static constrains defined as ISO date/time format, as well as
693
693
  * dynamic calculations can be performed using special keywords such as "$now" to represent the current date and time.
@@ -705,7 +705,7 @@ export interface StringTypeDateTimeConstraints {
705
705
  */
706
706
  maximum?: string | null;
707
707
  }
708
- export interface StringTypePhoneConstraints {
708
+ export interface InputFieldStringTypePhoneConstraints {
709
709
  /**
710
710
  * Country codes for phone number that are allowed
711
711
  * @maxSize 250
@@ -713,7 +713,7 @@ export interface StringTypePhoneConstraints {
713
713
  */
714
714
  allowedCountryCodes?: string[];
715
715
  }
716
- export declare enum StringComponentType {
716
+ export declare enum InputFieldStringComponentType {
717
717
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
718
718
  TEXT_INPUT = "TEXT_INPUT",
719
719
  RADIO_GROUP = "RADIO_GROUP",
@@ -2359,7 +2359,7 @@ export interface InputFieldNumberErrorMessages {
2359
2359
  */
2360
2360
  default?: string | null;
2361
2361
  }
2362
- export declare enum NumberComponentType {
2362
+ export declare enum InputFieldNumberComponentType {
2363
2363
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
2364
2364
  NUMBER_INPUT = "NUMBER_INPUT",
2365
2365
  RATING_INPUT = "RATING_INPUT"
@@ -2421,7 +2421,7 @@ export interface InputFieldBooleanErrorMessages {
2421
2421
  */
2422
2422
  default?: string | null;
2423
2423
  }
2424
- export declare enum BooleanComponentType {
2424
+ export declare enum InputFieldBooleanComponentType {
2425
2425
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
2426
2426
  CHECKBOX = "CHECKBOX"
2427
2427
  }
@@ -2446,11 +2446,11 @@ export interface InputFieldArrayType {
2446
2446
  */
2447
2447
  minItems?: number | null;
2448
2448
  /** Type of items allowed in array. */
2449
- items?: ArrayTypeArrayItems;
2449
+ items?: InputFieldArrayTypeArrayItems;
2450
2450
  /** Custom error message when validation fails. */
2451
2451
  errorMessages?: InputFieldArrayErrorMessages;
2452
2452
  }
2453
- export declare enum ItemType {
2453
+ export declare enum ArrayItemsItemType {
2454
2454
  UNKNOWN_ITEM_TYPE = "UNKNOWN_ITEM_TYPE",
2455
2455
  STRING = "STRING",
2456
2456
  NUMBER = "NUMBER",
@@ -2475,11 +2475,11 @@ export interface InputFieldIntegerType {
2475
2475
  }
2476
2476
  export interface InputFieldObjectType {
2477
2477
  /** Description of object properties. */
2478
- properties?: Record<string, ObjectTypePropertiesType>;
2478
+ properties?: Record<string, InputFieldObjectTypePropertiesType>;
2479
2479
  /** Custom error message when validation fails. */
2480
2480
  errorMessages?: InputFieldObjectErrorMessages;
2481
2481
  }
2482
- export declare enum PropertiesTypeEnum {
2482
+ export declare enum PropertiesTypePropertiesTypeEnum {
2483
2483
  UNKNOWN_PROPERTIES_TYPE = "UNKNOWN_PROPERTIES_TYPE",
2484
2484
  STRING = "STRING",
2485
2485
  NUMBER = "NUMBER",
@@ -2487,7 +2487,7 @@ export declare enum PropertiesTypeEnum {
2487
2487
  INTEGER = "INTEGER",
2488
2488
  ARRAY = "ARRAY"
2489
2489
  }
2490
- export interface ObjectTypePropertiesType extends ObjectTypePropertiesTypePropertiesTypeOptionsOneOf {
2490
+ export interface InputFieldObjectTypePropertiesType extends InputFieldObjectTypePropertiesTypePropertiesTypeOptionsOneOf {
2491
2491
  /** String type validation for property. */
2492
2492
  stringOptions?: InputFieldStringType;
2493
2493
  /** Number type validation for property. */
@@ -2502,12 +2502,12 @@ export interface ObjectTypePropertiesType extends ObjectTypePropertiesTypeProper
2502
2502
  * Type of object properties
2503
2503
  * @readonly
2504
2504
  */
2505
- propertiesType?: PropertiesTypeEnum;
2505
+ propertiesType?: PropertiesTypePropertiesTypeEnum;
2506
2506
  /** Whether the property is required. */
2507
2507
  required?: boolean;
2508
2508
  }
2509
2509
  /** @oneof */
2510
- export interface ObjectTypePropertiesTypePropertiesTypeOptionsOneOf {
2510
+ export interface InputFieldObjectTypePropertiesTypePropertiesTypeOptionsOneOf {
2511
2511
  /** String type validation for property. */
2512
2512
  stringOptions?: InputFieldStringType;
2513
2513
  /** Number type validation for property. */
@@ -2526,7 +2526,7 @@ export interface InputFieldObjectErrorMessages {
2526
2526
  */
2527
2527
  default?: string | null;
2528
2528
  }
2529
- export interface ArrayTypeArrayItems extends ArrayTypeArrayItemsItemTypeOptionsOneOf {
2529
+ export interface InputFieldArrayTypeArrayItems extends InputFieldArrayTypeArrayItemsItemTypeOptionsOneOf {
2530
2530
  /** String type validation for items. */
2531
2531
  stringOptions?: InputFieldStringType;
2532
2532
  /** Number type validation for items. */
@@ -2541,10 +2541,10 @@ export interface ArrayTypeArrayItems extends ArrayTypeArrayItemsItemTypeOptionsO
2541
2541
  * Type of array items
2542
2542
  * @readonly
2543
2543
  */
2544
- itemType?: ItemType;
2544
+ itemType?: ArrayItemsItemType;
2545
2545
  }
2546
2546
  /** @oneof */
2547
- export interface ArrayTypeArrayItemsItemTypeOptionsOneOf {
2547
+ export interface InputFieldArrayTypeArrayItemsItemTypeOptionsOneOf {
2548
2548
  /** String type validation for items. */
2549
2549
  stringOptions?: InputFieldStringType;
2550
2550
  /** Number type validation for items. */
@@ -2563,7 +2563,7 @@ export interface InputFieldArrayErrorMessages {
2563
2563
  */
2564
2564
  default?: string | null;
2565
2565
  }
2566
- export declare enum ComponentType {
2566
+ export declare enum ArrayComponentType {
2567
2567
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
2568
2568
  CHECKBOX_GROUP = "CHECKBOX_GROUP",
2569
2569
  TAGS = "TAGS"
@@ -2691,7 +2691,7 @@ export interface CommonCustomOption {
2691
2691
  */
2692
2692
  placeholder?: string | null;
2693
2693
  }
2694
- export declare enum WixFileComponentType {
2694
+ export declare enum InputFieldWixFileComponentType {
2695
2695
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
2696
2696
  FILE_UPLOAD = "FILE_UPLOAD",
2697
2697
  SIGNATURE = "SIGNATURE"
@@ -2761,7 +2761,7 @@ export interface Signature {
2761
2761
  /** Is image upload enabled */
2762
2762
  imageUploadEnabled?: boolean;
2763
2763
  }
2764
- export declare enum PaymentComponentType {
2764
+ export declare enum InputFieldPaymentComponentType {
2765
2765
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
2766
2766
  CHECKBOX_GROUP = "CHECKBOX_GROUP",
2767
2767
  DONATION_INPUT = "DONATION_INPUT",
@@ -2989,7 +2989,7 @@ export interface PhoneOptions {
2989
2989
  */
2990
2990
  description?: string | null;
2991
2991
  }
2992
- export declare enum MultilineAddressComponentType {
2992
+ export declare enum InputFieldMultilineAddressComponentType {
2993
2993
  UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
2994
2994
  MULTILINE_ADDRESS = "MULTILINE_ADDRESS"
2995
2995
  }
@@ -3043,7 +3043,7 @@ export interface FieldsSettings {
3043
3043
  /** Address line 2. */
3044
3044
  addressLine2?: AddressLine2;
3045
3045
  }
3046
- export declare enum InputType {
3046
+ export declare enum InputFieldInputType {
3047
3047
  UNKNOWN_INPUT_TYPE = "UNKNOWN_INPUT_TYPE",
3048
3048
  STRING = "STRING",
3049
3049
  NUMBER = "NUMBER",
@@ -3055,42 +3055,42 @@ export declare enum InputType {
3055
3055
  MULTILINE_ADDRESS = "MULTILINE_ADDRESS",
3056
3056
  SCHEDULING = "SCHEDULING"
3057
3057
  }
3058
- export interface FormFieldContactInfo extends FormFieldContactInfoAdditionalInfoOneOf {
3058
+ export interface V4FormFieldContactInfo extends V4FormFieldContactInfoAdditionalInfoOneOf {
3059
3059
  /** Email info. */
3060
- emailInfo?: EmailInfo;
3060
+ emailInfo?: FormFieldContactInfoEmailInfo;
3061
3061
  /** Phone info. */
3062
- phoneInfo?: PhoneInfo;
3062
+ phoneInfo?: FormFieldContactInfoPhoneInfo;
3063
3063
  /** Address info. */
3064
- addressInfo?: AddressInfo;
3064
+ addressInfo?: FormFieldContactInfoAddressInfo;
3065
3065
  /** Custom field info. */
3066
- customFieldInfo?: CustomFieldInfo;
3066
+ customFieldInfo?: FormFieldContactInfoCustomFieldInfo;
3067
3067
  /** Subscription info */
3068
- subscriptionInfo?: SubscriptionInfo;
3068
+ subscriptionInfo?: FormFieldContactInfoSubscriptionInfo;
3069
3069
  /** Field mapped to contacts. */
3070
- contactField?: ContactField;
3070
+ contactField?: FormFieldContactInfoContactField;
3071
3071
  }
3072
3072
  /** @oneof */
3073
- export interface FormFieldContactInfoAdditionalInfoOneOf {
3073
+ export interface V4FormFieldContactInfoAdditionalInfoOneOf {
3074
3074
  /** Email info. */
3075
- emailInfo?: EmailInfo;
3075
+ emailInfo?: FormFieldContactInfoEmailInfo;
3076
3076
  /** Phone info. */
3077
- phoneInfo?: PhoneInfo;
3077
+ phoneInfo?: FormFieldContactInfoPhoneInfo;
3078
3078
  /** Address info. */
3079
- addressInfo?: AddressInfo;
3079
+ addressInfo?: FormFieldContactInfoAddressInfo;
3080
3080
  /** Custom field info. */
3081
- customFieldInfo?: CustomFieldInfo;
3081
+ customFieldInfo?: FormFieldContactInfoCustomFieldInfo;
3082
3082
  /** Subscription info */
3083
- subscriptionInfo?: SubscriptionInfo;
3083
+ subscriptionInfo?: FormFieldContactInfoSubscriptionInfo;
3084
3084
  }
3085
- export declare enum EmailInfoTag {
3085
+ export declare enum FormFieldContactInfoEmailInfoTag {
3086
3086
  UNTAGGED = "UNTAGGED",
3087
3087
  MAIN = "MAIN"
3088
3088
  }
3089
- export declare enum PhoneInfoTag {
3089
+ export declare enum FormFieldContactInfoPhoneInfoTag {
3090
3090
  UNTAGGED = "UNTAGGED",
3091
3091
  MAIN = "MAIN"
3092
3092
  }
3093
- export declare enum Tag {
3093
+ export declare enum AddressInfoTag {
3094
3094
  UNTAGGED = "UNTAGGED",
3095
3095
  HOME = "HOME"
3096
3096
  }
@@ -3099,7 +3099,7 @@ export declare enum OptInLevel {
3099
3099
  SINGLE_CONFIRMATION = "SINGLE_CONFIRMATION",
3100
3100
  DOUBLE_CONFIRMATION = "DOUBLE_CONFIRMATION"
3101
3101
  }
3102
- export declare enum ContactField {
3102
+ export declare enum FormFieldContactInfoContactField {
3103
3103
  UNDEFINED = "UNDEFINED",
3104
3104
  FIRST_NAME = "FIRST_NAME",
3105
3105
  LAST_NAME = "LAST_NAME",
@@ -3113,19 +3113,19 @@ export declare enum ContactField {
3113
3113
  SUBSCRIPTION = "SUBSCRIPTION",
3114
3114
  VAT_ID = "VAT_ID"
3115
3115
  }
3116
- export interface EmailInfo {
3116
+ export interface FormFieldContactInfoEmailInfo {
3117
3117
  /** Email tag. */
3118
- tag?: EmailInfoTag;
3118
+ tag?: FormFieldContactInfoEmailInfoTag;
3119
3119
  }
3120
- export interface PhoneInfo {
3120
+ export interface FormFieldContactInfoPhoneInfo {
3121
3121
  /** Phone tag. */
3122
- tag?: PhoneInfoTag;
3122
+ tag?: FormFieldContactInfoPhoneInfoTag;
3123
3123
  }
3124
- export interface AddressInfo {
3124
+ export interface FormFieldContactInfoAddressInfo {
3125
3125
  /** Address tag. */
3126
- tag?: Tag;
3126
+ tag?: AddressInfoTag;
3127
3127
  }
3128
- export interface CustomFieldInfo {
3128
+ export interface FormFieldContactInfoCustomFieldInfo {
3129
3129
  /**
3130
3130
  * Custom field key.
3131
3131
  * @minLength 1
@@ -3133,14 +3133,14 @@ export interface CustomFieldInfo {
3133
3133
  */
3134
3134
  key?: string;
3135
3135
  }
3136
- export interface SubscriptionInfo {
3136
+ export interface FormFieldContactInfoSubscriptionInfo {
3137
3137
  /**
3138
3138
  * Subscription consent opt in level, either single or double confirmation.
3139
3139
  * Default: SINGLE_CONFIRMATION
3140
3140
  */
3141
3141
  optInLevel?: OptInLevel;
3142
3142
  }
3143
- export interface _String extends _StringComponentTypeOptionsOneOf {
3143
+ export interface InputField_String extends InputField_StringComponentTypeOptionsOneOf {
3144
3144
  /** Text input field */
3145
3145
  textInputOptions?: TextInput;
3146
3146
  /** Selection field as radio group */
@@ -3163,10 +3163,10 @@ export interface _String extends _StringComponentTypeOptionsOneOf {
3163
3163
  * Component type of the string input field
3164
3164
  * @readonly
3165
3165
  */
3166
- componentType?: StringComponentType;
3166
+ componentType?: InputFieldStringComponentType;
3167
3167
  }
3168
3168
  /** @oneof */
3169
- export interface _StringComponentTypeOptionsOneOf {
3169
+ export interface InputField_StringComponentTypeOptionsOneOf {
3170
3170
  /** Text input field */
3171
3171
  textInputOptions?: TextInput;
3172
3172
  /** Selection field as radio group */
@@ -3184,7 +3184,7 @@ export interface _StringComponentTypeOptionsOneOf {
3184
3184
  /** Calendar type component for selecting date */
3185
3185
  datePickerOptions?: DatePicker;
3186
3186
  }
3187
- export interface _Number extends _NumberComponentTypeOptionsOneOf {
3187
+ export interface InputField_Number extends InputField_NumberComponentTypeOptionsOneOf {
3188
3188
  /** Number value input field */
3189
3189
  numberInputOptions?: NumberInput;
3190
3190
  /** Rating value input field */
@@ -3195,16 +3195,16 @@ export interface _Number extends _NumberComponentTypeOptionsOneOf {
3195
3195
  * Component type of the number input field
3196
3196
  * @readonly
3197
3197
  */
3198
- componentType?: NumberComponentType;
3198
+ componentType?: InputFieldNumberComponentType;
3199
3199
  }
3200
3200
  /** @oneof */
3201
- export interface _NumberComponentTypeOptionsOneOf {
3201
+ export interface InputField_NumberComponentTypeOptionsOneOf {
3202
3202
  /** Number value input field */
3203
3203
  numberInputOptions?: NumberInput;
3204
3204
  /** Rating value input field */
3205
3205
  ratingInputOptions?: RatingInput;
3206
3206
  }
3207
- export interface _Boolean extends _BooleanComponentTypeOptionsOneOf {
3207
+ export interface InputField_Boolean extends InputField_BooleanComponentTypeOptionsOneOf {
3208
3208
  /** Checkbox input field */
3209
3209
  checkboxOptions?: Checkbox;
3210
3210
  /** Validation of field output value. */
@@ -3213,14 +3213,14 @@ export interface _Boolean extends _BooleanComponentTypeOptionsOneOf {
3213
3213
  * Component type of the boolean input field
3214
3214
  * @readonly
3215
3215
  */
3216
- componentType?: BooleanComponentType;
3216
+ componentType?: InputFieldBooleanComponentType;
3217
3217
  }
3218
3218
  /** @oneof */
3219
- export interface _BooleanComponentTypeOptionsOneOf {
3219
+ export interface InputField_BooleanComponentTypeOptionsOneOf {
3220
3220
  /** Checkbox input field */
3221
3221
  checkboxOptions?: Checkbox;
3222
3222
  }
3223
- export interface _Array extends _ArrayComponentTypeOptionsOneOf {
3223
+ export interface InputField_Array extends InputField_ArrayComponentTypeOptionsOneOf {
3224
3224
  /** Checkbox group input field */
3225
3225
  checkboxGroupOptions?: CheckboxGroup;
3226
3226
  /** Tags input field */
@@ -3231,25 +3231,25 @@ export interface _Array extends _ArrayComponentTypeOptionsOneOf {
3231
3231
  * Component type of the array input field
3232
3232
  * @readonly
3233
3233
  */
3234
- componentType?: ComponentType;
3234
+ componentType?: ArrayComponentType;
3235
3235
  }
3236
3236
  /** @oneof */
3237
- export interface _ArrayComponentTypeOptionsOneOf {
3237
+ export interface InputField_ArrayComponentTypeOptionsOneOf {
3238
3238
  /** Checkbox group input field */
3239
3239
  checkboxGroupOptions?: CheckboxGroup;
3240
3240
  /** Tags input field */
3241
3241
  tagsOptions?: Tags;
3242
3242
  }
3243
- export interface _Object extends _ObjectValidationOneOf {
3243
+ export interface InputField_Object extends InputField_ObjectValidationOneOf {
3244
3244
  /** Validation of object type. */
3245
3245
  object?: InputFieldObjectType;
3246
3246
  }
3247
3247
  /** @oneof */
3248
- export interface _ObjectValidationOneOf {
3248
+ export interface InputField_ObjectValidationOneOf {
3249
3249
  /** Validation of object type. */
3250
3250
  object?: InputFieldObjectType;
3251
3251
  }
3252
- export interface WixFile extends WixFileComponentTypeOptionsOneOf {
3252
+ export interface InputFieldWixFile extends InputFieldWixFileComponentTypeOptionsOneOf {
3253
3253
  /** File upload input field */
3254
3254
  fileUploadOptions?: FileUpload;
3255
3255
  /** Signature input field */
@@ -3258,16 +3258,16 @@ export interface WixFile extends WixFileComponentTypeOptionsOneOf {
3258
3258
  * Component type of the array input field
3259
3259
  * @readonly
3260
3260
  */
3261
- componentType?: WixFileComponentType;
3261
+ componentType?: InputFieldWixFileComponentType;
3262
3262
  }
3263
3263
  /** @oneof */
3264
- export interface WixFileComponentTypeOptionsOneOf {
3264
+ export interface InputFieldWixFileComponentTypeOptionsOneOf {
3265
3265
  /** File upload input field */
3266
3266
  fileUploadOptions?: FileUpload;
3267
3267
  /** Signature input field */
3268
3268
  signatureOptions?: Signature;
3269
3269
  }
3270
- export interface Payment extends PaymentComponentTypeOptionsOneOf {
3270
+ export interface InputFieldPayment extends InputFieldPaymentComponentTypeOptionsOneOf {
3271
3271
  /** Checkbox group input field. */
3272
3272
  checkboxGroupOptions?: ProductCheckboxGroup;
3273
3273
  /** Donation input field. */
@@ -3280,12 +3280,12 @@ export interface Payment extends PaymentComponentTypeOptionsOneOf {
3280
3280
  * Component type of the payment input field.
3281
3281
  * @readonly
3282
3282
  */
3283
- componentType?: PaymentComponentType;
3283
+ componentType?: InputFieldPaymentComponentType;
3284
3284
  /** Validation of payment type. */
3285
3285
  validation?: PaymentType;
3286
3286
  }
3287
3287
  /** @oneof */
3288
- export interface PaymentComponentTypeOptionsOneOf {
3288
+ export interface InputFieldPaymentComponentTypeOptionsOneOf {
3289
3289
  /** Checkbox group input field. */
3290
3290
  checkboxGroupOptions?: ProductCheckboxGroup;
3291
3291
  /** Donation input field. */
@@ -3295,19 +3295,19 @@ export interface PaymentComponentTypeOptionsOneOf {
3295
3295
  /** Fixed payment field. */
3296
3296
  fixedPaymentOptions?: FixedPayment;
3297
3297
  }
3298
- export interface InputFieldMultilineAddress extends InputFieldMultilineAddressComponentTypeOptionsOneOf {
3298
+ export interface FormFieldV2InputFieldMultilineAddress extends FormFieldV2InputFieldMultilineAddressComponentTypeOptionsOneOf {
3299
3299
  /** Multiline address input field. */
3300
3300
  multilineAddressOptions?: MultilineAddress;
3301
3301
  /**
3302
3302
  * Component type of the multiline address field.
3303
3303
  * @readonly
3304
3304
  */
3305
- componentType?: MultilineAddressComponentType;
3305
+ componentType?: InputFieldMultilineAddressComponentType;
3306
3306
  /** Validation of multiline address field output value. */
3307
3307
  validation?: MultilineAddressValidation;
3308
3308
  }
3309
3309
  /** @oneof */
3310
- export interface InputFieldMultilineAddressComponentTypeOptionsOneOf {
3310
+ export interface FormFieldV2InputFieldMultilineAddressComponentTypeOptionsOneOf {
3311
3311
  /** Multiline address input field. */
3312
3312
  multilineAddressOptions?: MultilineAddress;
3313
3313
  }
@@ -3325,28 +3325,28 @@ export interface SchedulingComponentTypeOptionsOneOf {
3325
3325
  /** Appointment input field */
3326
3326
  appointmentOptions?: Appointment;
3327
3327
  }
3328
- export declare enum FieldType {
3328
+ export declare enum FormFieldV2FieldType {
3329
3329
  UNKNOWN_FIELD_TYPE = "UNKNOWN_FIELD_TYPE",
3330
3330
  INPUT = "INPUT",
3331
3331
  DISPLAY = "DISPLAY"
3332
3332
  }
3333
- export interface InputField extends InputFieldInputTypeOptionsOneOf {
3333
+ export interface FormFieldV2InputField extends FormFieldV2InputFieldInputTypeOptionsOneOf {
3334
3334
  /** Input return string as value */
3335
- stringOptions?: _String;
3335
+ stringOptions?: InputField_String;
3336
3336
  /** Input return number as value */
3337
- numberOptions?: _Number;
3337
+ numberOptions?: InputField_Number;
3338
3338
  /** Input return boolean as value */
3339
- booleanOptions?: _Boolean;
3339
+ booleanOptions?: InputField_Boolean;
3340
3340
  /** Input return array as value */
3341
- arrayOptions?: _Array;
3341
+ arrayOptions?: InputField_Array;
3342
3342
  /** Input return object as value */
3343
- objectOptions?: _Object;
3343
+ objectOptions?: InputField_Object;
3344
3344
  /** Input return "Wix file" as value */
3345
- wixFileOptions?: WixFile;
3345
+ wixFileOptions?: InputFieldWixFile;
3346
3346
  /** Input returns selected products as value. */
3347
- paymentOptions?: Payment;
3347
+ paymentOptions?: InputFieldPayment;
3348
3348
  /** Input returns multiline address as value. */
3349
- multilineAddressOptions?: InputFieldMultilineAddress;
3349
+ multilineAddressOptions?: FormFieldV2InputFieldMultilineAddress;
3350
3350
  /** Input returns scheduling as value. */
3351
3351
  schedulingOptions?: Scheduling;
3352
3352
  /**
@@ -3370,9 +3370,9 @@ export interface InputField extends InputFieldInputTypeOptionsOneOf {
3370
3370
  * Type of the input field
3371
3371
  * @readonly
3372
3372
  */
3373
- inputType?: InputType;
3373
+ inputType?: InputFieldInputType;
3374
3374
  /** Mapping to contacts, telling to what contact property field input value should be saved. */
3375
- contactMapping?: FormFieldContactInfo;
3375
+ contactMapping?: V4FormFieldContactInfo;
3376
3376
  /**
3377
3377
  * Whether the field is read only.
3378
3378
  * Default: false
@@ -3380,52 +3380,52 @@ export interface InputField extends InputFieldInputTypeOptionsOneOf {
3380
3380
  readOnly?: boolean;
3381
3381
  }
3382
3382
  /** @oneof */
3383
- export interface InputFieldInputTypeOptionsOneOf {
3383
+ export interface FormFieldV2InputFieldInputTypeOptionsOneOf {
3384
3384
  /** Input return string as value */
3385
- stringOptions?: _String;
3385
+ stringOptions?: InputField_String;
3386
3386
  /** Input return number as value */
3387
- numberOptions?: _Number;
3387
+ numberOptions?: InputField_Number;
3388
3388
  /** Input return boolean as value */
3389
- booleanOptions?: _Boolean;
3389
+ booleanOptions?: InputField_Boolean;
3390
3390
  /** Input return array as value */
3391
- arrayOptions?: _Array;
3391
+ arrayOptions?: InputField_Array;
3392
3392
  /** Input return object as value */
3393
- objectOptions?: _Object;
3393
+ objectOptions?: InputField_Object;
3394
3394
  /** Input return "Wix file" as value */
3395
- wixFileOptions?: WixFile;
3395
+ wixFileOptions?: InputFieldWixFile;
3396
3396
  /** Input returns selected products as value. */
3397
- paymentOptions?: Payment;
3397
+ paymentOptions?: InputFieldPayment;
3398
3398
  /** Input returns multiline address as value. */
3399
- multilineAddressOptions?: InputFieldMultilineAddress;
3399
+ multilineAddressOptions?: FormFieldV2InputFieldMultilineAddress;
3400
3400
  /** Input returns scheduling as value. */
3401
3401
  schedulingOptions?: Scheduling;
3402
3402
  }
3403
3403
  /** Copy of the entity existing in form template project, needed to hide translations. */
3404
3404
  export interface DisplayField extends DisplayFieldDisplayFieldTypeOptionsOneOf {
3405
3405
  /** Component displaying rich content */
3406
- richContentOptions?: RichContentOptions;
3406
+ richContentOptions?: V4RichContentOptions;
3407
3407
  /** Page navigation component resolving as navigation or submit buttons */
3408
- pageNavigationOptions?: PageNavigationOptions;
3408
+ pageNavigationOptions?: V4PageNavigationOptions;
3409
3409
  /** Type of the display field */
3410
3410
  displayFieldType?: DisplayFieldType;
3411
3411
  }
3412
3412
  /** @oneof */
3413
3413
  export interface DisplayFieldDisplayFieldTypeOptionsOneOf {
3414
3414
  /** Component displaying rich content */
3415
- richContentOptions?: RichContentOptions;
3415
+ richContentOptions?: V4RichContentOptions;
3416
3416
  /** Page navigation component resolving as navigation or submit buttons */
3417
- pageNavigationOptions?: PageNavigationOptions;
3417
+ pageNavigationOptions?: V4PageNavigationOptions;
3418
3418
  }
3419
3419
  export declare enum DisplayFieldType {
3420
3420
  UNKNOWN_FIELD_TYPE = "UNKNOWN_FIELD_TYPE",
3421
3421
  RICH_CONTENT = "RICH_CONTENT",
3422
3422
  PAGE_NAVIGATION = "PAGE_NAVIGATION"
3423
3423
  }
3424
- export interface RichContentOptions {
3424
+ export interface V4RichContentOptions {
3425
3425
  /** Content of the header */
3426
3426
  richContent?: RichContent;
3427
3427
  }
3428
- export interface PageNavigationOptions {
3428
+ export interface V4PageNavigationOptions {
3429
3429
  /**
3430
3430
  * When button is not on last page it behaves as switch between pages page, text of label to go to next page.
3431
3431
  * @maxLength 65
@@ -3442,90 +3442,759 @@ export interface PageNavigationOptions {
3442
3442
  */
3443
3443
  submitText?: string | null;
3444
3444
  }
3445
- export interface Step {
3445
+ export interface Field extends FieldFieldTypeOptionsOneOf {
3446
+ /** Field accept input of data */
3447
+ inputOptions?: InputField;
3448
+ /** Field for displaying information such as header or text paragraph */
3449
+ displayOptions?: FieldsDisplayField;
3446
3450
  /**
3447
- * Step ID.
3451
+ * Field id.
3448
3452
  * @format GUID
3449
3453
  * @immutable
3450
3454
  */
3451
3455
  _id?: string;
3452
3456
  /**
3453
- * Name of the step.
3454
- * @maxLength 200
3457
+ * Whether the field is hidden.
3458
+ * Default: false
3455
3459
  */
3456
- name?: string | null;
3457
- /** Is step hidden */
3458
3460
  hidden?: boolean;
3459
- /** Form step properties */
3460
- layout?: FormLayout;
3461
- }
3462
- export interface FormLayout {
3463
- /** Layout for large break point. */
3464
- large?: BreakPoint;
3465
- /** Layout for medium break point. */
3466
- medium?: BreakPoint;
3467
- /** Layout for small break point. */
3468
- small?: BreakPoint;
3469
- }
3470
- export interface BreakPoint {
3471
3461
  /**
3472
- * Description of layouts for items.
3473
- * @maxSize 500
3462
+ * Custom identification of field, can be used to specify exceptional behaviour of client for specific field
3463
+ * @maxLength 50
3474
3464
  */
3475
- items?: ItemLayout[];
3476
- /** Amount of columns of layout grid. */
3477
- columns?: number | null;
3478
- /** Row height of layout grid. */
3479
- rowHeight?: number | null;
3480
- /** Description of elements margins. */
3481
- margin?: Margin;
3482
- /** Description of elements paddings. */
3483
- padding?: Margin;
3465
+ identifier?: string | null;
3484
3466
  /**
3485
- * Sections of the layout, which allow manage fields
3486
- * @maxSize 100
3467
+ * Type of the field
3468
+ * @readonly
3487
3469
  */
3488
- sections?: Section[];
3470
+ fieldType?: FieldType;
3489
3471
  }
3490
- export interface ItemLayout extends ItemLayoutItemOneOf {
3472
+ /** @oneof */
3473
+ export interface FieldFieldTypeOptionsOneOf {
3474
+ /** Field accept input of data */
3475
+ inputOptions?: InputField;
3476
+ /** Field for displaying information such as header or text paragraph */
3477
+ displayOptions?: FieldsDisplayField;
3478
+ }
3479
+ export declare enum FieldType {
3480
+ UNKNOWN_FIELD_TYPE = "UNKNOWN_FIELD_TYPE",
3481
+ INPUT = "INPUT",
3482
+ DISPLAY = "DISPLAY"
3483
+ }
3484
+ export interface InputField extends InputFieldInputTypeOptionsOneOf {
3485
+ /** Input return string as value */
3486
+ stringOptions?: _String;
3487
+ /** Input return number as value */
3488
+ numberOptions?: _Number;
3489
+ /** Input return boolean as value */
3490
+ booleanOptions?: _Boolean;
3491
+ /** Input return array as value */
3492
+ arrayOptions?: _Array;
3493
+ /** Input return object as value */
3494
+ objectOptions?: _Object;
3495
+ /** Input return "Wix file" as value */
3496
+ wixFileOptions?: WixFile;
3497
+ /** Input returns selected products as value. */
3498
+ paymentOptions?: Payment;
3499
+ /** Input returns multiline address as value. */
3500
+ multilineAddressOptions?: InputFieldMultilineAddress;
3491
3501
  /**
3492
- * Form field reference id.
3493
- * @format GUID
3502
+ * Definition of a target where the value of field belongs.
3503
+ * @minLength 1
3504
+ * @maxLength 200
3505
+ * @immutable
3494
3506
  */
3495
- fieldId?: string;
3496
- /** Group info, defining that this item is a group of multiple fields */
3497
- group?: Group;
3498
- /** Horizontal coordinate in the grid. */
3499
- row?: number | null;
3500
- /** Vertical coordinate in the grid. */
3501
- column?: number | null;
3502
- /** Height. */
3503
- width?: number | null;
3504
- /** Width. */
3505
- height?: number | null;
3506
- }
3507
- /** @oneof */
3508
- export interface ItemLayoutItemOneOf {
3507
+ target?: string;
3509
3508
  /**
3510
- * Form field reference id.
3511
- * @format GUID
3509
+ * Mark the field as containing personal information. This will encrypt user data when storing it.
3510
+ * Default: false
3512
3511
  */
3513
- fieldId?: string;
3514
- /** Group info, defining that this item is a group of multiple fields */
3515
- group?: Group;
3516
- }
3517
- export interface Group {
3512
+ pii?: boolean;
3518
3513
  /**
3519
- * Field group reference id.
3520
- * @format GUID
3514
+ * Whether the field is required.
3515
+ * Default: false
3521
3516
  */
3522
- groupId?: string;
3517
+ required?: boolean;
3523
3518
  /**
3524
- * Description of layouts for items.
3525
- * @minSize 1
3526
- * @maxSize 500
3519
+ * Type of the input field
3520
+ * @readonly
3527
3521
  */
3528
- items?: ItemLayout[];
3522
+ inputType?: InputType;
3523
+ /** Mapping to contacts, telling to what contact property field input value should be saved. */
3524
+ contactMapping?: FormFieldContactInfo;
3525
+ /**
3526
+ * Whether the field is read only.
3527
+ * Default: false
3528
+ */
3529
+ readOnly?: boolean;
3530
+ }
3531
+ /** @oneof */
3532
+ export interface InputFieldInputTypeOptionsOneOf {
3533
+ /** Input return string as value */
3534
+ stringOptions?: _String;
3535
+ /** Input return number as value */
3536
+ numberOptions?: _Number;
3537
+ /** Input return boolean as value */
3538
+ booleanOptions?: _Boolean;
3539
+ /** Input return array as value */
3540
+ arrayOptions?: _Array;
3541
+ /** Input return object as value */
3542
+ objectOptions?: _Object;
3543
+ /** Input return "Wix file" as value */
3544
+ wixFileOptions?: WixFile;
3545
+ /** Input returns selected products as value. */
3546
+ paymentOptions?: Payment;
3547
+ /** Input returns multiline address as value. */
3548
+ multilineAddressOptions?: InputFieldMultilineAddress;
3549
+ }
3550
+ export interface StringType extends StringTypeFormatOptionsOneOf {
3551
+ /** DATE format options */
3552
+ dateOptions?: DateTimeConstraints;
3553
+ /** DATE_TIME format options */
3554
+ dateTimeOptions?: DateTimeConstraints;
3555
+ /** TIME format options */
3556
+ timeOptions?: DateTimeConstraints;
3557
+ /** DATE_OPTIONAL_TIME format options */
3558
+ dateOptionalTimeOptions?: DateTimeConstraints;
3559
+ /** PHONE format options */
3560
+ phoneOptions?: PhoneConstraints;
3561
+ /**
3562
+ * Minimum length.
3563
+ * @max 20000
3564
+ */
3565
+ minLength?: number | null;
3566
+ /**
3567
+ * Maximum length.
3568
+ * @max 20000
3569
+ */
3570
+ maxLength?: number | null;
3571
+ /**
3572
+ * Pattern for a regular expression match.
3573
+ * @maxLength 500
3574
+ */
3575
+ pattern?: string | null;
3576
+ /** Format of a string. */
3577
+ format?: FormatEnumFormat;
3578
+ /**
3579
+ * List of allowed values.
3580
+ * @maxSize 500
3581
+ * @maxLength 20000
3582
+ */
3583
+ enum?: string[] | null;
3584
+ }
3585
+ /** @oneof */
3586
+ export interface StringTypeFormatOptionsOneOf {
3587
+ /** DATE format options */
3588
+ dateOptions?: DateTimeConstraints;
3589
+ /** DATE_TIME format options */
3590
+ dateTimeOptions?: DateTimeConstraints;
3591
+ /** TIME format options */
3592
+ timeOptions?: DateTimeConstraints;
3593
+ /** DATE_OPTIONAL_TIME format options */
3594
+ dateOptionalTimeOptions?: DateTimeConstraints;
3595
+ /** PHONE format options */
3596
+ phoneOptions?: PhoneConstraints;
3597
+ }
3598
+ export declare enum FormatEnumFormat {
3599
+ UNKNOWN_FORMAT = "UNKNOWN_FORMAT",
3600
+ DATE = "DATE",
3601
+ TIME = "TIME",
3602
+ DATE_TIME = "DATE_TIME",
3603
+ EMAIL = "EMAIL",
3604
+ URL = "URL",
3605
+ UUID = "UUID",
3606
+ PHONE = "PHONE",
3607
+ URI = "URI",
3608
+ HOSTNAME = "HOSTNAME",
3609
+ COLOR_HEX = "COLOR_HEX",
3610
+ CURRENCY = "CURRENCY",
3611
+ LANGUAGE = "LANGUAGE",
3612
+ DATE_OPTIONAL_TIME = "DATE_OPTIONAL_TIME"
3613
+ }
3614
+ export interface DateTimeConstraints {
3615
+ /**
3616
+ * Support static constrains defined as ISO date/time format, as well as
3617
+ * dynamic calculations can be performed using special keywords such as "$now" to represent the current date and time.
3618
+ * The dynamic calculation supports expressions like "$now+2d" (2 days in the future), "$now-1h" (1 hour in the past), etc.
3619
+ * The regex pattern for dynamic calculations is: \$now([+-]\d{1,2})([yMdmh])
3620
+ * @maxLength 50
3621
+ */
3622
+ minimum?: string | null;
3623
+ /**
3624
+ * Support static constrains defined as ISO date/time format, as well as
3625
+ * dynamic calculations can be performed using special keywords such as "$now" to represent the current date and time.
3626
+ * The dynamic calculation supports expressions like "$now+2d" (2 days in the future), "$now-1h" (1 hour in the past), etc.
3627
+ * The regex pattern for dynamic calculations is: \$now([+-]\d{1,2})([yMdmh])
3628
+ * @maxLength 50
3629
+ */
3630
+ maximum?: string | null;
3631
+ }
3632
+ export interface PhoneConstraints {
3633
+ /**
3634
+ * Country codes for phone number that are allowed
3635
+ * @maxSize 250
3636
+ * @maxLength 2
3637
+ */
3638
+ allowedCountryCodes?: string[];
3639
+ }
3640
+ export declare enum StringComponentType {
3641
+ UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
3642
+ TEXT_INPUT = "TEXT_INPUT",
3643
+ RADIO_GROUP = "RADIO_GROUP",
3644
+ DROPDOWN = "DROPDOWN",
3645
+ DATE_TIME = "DATE_TIME",
3646
+ PHONE_INPUT = "PHONE_INPUT",
3647
+ DATE_INPUT = "DATE_INPUT",
3648
+ TIME_INPUT = "TIME_INPUT",
3649
+ DATE_PICKER = "DATE_PICKER"
3650
+ }
3651
+ export interface NumberType {
3652
+ /** Inclusive maximum value. */
3653
+ maximum?: number | null;
3654
+ /** Inclusive minimum value. */
3655
+ minimum?: number | null;
3656
+ /** Multiple of value. */
3657
+ multipleOf?: number | null;
3658
+ /**
3659
+ * List of allowed values.
3660
+ * @maxSize 500
3661
+ */
3662
+ enum?: number[] | null;
3663
+ }
3664
+ export declare enum NumberComponentType {
3665
+ UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
3666
+ NUMBER_INPUT = "NUMBER_INPUT",
3667
+ RATING_INPUT = "RATING_INPUT"
3668
+ }
3669
+ export interface BooleanType {
3670
+ /**
3671
+ * List of allowed values.
3672
+ * @maxSize 2
3673
+ */
3674
+ enum?: boolean[];
3675
+ }
3676
+ export declare enum BooleanComponentType {
3677
+ UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
3678
+ CHECKBOX = "CHECKBOX"
3679
+ }
3680
+ export interface ArrayType {
3681
+ /**
3682
+ * Maximum amount of array elements.
3683
+ * @max 1000
3684
+ */
3685
+ maxItems?: number | null;
3686
+ /**
3687
+ * Minimum amount of array elements.
3688
+ * @max 1000
3689
+ */
3690
+ minItems?: number | null;
3691
+ /** Type of items allowed in array. */
3692
+ items?: ArrayItems;
3693
+ }
3694
+ export declare enum ItemType {
3695
+ UNKNOWN_ITEM_TYPE = "UNKNOWN_ITEM_TYPE",
3696
+ STRING = "STRING",
3697
+ NUMBER = "NUMBER",
3698
+ BOOLEAN = "BOOLEAN",
3699
+ INTEGER = "INTEGER",
3700
+ OBJECT = "OBJECT"
3701
+ }
3702
+ export interface IntegerType {
3703
+ /** Maximum value. */
3704
+ maximum?: number | null;
3705
+ /** Minimum value. */
3706
+ minimum?: number | null;
3707
+ /** Multiple of value. */
3708
+ multipleOf?: number | null;
3709
+ /**
3710
+ * List of allowed values.
3711
+ * @maxSize 500
3712
+ */
3713
+ enum?: number[] | null;
3714
+ }
3715
+ export interface ObjectType {
3716
+ /** Description of object properties. */
3717
+ properties?: Record<string, PropertiesType>;
3718
+ }
3719
+ export declare enum PropertiesTypeEnum {
3720
+ UNKNOWN_PROPERTY_TYPE = "UNKNOWN_PROPERTY_TYPE",
3721
+ STRING = "STRING",
3722
+ NUMBER = "NUMBER",
3723
+ BOOLEAN = "BOOLEAN",
3724
+ INTEGER = "INTEGER",
3725
+ ARRAY = "ARRAY"
3726
+ }
3727
+ export interface PropertiesType extends PropertiesTypePropertiesTypeOptionsOneOf {
3728
+ /** String type validation for property. */
3729
+ stringOptions?: StringType;
3730
+ /** Number type validation for property. */
3731
+ numberOptions?: NumberType;
3732
+ /** Boolean type validation for property. */
3733
+ booleanOptions?: BooleanType;
3734
+ /** Integer type validation for property. */
3735
+ integerOptions?: IntegerType;
3736
+ /** Array type validation for property. */
3737
+ arrayOptions?: ArrayType;
3738
+ /**
3739
+ * Type of object properties
3740
+ * @readonly
3741
+ */
3742
+ propertiesType?: PropertiesTypeEnum;
3743
+ /** Whether the property is required. */
3744
+ required?: boolean;
3745
+ }
3746
+ /** @oneof */
3747
+ export interface PropertiesTypePropertiesTypeOptionsOneOf {
3748
+ /** String type validation for property. */
3749
+ stringOptions?: StringType;
3750
+ /** Number type validation for property. */
3751
+ numberOptions?: NumberType;
3752
+ /** Boolean type validation for property. */
3753
+ booleanOptions?: BooleanType;
3754
+ /** Integer type validation for property. */
3755
+ integerOptions?: IntegerType;
3756
+ /** Array type validation for property. */
3757
+ arrayOptions?: ArrayType;
3758
+ }
3759
+ export interface ArrayItems extends ArrayItemsItemTypeOptionsOneOf {
3760
+ /** String type validation for items. */
3761
+ stringOptions?: StringType;
3762
+ /** Number type validation for items. */
3763
+ numberOptions?: NumberType;
3764
+ /** Boolean type validation for items. */
3765
+ booleanOptions?: BooleanType;
3766
+ /** Integer type validation for items. */
3767
+ integerOptions?: IntegerType;
3768
+ /** Object type validation for items */
3769
+ objectOptions?: ObjectType;
3770
+ /**
3771
+ * Type of array items
3772
+ * @readonly
3773
+ */
3774
+ itemType?: ItemType;
3775
+ }
3776
+ /** @oneof */
3777
+ export interface ArrayItemsItemTypeOptionsOneOf {
3778
+ /** String type validation for items. */
3779
+ stringOptions?: StringType;
3780
+ /** Number type validation for items. */
3781
+ numberOptions?: NumberType;
3782
+ /** Boolean type validation for items. */
3783
+ booleanOptions?: BooleanType;
3784
+ /** Integer type validation for items. */
3785
+ integerOptions?: IntegerType;
3786
+ /** Object type validation for items */
3787
+ objectOptions?: ObjectType;
3788
+ }
3789
+ export declare enum ComponentType {
3790
+ UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
3791
+ CHECKBOX_GROUP = "CHECKBOX_GROUP",
3792
+ TAGS = "TAGS"
3793
+ }
3794
+ export declare enum WixFileComponentType {
3795
+ UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
3796
+ FILE_UPLOAD = "FILE_UPLOAD",
3797
+ SIGNATURE = "SIGNATURE"
3798
+ }
3799
+ export declare enum PaymentComponentType {
3800
+ UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
3801
+ CHECKBOX_GROUP = "CHECKBOX_GROUP",
3802
+ DONATION_INPUT = "DONATION_INPUT",
3803
+ PAYMENT_INPUT = "PAYMENT_INPUT",
3804
+ FIXED_PAYMENT = "FIXED_PAYMENT"
3805
+ }
3806
+ export declare enum MultilineAddressComponentType {
3807
+ UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
3808
+ MULTILINE_ADDRESS = "MULTILINE_ADDRESS"
3809
+ }
3810
+ export declare enum InputType {
3811
+ UNKNOWN_INPUT_TYPE = "UNKNOWN_INPUT_TYPE",
3812
+ STRING = "STRING",
3813
+ NUMBER = "NUMBER",
3814
+ BOOLEAN = "BOOLEAN",
3815
+ ARRAY = "ARRAY",
3816
+ OBJECT = "OBJECT",
3817
+ WIX_FILE = "WIX_FILE",
3818
+ PAYMENT = "PAYMENT",
3819
+ MULTILINE_ADDRESS = "MULTILINE_ADDRESS"
3820
+ }
3821
+ export interface FormFieldContactInfo extends FormFieldContactInfoAdditionalInfoOneOf {
3822
+ /** Email info. */
3823
+ emailInfo?: EmailInfo;
3824
+ /** Phone info. */
3825
+ phoneInfo?: PhoneInfo;
3826
+ /** Address info. */
3827
+ addressInfo?: AddressInfo;
3828
+ /** Custom field info. */
3829
+ customFieldInfo?: CustomFieldInfo;
3830
+ /** Subscription info */
3831
+ subscriptionInfo?: SubscriptionInfo;
3832
+ /** Field mapped to contacts. */
3833
+ contactField?: ContactField;
3834
+ }
3835
+ /** @oneof */
3836
+ export interface FormFieldContactInfoAdditionalInfoOneOf {
3837
+ /** Email info. */
3838
+ emailInfo?: EmailInfo;
3839
+ /** Phone info. */
3840
+ phoneInfo?: PhoneInfo;
3841
+ /** Address info. */
3842
+ addressInfo?: AddressInfo;
3843
+ /** Custom field info. */
3844
+ customFieldInfo?: CustomFieldInfo;
3845
+ /** Subscription info */
3846
+ subscriptionInfo?: SubscriptionInfo;
3847
+ }
3848
+ export declare enum EmailInfoTag {
3849
+ UNTAGGED = "UNTAGGED",
3850
+ MAIN = "MAIN"
3851
+ }
3852
+ export declare enum PhoneInfoTag {
3853
+ UNTAGGED = "UNTAGGED",
3854
+ MAIN = "MAIN"
3855
+ }
3856
+ export declare enum Tag {
3857
+ UNTAGGED = "UNTAGGED",
3858
+ HOME = "HOME"
3859
+ }
3860
+ export declare enum ConfirmationLevel {
3861
+ UNKNOWN_CONFIRMATION_LEVEL = "UNKNOWN_CONFIRMATION_LEVEL",
3862
+ SINGLE_CONFIRMATION = "SINGLE_CONFIRMATION",
3863
+ DOUBLE_CONFIRMATION = "DOUBLE_CONFIRMATION"
3864
+ }
3865
+ export declare enum ContactField {
3866
+ UNKNOWN_CONTACT_FIELD = "UNKNOWN_CONTACT_FIELD",
3867
+ FIRST_NAME = "FIRST_NAME",
3868
+ LAST_NAME = "LAST_NAME",
3869
+ COMPANY = "COMPANY",
3870
+ POSITION = "POSITION",
3871
+ EMAIL = "EMAIL",
3872
+ PHONE = "PHONE",
3873
+ ADDRESS = "ADDRESS",
3874
+ BIRTHDATE = "BIRTHDATE",
3875
+ CUSTOM_FIELD = "CUSTOM_FIELD",
3876
+ SUBSCRIPTION = "SUBSCRIPTION",
3877
+ VAT_ID = "VAT_ID"
3878
+ }
3879
+ export interface EmailInfo {
3880
+ /** Email tag. */
3881
+ tag?: EmailInfoTag;
3882
+ }
3883
+ export interface PhoneInfo {
3884
+ /** Phone tag. */
3885
+ tag?: PhoneInfoTag;
3886
+ }
3887
+ export interface AddressInfo {
3888
+ /** Address tag. */
3889
+ tag?: Tag;
3890
+ }
3891
+ export interface CustomFieldInfo {
3892
+ /**
3893
+ * Custom field key.
3894
+ * @minLength 1
3895
+ * @maxLength 500
3896
+ */
3897
+ key?: string;
3898
+ }
3899
+ export interface SubscriptionInfo {
3900
+ /**
3901
+ * Subscription consent opt in level, either single or double confirmation.
3902
+ * Default: SINGLE_CONFIRMATION
3903
+ */
3904
+ confirmationLevel?: ConfirmationLevel;
3905
+ }
3906
+ export interface _String extends _StringComponentTypeOptionsOneOf {
3907
+ /** Text input field */
3908
+ textInputOptions?: TextInput;
3909
+ /** Selection field as radio group */
3910
+ radioGroupOptions?: RadioGroup;
3911
+ /** Selection field as drop down */
3912
+ dropdownOptions?: Dropdown;
3913
+ /** Field for selecting date and time */
3914
+ dateTimeOptions?: DateTimeInput;
3915
+ /** Phone input field */
3916
+ phoneInputOptions?: PhoneInput;
3917
+ /** Dropdown based component for selecting date */
3918
+ dateInputOptions?: DateInput;
3919
+ /** Field for selecting time */
3920
+ timeInputOptions?: TimeInput;
3921
+ /** Calendar type component for selecting date */
3922
+ datePickerOptions?: DatePicker;
3923
+ /** Validation of field output value. */
3924
+ validation?: StringType;
3925
+ /**
3926
+ * Component type of the string input field
3927
+ * @readonly
3928
+ */
3929
+ componentType?: StringComponentType;
3930
+ }
3931
+ /** @oneof */
3932
+ export interface _StringComponentTypeOptionsOneOf {
3933
+ /** Text input field */
3934
+ textInputOptions?: TextInput;
3935
+ /** Selection field as radio group */
3936
+ radioGroupOptions?: RadioGroup;
3937
+ /** Selection field as drop down */
3938
+ dropdownOptions?: Dropdown;
3939
+ /** Field for selecting date and time */
3940
+ dateTimeOptions?: DateTimeInput;
3941
+ /** Phone input field */
3942
+ phoneInputOptions?: PhoneInput;
3943
+ /** Dropdown based component for selecting date */
3944
+ dateInputOptions?: DateInput;
3945
+ /** Field for selecting time */
3946
+ timeInputOptions?: TimeInput;
3947
+ /** Calendar type component for selecting date */
3948
+ datePickerOptions?: DatePicker;
3949
+ }
3950
+ export interface _Number extends _NumberComponentTypeOptionsOneOf {
3951
+ /** Number value input field */
3952
+ numberInputOptions?: NumberInput;
3953
+ /** Rating value input field */
3954
+ ratingInputOptions?: RatingInput;
3955
+ /** Validation of field output value. */
3956
+ validation?: NumberType;
3957
+ /**
3958
+ * Component type of the number input field
3959
+ * @readonly
3960
+ */
3961
+ componentType?: NumberComponentType;
3962
+ }
3963
+ /** @oneof */
3964
+ export interface _NumberComponentTypeOptionsOneOf {
3965
+ /** Number value input field */
3966
+ numberInputOptions?: NumberInput;
3967
+ /** Rating value input field */
3968
+ ratingInputOptions?: RatingInput;
3969
+ }
3970
+ export interface _Boolean extends _BooleanComponentTypeOptionsOneOf {
3971
+ /** Checkbox input field */
3972
+ checkboxOptions?: Checkbox;
3973
+ /** Validation of field output value. */
3974
+ validation?: BooleanType;
3975
+ /**
3976
+ * Component type of the boolean input field
3977
+ * @readonly
3978
+ */
3979
+ componentType?: BooleanComponentType;
3980
+ }
3981
+ /** @oneof */
3982
+ export interface _BooleanComponentTypeOptionsOneOf {
3983
+ /** Checkbox input field */
3984
+ checkboxOptions?: Checkbox;
3985
+ }
3986
+ export interface _Array extends _ArrayComponentTypeOptionsOneOf {
3987
+ /** Checkbox group input field */
3988
+ checkboxGroupOptions?: CheckboxGroup;
3989
+ /** Tags input field */
3990
+ tagsOptions?: Tags;
3991
+ /** Validation of array type. */
3992
+ validation?: ArrayType;
3993
+ /**
3994
+ * Component type of the array input field
3995
+ * @readonly
3996
+ */
3997
+ componentType?: ComponentType;
3998
+ }
3999
+ /** @oneof */
4000
+ export interface _ArrayComponentTypeOptionsOneOf {
4001
+ /** Checkbox group input field */
4002
+ checkboxGroupOptions?: CheckboxGroup;
4003
+ /** Tags input field */
4004
+ tagsOptions?: Tags;
4005
+ }
4006
+ export interface _Object {
4007
+ /** Validation of object type. */
4008
+ validation?: ObjectType;
4009
+ }
4010
+ export interface WixFile extends WixFileComponentTypeOptionsOneOf {
4011
+ /** File upload input field */
4012
+ fileUploadOptions?: FileUpload;
4013
+ /** Signature input field */
4014
+ signatureOptions?: Signature;
4015
+ /**
4016
+ * Component type of the array input field
4017
+ * @readonly
4018
+ */
4019
+ componentType?: WixFileComponentType;
4020
+ }
4021
+ /** @oneof */
4022
+ export interface WixFileComponentTypeOptionsOneOf {
4023
+ /** File upload input field */
4024
+ fileUploadOptions?: FileUpload;
4025
+ /** Signature input field */
4026
+ signatureOptions?: Signature;
4027
+ }
4028
+ export interface Payment extends PaymentComponentTypeOptionsOneOf {
4029
+ /** Checkbox group input field. */
4030
+ checkboxGroupOptions?: ProductCheckboxGroup;
4031
+ /** Donation input field. */
4032
+ donationInputOptions?: DonationInput;
4033
+ /** Payment input field. */
4034
+ paymentInputOptions?: PaymentInput;
4035
+ /** Fixed payment field. */
4036
+ fixedPaymentOptions?: FixedPayment;
4037
+ /**
4038
+ * Component type of the payment input field.
4039
+ * @readonly
4040
+ */
4041
+ componentType?: PaymentComponentType;
4042
+ /** Validation of payment type. */
4043
+ validation?: PaymentType;
4044
+ }
4045
+ /** @oneof */
4046
+ export interface PaymentComponentTypeOptionsOneOf {
4047
+ /** Checkbox group input field. */
4048
+ checkboxGroupOptions?: ProductCheckboxGroup;
4049
+ /** Donation input field. */
4050
+ donationInputOptions?: DonationInput;
4051
+ /** Payment input field. */
4052
+ paymentInputOptions?: PaymentInput;
4053
+ /** Fixed payment field. */
4054
+ fixedPaymentOptions?: FixedPayment;
4055
+ }
4056
+ export interface InputFieldMultilineAddress extends InputFieldMultilineAddressComponentTypeOptionsOneOf {
4057
+ /** Multiline address input field. */
4058
+ multilineAddressOptions?: MultilineAddress;
4059
+ /**
4060
+ * Component type of the multiline address field.
4061
+ * @readonly
4062
+ */
4063
+ componentType?: MultilineAddressComponentType;
4064
+ /** Validation of multiline address field output value. */
4065
+ validation?: MultilineAddressValidation;
4066
+ }
4067
+ /** @oneof */
4068
+ export interface InputFieldMultilineAddressComponentTypeOptionsOneOf {
4069
+ /** Multiline address input field. */
4070
+ multilineAddressOptions?: MultilineAddress;
4071
+ }
4072
+ export interface FieldsDisplayField extends FieldsDisplayFieldDisplayFieldTypeOptionsOneOf {
4073
+ /** Component displaying rich content */
4074
+ richContentOptions?: RichContentOptions;
4075
+ /** Page navigation component resolving as navigation or submit buttons */
4076
+ pageNavigationOptions?: PageNavigationOptions;
4077
+ /** Type of the display field */
4078
+ displayFieldType?: DisplayFieldDisplayFieldType;
4079
+ }
4080
+ /** @oneof */
4081
+ export interface FieldsDisplayFieldDisplayFieldTypeOptionsOneOf {
4082
+ /** Component displaying rich content */
4083
+ richContentOptions?: RichContentOptions;
4084
+ /** Page navigation component resolving as navigation or submit buttons */
4085
+ pageNavigationOptions?: PageNavigationOptions;
4086
+ }
4087
+ export declare enum DisplayFieldDisplayFieldType {
4088
+ UNKNOWN_FIELD_TYPE = "UNKNOWN_FIELD_TYPE",
4089
+ RICH_CONTENT = "RICH_CONTENT",
4090
+ PAGE_NAVIGATION = "PAGE_NAVIGATION",
4091
+ LOGIN_BAR = "LOGIN_BAR"
4092
+ }
4093
+ export interface RichContentOptions {
4094
+ /** Content of the header */
4095
+ richContent?: RichContent;
4096
+ }
4097
+ export interface PageNavigationOptions {
4098
+ /**
4099
+ * When button is not on last page it behaves as switch between pages page, text of label to go to next page.
4100
+ * @maxLength 65
4101
+ */
4102
+ nextPageText?: string | null;
4103
+ /**
4104
+ * When button is not on last page it behaves as switch between pages page, text of label to go to previous page.
4105
+ * @maxLength 65
4106
+ */
4107
+ previousPageText?: string | null;
4108
+ /**
4109
+ * Text on the button when button is submitting a form
4110
+ * @maxLength 65
4111
+ */
4112
+ submitText?: string | null;
4113
+ }
4114
+ export interface Step {
4115
+ /**
4116
+ * Step ID.
4117
+ * @format GUID
4118
+ * @immutable
4119
+ */
4120
+ _id?: string;
4121
+ /**
4122
+ * Name of the step.
4123
+ * @maxLength 200
4124
+ */
4125
+ name?: string | null;
4126
+ /** Is step hidden */
4127
+ hidden?: boolean;
4128
+ /** Form step properties */
4129
+ layout?: FormLayout;
4130
+ }
4131
+ export interface FormLayout {
4132
+ /** Layout for large break point. */
4133
+ large?: BreakPoint;
4134
+ /** Layout for medium break point. */
4135
+ medium?: BreakPoint;
4136
+ /** Layout for small break point. */
4137
+ small?: BreakPoint;
4138
+ }
4139
+ export interface BreakPoint {
4140
+ /**
4141
+ * Description of layouts for items.
4142
+ * @maxSize 500
4143
+ */
4144
+ items?: ItemLayout[];
4145
+ /** Amount of columns of layout grid. */
4146
+ columns?: number | null;
4147
+ /** Row height of layout grid. */
4148
+ rowHeight?: number | null;
4149
+ /** Description of elements margins. */
4150
+ margin?: Margin;
4151
+ /** Description of elements paddings. */
4152
+ padding?: Margin;
4153
+ /**
4154
+ * Sections of the layout, which allow manage fields
4155
+ * @maxSize 100
4156
+ */
4157
+ sections?: Section[];
4158
+ }
4159
+ export interface ItemLayout extends ItemLayoutItemOneOf {
4160
+ /**
4161
+ * Form field reference id.
4162
+ * @format GUID
4163
+ */
4164
+ fieldId?: string;
4165
+ /** Group info, defining that this item is a group of multiple fields */
4166
+ group?: Group;
4167
+ /** Horizontal coordinate in the grid. */
4168
+ row?: number | null;
4169
+ /** Vertical coordinate in the grid. */
4170
+ column?: number | null;
4171
+ /** Height. */
4172
+ width?: number | null;
4173
+ /** Width. */
4174
+ height?: number | null;
4175
+ }
4176
+ /** @oneof */
4177
+ export interface ItemLayoutItemOneOf {
4178
+ /**
4179
+ * Form field reference id.
4180
+ * @format GUID
4181
+ */
4182
+ fieldId?: string;
4183
+ /** Group info, defining that this item is a group of multiple fields */
4184
+ group?: Group;
4185
+ }
4186
+ export interface Group {
4187
+ /**
4188
+ * Field group reference id.
4189
+ * @format GUID
4190
+ */
4191
+ groupId?: string;
4192
+ /**
4193
+ * Description of layouts for items.
4194
+ * @minSize 1
4195
+ * @maxSize 500
4196
+ */
4197
+ items?: ItemLayout[];
3529
4198
  }
3530
4199
  export interface Margin {
3531
4200
  /** Horizontal value. */
@@ -3625,7 +4294,7 @@ export interface UpsertContact {
3625
4294
  * Fields mapping (target field mapped to corresponding contact field).
3626
4295
  * @maxSize 250
3627
4296
  */
3628
- fieldsMapping?: Record<string, FormFieldContactInfo>;
4297
+ fieldsMapping?: Record<string, V4FormFieldContactInfo>;
3629
4298
  /**
3630
4299
  * List of contact label keys.
3631
4300
  * [Contact labels](https://support.wix.com/en/article/adding-labels-to-contacts-in-your-contact-list)
@@ -4687,7 +5356,7 @@ export interface FormSummary {
4687
5356
  * Summarized form fields.
4688
5357
  * @maxSize 500
4689
5358
  */
4690
- fields?: Field[];
5359
+ fields?: FormSummaryField[];
4691
5360
  }
4692
5361
  export declare enum FieldInputType {
4693
5362
  UNKNOWN_INPUT_TYPE = "UNKNOWN_INPUT_TYPE",
@@ -4727,7 +5396,7 @@ export interface FieldOption {
4727
5396
  */
4728
5397
  value?: string | null;
4729
5398
  }
4730
- export interface Field {
5399
+ export interface FormSummaryField {
4731
5400
  /**
4732
5401
  * Definition of a target where the value of field belongs.
4733
5402
  * @maxLength 200
@@ -4827,22 +5496,22 @@ export declare enum WebhookIdentityType {
4827
5496
  WIX_USER = "WIX_USER",
4828
5497
  APP = "APP"
4829
5498
  }
4830
- interface PhoneConstraintsNonNullableFields {
5499
+ interface StringTypePhoneConstraintsNonNullableFields {
4831
5500
  allowedCountryCodes: string[];
4832
5501
  }
4833
- interface StringTypeNonNullableFields {
4834
- phoneOptions?: PhoneConstraintsNonNullableFields;
4835
- format: FormatEnumFormat;
5502
+ interface FormFieldStringTypeNonNullableFields {
5503
+ phoneOptions?: StringTypePhoneConstraintsNonNullableFields;
5504
+ format: StringTypeFormatEnumFormat;
4836
5505
  }
4837
- interface BooleanTypeNonNullableFields {
5506
+ interface FormFieldBooleanTypeNonNullableFields {
4838
5507
  enum: boolean[];
4839
5508
  }
4840
- interface ArrayItemsNonNullableFields {
4841
- string?: StringTypeNonNullableFields;
4842
- boolean?: BooleanTypeNonNullableFields;
5509
+ interface ArrayTypeArrayItemsNonNullableFields {
5510
+ string?: FormFieldStringTypeNonNullableFields;
5511
+ boolean?: FormFieldBooleanTypeNonNullableFields;
4843
5512
  }
4844
- interface ArrayTypeNonNullableFields {
4845
- items?: ArrayItemsNonNullableFields;
5513
+ interface FormFieldArrayTypeNonNullableFields {
5514
+ items?: ArrayTypeArrayItemsNonNullableFields;
4846
5515
  }
4847
5516
  interface FixedPriceOptionsNonNullableFields {
4848
5517
  price: string;
@@ -4883,9 +5552,9 @@ interface PredefinedValidationNonNullableFields {
4883
5552
  format: ValidationFormat;
4884
5553
  }
4885
5554
  interface ValidationNonNullableFields {
4886
- string?: StringTypeNonNullableFields;
4887
- boolean?: BooleanTypeNonNullableFields;
4888
- array?: ArrayTypeNonNullableFields;
5555
+ string?: FormFieldStringTypeNonNullableFields;
5556
+ boolean?: FormFieldBooleanTypeNonNullableFields;
5557
+ array?: FormFieldArrayTypeNonNullableFields;
4889
5558
  predefined?: PredefinedValidationNonNullableFields;
4890
5559
  required: boolean;
4891
5560
  }
@@ -5187,14 +5856,14 @@ interface DatePickerNonNullableFields {
5187
5856
  description?: RichContentNonNullableFields;
5188
5857
  firstDayOfWeek: FirstDayOfWeek;
5189
5858
  }
5190
- interface StringTypePhoneConstraintsNonNullableFields {
5859
+ interface InputFieldStringTypePhoneConstraintsNonNullableFields {
5191
5860
  allowedCountryCodes: string[];
5192
5861
  }
5193
5862
  interface InputFieldStringTypeNonNullableFields {
5194
- phoneOptions?: StringTypePhoneConstraintsNonNullableFields;
5195
- format: StringTypeFormatEnumFormat;
5863
+ phoneOptions?: InputFieldStringTypePhoneConstraintsNonNullableFields;
5864
+ format: InputFieldStringTypeFormatEnumFormat;
5196
5865
  }
5197
- interface _StringNonNullableFields {
5866
+ interface InputField_StringNonNullableFields {
5198
5867
  textInputOptions?: TextInputNonNullableFields;
5199
5868
  radioGroupOptions?: RadioGroupNonNullableFields;
5200
5869
  dropdownOptions?: DropdownNonNullableFields;
@@ -5204,7 +5873,7 @@ interface _StringNonNullableFields {
5204
5873
  timeInputOptions?: TimeInputNonNullableFields;
5205
5874
  datePickerOptions?: DatePickerNonNullableFields;
5206
5875
  validation?: InputFieldStringTypeNonNullableFields;
5207
- componentType: StringComponentType;
5876
+ componentType: InputFieldStringComponentType;
5208
5877
  }
5209
5878
  interface NumberInputNonNullableFields {
5210
5879
  description?: RichContentNonNullableFields;
@@ -5212,10 +5881,10 @@ interface NumberInputNonNullableFields {
5212
5881
  interface RatingInputNonNullableFields {
5213
5882
  description?: RichContentNonNullableFields;
5214
5883
  }
5215
- interface _NumberNonNullableFields {
5884
+ interface InputField_NumberNonNullableFields {
5216
5885
  numberInputOptions?: NumberInputNonNullableFields;
5217
5886
  ratingInputOptions?: RatingInputNonNullableFields;
5218
- componentType: NumberComponentType;
5887
+ componentType: InputFieldNumberComponentType;
5219
5888
  }
5220
5889
  interface CheckboxNonNullableFields {
5221
5890
  label?: RichContentNonNullableFields;
@@ -5224,10 +5893,10 @@ interface CheckboxNonNullableFields {
5224
5893
  interface InputFieldBooleanTypeNonNullableFields {
5225
5894
  enum: boolean[];
5226
5895
  }
5227
- interface _BooleanNonNullableFields {
5896
+ interface InputField_BooleanNonNullableFields {
5228
5897
  checkboxOptions?: CheckboxNonNullableFields;
5229
5898
  validation?: InputFieldBooleanTypeNonNullableFields;
5230
- componentType: BooleanComponentType;
5899
+ componentType: InputFieldBooleanComponentType;
5231
5900
  }
5232
5901
  interface MediaItemNonNullableFields {
5233
5902
  image: string;
@@ -5252,19 +5921,19 @@ interface TagsNonNullableFields {
5252
5921
  options: TagsOptionNonNullableFields[];
5253
5922
  numberOfColumns: NumberOfColumns;
5254
5923
  }
5255
- interface ArrayTypeArrayItemsNonNullableFields {
5924
+ interface InputFieldArrayTypeArrayItemsNonNullableFields {
5256
5925
  stringOptions?: InputFieldStringTypeNonNullableFields;
5257
5926
  booleanOptions?: InputFieldBooleanTypeNonNullableFields;
5258
- itemType: ItemType;
5927
+ itemType: ArrayItemsItemType;
5259
5928
  }
5260
5929
  interface InputFieldArrayTypeNonNullableFields {
5261
- items?: ArrayTypeArrayItemsNonNullableFields;
5930
+ items?: InputFieldArrayTypeArrayItemsNonNullableFields;
5262
5931
  }
5263
- interface _ArrayNonNullableFields {
5932
+ interface InputField_ArrayNonNullableFields {
5264
5933
  checkboxGroupOptions?: CheckboxGroupNonNullableFields;
5265
5934
  tagsOptions?: TagsNonNullableFields;
5266
5935
  validation?: InputFieldArrayTypeNonNullableFields;
5267
- componentType: ComponentType;
5936
+ componentType: ArrayComponentType;
5268
5937
  }
5269
5938
  interface FileUploadNonNullableFields {
5270
5939
  description?: RichContentNonNullableFields;
@@ -5275,10 +5944,10 @@ interface SignatureNonNullableFields {
5275
5944
  description?: RichContentNonNullableFields;
5276
5945
  imageUploadEnabled: boolean;
5277
5946
  }
5278
- interface WixFileNonNullableFields {
5947
+ interface InputFieldWixFileNonNullableFields {
5279
5948
  fileUploadOptions?: FileUploadNonNullableFields;
5280
5949
  signatureOptions?: SignatureNonNullableFields;
5281
- componentType: WixFileComponentType;
5950
+ componentType: InputFieldWixFileComponentType;
5282
5951
  }
5283
5952
  interface ProductCheckboxGroupOptionNonNullableFields {
5284
5953
  _id: string;
@@ -5305,12 +5974,12 @@ interface PaymentInputNonNullableFields {
5305
5974
  interface FixedPaymentNonNullableFields {
5306
5975
  description?: RichContentNonNullableFields;
5307
5976
  }
5308
- interface PaymentNonNullableFields {
5977
+ interface InputFieldPaymentNonNullableFields {
5309
5978
  checkboxGroupOptions?: ProductCheckboxGroupNonNullableFields;
5310
5979
  donationInputOptions?: DonationInputNonNullableFields;
5311
5980
  paymentInputOptions?: PaymentInputNonNullableFields;
5312
5981
  fixedPaymentOptions?: FixedPaymentNonNullableFields;
5313
- componentType: PaymentComponentType;
5982
+ componentType: InputFieldPaymentComponentType;
5314
5983
  validation?: PaymentTypeNonNullableFields;
5315
5984
  }
5316
5985
  interface DefaultCountryConfigNonNullableFields {
@@ -5330,9 +5999,9 @@ interface MultilineAddressNonNullableFields {
5330
5999
  fieldSettings?: FieldsSettingsNonNullableFields;
5331
6000
  autocompleteEnabled: boolean;
5332
6001
  }
5333
- interface InputFieldMultilineAddressNonNullableFields {
6002
+ interface FormFieldV2InputFieldMultilineAddressNonNullableFields {
5334
6003
  multilineAddressOptions?: MultilineAddressNonNullableFields;
5335
- componentType: MultilineAddressComponentType;
6004
+ componentType: InputFieldMultilineAddressComponentType;
5336
6005
  validation?: MultilineAddressValidationNonNullableFields;
5337
6006
  }
5338
6007
  interface AppointmentNonNullableFields {
@@ -5342,6 +6011,122 @@ interface SchedulingNonNullableFields {
5342
6011
  appointmentOptions?: AppointmentNonNullableFields;
5343
6012
  componentType: SchedulingComponentType;
5344
6013
  }
6014
+ interface FormFieldContactInfoEmailInfoNonNullableFields {
6015
+ tag: FormFieldContactInfoEmailInfoTag;
6016
+ }
6017
+ interface FormFieldContactInfoPhoneInfoNonNullableFields {
6018
+ tag: FormFieldContactInfoPhoneInfoTag;
6019
+ }
6020
+ interface FormFieldContactInfoAddressInfoNonNullableFields {
6021
+ tag: AddressInfoTag;
6022
+ }
6023
+ interface FormFieldContactInfoCustomFieldInfoNonNullableFields {
6024
+ key: string;
6025
+ }
6026
+ interface FormFieldContactInfoSubscriptionInfoNonNullableFields {
6027
+ optInLevel: OptInLevel;
6028
+ }
6029
+ interface V4FormFieldContactInfoNonNullableFields {
6030
+ emailInfo?: FormFieldContactInfoEmailInfoNonNullableFields;
6031
+ phoneInfo?: FormFieldContactInfoPhoneInfoNonNullableFields;
6032
+ addressInfo?: FormFieldContactInfoAddressInfoNonNullableFields;
6033
+ customFieldInfo?: FormFieldContactInfoCustomFieldInfoNonNullableFields;
6034
+ subscriptionInfo?: FormFieldContactInfoSubscriptionInfoNonNullableFields;
6035
+ contactField: FormFieldContactInfoContactField;
6036
+ }
6037
+ interface FormFieldV2InputFieldNonNullableFields {
6038
+ stringOptions?: InputField_StringNonNullableFields;
6039
+ numberOptions?: InputField_NumberNonNullableFields;
6040
+ booleanOptions?: InputField_BooleanNonNullableFields;
6041
+ arrayOptions?: InputField_ArrayNonNullableFields;
6042
+ wixFileOptions?: InputFieldWixFileNonNullableFields;
6043
+ paymentOptions?: InputFieldPaymentNonNullableFields;
6044
+ multilineAddressOptions?: FormFieldV2InputFieldMultilineAddressNonNullableFields;
6045
+ schedulingOptions?: SchedulingNonNullableFields;
6046
+ pii: boolean;
6047
+ required: boolean;
6048
+ inputType: InputFieldInputType;
6049
+ contactMapping?: V4FormFieldContactInfoNonNullableFields;
6050
+ readOnly: boolean;
6051
+ }
6052
+ interface V4RichContentOptionsNonNullableFields {
6053
+ richContent?: RichContentNonNullableFields;
6054
+ }
6055
+ interface DisplayFieldNonNullableFields {
6056
+ richContentOptions?: V4RichContentOptionsNonNullableFields;
6057
+ displayFieldType: DisplayFieldType;
6058
+ }
6059
+ interface FormFieldV2NonNullableFields {
6060
+ inputOptions?: FormFieldV2InputFieldNonNullableFields;
6061
+ displayOptions?: DisplayFieldNonNullableFields;
6062
+ _id: string;
6063
+ hidden: boolean;
6064
+ fieldType: FormFieldV2FieldType;
6065
+ }
6066
+ interface PhoneConstraintsNonNullableFields {
6067
+ allowedCountryCodes: string[];
6068
+ }
6069
+ interface StringTypeNonNullableFields {
6070
+ phoneOptions?: PhoneConstraintsNonNullableFields;
6071
+ format: FormatEnumFormat;
6072
+ }
6073
+ interface _StringNonNullableFields {
6074
+ textInputOptions?: TextInputNonNullableFields;
6075
+ radioGroupOptions?: RadioGroupNonNullableFields;
6076
+ dropdownOptions?: DropdownNonNullableFields;
6077
+ dateTimeOptions?: DateTimeInputNonNullableFields;
6078
+ phoneInputOptions?: PhoneInputNonNullableFields;
6079
+ dateInputOptions?: DateInputNonNullableFields;
6080
+ timeInputOptions?: TimeInputNonNullableFields;
6081
+ datePickerOptions?: DatePickerNonNullableFields;
6082
+ validation?: StringTypeNonNullableFields;
6083
+ componentType: StringComponentType;
6084
+ }
6085
+ interface _NumberNonNullableFields {
6086
+ numberInputOptions?: NumberInputNonNullableFields;
6087
+ ratingInputOptions?: RatingInputNonNullableFields;
6088
+ componentType: NumberComponentType;
6089
+ }
6090
+ interface BooleanTypeNonNullableFields {
6091
+ enum: boolean[];
6092
+ }
6093
+ interface _BooleanNonNullableFields {
6094
+ checkboxOptions?: CheckboxNonNullableFields;
6095
+ validation?: BooleanTypeNonNullableFields;
6096
+ componentType: BooleanComponentType;
6097
+ }
6098
+ interface ArrayItemsNonNullableFields {
6099
+ stringOptions?: StringTypeNonNullableFields;
6100
+ booleanOptions?: BooleanTypeNonNullableFields;
6101
+ itemType: ItemType;
6102
+ }
6103
+ interface ArrayTypeNonNullableFields {
6104
+ items?: ArrayItemsNonNullableFields;
6105
+ }
6106
+ interface _ArrayNonNullableFields {
6107
+ checkboxGroupOptions?: CheckboxGroupNonNullableFields;
6108
+ tagsOptions?: TagsNonNullableFields;
6109
+ validation?: ArrayTypeNonNullableFields;
6110
+ componentType: ComponentType;
6111
+ }
6112
+ interface WixFileNonNullableFields {
6113
+ fileUploadOptions?: FileUploadNonNullableFields;
6114
+ signatureOptions?: SignatureNonNullableFields;
6115
+ componentType: WixFileComponentType;
6116
+ }
6117
+ interface PaymentNonNullableFields {
6118
+ checkboxGroupOptions?: ProductCheckboxGroupNonNullableFields;
6119
+ donationInputOptions?: DonationInputNonNullableFields;
6120
+ paymentInputOptions?: PaymentInputNonNullableFields;
6121
+ fixedPaymentOptions?: FixedPaymentNonNullableFields;
6122
+ componentType: PaymentComponentType;
6123
+ validation?: PaymentTypeNonNullableFields;
6124
+ }
6125
+ interface InputFieldMultilineAddressNonNullableFields {
6126
+ multilineAddressOptions?: MultilineAddressNonNullableFields;
6127
+ componentType: MultilineAddressComponentType;
6128
+ validation?: MultilineAddressValidationNonNullableFields;
6129
+ }
5345
6130
  interface EmailInfoNonNullableFields {
5346
6131
  tag: EmailInfoTag;
5347
6132
  }
@@ -5355,7 +6140,7 @@ interface CustomFieldInfoNonNullableFields {
5355
6140
  key: string;
5356
6141
  }
5357
6142
  interface SubscriptionInfoNonNullableFields {
5358
- optInLevel: OptInLevel;
6143
+ confirmationLevel: ConfirmationLevel;
5359
6144
  }
5360
6145
  interface FormFieldContactInfoNonNullableFields {
5361
6146
  emailInfo?: EmailInfoNonNullableFields;
@@ -5373,7 +6158,7 @@ interface InputFieldNonNullableFields {
5373
6158
  wixFileOptions?: WixFileNonNullableFields;
5374
6159
  paymentOptions?: PaymentNonNullableFields;
5375
6160
  multilineAddressOptions?: InputFieldMultilineAddressNonNullableFields;
5376
- schedulingOptions?: SchedulingNonNullableFields;
6161
+ target: string;
5377
6162
  pii: boolean;
5378
6163
  required: boolean;
5379
6164
  inputType: InputType;
@@ -5383,13 +6168,13 @@ interface InputFieldNonNullableFields {
5383
6168
  interface RichContentOptionsNonNullableFields {
5384
6169
  richContent?: RichContentNonNullableFields;
5385
6170
  }
5386
- interface DisplayFieldNonNullableFields {
6171
+ interface FieldsDisplayFieldNonNullableFields {
5387
6172
  richContentOptions?: RichContentOptionsNonNullableFields;
5388
- displayFieldType: DisplayFieldType;
6173
+ displayFieldType: DisplayFieldDisplayFieldType;
5389
6174
  }
5390
- interface FormFieldV2NonNullableFields {
6175
+ interface FieldNonNullableFields {
5391
6176
  inputOptions?: InputFieldNonNullableFields;
5392
- displayOptions?: DisplayFieldNonNullableFields;
6177
+ displayOptions?: FieldsDisplayFieldNonNullableFields;
5393
6178
  _id: string;
5394
6179
  hidden: boolean;
5395
6180
  fieldType: FieldType;
@@ -5502,6 +6287,7 @@ interface RuleNonNullableFields {
5502
6287
  export interface FormNonNullableFields {
5503
6288
  fields: FormFieldNonNullableFields[];
5504
6289
  fieldsV2: FormFieldV2NonNullableFields[];
6290
+ formFields: FieldNonNullableFields[];
5505
6291
  steps: StepNonNullableFields[];
5506
6292
  rules: FormRuleNonNullableFields[];
5507
6293
  properties?: FormPropertiesNonNullableFields;
@@ -5593,14 +6379,14 @@ interface FormsSchemaProvidersConfigNonNullableFields {
5593
6379
  export interface ListFormsProvidersConfigsResponseNonNullableFields {
5594
6380
  configs: FormsSchemaProvidersConfigNonNullableFields[];
5595
6381
  }
5596
- interface FieldNonNullableFields {
6382
+ interface FormSummaryFieldNonNullableFields {
5597
6383
  type: FieldInputType;
5598
6384
  deleted: boolean;
5599
6385
  _id: string;
5600
6386
  }
5601
6387
  interface FormSummaryNonNullableFields {
5602
6388
  _id: string;
5603
- fields: FieldNonNullableFields[];
6389
+ fields: FormSummaryFieldNonNullableFields[];
5604
6390
  }
5605
6391
  export interface GetFormSummaryResponseNonNullableFields {
5606
6392
  formSummary?: FormSummaryNonNullableFields;
@@ -5698,7 +6484,7 @@ export interface UpdateForm {
5698
6484
  * List of form fields that represent input elements.
5699
6485
  * @maxSize 500
5700
6486
  */
5701
- fieldsV2?: FormFieldV2[];
6487
+ formFields?: Field[];
5702
6488
  /**
5703
6489
  * Defines the layout for form fields in each submission step.
5704
6490
  * @maxSize 100