@wix/auto_sdk_forms_forms 1.0.9 → 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.
- package/build/cjs/src/forms-v4-form-forms.context.d.ts +2 -2
- package/build/cjs/src/forms-v4-form-forms.context.js +32 -13
- package/build/cjs/src/forms-v4-form-forms.context.js.map +1 -1
- package/build/cjs/src/forms-v4-form-forms.http.js +28107 -10842
- package/build/cjs/src/forms-v4-form-forms.http.js.map +1 -1
- package/build/cjs/src/forms-v4-form-forms.public.d.ts +1 -1
- package/build/cjs/src/forms-v4-form-forms.public.js +21 -2
- package/build/cjs/src/forms-v4-form-forms.public.js.map +1 -1
- package/build/cjs/src/forms-v4-form-forms.types.d.ts +1062 -277
- package/build/cjs/src/forms-v4-form-forms.types.js +257 -113
- package/build/cjs/src/forms-v4-form-forms.types.js.map +1 -1
- package/build/cjs/src/forms-v4-form-forms.universal.d.ts +1063 -279
- package/build/cjs/src/forms-v4-form-forms.universal.js +393 -113
- package/build/cjs/src/forms-v4-form-forms.universal.js.map +1 -1
- package/build/es/src/forms-v4-form-forms.context.d.ts +2 -2
- package/build/es/src/forms-v4-form-forms.context.js +1 -1
- package/build/es/src/forms-v4-form-forms.context.js.map +1 -1
- package/build/es/src/forms-v4-form-forms.http.js +28096 -10831
- package/build/es/src/forms-v4-form-forms.http.js.map +1 -1
- package/build/es/src/forms-v4-form-forms.public.d.ts +1 -1
- package/build/es/src/forms-v4-form-forms.public.js +1 -1
- package/build/es/src/forms-v4-form-forms.public.js.map +1 -1
- package/build/es/src/forms-v4-form-forms.types.d.ts +1062 -277
- package/build/es/src/forms-v4-form-forms.types.js +255 -111
- package/build/es/src/forms-v4-form-forms.types.js.map +1 -1
- package/build/es/src/forms-v4-form-forms.universal.d.ts +1063 -279
- package/build/es/src/forms-v4-form-forms.universal.js +390 -111
- package/build/es/src/forms-v4-form-forms.universal.js.map +1 -1
- package/build/internal/cjs/src/forms-v4-form-forms.context.d.ts +2 -2
- package/build/internal/cjs/src/forms-v4-form-forms.context.js +32 -13
- package/build/internal/cjs/src/forms-v4-form-forms.context.js.map +1 -1
- package/build/internal/cjs/src/forms-v4-form-forms.http.js +28107 -10842
- package/build/internal/cjs/src/forms-v4-form-forms.http.js.map +1 -1
- package/build/internal/cjs/src/forms-v4-form-forms.public.d.ts +1 -1
- package/build/internal/cjs/src/forms-v4-form-forms.public.js +21 -2
- package/build/internal/cjs/src/forms-v4-form-forms.public.js.map +1 -1
- package/build/internal/cjs/src/forms-v4-form-forms.types.d.ts +1062 -277
- package/build/internal/cjs/src/forms-v4-form-forms.types.js +257 -113
- package/build/internal/cjs/src/forms-v4-form-forms.types.js.map +1 -1
- package/build/internal/cjs/src/forms-v4-form-forms.universal.d.ts +1063 -279
- package/build/internal/cjs/src/forms-v4-form-forms.universal.js +393 -113
- package/build/internal/cjs/src/forms-v4-form-forms.universal.js.map +1 -1
- package/build/internal/es/src/forms-v4-form-forms.context.d.ts +2 -2
- package/build/internal/es/src/forms-v4-form-forms.context.js +1 -1
- package/build/internal/es/src/forms-v4-form-forms.context.js.map +1 -1
- package/build/internal/es/src/forms-v4-form-forms.http.js +28096 -10831
- package/build/internal/es/src/forms-v4-form-forms.http.js.map +1 -1
- package/build/internal/es/src/forms-v4-form-forms.public.d.ts +1 -1
- package/build/internal/es/src/forms-v4-form-forms.public.js +1 -1
- package/build/internal/es/src/forms-v4-form-forms.public.js.map +1 -1
- package/build/internal/es/src/forms-v4-form-forms.types.d.ts +1062 -277
- package/build/internal/es/src/forms-v4-form-forms.types.js +255 -111
- package/build/internal/es/src/forms-v4-form-forms.types.js.map +1 -1
- package/build/internal/es/src/forms-v4-form-forms.universal.d.ts +1063 -279
- package/build/internal/es/src/forms-v4-form-forms.universal.js +390 -111
- package/build/internal/es/src/forms-v4-form-forms.universal.js.map +1 -1
- 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
|
-
|
|
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
|
|
144
|
+
export interface FormFieldStringType extends FormFieldStringTypeFormatOptionsOneOf {
|
|
146
145
|
/** DATE format options */
|
|
147
|
-
dateOptions?:
|
|
146
|
+
dateOptions?: StringTypeDateTimeConstraints;
|
|
148
147
|
/** DATE_TIME format options */
|
|
149
|
-
dateTimeOptions?:
|
|
148
|
+
dateTimeOptions?: StringTypeDateTimeConstraints;
|
|
150
149
|
/** TIME format options */
|
|
151
|
-
timeOptions?:
|
|
150
|
+
timeOptions?: StringTypeDateTimeConstraints;
|
|
152
151
|
/** DATE_OPTIONAL_TIME format options */
|
|
153
|
-
dateOptionalTimeOptions?:
|
|
152
|
+
dateOptionalTimeOptions?: StringTypeDateTimeConstraints;
|
|
154
153
|
/** PHONE format options */
|
|
155
|
-
phoneOptions?:
|
|
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?:
|
|
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
|
|
182
|
+
export interface FormFieldStringTypeFormatOptionsOneOf {
|
|
184
183
|
/** DATE format options */
|
|
185
|
-
dateOptions?:
|
|
184
|
+
dateOptions?: StringTypeDateTimeConstraints;
|
|
186
185
|
/** DATE_TIME format options */
|
|
187
|
-
dateTimeOptions?:
|
|
186
|
+
dateTimeOptions?: StringTypeDateTimeConstraints;
|
|
188
187
|
/** TIME format options */
|
|
189
|
-
timeOptions?:
|
|
188
|
+
timeOptions?: StringTypeDateTimeConstraints;
|
|
190
189
|
/** DATE_OPTIONAL_TIME format options */
|
|
191
|
-
dateOptionalTimeOptions?:
|
|
190
|
+
dateOptionalTimeOptions?: StringTypeDateTimeConstraints;
|
|
192
191
|
/** PHONE format options */
|
|
193
|
-
phoneOptions?:
|
|
192
|
+
phoneOptions?: StringTypePhoneConstraints;
|
|
194
193
|
}
|
|
195
|
-
export declare enum
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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?:
|
|
308
|
+
items?: ArrayTypeArrayItems;
|
|
310
309
|
/** Custom error message when validation fails. */
|
|
311
310
|
errorMessages?: ArrayErrorMessages;
|
|
312
311
|
}
|
|
313
|
-
export interface
|
|
312
|
+
export interface FormFieldObjectType {
|
|
314
313
|
/** Description of object properties. */
|
|
315
|
-
properties?: Record<string,
|
|
314
|
+
properties?: Record<string, ObjectTypePropertiesType>;
|
|
316
315
|
/** Custom error message when validation fails. */
|
|
317
316
|
errorMessages?: ObjectErrorMessages;
|
|
318
317
|
}
|
|
319
|
-
export interface
|
|
318
|
+
export interface ObjectTypePropertiesType extends ObjectTypePropertiesTypePropertiesTypeOneOf {
|
|
320
319
|
/** String type validation for property. */
|
|
321
|
-
string?:
|
|
320
|
+
string?: FormFieldStringType;
|
|
322
321
|
/** Number type validation for property. */
|
|
323
|
-
number?:
|
|
322
|
+
number?: FormFieldNumberType;
|
|
324
323
|
/** Boolean type validation for property. */
|
|
325
|
-
boolean?:
|
|
324
|
+
boolean?: FormFieldBooleanType;
|
|
326
325
|
/** Integer type validation for property. */
|
|
327
|
-
integer?:
|
|
326
|
+
integer?: FormFieldIntegerType;
|
|
328
327
|
/** Array type validation for property. */
|
|
329
|
-
array?:
|
|
328
|
+
array?: FormFieldArrayType;
|
|
330
329
|
/** Whether the property is required. */
|
|
331
330
|
required?: boolean;
|
|
332
331
|
}
|
|
333
332
|
/** @oneof */
|
|
334
|
-
export interface
|
|
333
|
+
export interface ObjectTypePropertiesTypePropertiesTypeOneOf {
|
|
335
334
|
/** String type validation for property. */
|
|
336
|
-
string?:
|
|
335
|
+
string?: FormFieldStringType;
|
|
337
336
|
/** Number type validation for property. */
|
|
338
|
-
number?:
|
|
337
|
+
number?: FormFieldNumberType;
|
|
339
338
|
/** Boolean type validation for property. */
|
|
340
|
-
boolean?:
|
|
339
|
+
boolean?: FormFieldBooleanType;
|
|
341
340
|
/** Integer type validation for property. */
|
|
342
|
-
integer?:
|
|
341
|
+
integer?: FormFieldIntegerType;
|
|
343
342
|
/** Array type validation for property. */
|
|
344
|
-
array?:
|
|
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
|
|
352
|
+
export interface ArrayTypeArrayItems extends ArrayTypeArrayItemsItemsOneOf {
|
|
354
353
|
/** String type validation for items. */
|
|
355
|
-
string?:
|
|
354
|
+
string?: FormFieldStringType;
|
|
356
355
|
/** Number type validation for items. */
|
|
357
|
-
number?:
|
|
356
|
+
number?: FormFieldNumberType;
|
|
358
357
|
/** Boolean type validation for items. */
|
|
359
|
-
boolean?:
|
|
358
|
+
boolean?: FormFieldBooleanType;
|
|
360
359
|
/** Integer type validation for items. */
|
|
361
|
-
integer?:
|
|
360
|
+
integer?: FormFieldIntegerType;
|
|
362
361
|
/** Object type validation for items */
|
|
363
|
-
object?:
|
|
362
|
+
object?: FormFieldObjectType;
|
|
364
363
|
}
|
|
365
364
|
/** @oneof */
|
|
366
|
-
export interface
|
|
365
|
+
export interface ArrayTypeArrayItemsItemsOneOf {
|
|
367
366
|
/** String type validation for items. */
|
|
368
|
-
string?:
|
|
367
|
+
string?: FormFieldStringType;
|
|
369
368
|
/** Number type validation for items. */
|
|
370
|
-
number?:
|
|
369
|
+
number?: FormFieldNumberType;
|
|
371
370
|
/** Boolean type validation for items. */
|
|
372
|
-
boolean?:
|
|
371
|
+
boolean?: FormFieldBooleanType;
|
|
373
372
|
/** Integer type validation for items. */
|
|
374
|
-
integer?:
|
|
373
|
+
integer?: FormFieldIntegerType;
|
|
375
374
|
/** Object type validation for items */
|
|
376
|
-
object?:
|
|
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?:
|
|
542
|
+
string?: FormFieldStringType;
|
|
544
543
|
/** Validation of number type. */
|
|
545
|
-
number?:
|
|
544
|
+
number?: FormFieldNumberType;
|
|
546
545
|
/** Validation of integer type. */
|
|
547
|
-
integer?:
|
|
546
|
+
integer?: FormFieldIntegerType;
|
|
548
547
|
/** Validation of boolean type. */
|
|
549
|
-
boolean?:
|
|
548
|
+
boolean?: FormFieldBooleanType;
|
|
550
549
|
/** Validation of array type. */
|
|
551
|
-
array?:
|
|
550
|
+
array?: FormFieldArrayType;
|
|
552
551
|
/** Validation of object type. */
|
|
553
|
-
object?:
|
|
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?:
|
|
561
|
+
string?: FormFieldStringType;
|
|
563
562
|
/** Validation of number type. */
|
|
564
|
-
number?:
|
|
563
|
+
number?: FormFieldNumberType;
|
|
565
564
|
/** Validation of integer type. */
|
|
566
|
-
integer?:
|
|
565
|
+
integer?: FormFieldIntegerType;
|
|
567
566
|
/** Validation of boolean type. */
|
|
568
|
-
boolean?:
|
|
567
|
+
boolean?: FormFieldBooleanType;
|
|
569
568
|
/** Validation of array type. */
|
|
570
|
-
array?:
|
|
569
|
+
array?: FormFieldArrayType;
|
|
571
570
|
/** Validation of object type. */
|
|
572
|
-
object?:
|
|
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?:
|
|
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?:
|
|
608
|
+
fieldType?: FormFieldV2FieldType;
|
|
610
609
|
}
|
|
611
610
|
/** @oneof */
|
|
612
611
|
export interface FormFieldV2FieldTypeOptionsOneOf {
|
|
613
612
|
/** Field accept input of data */
|
|
614
|
-
inputOptions?:
|
|
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?:
|
|
619
|
+
dateOptions?: InputFieldStringTypeDateTimeConstraints;
|
|
621
620
|
/** DATE_TIME format options */
|
|
622
|
-
dateTimeOptions?:
|
|
621
|
+
dateTimeOptions?: InputFieldStringTypeDateTimeConstraints;
|
|
623
622
|
/** TIME format options */
|
|
624
|
-
timeOptions?:
|
|
623
|
+
timeOptions?: InputFieldStringTypeDateTimeConstraints;
|
|
625
624
|
/** DATE_OPTIONAL_TIME format options */
|
|
626
|
-
dateOptionalTimeOptions?:
|
|
625
|
+
dateOptionalTimeOptions?: InputFieldStringTypeDateTimeConstraints;
|
|
627
626
|
/** PHONE format options */
|
|
628
|
-
phoneOptions?:
|
|
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?:
|
|
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?:
|
|
657
|
+
dateOptions?: InputFieldStringTypeDateTimeConstraints;
|
|
659
658
|
/** DATE_TIME format options */
|
|
660
|
-
dateTimeOptions?:
|
|
659
|
+
dateTimeOptions?: InputFieldStringTypeDateTimeConstraints;
|
|
661
660
|
/** TIME format options */
|
|
662
|
-
timeOptions?:
|
|
661
|
+
timeOptions?: InputFieldStringTypeDateTimeConstraints;
|
|
663
662
|
/** DATE_OPTIONAL_TIME format options */
|
|
664
|
-
dateOptionalTimeOptions?:
|
|
663
|
+
dateOptionalTimeOptions?: InputFieldStringTypeDateTimeConstraints;
|
|
665
664
|
/** PHONE format options */
|
|
666
|
-
phoneOptions?:
|
|
665
|
+
phoneOptions?: InputFieldStringTypePhoneConstraints;
|
|
667
666
|
}
|
|
668
|
-
export declare enum
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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?:
|
|
2449
|
+
items?: InputFieldArrayTypeArrayItems;
|
|
2451
2450
|
/** Custom error message when validation fails. */
|
|
2452
2451
|
errorMessages?: InputFieldArrayErrorMessages;
|
|
2453
2452
|
}
|
|
2454
|
-
export declare enum
|
|
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,
|
|
2478
|
+
properties?: Record<string, InputFieldObjectTypePropertiesType>;
|
|
2480
2479
|
/** Custom error message when validation fails. */
|
|
2481
2480
|
errorMessages?: InputFieldObjectErrorMessages;
|
|
2482
2481
|
}
|
|
2483
|
-
export declare enum
|
|
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
|
|
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?:
|
|
2505
|
+
propertiesType?: PropertiesTypePropertiesTypeEnum;
|
|
2507
2506
|
/** Whether the property is required. */
|
|
2508
2507
|
required?: boolean;
|
|
2509
2508
|
}
|
|
2510
2509
|
/** @oneof */
|
|
2511
|
-
export interface
|
|
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
|
|
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?:
|
|
2544
|
+
itemType?: ArrayItemsItemType;
|
|
2546
2545
|
}
|
|
2547
2546
|
/** @oneof */
|
|
2548
|
-
export interface
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
3091
|
+
export interface V4FormFieldContactInfo extends V4FormFieldContactInfoAdditionalInfoOneOf {
|
|
3093
3092
|
/** Email info. */
|
|
3094
|
-
emailInfo?:
|
|
3093
|
+
emailInfo?: FormFieldContactInfoEmailInfo;
|
|
3095
3094
|
/** Phone info. */
|
|
3096
|
-
phoneInfo?:
|
|
3095
|
+
phoneInfo?: FormFieldContactInfoPhoneInfo;
|
|
3097
3096
|
/** Address info. */
|
|
3098
|
-
addressInfo?:
|
|
3097
|
+
addressInfo?: FormFieldContactInfoAddressInfo;
|
|
3099
3098
|
/** Custom field info. */
|
|
3100
|
-
customFieldInfo?:
|
|
3099
|
+
customFieldInfo?: FormFieldContactInfoCustomFieldInfo;
|
|
3101
3100
|
/** Subscription info */
|
|
3102
|
-
subscriptionInfo?:
|
|
3101
|
+
subscriptionInfo?: FormFieldContactInfoSubscriptionInfo;
|
|
3103
3102
|
/** Field mapped to contacts. */
|
|
3104
|
-
contactField?:
|
|
3103
|
+
contactField?: FormFieldContactInfoContactField;
|
|
3105
3104
|
}
|
|
3106
3105
|
/** @oneof */
|
|
3107
|
-
export interface
|
|
3106
|
+
export interface V4FormFieldContactInfoAdditionalInfoOneOf {
|
|
3108
3107
|
/** Email info. */
|
|
3109
|
-
emailInfo?:
|
|
3108
|
+
emailInfo?: FormFieldContactInfoEmailInfo;
|
|
3110
3109
|
/** Phone info. */
|
|
3111
|
-
phoneInfo?:
|
|
3110
|
+
phoneInfo?: FormFieldContactInfoPhoneInfo;
|
|
3112
3111
|
/** Address info. */
|
|
3113
|
-
addressInfo?:
|
|
3112
|
+
addressInfo?: FormFieldContactInfoAddressInfo;
|
|
3114
3113
|
/** Custom field info. */
|
|
3115
|
-
customFieldInfo?:
|
|
3114
|
+
customFieldInfo?: FormFieldContactInfoCustomFieldInfo;
|
|
3116
3115
|
/** Subscription info */
|
|
3117
|
-
subscriptionInfo?:
|
|
3116
|
+
subscriptionInfo?: FormFieldContactInfoSubscriptionInfo;
|
|
3118
3117
|
}
|
|
3119
|
-
export declare enum
|
|
3118
|
+
export declare enum FormFieldContactInfoEmailInfoTag {
|
|
3120
3119
|
UNTAGGED = "UNTAGGED",
|
|
3121
3120
|
MAIN = "MAIN"
|
|
3122
3121
|
}
|
|
3123
|
-
export declare enum
|
|
3122
|
+
export declare enum FormFieldContactInfoPhoneInfoTag {
|
|
3124
3123
|
UNTAGGED = "UNTAGGED",
|
|
3125
3124
|
MAIN = "MAIN"
|
|
3126
3125
|
}
|
|
3127
|
-
export declare enum
|
|
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
|
|
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
|
|
3149
|
+
export interface FormFieldContactInfoEmailInfo {
|
|
3151
3150
|
/** Email tag. */
|
|
3152
|
-
tag?:
|
|
3151
|
+
tag?: FormFieldContactInfoEmailInfoTag;
|
|
3153
3152
|
}
|
|
3154
|
-
export interface
|
|
3153
|
+
export interface FormFieldContactInfoPhoneInfo {
|
|
3155
3154
|
/** Phone tag. */
|
|
3156
|
-
tag?:
|
|
3155
|
+
tag?: FormFieldContactInfoPhoneInfoTag;
|
|
3157
3156
|
}
|
|
3158
|
-
export interface
|
|
3157
|
+
export interface FormFieldContactInfoAddressInfo {
|
|
3159
3158
|
/** Address tag. */
|
|
3160
|
-
tag?:
|
|
3159
|
+
tag?: AddressInfoTag;
|
|
3161
3160
|
}
|
|
3162
|
-
export interface
|
|
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
|
|
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
|
|
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?:
|
|
3199
|
+
componentType?: InputFieldStringComponentType;
|
|
3201
3200
|
}
|
|
3202
3201
|
/** @oneof */
|
|
3203
|
-
export interface
|
|
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
|
|
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?:
|
|
3231
|
+
componentType?: InputFieldNumberComponentType;
|
|
3233
3232
|
}
|
|
3234
3233
|
/** @oneof */
|
|
3235
|
-
export interface
|
|
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
|
|
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?:
|
|
3249
|
+
componentType?: InputFieldBooleanComponentType;
|
|
3251
3250
|
}
|
|
3252
3251
|
/** @oneof */
|
|
3253
|
-
export interface
|
|
3252
|
+
export interface InputField_BooleanComponentTypeOptionsOneOf {
|
|
3254
3253
|
/** Checkbox input field */
|
|
3255
3254
|
checkboxOptions?: Checkbox;
|
|
3256
3255
|
}
|
|
3257
|
-
export interface
|
|
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?:
|
|
3267
|
+
componentType?: ArrayComponentType;
|
|
3269
3268
|
}
|
|
3270
3269
|
/** @oneof */
|
|
3271
|
-
export interface
|
|
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
|
|
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
|
|
3281
|
+
export interface InputField_ObjectValidationOneOf {
|
|
3283
3282
|
/** Validation of object type. */
|
|
3284
3283
|
object?: InputFieldObjectType;
|
|
3285
3284
|
}
|
|
3286
|
-
export interface
|
|
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?:
|
|
3294
|
+
componentType?: InputFieldWixFileComponentType;
|
|
3296
3295
|
}
|
|
3297
3296
|
/** @oneof */
|
|
3298
|
-
export interface
|
|
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
|
|
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?:
|
|
3316
|
+
componentType?: InputFieldPaymentComponentType;
|
|
3318
3317
|
/** Validation of payment type. */
|
|
3319
3318
|
validation?: PaymentType;
|
|
3320
3319
|
}
|
|
3321
3320
|
/** @oneof */
|
|
3322
|
-
export interface
|
|
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
|
|
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?:
|
|
3338
|
+
componentType?: InputFieldMultilineAddressComponentType;
|
|
3340
3339
|
/** Validation of multiline address field output value. */
|
|
3341
3340
|
validation?: MultilineAddressValidation;
|
|
3342
3341
|
}
|
|
3343
3342
|
/** @oneof */
|
|
3344
|
-
export interface
|
|
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
|
|
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
|
|
3366
|
+
export interface FormFieldV2InputField extends FormFieldV2InputFieldInputTypeOptionsOneOf {
|
|
3368
3367
|
/** Input return string as value */
|
|
3369
|
-
stringOptions?:
|
|
3368
|
+
stringOptions?: InputField_String;
|
|
3370
3369
|
/** Input return number as value */
|
|
3371
|
-
numberOptions?:
|
|
3370
|
+
numberOptions?: InputField_Number;
|
|
3372
3371
|
/** Input return boolean as value */
|
|
3373
|
-
booleanOptions?:
|
|
3372
|
+
booleanOptions?: InputField_Boolean;
|
|
3374
3373
|
/** Input return array as value */
|
|
3375
|
-
arrayOptions?:
|
|
3374
|
+
arrayOptions?: InputField_Array;
|
|
3376
3375
|
/** Input return object as value */
|
|
3377
|
-
objectOptions?:
|
|
3376
|
+
objectOptions?: InputField_Object;
|
|
3378
3377
|
/** Input return "Wix file" as value */
|
|
3379
|
-
wixFileOptions?:
|
|
3378
|
+
wixFileOptions?: InputFieldWixFile;
|
|
3380
3379
|
/** Input returns selected products as value. */
|
|
3381
|
-
paymentOptions?:
|
|
3380
|
+
paymentOptions?: InputFieldPayment;
|
|
3382
3381
|
/** Input returns multiline address as value. */
|
|
3383
|
-
multilineAddressOptions?:
|
|
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?:
|
|
3406
|
+
inputType?: InputFieldInputType;
|
|
3408
3407
|
/** Mapping to contacts, telling to what contact property field input value should be saved. */
|
|
3409
|
-
contactMapping?:
|
|
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
|
|
3416
|
+
export interface FormFieldV2InputFieldInputTypeOptionsOneOf {
|
|
3418
3417
|
/** Input return string as value */
|
|
3419
|
-
stringOptions?:
|
|
3418
|
+
stringOptions?: InputField_String;
|
|
3420
3419
|
/** Input return number as value */
|
|
3421
|
-
numberOptions?:
|
|
3420
|
+
numberOptions?: InputField_Number;
|
|
3422
3421
|
/** Input return boolean as value */
|
|
3423
|
-
booleanOptions?:
|
|
3422
|
+
booleanOptions?: InputField_Boolean;
|
|
3424
3423
|
/** Input return array as value */
|
|
3425
|
-
arrayOptions?:
|
|
3424
|
+
arrayOptions?: InputField_Array;
|
|
3426
3425
|
/** Input return object as value */
|
|
3427
|
-
objectOptions?:
|
|
3426
|
+
objectOptions?: InputField_Object;
|
|
3428
3427
|
/** Input return "Wix file" as value */
|
|
3429
|
-
wixFileOptions?:
|
|
3428
|
+
wixFileOptions?: InputFieldWixFile;
|
|
3430
3429
|
/** Input returns selected products as value. */
|
|
3431
|
-
paymentOptions?:
|
|
3430
|
+
paymentOptions?: InputFieldPayment;
|
|
3432
3431
|
/** Input returns multiline address as value. */
|
|
3433
|
-
multilineAddressOptions?:
|
|
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?:
|
|
3439
|
+
richContentOptions?: V4RichContentOptions;
|
|
3441
3440
|
/** Page navigation component resolving as navigation or submit buttons */
|
|
3442
|
-
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?:
|
|
3448
|
+
richContentOptions?: V4RichContentOptions;
|
|
3450
3449
|
/** Page navigation component resolving as navigation or submit buttons */
|
|
3451
|
-
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
|
|
3457
|
+
export interface V4RichContentOptions {
|
|
3459
3458
|
/** Content of the header */
|
|
3460
3459
|
richContent?: RichContent;
|
|
3461
3460
|
}
|
|
3462
|
-
export interface
|
|
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
|
|
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
|
-
*
|
|
3484
|
+
* Field id.
|
|
3482
3485
|
* @format GUID
|
|
3483
3486
|
* @immutable
|
|
3484
3487
|
*/
|
|
3485
3488
|
id?: string;
|
|
3486
3489
|
/**
|
|
3487
|
-
*
|
|
3488
|
-
*
|
|
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
|
-
*
|
|
3507
|
-
* @
|
|
3495
|
+
* Custom identification of field, can be used to specify exceptional behaviour of client for specific field
|
|
3496
|
+
* @maxLength 50
|
|
3508
3497
|
*/
|
|
3509
|
-
|
|
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
|
-
*
|
|
3520
|
-
* @
|
|
3500
|
+
* Type of the field
|
|
3501
|
+
* @readonly
|
|
3521
3502
|
*/
|
|
3522
|
-
|
|
3503
|
+
fieldType?: FieldType;
|
|
3523
3504
|
}
|
|
3524
|
-
|
|
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
|
-
*
|
|
3527
|
-
* @
|
|
3535
|
+
* Definition of a target where the value of field belongs.
|
|
3536
|
+
* @minLength 1
|
|
3537
|
+
* @maxLength 200
|
|
3538
|
+
* @immutable
|
|
3528
3539
|
*/
|
|
3529
|
-
|
|
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
|
-
*
|
|
3545
|
-
*
|
|
3542
|
+
* Mark the field as containing personal information. This will encrypt user data when storing it.
|
|
3543
|
+
* Default: false
|
|
3546
3544
|
*/
|
|
3547
|
-
|
|
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
|
-
*
|
|
3554
|
-
*
|
|
3547
|
+
* Whether the field is required.
|
|
3548
|
+
* Default: false
|
|
3555
3549
|
*/
|
|
3556
|
-
|
|
3550
|
+
required?: boolean;
|
|
3557
3551
|
/**
|
|
3558
|
-
*
|
|
3559
|
-
* @
|
|
3560
|
-
|
|
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,
|
|
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)
|
|
@@ -4723,7 +5391,7 @@ export interface FormSummary {
|
|
|
4723
5391
|
* Summarized form fields.
|
|
4724
5392
|
* @maxSize 500
|
|
4725
5393
|
*/
|
|
4726
|
-
fields?:
|
|
5394
|
+
fields?: FormSummaryField[];
|
|
4727
5395
|
}
|
|
4728
5396
|
export declare enum FieldInputType {
|
|
4729
5397
|
UNKNOWN_INPUT_TYPE = "UNKNOWN_INPUT_TYPE",
|
|
@@ -4763,7 +5431,7 @@ export interface FieldOption {
|
|
|
4763
5431
|
*/
|
|
4764
5432
|
value?: string | null;
|
|
4765
5433
|
}
|
|
4766
|
-
export interface
|
|
5434
|
+
export interface FormSummaryField {
|
|
4767
5435
|
/**
|
|
4768
5436
|
* Definition of a target where the value of field belongs.
|
|
4769
5437
|
* @maxLength 200
|
|
@@ -4863,22 +5531,22 @@ export declare enum WebhookIdentityType {
|
|
|
4863
5531
|
WIX_USER = "WIX_USER",
|
|
4864
5532
|
APP = "APP"
|
|
4865
5533
|
}
|
|
4866
|
-
interface
|
|
5534
|
+
interface StringTypePhoneConstraintsNonNullableFields {
|
|
4867
5535
|
allowedCountryCodes: string[];
|
|
4868
5536
|
}
|
|
4869
|
-
interface
|
|
4870
|
-
phoneOptions?:
|
|
4871
|
-
format:
|
|
5537
|
+
interface FormFieldStringTypeNonNullableFields {
|
|
5538
|
+
phoneOptions?: StringTypePhoneConstraintsNonNullableFields;
|
|
5539
|
+
format: StringTypeFormatEnumFormat;
|
|
4872
5540
|
}
|
|
4873
|
-
interface
|
|
5541
|
+
interface FormFieldBooleanTypeNonNullableFields {
|
|
4874
5542
|
enum: boolean[];
|
|
4875
5543
|
}
|
|
4876
|
-
interface
|
|
4877
|
-
string?:
|
|
4878
|
-
boolean?:
|
|
5544
|
+
interface ArrayTypeArrayItemsNonNullableFields {
|
|
5545
|
+
string?: FormFieldStringTypeNonNullableFields;
|
|
5546
|
+
boolean?: FormFieldBooleanTypeNonNullableFields;
|
|
4879
5547
|
}
|
|
4880
|
-
interface
|
|
4881
|
-
items?:
|
|
5548
|
+
interface FormFieldArrayTypeNonNullableFields {
|
|
5549
|
+
items?: ArrayTypeArrayItemsNonNullableFields;
|
|
4882
5550
|
}
|
|
4883
5551
|
interface FixedPriceOptionsNonNullableFields {
|
|
4884
5552
|
price: string;
|
|
@@ -4919,9 +5587,9 @@ interface PredefinedValidationNonNullableFields {
|
|
|
4919
5587
|
format: ValidationFormat;
|
|
4920
5588
|
}
|
|
4921
5589
|
interface ValidationNonNullableFields {
|
|
4922
|
-
string?:
|
|
4923
|
-
boolean?:
|
|
4924
|
-
array?:
|
|
5590
|
+
string?: FormFieldStringTypeNonNullableFields;
|
|
5591
|
+
boolean?: FormFieldBooleanTypeNonNullableFields;
|
|
5592
|
+
array?: FormFieldArrayTypeNonNullableFields;
|
|
4925
5593
|
predefined?: PredefinedValidationNonNullableFields;
|
|
4926
5594
|
required: boolean;
|
|
4927
5595
|
}
|
|
@@ -5223,14 +5891,14 @@ interface DatePickerNonNullableFields {
|
|
|
5223
5891
|
description?: RichContentNonNullableFields;
|
|
5224
5892
|
firstDayOfWeek: FirstDayOfWeek;
|
|
5225
5893
|
}
|
|
5226
|
-
interface
|
|
5894
|
+
interface InputFieldStringTypePhoneConstraintsNonNullableFields {
|
|
5227
5895
|
allowedCountryCodes: string[];
|
|
5228
5896
|
}
|
|
5229
5897
|
interface InputFieldStringTypeNonNullableFields {
|
|
5230
|
-
phoneOptions?:
|
|
5231
|
-
format:
|
|
5898
|
+
phoneOptions?: InputFieldStringTypePhoneConstraintsNonNullableFields;
|
|
5899
|
+
format: InputFieldStringTypeFormatEnumFormat;
|
|
5232
5900
|
}
|
|
5233
|
-
interface
|
|
5901
|
+
interface InputField_StringNonNullableFields {
|
|
5234
5902
|
textInputOptions?: TextInputNonNullableFields;
|
|
5235
5903
|
radioGroupOptions?: RadioGroupNonNullableFields;
|
|
5236
5904
|
dropdownOptions?: DropdownNonNullableFields;
|
|
@@ -5240,7 +5908,7 @@ interface _StringNonNullableFields {
|
|
|
5240
5908
|
timeInputOptions?: TimeInputNonNullableFields;
|
|
5241
5909
|
datePickerOptions?: DatePickerNonNullableFields;
|
|
5242
5910
|
validation?: InputFieldStringTypeNonNullableFields;
|
|
5243
|
-
componentType:
|
|
5911
|
+
componentType: InputFieldStringComponentType;
|
|
5244
5912
|
}
|
|
5245
5913
|
interface NumberInputNonNullableFields {
|
|
5246
5914
|
description?: RichContentNonNullableFields;
|
|
@@ -5248,10 +5916,10 @@ interface NumberInputNonNullableFields {
|
|
|
5248
5916
|
interface RatingInputNonNullableFields {
|
|
5249
5917
|
description?: RichContentNonNullableFields;
|
|
5250
5918
|
}
|
|
5251
|
-
interface
|
|
5919
|
+
interface InputField_NumberNonNullableFields {
|
|
5252
5920
|
numberInputOptions?: NumberInputNonNullableFields;
|
|
5253
5921
|
ratingInputOptions?: RatingInputNonNullableFields;
|
|
5254
|
-
componentType:
|
|
5922
|
+
componentType: InputFieldNumberComponentType;
|
|
5255
5923
|
}
|
|
5256
5924
|
interface CheckboxNonNullableFields {
|
|
5257
5925
|
label?: RichContentNonNullableFields;
|
|
@@ -5260,10 +5928,10 @@ interface CheckboxNonNullableFields {
|
|
|
5260
5928
|
interface InputFieldBooleanTypeNonNullableFields {
|
|
5261
5929
|
enum: boolean[];
|
|
5262
5930
|
}
|
|
5263
|
-
interface
|
|
5931
|
+
interface InputField_BooleanNonNullableFields {
|
|
5264
5932
|
checkboxOptions?: CheckboxNonNullableFields;
|
|
5265
5933
|
validation?: InputFieldBooleanTypeNonNullableFields;
|
|
5266
|
-
componentType:
|
|
5934
|
+
componentType: InputFieldBooleanComponentType;
|
|
5267
5935
|
}
|
|
5268
5936
|
interface ImageNonNullableFields {
|
|
5269
5937
|
id: string;
|
|
@@ -5294,19 +5962,19 @@ interface TagsNonNullableFields {
|
|
|
5294
5962
|
options: TagsOptionNonNullableFields[];
|
|
5295
5963
|
numberOfColumns: NumberOfColumns;
|
|
5296
5964
|
}
|
|
5297
|
-
interface
|
|
5965
|
+
interface InputFieldArrayTypeArrayItemsNonNullableFields {
|
|
5298
5966
|
stringOptions?: InputFieldStringTypeNonNullableFields;
|
|
5299
5967
|
booleanOptions?: InputFieldBooleanTypeNonNullableFields;
|
|
5300
|
-
itemType:
|
|
5968
|
+
itemType: ArrayItemsItemType;
|
|
5301
5969
|
}
|
|
5302
5970
|
interface InputFieldArrayTypeNonNullableFields {
|
|
5303
|
-
items?:
|
|
5971
|
+
items?: InputFieldArrayTypeArrayItemsNonNullableFields;
|
|
5304
5972
|
}
|
|
5305
|
-
interface
|
|
5973
|
+
interface InputField_ArrayNonNullableFields {
|
|
5306
5974
|
checkboxGroupOptions?: CheckboxGroupNonNullableFields;
|
|
5307
5975
|
tagsOptions?: TagsNonNullableFields;
|
|
5308
5976
|
validation?: InputFieldArrayTypeNonNullableFields;
|
|
5309
|
-
componentType:
|
|
5977
|
+
componentType: ArrayComponentType;
|
|
5310
5978
|
}
|
|
5311
5979
|
interface FileUploadNonNullableFields {
|
|
5312
5980
|
description?: RichContentNonNullableFields;
|
|
@@ -5317,10 +5985,10 @@ interface SignatureNonNullableFields {
|
|
|
5317
5985
|
description?: RichContentNonNullableFields;
|
|
5318
5986
|
imageUploadEnabled: boolean;
|
|
5319
5987
|
}
|
|
5320
|
-
interface
|
|
5988
|
+
interface InputFieldWixFileNonNullableFields {
|
|
5321
5989
|
fileUploadOptions?: FileUploadNonNullableFields;
|
|
5322
5990
|
signatureOptions?: SignatureNonNullableFields;
|
|
5323
|
-
componentType:
|
|
5991
|
+
componentType: InputFieldWixFileComponentType;
|
|
5324
5992
|
}
|
|
5325
5993
|
interface ProductCheckboxGroupOptionNonNullableFields {
|
|
5326
5994
|
id: string;
|
|
@@ -5347,12 +6015,12 @@ interface PaymentInputNonNullableFields {
|
|
|
5347
6015
|
interface FixedPaymentNonNullableFields {
|
|
5348
6016
|
description?: RichContentNonNullableFields;
|
|
5349
6017
|
}
|
|
5350
|
-
interface
|
|
6018
|
+
interface InputFieldPaymentNonNullableFields {
|
|
5351
6019
|
checkboxGroupOptions?: ProductCheckboxGroupNonNullableFields;
|
|
5352
6020
|
donationInputOptions?: DonationInputNonNullableFields;
|
|
5353
6021
|
paymentInputOptions?: PaymentInputNonNullableFields;
|
|
5354
6022
|
fixedPaymentOptions?: FixedPaymentNonNullableFields;
|
|
5355
|
-
componentType:
|
|
6023
|
+
componentType: InputFieldPaymentComponentType;
|
|
5356
6024
|
validation?: PaymentTypeNonNullableFields;
|
|
5357
6025
|
}
|
|
5358
6026
|
interface DefaultCountryConfigNonNullableFields {
|
|
@@ -5372,9 +6040,9 @@ interface MultilineAddressNonNullableFields {
|
|
|
5372
6040
|
fieldSettings?: FieldsSettingsNonNullableFields;
|
|
5373
6041
|
autocompleteEnabled: boolean;
|
|
5374
6042
|
}
|
|
5375
|
-
interface
|
|
6043
|
+
interface FormFieldV2InputFieldMultilineAddressNonNullableFields {
|
|
5376
6044
|
multilineAddressOptions?: MultilineAddressNonNullableFields;
|
|
5377
|
-
componentType:
|
|
6045
|
+
componentType: InputFieldMultilineAddressComponentType;
|
|
5378
6046
|
validation?: MultilineAddressValidationNonNullableFields;
|
|
5379
6047
|
}
|
|
5380
6048
|
interface AppointmentNonNullableFields {
|
|
@@ -5384,6 +6052,122 @@ interface SchedulingNonNullableFields {
|
|
|
5384
6052
|
appointmentOptions?: AppointmentNonNullableFields;
|
|
5385
6053
|
componentType: SchedulingComponentType;
|
|
5386
6054
|
}
|
|
6055
|
+
interface FormFieldContactInfoEmailInfoNonNullableFields {
|
|
6056
|
+
tag: FormFieldContactInfoEmailInfoTag;
|
|
6057
|
+
}
|
|
6058
|
+
interface FormFieldContactInfoPhoneInfoNonNullableFields {
|
|
6059
|
+
tag: FormFieldContactInfoPhoneInfoTag;
|
|
6060
|
+
}
|
|
6061
|
+
interface FormFieldContactInfoAddressInfoNonNullableFields {
|
|
6062
|
+
tag: AddressInfoTag;
|
|
6063
|
+
}
|
|
6064
|
+
interface FormFieldContactInfoCustomFieldInfoNonNullableFields {
|
|
6065
|
+
key: string;
|
|
6066
|
+
}
|
|
6067
|
+
interface FormFieldContactInfoSubscriptionInfoNonNullableFields {
|
|
6068
|
+
optInLevel: OptInLevel;
|
|
6069
|
+
}
|
|
6070
|
+
interface V4FormFieldContactInfoNonNullableFields {
|
|
6071
|
+
emailInfo?: FormFieldContactInfoEmailInfoNonNullableFields;
|
|
6072
|
+
phoneInfo?: FormFieldContactInfoPhoneInfoNonNullableFields;
|
|
6073
|
+
addressInfo?: FormFieldContactInfoAddressInfoNonNullableFields;
|
|
6074
|
+
customFieldInfo?: FormFieldContactInfoCustomFieldInfoNonNullableFields;
|
|
6075
|
+
subscriptionInfo?: FormFieldContactInfoSubscriptionInfoNonNullableFields;
|
|
6076
|
+
contactField: FormFieldContactInfoContactField;
|
|
6077
|
+
}
|
|
6078
|
+
interface FormFieldV2InputFieldNonNullableFields {
|
|
6079
|
+
stringOptions?: InputField_StringNonNullableFields;
|
|
6080
|
+
numberOptions?: InputField_NumberNonNullableFields;
|
|
6081
|
+
booleanOptions?: InputField_BooleanNonNullableFields;
|
|
6082
|
+
arrayOptions?: InputField_ArrayNonNullableFields;
|
|
6083
|
+
wixFileOptions?: InputFieldWixFileNonNullableFields;
|
|
6084
|
+
paymentOptions?: InputFieldPaymentNonNullableFields;
|
|
6085
|
+
multilineAddressOptions?: FormFieldV2InputFieldMultilineAddressNonNullableFields;
|
|
6086
|
+
schedulingOptions?: SchedulingNonNullableFields;
|
|
6087
|
+
pii: boolean;
|
|
6088
|
+
required: boolean;
|
|
6089
|
+
inputType: InputFieldInputType;
|
|
6090
|
+
contactMapping?: V4FormFieldContactInfoNonNullableFields;
|
|
6091
|
+
readOnly: boolean;
|
|
6092
|
+
}
|
|
6093
|
+
interface V4RichContentOptionsNonNullableFields {
|
|
6094
|
+
richContent?: RichContentNonNullableFields;
|
|
6095
|
+
}
|
|
6096
|
+
interface DisplayFieldNonNullableFields {
|
|
6097
|
+
richContentOptions?: V4RichContentOptionsNonNullableFields;
|
|
6098
|
+
displayFieldType: DisplayFieldType;
|
|
6099
|
+
}
|
|
6100
|
+
interface FormFieldV2NonNullableFields {
|
|
6101
|
+
inputOptions?: FormFieldV2InputFieldNonNullableFields;
|
|
6102
|
+
displayOptions?: DisplayFieldNonNullableFields;
|
|
6103
|
+
id: string;
|
|
6104
|
+
hidden: boolean;
|
|
6105
|
+
fieldType: FormFieldV2FieldType;
|
|
6106
|
+
}
|
|
6107
|
+
interface PhoneConstraintsNonNullableFields {
|
|
6108
|
+
allowedCountryCodes: string[];
|
|
6109
|
+
}
|
|
6110
|
+
interface StringTypeNonNullableFields {
|
|
6111
|
+
phoneOptions?: PhoneConstraintsNonNullableFields;
|
|
6112
|
+
format: FormatEnumFormat;
|
|
6113
|
+
}
|
|
6114
|
+
interface _StringNonNullableFields {
|
|
6115
|
+
textInputOptions?: TextInputNonNullableFields;
|
|
6116
|
+
radioGroupOptions?: RadioGroupNonNullableFields;
|
|
6117
|
+
dropdownOptions?: DropdownNonNullableFields;
|
|
6118
|
+
dateTimeOptions?: DateTimeInputNonNullableFields;
|
|
6119
|
+
phoneInputOptions?: PhoneInputNonNullableFields;
|
|
6120
|
+
dateInputOptions?: DateInputNonNullableFields;
|
|
6121
|
+
timeInputOptions?: TimeInputNonNullableFields;
|
|
6122
|
+
datePickerOptions?: DatePickerNonNullableFields;
|
|
6123
|
+
validation?: StringTypeNonNullableFields;
|
|
6124
|
+
componentType: StringComponentType;
|
|
6125
|
+
}
|
|
6126
|
+
interface _NumberNonNullableFields {
|
|
6127
|
+
numberInputOptions?: NumberInputNonNullableFields;
|
|
6128
|
+
ratingInputOptions?: RatingInputNonNullableFields;
|
|
6129
|
+
componentType: NumberComponentType;
|
|
6130
|
+
}
|
|
6131
|
+
interface BooleanTypeNonNullableFields {
|
|
6132
|
+
enum: boolean[];
|
|
6133
|
+
}
|
|
6134
|
+
interface _BooleanNonNullableFields {
|
|
6135
|
+
checkboxOptions?: CheckboxNonNullableFields;
|
|
6136
|
+
validation?: BooleanTypeNonNullableFields;
|
|
6137
|
+
componentType: BooleanComponentType;
|
|
6138
|
+
}
|
|
6139
|
+
interface ArrayItemsNonNullableFields {
|
|
6140
|
+
stringOptions?: StringTypeNonNullableFields;
|
|
6141
|
+
booleanOptions?: BooleanTypeNonNullableFields;
|
|
6142
|
+
itemType: ItemType;
|
|
6143
|
+
}
|
|
6144
|
+
interface ArrayTypeNonNullableFields {
|
|
6145
|
+
items?: ArrayItemsNonNullableFields;
|
|
6146
|
+
}
|
|
6147
|
+
interface _ArrayNonNullableFields {
|
|
6148
|
+
checkboxGroupOptions?: CheckboxGroupNonNullableFields;
|
|
6149
|
+
tagsOptions?: TagsNonNullableFields;
|
|
6150
|
+
validation?: ArrayTypeNonNullableFields;
|
|
6151
|
+
componentType: ComponentType;
|
|
6152
|
+
}
|
|
6153
|
+
interface WixFileNonNullableFields {
|
|
6154
|
+
fileUploadOptions?: FileUploadNonNullableFields;
|
|
6155
|
+
signatureOptions?: SignatureNonNullableFields;
|
|
6156
|
+
componentType: WixFileComponentType;
|
|
6157
|
+
}
|
|
6158
|
+
interface PaymentNonNullableFields {
|
|
6159
|
+
checkboxGroupOptions?: ProductCheckboxGroupNonNullableFields;
|
|
6160
|
+
donationInputOptions?: DonationInputNonNullableFields;
|
|
6161
|
+
paymentInputOptions?: PaymentInputNonNullableFields;
|
|
6162
|
+
fixedPaymentOptions?: FixedPaymentNonNullableFields;
|
|
6163
|
+
componentType: PaymentComponentType;
|
|
6164
|
+
validation?: PaymentTypeNonNullableFields;
|
|
6165
|
+
}
|
|
6166
|
+
interface InputFieldMultilineAddressNonNullableFields {
|
|
6167
|
+
multilineAddressOptions?: MultilineAddressNonNullableFields;
|
|
6168
|
+
componentType: MultilineAddressComponentType;
|
|
6169
|
+
validation?: MultilineAddressValidationNonNullableFields;
|
|
6170
|
+
}
|
|
5387
6171
|
interface EmailInfoNonNullableFields {
|
|
5388
6172
|
tag: EmailInfoTag;
|
|
5389
6173
|
}
|
|
@@ -5397,7 +6181,7 @@ interface CustomFieldInfoNonNullableFields {
|
|
|
5397
6181
|
key: string;
|
|
5398
6182
|
}
|
|
5399
6183
|
interface SubscriptionInfoNonNullableFields {
|
|
5400
|
-
|
|
6184
|
+
confirmationLevel: ConfirmationLevel;
|
|
5401
6185
|
}
|
|
5402
6186
|
interface FormFieldContactInfoNonNullableFields {
|
|
5403
6187
|
emailInfo?: EmailInfoNonNullableFields;
|
|
@@ -5415,7 +6199,7 @@ interface InputFieldNonNullableFields {
|
|
|
5415
6199
|
wixFileOptions?: WixFileNonNullableFields;
|
|
5416
6200
|
paymentOptions?: PaymentNonNullableFields;
|
|
5417
6201
|
multilineAddressOptions?: InputFieldMultilineAddressNonNullableFields;
|
|
5418
|
-
|
|
6202
|
+
target: string;
|
|
5419
6203
|
pii: boolean;
|
|
5420
6204
|
required: boolean;
|
|
5421
6205
|
inputType: InputType;
|
|
@@ -5425,13 +6209,13 @@ interface InputFieldNonNullableFields {
|
|
|
5425
6209
|
interface RichContentOptionsNonNullableFields {
|
|
5426
6210
|
richContent?: RichContentNonNullableFields;
|
|
5427
6211
|
}
|
|
5428
|
-
interface
|
|
6212
|
+
interface FieldsDisplayFieldNonNullableFields {
|
|
5429
6213
|
richContentOptions?: RichContentOptionsNonNullableFields;
|
|
5430
|
-
displayFieldType:
|
|
6214
|
+
displayFieldType: DisplayFieldDisplayFieldType;
|
|
5431
6215
|
}
|
|
5432
|
-
interface
|
|
6216
|
+
interface FieldNonNullableFields {
|
|
5433
6217
|
inputOptions?: InputFieldNonNullableFields;
|
|
5434
|
-
displayOptions?:
|
|
6218
|
+
displayOptions?: FieldsDisplayFieldNonNullableFields;
|
|
5435
6219
|
id: string;
|
|
5436
6220
|
hidden: boolean;
|
|
5437
6221
|
fieldType: FieldType;
|
|
@@ -5544,6 +6328,7 @@ interface RuleNonNullableFields {
|
|
|
5544
6328
|
interface FormNonNullableFields {
|
|
5545
6329
|
fields: FormFieldNonNullableFields[];
|
|
5546
6330
|
fieldsV2: FormFieldV2NonNullableFields[];
|
|
6331
|
+
formFields: FieldNonNullableFields[];
|
|
5547
6332
|
steps: StepNonNullableFields[];
|
|
5548
6333
|
rules: FormRuleNonNullableFields[];
|
|
5549
6334
|
properties?: FormPropertiesNonNullableFields;
|
|
@@ -5635,14 +6420,14 @@ interface FormsSchemaProvidersConfigNonNullableFields {
|
|
|
5635
6420
|
export interface ListFormsProvidersConfigsResponseNonNullableFields {
|
|
5636
6421
|
configs: FormsSchemaProvidersConfigNonNullableFields[];
|
|
5637
6422
|
}
|
|
5638
|
-
interface
|
|
6423
|
+
interface FormSummaryFieldNonNullableFields {
|
|
5639
6424
|
type: FieldInputType;
|
|
5640
6425
|
deleted: boolean;
|
|
5641
6426
|
id: string;
|
|
5642
6427
|
}
|
|
5643
6428
|
interface FormSummaryNonNullableFields {
|
|
5644
6429
|
id: string;
|
|
5645
|
-
fields:
|
|
6430
|
+
fields: FormSummaryFieldNonNullableFields[];
|
|
5646
6431
|
}
|
|
5647
6432
|
export interface GetFormSummaryResponseNonNullableFields {
|
|
5648
6433
|
formSummary?: FormSummaryNonNullableFields;
|