@wix/auto_sdk_forms_forms 1.0.8 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +1063 -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 +1064 -278
- 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 +1063 -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 +1064 -278
- 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 +1063 -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 +1064 -278
- 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 +1063 -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 +1064 -278
- 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
|
@@ -9,7 +9,7 @@ export interface Form {
|
|
|
9
9
|
* List of form fields that represent input elements.
|
|
10
10
|
* @maxSize 500
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
formFields?: Field[];
|
|
13
13
|
/**
|
|
14
14
|
* Defines the layout for form fields in each submission step.
|
|
15
15
|
* @maxSize 100
|
|
@@ -141,17 +141,17 @@ export interface FormField {
|
|
|
141
141
|
*/
|
|
142
142
|
readOnly?: boolean;
|
|
143
143
|
}
|
|
144
|
-
export interface
|
|
144
|
+
export interface FormFieldStringType extends FormFieldStringTypeFormatOptionsOneOf {
|
|
145
145
|
/** DATE format options */
|
|
146
|
-
dateOptions?:
|
|
146
|
+
dateOptions?: StringTypeDateTimeConstraints;
|
|
147
147
|
/** DATE_TIME format options */
|
|
148
|
-
dateTimeOptions?:
|
|
148
|
+
dateTimeOptions?: StringTypeDateTimeConstraints;
|
|
149
149
|
/** TIME format options */
|
|
150
|
-
timeOptions?:
|
|
150
|
+
timeOptions?: StringTypeDateTimeConstraints;
|
|
151
151
|
/** DATE_OPTIONAL_TIME format options */
|
|
152
|
-
dateOptionalTimeOptions?:
|
|
152
|
+
dateOptionalTimeOptions?: StringTypeDateTimeConstraints;
|
|
153
153
|
/** PHONE format options */
|
|
154
|
-
phoneOptions?:
|
|
154
|
+
phoneOptions?: StringTypePhoneConstraints;
|
|
155
155
|
/**
|
|
156
156
|
* Minimum length.
|
|
157
157
|
* @max 20000
|
|
@@ -168,7 +168,7 @@ export interface StringType extends StringTypeFormatOptionsOneOf {
|
|
|
168
168
|
*/
|
|
169
169
|
pattern?: string | null;
|
|
170
170
|
/** Format of a string. */
|
|
171
|
-
format?:
|
|
171
|
+
format?: StringTypeFormatEnumFormat;
|
|
172
172
|
/** Custom error messages when validation fails. */
|
|
173
173
|
errorMessages?: StringErrorMessages;
|
|
174
174
|
/**
|
|
@@ -179,19 +179,19 @@ export interface StringType extends StringTypeFormatOptionsOneOf {
|
|
|
179
179
|
enum?: string[] | null;
|
|
180
180
|
}
|
|
181
181
|
/** @oneof */
|
|
182
|
-
export interface
|
|
182
|
+
export interface FormFieldStringTypeFormatOptionsOneOf {
|
|
183
183
|
/** DATE format options */
|
|
184
|
-
dateOptions?:
|
|
184
|
+
dateOptions?: StringTypeDateTimeConstraints;
|
|
185
185
|
/** DATE_TIME format options */
|
|
186
|
-
dateTimeOptions?:
|
|
186
|
+
dateTimeOptions?: StringTypeDateTimeConstraints;
|
|
187
187
|
/** TIME format options */
|
|
188
|
-
timeOptions?:
|
|
188
|
+
timeOptions?: StringTypeDateTimeConstraints;
|
|
189
189
|
/** DATE_OPTIONAL_TIME format options */
|
|
190
|
-
dateOptionalTimeOptions?:
|
|
190
|
+
dateOptionalTimeOptions?: StringTypeDateTimeConstraints;
|
|
191
191
|
/** PHONE format options */
|
|
192
|
-
phoneOptions?:
|
|
192
|
+
phoneOptions?: StringTypePhoneConstraints;
|
|
193
193
|
}
|
|
194
|
-
export declare enum
|
|
194
|
+
export declare enum StringTypeFormatEnumFormat {
|
|
195
195
|
UNDEFINED = "UNDEFINED",
|
|
196
196
|
DATE = "DATE",
|
|
197
197
|
TIME = "TIME",
|
|
@@ -214,7 +214,7 @@ export interface StringErrorMessages {
|
|
|
214
214
|
*/
|
|
215
215
|
default?: string | null;
|
|
216
216
|
}
|
|
217
|
-
export interface
|
|
217
|
+
export interface StringTypeDateTimeConstraints {
|
|
218
218
|
/**
|
|
219
219
|
* Support static constrains defined as ISO date/time format, as well as
|
|
220
220
|
* dynamic calculations can be performed using special keywords such as "$now" to represent the current date and time.
|
|
@@ -232,7 +232,7 @@ export interface DateTimeConstraints {
|
|
|
232
232
|
*/
|
|
233
233
|
maximum?: string | null;
|
|
234
234
|
}
|
|
235
|
-
export interface
|
|
235
|
+
export interface StringTypePhoneConstraints {
|
|
236
236
|
/**
|
|
237
237
|
* Country codes for phone number that are allowed
|
|
238
238
|
* @maxSize 250
|
|
@@ -240,7 +240,7 @@ export interface PhoneConstraints {
|
|
|
240
240
|
*/
|
|
241
241
|
allowedCountryCodes?: string[];
|
|
242
242
|
}
|
|
243
|
-
export interface
|
|
243
|
+
export interface FormFieldNumberType {
|
|
244
244
|
/** Inclusive maximum value. */
|
|
245
245
|
maximum?: number | null;
|
|
246
246
|
/** Inclusive minimum value. */
|
|
@@ -262,7 +262,7 @@ export interface NumberErrorMessages {
|
|
|
262
262
|
*/
|
|
263
263
|
default?: string | null;
|
|
264
264
|
}
|
|
265
|
-
export interface
|
|
265
|
+
export interface FormFieldIntegerType {
|
|
266
266
|
/** Minimum value. */
|
|
267
267
|
maximum?: number | null;
|
|
268
268
|
/** Maximum value. */
|
|
@@ -277,7 +277,7 @@ export interface IntegerType {
|
|
|
277
277
|
*/
|
|
278
278
|
enum?: number[] | null;
|
|
279
279
|
}
|
|
280
|
-
export interface
|
|
280
|
+
export interface FormFieldBooleanType {
|
|
281
281
|
/** Custom error message when validation fails. */
|
|
282
282
|
errorMessages?: BooleanErrorMessages;
|
|
283
283
|
/**
|
|
@@ -293,7 +293,7 @@ export interface BooleanErrorMessages {
|
|
|
293
293
|
*/
|
|
294
294
|
default?: string | null;
|
|
295
295
|
}
|
|
296
|
-
export interface
|
|
296
|
+
export interface FormFieldArrayType {
|
|
297
297
|
/**
|
|
298
298
|
* Maximum amount of array elements.
|
|
299
299
|
* @max 1000
|
|
@@ -305,42 +305,42 @@ export interface ArrayType {
|
|
|
305
305
|
*/
|
|
306
306
|
minItems?: number | null;
|
|
307
307
|
/** Type of items allowed in array. */
|
|
308
|
-
items?:
|
|
308
|
+
items?: ArrayTypeArrayItems;
|
|
309
309
|
/** Custom error message when validation fails. */
|
|
310
310
|
errorMessages?: ArrayErrorMessages;
|
|
311
311
|
}
|
|
312
|
-
export interface
|
|
312
|
+
export interface FormFieldObjectType {
|
|
313
313
|
/** Description of object properties. */
|
|
314
|
-
properties?: Record<string,
|
|
314
|
+
properties?: Record<string, ObjectTypePropertiesType>;
|
|
315
315
|
/** Custom error message when validation fails. */
|
|
316
316
|
errorMessages?: ObjectErrorMessages;
|
|
317
317
|
}
|
|
318
|
-
export interface
|
|
318
|
+
export interface ObjectTypePropertiesType extends ObjectTypePropertiesTypePropertiesTypeOneOf {
|
|
319
319
|
/** String type validation for property. */
|
|
320
|
-
string?:
|
|
320
|
+
string?: FormFieldStringType;
|
|
321
321
|
/** Number type validation for property. */
|
|
322
|
-
number?:
|
|
322
|
+
number?: FormFieldNumberType;
|
|
323
323
|
/** Boolean type validation for property. */
|
|
324
|
-
boolean?:
|
|
324
|
+
boolean?: FormFieldBooleanType;
|
|
325
325
|
/** Integer type validation for property. */
|
|
326
|
-
integer?:
|
|
326
|
+
integer?: FormFieldIntegerType;
|
|
327
327
|
/** Array type validation for property. */
|
|
328
|
-
array?:
|
|
328
|
+
array?: FormFieldArrayType;
|
|
329
329
|
/** Whether the property is required. */
|
|
330
330
|
required?: boolean;
|
|
331
331
|
}
|
|
332
332
|
/** @oneof */
|
|
333
|
-
export interface
|
|
333
|
+
export interface ObjectTypePropertiesTypePropertiesTypeOneOf {
|
|
334
334
|
/** String type validation for property. */
|
|
335
|
-
string?:
|
|
335
|
+
string?: FormFieldStringType;
|
|
336
336
|
/** Number type validation for property. */
|
|
337
|
-
number?:
|
|
337
|
+
number?: FormFieldNumberType;
|
|
338
338
|
/** Boolean type validation for property. */
|
|
339
|
-
boolean?:
|
|
339
|
+
boolean?: FormFieldBooleanType;
|
|
340
340
|
/** Integer type validation for property. */
|
|
341
|
-
integer?:
|
|
341
|
+
integer?: FormFieldIntegerType;
|
|
342
342
|
/** Array type validation for property. */
|
|
343
|
-
array?:
|
|
343
|
+
array?: FormFieldArrayType;
|
|
344
344
|
}
|
|
345
345
|
export interface ObjectErrorMessages {
|
|
346
346
|
/**
|
|
@@ -349,30 +349,30 @@ export interface ObjectErrorMessages {
|
|
|
349
349
|
*/
|
|
350
350
|
default?: string | null;
|
|
351
351
|
}
|
|
352
|
-
export interface
|
|
352
|
+
export interface ArrayTypeArrayItems extends ArrayTypeArrayItemsItemsOneOf {
|
|
353
353
|
/** String type validation for items. */
|
|
354
|
-
string?:
|
|
354
|
+
string?: FormFieldStringType;
|
|
355
355
|
/** Number type validation for items. */
|
|
356
|
-
number?:
|
|
356
|
+
number?: FormFieldNumberType;
|
|
357
357
|
/** Boolean type validation for items. */
|
|
358
|
-
boolean?:
|
|
358
|
+
boolean?: FormFieldBooleanType;
|
|
359
359
|
/** Integer type validation for items. */
|
|
360
|
-
integer?:
|
|
360
|
+
integer?: FormFieldIntegerType;
|
|
361
361
|
/** Object type validation for items */
|
|
362
|
-
object?:
|
|
362
|
+
object?: FormFieldObjectType;
|
|
363
363
|
}
|
|
364
364
|
/** @oneof */
|
|
365
|
-
export interface
|
|
365
|
+
export interface ArrayTypeArrayItemsItemsOneOf {
|
|
366
366
|
/** String type validation for items. */
|
|
367
|
-
string?:
|
|
367
|
+
string?: FormFieldStringType;
|
|
368
368
|
/** Number type validation for items. */
|
|
369
|
-
number?:
|
|
369
|
+
number?: FormFieldNumberType;
|
|
370
370
|
/** Boolean type validation for items. */
|
|
371
|
-
boolean?:
|
|
371
|
+
boolean?: FormFieldBooleanType;
|
|
372
372
|
/** Integer type validation for items. */
|
|
373
|
-
integer?:
|
|
373
|
+
integer?: FormFieldIntegerType;
|
|
374
374
|
/** Object type validation for items */
|
|
375
|
-
object?:
|
|
375
|
+
object?: FormFieldObjectType;
|
|
376
376
|
}
|
|
377
377
|
export interface ArrayErrorMessages {
|
|
378
378
|
/**
|
|
@@ -539,17 +539,17 @@ export interface NestedFormFieldOverrides {
|
|
|
539
539
|
}
|
|
540
540
|
export interface Validation extends ValidationValidationOneOf {
|
|
541
541
|
/** Validation of string type. */
|
|
542
|
-
string?:
|
|
542
|
+
string?: FormFieldStringType;
|
|
543
543
|
/** Validation of number type. */
|
|
544
|
-
number?:
|
|
544
|
+
number?: FormFieldNumberType;
|
|
545
545
|
/** Validation of integer type. */
|
|
546
|
-
integer?:
|
|
546
|
+
integer?: FormFieldIntegerType;
|
|
547
547
|
/** Validation of boolean type. */
|
|
548
|
-
boolean?:
|
|
548
|
+
boolean?: FormFieldBooleanType;
|
|
549
549
|
/** Validation of array type. */
|
|
550
|
-
array?:
|
|
550
|
+
array?: FormFieldArrayType;
|
|
551
551
|
/** Validation of object type. */
|
|
552
|
-
object?:
|
|
552
|
+
object?: FormFieldObjectType;
|
|
553
553
|
/** Predefined validation of specific format */
|
|
554
554
|
predefined?: PredefinedValidation;
|
|
555
555
|
/** Whether the field is required. */
|
|
@@ -558,17 +558,17 @@ export interface Validation extends ValidationValidationOneOf {
|
|
|
558
558
|
/** @oneof */
|
|
559
559
|
export interface ValidationValidationOneOf {
|
|
560
560
|
/** Validation of string type. */
|
|
561
|
-
string?:
|
|
561
|
+
string?: FormFieldStringType;
|
|
562
562
|
/** Validation of number type. */
|
|
563
|
-
number?:
|
|
563
|
+
number?: FormFieldNumberType;
|
|
564
564
|
/** Validation of integer type. */
|
|
565
|
-
integer?:
|
|
565
|
+
integer?: FormFieldIntegerType;
|
|
566
566
|
/** Validation of boolean type. */
|
|
567
|
-
boolean?:
|
|
567
|
+
boolean?: FormFieldBooleanType;
|
|
568
568
|
/** Validation of array type. */
|
|
569
|
-
array?:
|
|
569
|
+
array?: FormFieldArrayType;
|
|
570
570
|
/** Validation of object type. */
|
|
571
|
-
object?:
|
|
571
|
+
object?: FormFieldObjectType;
|
|
572
572
|
/** Predefined validation of specific format */
|
|
573
573
|
predefined?: PredefinedValidation;
|
|
574
574
|
}
|
|
@@ -587,7 +587,7 @@ export interface NestedFormOverrides {
|
|
|
587
587
|
}
|
|
588
588
|
export interface FormFieldV2 extends FormFieldV2FieldTypeOptionsOneOf {
|
|
589
589
|
/** Field accept input of data */
|
|
590
|
-
inputOptions?:
|
|
590
|
+
inputOptions?: FormFieldV2InputField;
|
|
591
591
|
/** Field for displaying information such as header or text paragraph */
|
|
592
592
|
displayOptions?: DisplayField;
|
|
593
593
|
/**
|
|
@@ -605,26 +605,26 @@ export interface FormFieldV2 extends FormFieldV2FieldTypeOptionsOneOf {
|
|
|
605
605
|
* Type of the field
|
|
606
606
|
* @readonly
|
|
607
607
|
*/
|
|
608
|
-
fieldType?:
|
|
608
|
+
fieldType?: FormFieldV2FieldType;
|
|
609
609
|
}
|
|
610
610
|
/** @oneof */
|
|
611
611
|
export interface FormFieldV2FieldTypeOptionsOneOf {
|
|
612
612
|
/** Field accept input of data */
|
|
613
|
-
inputOptions?:
|
|
613
|
+
inputOptions?: FormFieldV2InputField;
|
|
614
614
|
/** Field for displaying information such as header or text paragraph */
|
|
615
615
|
displayOptions?: DisplayField;
|
|
616
616
|
}
|
|
617
617
|
export interface InputFieldStringType extends InputFieldStringTypeFormatOptionsOneOf {
|
|
618
618
|
/** DATE format options */
|
|
619
|
-
dateOptions?:
|
|
619
|
+
dateOptions?: InputFieldStringTypeDateTimeConstraints;
|
|
620
620
|
/** DATE_TIME format options */
|
|
621
|
-
dateTimeOptions?:
|
|
621
|
+
dateTimeOptions?: InputFieldStringTypeDateTimeConstraints;
|
|
622
622
|
/** TIME format options */
|
|
623
|
-
timeOptions?:
|
|
623
|
+
timeOptions?: InputFieldStringTypeDateTimeConstraints;
|
|
624
624
|
/** DATE_OPTIONAL_TIME format options */
|
|
625
|
-
dateOptionalTimeOptions?:
|
|
625
|
+
dateOptionalTimeOptions?: InputFieldStringTypeDateTimeConstraints;
|
|
626
626
|
/** PHONE format options */
|
|
627
|
-
phoneOptions?:
|
|
627
|
+
phoneOptions?: InputFieldStringTypePhoneConstraints;
|
|
628
628
|
/**
|
|
629
629
|
* Minimum length.
|
|
630
630
|
* @max 20000
|
|
@@ -641,7 +641,7 @@ export interface InputFieldStringType extends InputFieldStringTypeFormatOptionsO
|
|
|
641
641
|
*/
|
|
642
642
|
pattern?: string | null;
|
|
643
643
|
/** Format of a string. */
|
|
644
|
-
format?:
|
|
644
|
+
format?: InputFieldStringTypeFormatEnumFormat;
|
|
645
645
|
/** Custom error messages when validation fails. */
|
|
646
646
|
errorMessages?: InputFieldStringErrorMessages;
|
|
647
647
|
/**
|
|
@@ -654,17 +654,17 @@ export interface InputFieldStringType extends InputFieldStringTypeFormatOptionsO
|
|
|
654
654
|
/** @oneof */
|
|
655
655
|
export interface InputFieldStringTypeFormatOptionsOneOf {
|
|
656
656
|
/** DATE format options */
|
|
657
|
-
dateOptions?:
|
|
657
|
+
dateOptions?: InputFieldStringTypeDateTimeConstraints;
|
|
658
658
|
/** DATE_TIME format options */
|
|
659
|
-
dateTimeOptions?:
|
|
659
|
+
dateTimeOptions?: InputFieldStringTypeDateTimeConstraints;
|
|
660
660
|
/** TIME format options */
|
|
661
|
-
timeOptions?:
|
|
661
|
+
timeOptions?: InputFieldStringTypeDateTimeConstraints;
|
|
662
662
|
/** DATE_OPTIONAL_TIME format options */
|
|
663
|
-
dateOptionalTimeOptions?:
|
|
663
|
+
dateOptionalTimeOptions?: InputFieldStringTypeDateTimeConstraints;
|
|
664
664
|
/** PHONE format options */
|
|
665
|
-
phoneOptions?:
|
|
665
|
+
phoneOptions?: InputFieldStringTypePhoneConstraints;
|
|
666
666
|
}
|
|
667
|
-
export declare enum
|
|
667
|
+
export declare enum InputFieldStringTypeFormatEnumFormat {
|
|
668
668
|
UNKNOWN_FORMAT = "UNKNOWN_FORMAT",
|
|
669
669
|
DATE = "DATE",
|
|
670
670
|
TIME = "TIME",
|
|
@@ -687,7 +687,7 @@ export interface InputFieldStringErrorMessages {
|
|
|
687
687
|
*/
|
|
688
688
|
default?: string | null;
|
|
689
689
|
}
|
|
690
|
-
export interface
|
|
690
|
+
export interface InputFieldStringTypeDateTimeConstraints {
|
|
691
691
|
/**
|
|
692
692
|
* Support static constrains defined as ISO date/time format, as well as
|
|
693
693
|
* dynamic calculations can be performed using special keywords such as "$now" to represent the current date and time.
|
|
@@ -705,7 +705,7 @@ export interface StringTypeDateTimeConstraints {
|
|
|
705
705
|
*/
|
|
706
706
|
maximum?: string | null;
|
|
707
707
|
}
|
|
708
|
-
export interface
|
|
708
|
+
export interface InputFieldStringTypePhoneConstraints {
|
|
709
709
|
/**
|
|
710
710
|
* Country codes for phone number that are allowed
|
|
711
711
|
* @maxSize 250
|
|
@@ -713,7 +713,7 @@ export interface StringTypePhoneConstraints {
|
|
|
713
713
|
*/
|
|
714
714
|
allowedCountryCodes?: string[];
|
|
715
715
|
}
|
|
716
|
-
export declare enum
|
|
716
|
+
export declare enum InputFieldStringComponentType {
|
|
717
717
|
UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
|
|
718
718
|
TEXT_INPUT = "TEXT_INPUT",
|
|
719
719
|
RADIO_GROUP = "RADIO_GROUP",
|
|
@@ -2359,7 +2359,7 @@ export interface InputFieldNumberErrorMessages {
|
|
|
2359
2359
|
*/
|
|
2360
2360
|
default?: string | null;
|
|
2361
2361
|
}
|
|
2362
|
-
export declare enum
|
|
2362
|
+
export declare enum InputFieldNumberComponentType {
|
|
2363
2363
|
UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
|
|
2364
2364
|
NUMBER_INPUT = "NUMBER_INPUT",
|
|
2365
2365
|
RATING_INPUT = "RATING_INPUT"
|
|
@@ -2421,7 +2421,7 @@ export interface InputFieldBooleanErrorMessages {
|
|
|
2421
2421
|
*/
|
|
2422
2422
|
default?: string | null;
|
|
2423
2423
|
}
|
|
2424
|
-
export declare enum
|
|
2424
|
+
export declare enum InputFieldBooleanComponentType {
|
|
2425
2425
|
UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
|
|
2426
2426
|
CHECKBOX = "CHECKBOX"
|
|
2427
2427
|
}
|
|
@@ -2446,11 +2446,11 @@ export interface InputFieldArrayType {
|
|
|
2446
2446
|
*/
|
|
2447
2447
|
minItems?: number | null;
|
|
2448
2448
|
/** Type of items allowed in array. */
|
|
2449
|
-
items?:
|
|
2449
|
+
items?: InputFieldArrayTypeArrayItems;
|
|
2450
2450
|
/** Custom error message when validation fails. */
|
|
2451
2451
|
errorMessages?: InputFieldArrayErrorMessages;
|
|
2452
2452
|
}
|
|
2453
|
-
export declare enum
|
|
2453
|
+
export declare enum ArrayItemsItemType {
|
|
2454
2454
|
UNKNOWN_ITEM_TYPE = "UNKNOWN_ITEM_TYPE",
|
|
2455
2455
|
STRING = "STRING",
|
|
2456
2456
|
NUMBER = "NUMBER",
|
|
@@ -2475,11 +2475,11 @@ export interface InputFieldIntegerType {
|
|
|
2475
2475
|
}
|
|
2476
2476
|
export interface InputFieldObjectType {
|
|
2477
2477
|
/** Description of object properties. */
|
|
2478
|
-
properties?: Record<string,
|
|
2478
|
+
properties?: Record<string, InputFieldObjectTypePropertiesType>;
|
|
2479
2479
|
/** Custom error message when validation fails. */
|
|
2480
2480
|
errorMessages?: InputFieldObjectErrorMessages;
|
|
2481
2481
|
}
|
|
2482
|
-
export declare enum
|
|
2482
|
+
export declare enum PropertiesTypePropertiesTypeEnum {
|
|
2483
2483
|
UNKNOWN_PROPERTIES_TYPE = "UNKNOWN_PROPERTIES_TYPE",
|
|
2484
2484
|
STRING = "STRING",
|
|
2485
2485
|
NUMBER = "NUMBER",
|
|
@@ -2487,7 +2487,7 @@ export declare enum PropertiesTypeEnum {
|
|
|
2487
2487
|
INTEGER = "INTEGER",
|
|
2488
2488
|
ARRAY = "ARRAY"
|
|
2489
2489
|
}
|
|
2490
|
-
export interface
|
|
2490
|
+
export interface InputFieldObjectTypePropertiesType extends InputFieldObjectTypePropertiesTypePropertiesTypeOptionsOneOf {
|
|
2491
2491
|
/** String type validation for property. */
|
|
2492
2492
|
stringOptions?: InputFieldStringType;
|
|
2493
2493
|
/** Number type validation for property. */
|
|
@@ -2502,12 +2502,12 @@ export interface ObjectTypePropertiesType extends ObjectTypePropertiesTypeProper
|
|
|
2502
2502
|
* Type of object properties
|
|
2503
2503
|
* @readonly
|
|
2504
2504
|
*/
|
|
2505
|
-
propertiesType?:
|
|
2505
|
+
propertiesType?: PropertiesTypePropertiesTypeEnum;
|
|
2506
2506
|
/** Whether the property is required. */
|
|
2507
2507
|
required?: boolean;
|
|
2508
2508
|
}
|
|
2509
2509
|
/** @oneof */
|
|
2510
|
-
export interface
|
|
2510
|
+
export interface InputFieldObjectTypePropertiesTypePropertiesTypeOptionsOneOf {
|
|
2511
2511
|
/** String type validation for property. */
|
|
2512
2512
|
stringOptions?: InputFieldStringType;
|
|
2513
2513
|
/** Number type validation for property. */
|
|
@@ -2526,7 +2526,7 @@ export interface InputFieldObjectErrorMessages {
|
|
|
2526
2526
|
*/
|
|
2527
2527
|
default?: string | null;
|
|
2528
2528
|
}
|
|
2529
|
-
export interface
|
|
2529
|
+
export interface InputFieldArrayTypeArrayItems extends InputFieldArrayTypeArrayItemsItemTypeOptionsOneOf {
|
|
2530
2530
|
/** String type validation for items. */
|
|
2531
2531
|
stringOptions?: InputFieldStringType;
|
|
2532
2532
|
/** Number type validation for items. */
|
|
@@ -2541,10 +2541,10 @@ export interface ArrayTypeArrayItems extends ArrayTypeArrayItemsItemTypeOptionsO
|
|
|
2541
2541
|
* Type of array items
|
|
2542
2542
|
* @readonly
|
|
2543
2543
|
*/
|
|
2544
|
-
itemType?:
|
|
2544
|
+
itemType?: ArrayItemsItemType;
|
|
2545
2545
|
}
|
|
2546
2546
|
/** @oneof */
|
|
2547
|
-
export interface
|
|
2547
|
+
export interface InputFieldArrayTypeArrayItemsItemTypeOptionsOneOf {
|
|
2548
2548
|
/** String type validation for items. */
|
|
2549
2549
|
stringOptions?: InputFieldStringType;
|
|
2550
2550
|
/** Number type validation for items. */
|
|
@@ -2563,7 +2563,7 @@ export interface InputFieldArrayErrorMessages {
|
|
|
2563
2563
|
*/
|
|
2564
2564
|
default?: string | null;
|
|
2565
2565
|
}
|
|
2566
|
-
export declare enum
|
|
2566
|
+
export declare enum ArrayComponentType {
|
|
2567
2567
|
UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
|
|
2568
2568
|
CHECKBOX_GROUP = "CHECKBOX_GROUP",
|
|
2569
2569
|
TAGS = "TAGS"
|
|
@@ -2724,7 +2724,7 @@ export interface CommonCustomOption {
|
|
|
2724
2724
|
*/
|
|
2725
2725
|
placeholder?: string | null;
|
|
2726
2726
|
}
|
|
2727
|
-
export declare enum
|
|
2727
|
+
export declare enum InputFieldWixFileComponentType {
|
|
2728
2728
|
UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
|
|
2729
2729
|
FILE_UPLOAD = "FILE_UPLOAD",
|
|
2730
2730
|
SIGNATURE = "SIGNATURE"
|
|
@@ -2794,7 +2794,7 @@ export interface Signature {
|
|
|
2794
2794
|
/** Is image upload enabled */
|
|
2795
2795
|
imageUploadEnabled?: boolean;
|
|
2796
2796
|
}
|
|
2797
|
-
export declare enum
|
|
2797
|
+
export declare enum InputFieldPaymentComponentType {
|
|
2798
2798
|
UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
|
|
2799
2799
|
CHECKBOX_GROUP = "CHECKBOX_GROUP",
|
|
2800
2800
|
DONATION_INPUT = "DONATION_INPUT",
|
|
@@ -3022,7 +3022,7 @@ export interface PhoneOptions {
|
|
|
3022
3022
|
*/
|
|
3023
3023
|
description?: string | null;
|
|
3024
3024
|
}
|
|
3025
|
-
export declare enum
|
|
3025
|
+
export declare enum InputFieldMultilineAddressComponentType {
|
|
3026
3026
|
UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
|
|
3027
3027
|
MULTILINE_ADDRESS = "MULTILINE_ADDRESS"
|
|
3028
3028
|
}
|
|
@@ -3076,7 +3076,7 @@ export interface FieldsSettings {
|
|
|
3076
3076
|
/** Address line 2. */
|
|
3077
3077
|
addressLine2?: AddressLine2;
|
|
3078
3078
|
}
|
|
3079
|
-
export declare enum
|
|
3079
|
+
export declare enum InputFieldInputType {
|
|
3080
3080
|
UNKNOWN_INPUT_TYPE = "UNKNOWN_INPUT_TYPE",
|
|
3081
3081
|
STRING = "STRING",
|
|
3082
3082
|
NUMBER = "NUMBER",
|
|
@@ -3088,42 +3088,42 @@ export declare enum InputType {
|
|
|
3088
3088
|
MULTILINE_ADDRESS = "MULTILINE_ADDRESS",
|
|
3089
3089
|
SCHEDULING = "SCHEDULING"
|
|
3090
3090
|
}
|
|
3091
|
-
export interface
|
|
3091
|
+
export interface V4FormFieldContactInfo extends V4FormFieldContactInfoAdditionalInfoOneOf {
|
|
3092
3092
|
/** Email info. */
|
|
3093
|
-
emailInfo?:
|
|
3093
|
+
emailInfo?: FormFieldContactInfoEmailInfo;
|
|
3094
3094
|
/** Phone info. */
|
|
3095
|
-
phoneInfo?:
|
|
3095
|
+
phoneInfo?: FormFieldContactInfoPhoneInfo;
|
|
3096
3096
|
/** Address info. */
|
|
3097
|
-
addressInfo?:
|
|
3097
|
+
addressInfo?: FormFieldContactInfoAddressInfo;
|
|
3098
3098
|
/** Custom field info. */
|
|
3099
|
-
customFieldInfo?:
|
|
3099
|
+
customFieldInfo?: FormFieldContactInfoCustomFieldInfo;
|
|
3100
3100
|
/** Subscription info */
|
|
3101
|
-
subscriptionInfo?:
|
|
3101
|
+
subscriptionInfo?: FormFieldContactInfoSubscriptionInfo;
|
|
3102
3102
|
/** Field mapped to contacts. */
|
|
3103
|
-
contactField?:
|
|
3103
|
+
contactField?: FormFieldContactInfoContactField;
|
|
3104
3104
|
}
|
|
3105
3105
|
/** @oneof */
|
|
3106
|
-
export interface
|
|
3106
|
+
export interface V4FormFieldContactInfoAdditionalInfoOneOf {
|
|
3107
3107
|
/** Email info. */
|
|
3108
|
-
emailInfo?:
|
|
3108
|
+
emailInfo?: FormFieldContactInfoEmailInfo;
|
|
3109
3109
|
/** Phone info. */
|
|
3110
|
-
phoneInfo?:
|
|
3110
|
+
phoneInfo?: FormFieldContactInfoPhoneInfo;
|
|
3111
3111
|
/** Address info. */
|
|
3112
|
-
addressInfo?:
|
|
3112
|
+
addressInfo?: FormFieldContactInfoAddressInfo;
|
|
3113
3113
|
/** Custom field info. */
|
|
3114
|
-
customFieldInfo?:
|
|
3114
|
+
customFieldInfo?: FormFieldContactInfoCustomFieldInfo;
|
|
3115
3115
|
/** Subscription info */
|
|
3116
|
-
subscriptionInfo?:
|
|
3116
|
+
subscriptionInfo?: FormFieldContactInfoSubscriptionInfo;
|
|
3117
3117
|
}
|
|
3118
|
-
export declare enum
|
|
3118
|
+
export declare enum FormFieldContactInfoEmailInfoTag {
|
|
3119
3119
|
UNTAGGED = "UNTAGGED",
|
|
3120
3120
|
MAIN = "MAIN"
|
|
3121
3121
|
}
|
|
3122
|
-
export declare enum
|
|
3122
|
+
export declare enum FormFieldContactInfoPhoneInfoTag {
|
|
3123
3123
|
UNTAGGED = "UNTAGGED",
|
|
3124
3124
|
MAIN = "MAIN"
|
|
3125
3125
|
}
|
|
3126
|
-
export declare enum
|
|
3126
|
+
export declare enum AddressInfoTag {
|
|
3127
3127
|
UNTAGGED = "UNTAGGED",
|
|
3128
3128
|
HOME = "HOME"
|
|
3129
3129
|
}
|
|
@@ -3132,7 +3132,7 @@ export declare enum OptInLevel {
|
|
|
3132
3132
|
SINGLE_CONFIRMATION = "SINGLE_CONFIRMATION",
|
|
3133
3133
|
DOUBLE_CONFIRMATION = "DOUBLE_CONFIRMATION"
|
|
3134
3134
|
}
|
|
3135
|
-
export declare enum
|
|
3135
|
+
export declare enum FormFieldContactInfoContactField {
|
|
3136
3136
|
UNDEFINED = "UNDEFINED",
|
|
3137
3137
|
FIRST_NAME = "FIRST_NAME",
|
|
3138
3138
|
LAST_NAME = "LAST_NAME",
|
|
@@ -3146,19 +3146,19 @@ export declare enum ContactField {
|
|
|
3146
3146
|
SUBSCRIPTION = "SUBSCRIPTION",
|
|
3147
3147
|
VAT_ID = "VAT_ID"
|
|
3148
3148
|
}
|
|
3149
|
-
export interface
|
|
3149
|
+
export interface FormFieldContactInfoEmailInfo {
|
|
3150
3150
|
/** Email tag. */
|
|
3151
|
-
tag?:
|
|
3151
|
+
tag?: FormFieldContactInfoEmailInfoTag;
|
|
3152
3152
|
}
|
|
3153
|
-
export interface
|
|
3153
|
+
export interface FormFieldContactInfoPhoneInfo {
|
|
3154
3154
|
/** Phone tag. */
|
|
3155
|
-
tag?:
|
|
3155
|
+
tag?: FormFieldContactInfoPhoneInfoTag;
|
|
3156
3156
|
}
|
|
3157
|
-
export interface
|
|
3157
|
+
export interface FormFieldContactInfoAddressInfo {
|
|
3158
3158
|
/** Address tag. */
|
|
3159
|
-
tag?:
|
|
3159
|
+
tag?: AddressInfoTag;
|
|
3160
3160
|
}
|
|
3161
|
-
export interface
|
|
3161
|
+
export interface FormFieldContactInfoCustomFieldInfo {
|
|
3162
3162
|
/**
|
|
3163
3163
|
* Custom field key.
|
|
3164
3164
|
* @minLength 1
|
|
@@ -3166,14 +3166,14 @@ export interface CustomFieldInfo {
|
|
|
3166
3166
|
*/
|
|
3167
3167
|
key?: string;
|
|
3168
3168
|
}
|
|
3169
|
-
export interface
|
|
3169
|
+
export interface FormFieldContactInfoSubscriptionInfo {
|
|
3170
3170
|
/**
|
|
3171
3171
|
* Subscription consent opt in level, either single or double confirmation.
|
|
3172
3172
|
* Default: SINGLE_CONFIRMATION
|
|
3173
3173
|
*/
|
|
3174
3174
|
optInLevel?: OptInLevel;
|
|
3175
3175
|
}
|
|
3176
|
-
export interface
|
|
3176
|
+
export interface InputField_String extends InputField_StringComponentTypeOptionsOneOf {
|
|
3177
3177
|
/** Text input field */
|
|
3178
3178
|
textInputOptions?: TextInput;
|
|
3179
3179
|
/** Selection field as radio group */
|
|
@@ -3196,10 +3196,10 @@ export interface _String extends _StringComponentTypeOptionsOneOf {
|
|
|
3196
3196
|
* Component type of the string input field
|
|
3197
3197
|
* @readonly
|
|
3198
3198
|
*/
|
|
3199
|
-
componentType?:
|
|
3199
|
+
componentType?: InputFieldStringComponentType;
|
|
3200
3200
|
}
|
|
3201
3201
|
/** @oneof */
|
|
3202
|
-
export interface
|
|
3202
|
+
export interface InputField_StringComponentTypeOptionsOneOf {
|
|
3203
3203
|
/** Text input field */
|
|
3204
3204
|
textInputOptions?: TextInput;
|
|
3205
3205
|
/** Selection field as radio group */
|
|
@@ -3217,7 +3217,7 @@ export interface _StringComponentTypeOptionsOneOf {
|
|
|
3217
3217
|
/** Calendar type component for selecting date */
|
|
3218
3218
|
datePickerOptions?: DatePicker;
|
|
3219
3219
|
}
|
|
3220
|
-
export interface
|
|
3220
|
+
export interface InputField_Number extends InputField_NumberComponentTypeOptionsOneOf {
|
|
3221
3221
|
/** Number value input field */
|
|
3222
3222
|
numberInputOptions?: NumberInput;
|
|
3223
3223
|
/** Rating value input field */
|
|
@@ -3228,16 +3228,16 @@ export interface _Number extends _NumberComponentTypeOptionsOneOf {
|
|
|
3228
3228
|
* Component type of the number input field
|
|
3229
3229
|
* @readonly
|
|
3230
3230
|
*/
|
|
3231
|
-
componentType?:
|
|
3231
|
+
componentType?: InputFieldNumberComponentType;
|
|
3232
3232
|
}
|
|
3233
3233
|
/** @oneof */
|
|
3234
|
-
export interface
|
|
3234
|
+
export interface InputField_NumberComponentTypeOptionsOneOf {
|
|
3235
3235
|
/** Number value input field */
|
|
3236
3236
|
numberInputOptions?: NumberInput;
|
|
3237
3237
|
/** Rating value input field */
|
|
3238
3238
|
ratingInputOptions?: RatingInput;
|
|
3239
3239
|
}
|
|
3240
|
-
export interface
|
|
3240
|
+
export interface InputField_Boolean extends InputField_BooleanComponentTypeOptionsOneOf {
|
|
3241
3241
|
/** Checkbox input field */
|
|
3242
3242
|
checkboxOptions?: Checkbox;
|
|
3243
3243
|
/** Validation of field output value. */
|
|
@@ -3246,14 +3246,14 @@ export interface _Boolean extends _BooleanComponentTypeOptionsOneOf {
|
|
|
3246
3246
|
* Component type of the boolean input field
|
|
3247
3247
|
* @readonly
|
|
3248
3248
|
*/
|
|
3249
|
-
componentType?:
|
|
3249
|
+
componentType?: InputFieldBooleanComponentType;
|
|
3250
3250
|
}
|
|
3251
3251
|
/** @oneof */
|
|
3252
|
-
export interface
|
|
3252
|
+
export interface InputField_BooleanComponentTypeOptionsOneOf {
|
|
3253
3253
|
/** Checkbox input field */
|
|
3254
3254
|
checkboxOptions?: Checkbox;
|
|
3255
3255
|
}
|
|
3256
|
-
export interface
|
|
3256
|
+
export interface InputField_Array extends InputField_ArrayComponentTypeOptionsOneOf {
|
|
3257
3257
|
/** Checkbox group input field */
|
|
3258
3258
|
checkboxGroupOptions?: CheckboxGroup;
|
|
3259
3259
|
/** Tags input field */
|
|
@@ -3264,25 +3264,25 @@ export interface _Array extends _ArrayComponentTypeOptionsOneOf {
|
|
|
3264
3264
|
* Component type of the array input field
|
|
3265
3265
|
* @readonly
|
|
3266
3266
|
*/
|
|
3267
|
-
componentType?:
|
|
3267
|
+
componentType?: ArrayComponentType;
|
|
3268
3268
|
}
|
|
3269
3269
|
/** @oneof */
|
|
3270
|
-
export interface
|
|
3270
|
+
export interface InputField_ArrayComponentTypeOptionsOneOf {
|
|
3271
3271
|
/** Checkbox group input field */
|
|
3272
3272
|
checkboxGroupOptions?: CheckboxGroup;
|
|
3273
3273
|
/** Tags input field */
|
|
3274
3274
|
tagsOptions?: Tags;
|
|
3275
3275
|
}
|
|
3276
|
-
export interface
|
|
3276
|
+
export interface InputField_Object extends InputField_ObjectValidationOneOf {
|
|
3277
3277
|
/** Validation of object type. */
|
|
3278
3278
|
object?: InputFieldObjectType;
|
|
3279
3279
|
}
|
|
3280
3280
|
/** @oneof */
|
|
3281
|
-
export interface
|
|
3281
|
+
export interface InputField_ObjectValidationOneOf {
|
|
3282
3282
|
/** Validation of object type. */
|
|
3283
3283
|
object?: InputFieldObjectType;
|
|
3284
3284
|
}
|
|
3285
|
-
export interface
|
|
3285
|
+
export interface InputFieldWixFile extends InputFieldWixFileComponentTypeOptionsOneOf {
|
|
3286
3286
|
/** File upload input field */
|
|
3287
3287
|
fileUploadOptions?: FileUpload;
|
|
3288
3288
|
/** Signature input field */
|
|
@@ -3291,16 +3291,16 @@ export interface WixFile extends WixFileComponentTypeOptionsOneOf {
|
|
|
3291
3291
|
* Component type of the array input field
|
|
3292
3292
|
* @readonly
|
|
3293
3293
|
*/
|
|
3294
|
-
componentType?:
|
|
3294
|
+
componentType?: InputFieldWixFileComponentType;
|
|
3295
3295
|
}
|
|
3296
3296
|
/** @oneof */
|
|
3297
|
-
export interface
|
|
3297
|
+
export interface InputFieldWixFileComponentTypeOptionsOneOf {
|
|
3298
3298
|
/** File upload input field */
|
|
3299
3299
|
fileUploadOptions?: FileUpload;
|
|
3300
3300
|
/** Signature input field */
|
|
3301
3301
|
signatureOptions?: Signature;
|
|
3302
3302
|
}
|
|
3303
|
-
export interface
|
|
3303
|
+
export interface InputFieldPayment extends InputFieldPaymentComponentTypeOptionsOneOf {
|
|
3304
3304
|
/** Checkbox group input field. */
|
|
3305
3305
|
checkboxGroupOptions?: ProductCheckboxGroup;
|
|
3306
3306
|
/** Donation input field. */
|
|
@@ -3313,12 +3313,12 @@ export interface Payment extends PaymentComponentTypeOptionsOneOf {
|
|
|
3313
3313
|
* Component type of the payment input field.
|
|
3314
3314
|
* @readonly
|
|
3315
3315
|
*/
|
|
3316
|
-
componentType?:
|
|
3316
|
+
componentType?: InputFieldPaymentComponentType;
|
|
3317
3317
|
/** Validation of payment type. */
|
|
3318
3318
|
validation?: PaymentType;
|
|
3319
3319
|
}
|
|
3320
3320
|
/** @oneof */
|
|
3321
|
-
export interface
|
|
3321
|
+
export interface InputFieldPaymentComponentTypeOptionsOneOf {
|
|
3322
3322
|
/** Checkbox group input field. */
|
|
3323
3323
|
checkboxGroupOptions?: ProductCheckboxGroup;
|
|
3324
3324
|
/** Donation input field. */
|
|
@@ -3328,19 +3328,19 @@ export interface PaymentComponentTypeOptionsOneOf {
|
|
|
3328
3328
|
/** Fixed payment field. */
|
|
3329
3329
|
fixedPaymentOptions?: FixedPayment;
|
|
3330
3330
|
}
|
|
3331
|
-
export interface
|
|
3331
|
+
export interface FormFieldV2InputFieldMultilineAddress extends FormFieldV2InputFieldMultilineAddressComponentTypeOptionsOneOf {
|
|
3332
3332
|
/** Multiline address input field. */
|
|
3333
3333
|
multilineAddressOptions?: MultilineAddress;
|
|
3334
3334
|
/**
|
|
3335
3335
|
* Component type of the multiline address field.
|
|
3336
3336
|
* @readonly
|
|
3337
3337
|
*/
|
|
3338
|
-
componentType?:
|
|
3338
|
+
componentType?: InputFieldMultilineAddressComponentType;
|
|
3339
3339
|
/** Validation of multiline address field output value. */
|
|
3340
3340
|
validation?: MultilineAddressValidation;
|
|
3341
3341
|
}
|
|
3342
3342
|
/** @oneof */
|
|
3343
|
-
export interface
|
|
3343
|
+
export interface FormFieldV2InputFieldMultilineAddressComponentTypeOptionsOneOf {
|
|
3344
3344
|
/** Multiline address input field. */
|
|
3345
3345
|
multilineAddressOptions?: MultilineAddress;
|
|
3346
3346
|
}
|
|
@@ -3358,28 +3358,28 @@ export interface SchedulingComponentTypeOptionsOneOf {
|
|
|
3358
3358
|
/** Appointment input field */
|
|
3359
3359
|
appointmentOptions?: Appointment;
|
|
3360
3360
|
}
|
|
3361
|
-
export declare enum
|
|
3361
|
+
export declare enum FormFieldV2FieldType {
|
|
3362
3362
|
UNKNOWN_FIELD_TYPE = "UNKNOWN_FIELD_TYPE",
|
|
3363
3363
|
INPUT = "INPUT",
|
|
3364
3364
|
DISPLAY = "DISPLAY"
|
|
3365
3365
|
}
|
|
3366
|
-
export interface
|
|
3366
|
+
export interface FormFieldV2InputField extends FormFieldV2InputFieldInputTypeOptionsOneOf {
|
|
3367
3367
|
/** Input return string as value */
|
|
3368
|
-
stringOptions?:
|
|
3368
|
+
stringOptions?: InputField_String;
|
|
3369
3369
|
/** Input return number as value */
|
|
3370
|
-
numberOptions?:
|
|
3370
|
+
numberOptions?: InputField_Number;
|
|
3371
3371
|
/** Input return boolean as value */
|
|
3372
|
-
booleanOptions?:
|
|
3372
|
+
booleanOptions?: InputField_Boolean;
|
|
3373
3373
|
/** Input return array as value */
|
|
3374
|
-
arrayOptions?:
|
|
3374
|
+
arrayOptions?: InputField_Array;
|
|
3375
3375
|
/** Input return object as value */
|
|
3376
|
-
objectOptions?:
|
|
3376
|
+
objectOptions?: InputField_Object;
|
|
3377
3377
|
/** Input return "Wix file" as value */
|
|
3378
|
-
wixFileOptions?:
|
|
3378
|
+
wixFileOptions?: InputFieldWixFile;
|
|
3379
3379
|
/** Input returns selected products as value. */
|
|
3380
|
-
paymentOptions?:
|
|
3380
|
+
paymentOptions?: InputFieldPayment;
|
|
3381
3381
|
/** Input returns multiline address as value. */
|
|
3382
|
-
multilineAddressOptions?:
|
|
3382
|
+
multilineAddressOptions?: FormFieldV2InputFieldMultilineAddress;
|
|
3383
3383
|
/** Input returns scheduling as value. */
|
|
3384
3384
|
schedulingOptions?: Scheduling;
|
|
3385
3385
|
/**
|
|
@@ -3403,9 +3403,9 @@ export interface InputField extends InputFieldInputTypeOptionsOneOf {
|
|
|
3403
3403
|
* Type of the input field
|
|
3404
3404
|
* @readonly
|
|
3405
3405
|
*/
|
|
3406
|
-
inputType?:
|
|
3406
|
+
inputType?: InputFieldInputType;
|
|
3407
3407
|
/** Mapping to contacts, telling to what contact property field input value should be saved. */
|
|
3408
|
-
contactMapping?:
|
|
3408
|
+
contactMapping?: V4FormFieldContactInfo;
|
|
3409
3409
|
/**
|
|
3410
3410
|
* Whether the field is read only.
|
|
3411
3411
|
* Default: false
|
|
@@ -3413,52 +3413,52 @@ export interface InputField extends InputFieldInputTypeOptionsOneOf {
|
|
|
3413
3413
|
readOnly?: boolean;
|
|
3414
3414
|
}
|
|
3415
3415
|
/** @oneof */
|
|
3416
|
-
export interface
|
|
3416
|
+
export interface FormFieldV2InputFieldInputTypeOptionsOneOf {
|
|
3417
3417
|
/** Input return string as value */
|
|
3418
|
-
stringOptions?:
|
|
3418
|
+
stringOptions?: InputField_String;
|
|
3419
3419
|
/** Input return number as value */
|
|
3420
|
-
numberOptions?:
|
|
3420
|
+
numberOptions?: InputField_Number;
|
|
3421
3421
|
/** Input return boolean as value */
|
|
3422
|
-
booleanOptions?:
|
|
3422
|
+
booleanOptions?: InputField_Boolean;
|
|
3423
3423
|
/** Input return array as value */
|
|
3424
|
-
arrayOptions?:
|
|
3424
|
+
arrayOptions?: InputField_Array;
|
|
3425
3425
|
/** Input return object as value */
|
|
3426
|
-
objectOptions?:
|
|
3426
|
+
objectOptions?: InputField_Object;
|
|
3427
3427
|
/** Input return "Wix file" as value */
|
|
3428
|
-
wixFileOptions?:
|
|
3428
|
+
wixFileOptions?: InputFieldWixFile;
|
|
3429
3429
|
/** Input returns selected products as value. */
|
|
3430
|
-
paymentOptions?:
|
|
3430
|
+
paymentOptions?: InputFieldPayment;
|
|
3431
3431
|
/** Input returns multiline address as value. */
|
|
3432
|
-
multilineAddressOptions?:
|
|
3432
|
+
multilineAddressOptions?: FormFieldV2InputFieldMultilineAddress;
|
|
3433
3433
|
/** Input returns scheduling as value. */
|
|
3434
3434
|
schedulingOptions?: Scheduling;
|
|
3435
3435
|
}
|
|
3436
3436
|
/** Copy of the entity existing in form template project, needed to hide translations. */
|
|
3437
3437
|
export interface DisplayField extends DisplayFieldDisplayFieldTypeOptionsOneOf {
|
|
3438
3438
|
/** Component displaying rich content */
|
|
3439
|
-
richContentOptions?:
|
|
3439
|
+
richContentOptions?: V4RichContentOptions;
|
|
3440
3440
|
/** Page navigation component resolving as navigation or submit buttons */
|
|
3441
|
-
pageNavigationOptions?:
|
|
3441
|
+
pageNavigationOptions?: V4PageNavigationOptions;
|
|
3442
3442
|
/** Type of the display field */
|
|
3443
3443
|
displayFieldType?: DisplayFieldType;
|
|
3444
3444
|
}
|
|
3445
3445
|
/** @oneof */
|
|
3446
3446
|
export interface DisplayFieldDisplayFieldTypeOptionsOneOf {
|
|
3447
3447
|
/** Component displaying rich content */
|
|
3448
|
-
richContentOptions?:
|
|
3448
|
+
richContentOptions?: V4RichContentOptions;
|
|
3449
3449
|
/** Page navigation component resolving as navigation or submit buttons */
|
|
3450
|
-
pageNavigationOptions?:
|
|
3450
|
+
pageNavigationOptions?: V4PageNavigationOptions;
|
|
3451
3451
|
}
|
|
3452
3452
|
export declare enum DisplayFieldType {
|
|
3453
3453
|
UNKNOWN_FIELD_TYPE = "UNKNOWN_FIELD_TYPE",
|
|
3454
3454
|
RICH_CONTENT = "RICH_CONTENT",
|
|
3455
3455
|
PAGE_NAVIGATION = "PAGE_NAVIGATION"
|
|
3456
3456
|
}
|
|
3457
|
-
export interface
|
|
3457
|
+
export interface V4RichContentOptions {
|
|
3458
3458
|
/** Content of the header */
|
|
3459
3459
|
richContent?: RichContent;
|
|
3460
3460
|
}
|
|
3461
|
-
export interface
|
|
3461
|
+
export interface V4PageNavigationOptions {
|
|
3462
3462
|
/**
|
|
3463
3463
|
* When button is not on last page it behaves as switch between pages page, text of label to go to next page.
|
|
3464
3464
|
* @maxLength 65
|
|
@@ -3475,90 +3475,759 @@ export interface PageNavigationOptions {
|
|
|
3475
3475
|
*/
|
|
3476
3476
|
submitText?: string | null;
|
|
3477
3477
|
}
|
|
3478
|
-
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;
|
|
3479
3483
|
/**
|
|
3480
|
-
*
|
|
3484
|
+
* Field id.
|
|
3481
3485
|
* @format GUID
|
|
3482
3486
|
* @immutable
|
|
3483
3487
|
*/
|
|
3484
3488
|
id?: string;
|
|
3485
3489
|
/**
|
|
3486
|
-
*
|
|
3487
|
-
*
|
|
3490
|
+
* Whether the field is hidden.
|
|
3491
|
+
* Default: false
|
|
3488
3492
|
*/
|
|
3489
|
-
name?: string | null;
|
|
3490
|
-
/** Is step hidden */
|
|
3491
3493
|
hidden?: boolean;
|
|
3492
|
-
/** Form step properties */
|
|
3493
|
-
layout?: FormLayout;
|
|
3494
|
-
}
|
|
3495
|
-
export interface FormLayout {
|
|
3496
|
-
/** Layout for large break point. */
|
|
3497
|
-
large?: BreakPoint;
|
|
3498
|
-
/** Layout for medium break point. */
|
|
3499
|
-
medium?: BreakPoint;
|
|
3500
|
-
/** Layout for small break point. */
|
|
3501
|
-
small?: BreakPoint;
|
|
3502
|
-
}
|
|
3503
|
-
export interface BreakPoint {
|
|
3504
3494
|
/**
|
|
3505
|
-
*
|
|
3506
|
-
* @
|
|
3495
|
+
* Custom identification of field, can be used to specify exceptional behaviour of client for specific field
|
|
3496
|
+
* @maxLength 50
|
|
3507
3497
|
*/
|
|
3508
|
-
|
|
3509
|
-
/** Amount of columns of layout grid. */
|
|
3510
|
-
columns?: number | null;
|
|
3511
|
-
/** Row height of layout grid. */
|
|
3512
|
-
rowHeight?: number | null;
|
|
3513
|
-
/** Description of elements margins. */
|
|
3514
|
-
margin?: Margin;
|
|
3515
|
-
/** Description of elements paddings. */
|
|
3516
|
-
padding?: Margin;
|
|
3498
|
+
identifier?: string | null;
|
|
3517
3499
|
/**
|
|
3518
|
-
*
|
|
3519
|
-
* @
|
|
3500
|
+
* Type of the field
|
|
3501
|
+
* @readonly
|
|
3520
3502
|
*/
|
|
3521
|
-
|
|
3503
|
+
fieldType?: FieldType;
|
|
3522
3504
|
}
|
|
3523
|
-
|
|
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;
|
|
3524
3534
|
/**
|
|
3525
|
-
*
|
|
3526
|
-
* @
|
|
3535
|
+
* Definition of a target where the value of field belongs.
|
|
3536
|
+
* @minLength 1
|
|
3537
|
+
* @maxLength 200
|
|
3538
|
+
* @immutable
|
|
3527
3539
|
*/
|
|
3528
|
-
|
|
3529
|
-
/** Group info, defining that this item is a group of multiple fields */
|
|
3530
|
-
group?: Group;
|
|
3531
|
-
/** Horizontal coordinate in the grid. */
|
|
3532
|
-
row?: number | null;
|
|
3533
|
-
/** Vertical coordinate in the grid. */
|
|
3534
|
-
column?: number | null;
|
|
3535
|
-
/** Height. */
|
|
3536
|
-
width?: number | null;
|
|
3537
|
-
/** Width. */
|
|
3538
|
-
height?: number | null;
|
|
3539
|
-
}
|
|
3540
|
-
/** @oneof */
|
|
3541
|
-
export interface ItemLayoutItemOneOf {
|
|
3540
|
+
target?: string;
|
|
3542
3541
|
/**
|
|
3543
|
-
*
|
|
3544
|
-
*
|
|
3542
|
+
* Mark the field as containing personal information. This will encrypt user data when storing it.
|
|
3543
|
+
* Default: false
|
|
3545
3544
|
*/
|
|
3546
|
-
|
|
3547
|
-
/** Group info, defining that this item is a group of multiple fields */
|
|
3548
|
-
group?: Group;
|
|
3549
|
-
}
|
|
3550
|
-
export interface Group {
|
|
3545
|
+
pii?: boolean;
|
|
3551
3546
|
/**
|
|
3552
|
-
*
|
|
3553
|
-
*
|
|
3547
|
+
* Whether the field is required.
|
|
3548
|
+
* Default: false
|
|
3554
3549
|
*/
|
|
3555
|
-
|
|
3550
|
+
required?: boolean;
|
|
3556
3551
|
/**
|
|
3557
|
-
*
|
|
3558
|
-
* @
|
|
3559
|
-
* @maxSize 500
|
|
3552
|
+
* Type of the input field
|
|
3553
|
+
* @readonly
|
|
3560
3554
|
*/
|
|
3561
|
-
|
|
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
|
|
4229
|
+
*/
|
|
4230
|
+
items?: ItemLayout[];
|
|
3562
4231
|
}
|
|
3563
4232
|
export interface Margin {
|
|
3564
4233
|
/** Horizontal value. */
|
|
@@ -3658,7 +4327,7 @@ export interface UpsertContact {
|
|
|
3658
4327
|
* Fields mapping (target field mapped to corresponding contact field).
|
|
3659
4328
|
* @maxSize 250
|
|
3660
4329
|
*/
|
|
3661
|
-
fieldsMapping?: Record<string,
|
|
4330
|
+
fieldsMapping?: Record<string, V4FormFieldContactInfo>;
|
|
3662
4331
|
/**
|
|
3663
4332
|
* List of contact label keys.
|
|
3664
4333
|
* [Contact labels](https://support.wix.com/en/article/adding-labels-to-contacts-in-your-contact-list)
|
|
@@ -4722,7 +5391,7 @@ export interface FormSummary {
|
|
|
4722
5391
|
* Summarized form fields.
|
|
4723
5392
|
* @maxSize 500
|
|
4724
5393
|
*/
|
|
4725
|
-
fields?:
|
|
5394
|
+
fields?: FormSummaryField[];
|
|
4726
5395
|
}
|
|
4727
5396
|
export declare enum FieldInputType {
|
|
4728
5397
|
UNKNOWN_INPUT_TYPE = "UNKNOWN_INPUT_TYPE",
|
|
@@ -4762,7 +5431,7 @@ export interface FieldOption {
|
|
|
4762
5431
|
*/
|
|
4763
5432
|
value?: string | null;
|
|
4764
5433
|
}
|
|
4765
|
-
export interface
|
|
5434
|
+
export interface FormSummaryField {
|
|
4766
5435
|
/**
|
|
4767
5436
|
* Definition of a target where the value of field belongs.
|
|
4768
5437
|
* @maxLength 200
|
|
@@ -4862,22 +5531,22 @@ export declare enum WebhookIdentityType {
|
|
|
4862
5531
|
WIX_USER = "WIX_USER",
|
|
4863
5532
|
APP = "APP"
|
|
4864
5533
|
}
|
|
4865
|
-
interface
|
|
5534
|
+
interface StringTypePhoneConstraintsNonNullableFields {
|
|
4866
5535
|
allowedCountryCodes: string[];
|
|
4867
5536
|
}
|
|
4868
|
-
interface
|
|
4869
|
-
phoneOptions?:
|
|
4870
|
-
format:
|
|
5537
|
+
interface FormFieldStringTypeNonNullableFields {
|
|
5538
|
+
phoneOptions?: StringTypePhoneConstraintsNonNullableFields;
|
|
5539
|
+
format: StringTypeFormatEnumFormat;
|
|
4871
5540
|
}
|
|
4872
|
-
interface
|
|
5541
|
+
interface FormFieldBooleanTypeNonNullableFields {
|
|
4873
5542
|
enum: boolean[];
|
|
4874
5543
|
}
|
|
4875
|
-
interface
|
|
4876
|
-
string?:
|
|
4877
|
-
boolean?:
|
|
5544
|
+
interface ArrayTypeArrayItemsNonNullableFields {
|
|
5545
|
+
string?: FormFieldStringTypeNonNullableFields;
|
|
5546
|
+
boolean?: FormFieldBooleanTypeNonNullableFields;
|
|
4878
5547
|
}
|
|
4879
|
-
interface
|
|
4880
|
-
items?:
|
|
5548
|
+
interface FormFieldArrayTypeNonNullableFields {
|
|
5549
|
+
items?: ArrayTypeArrayItemsNonNullableFields;
|
|
4881
5550
|
}
|
|
4882
5551
|
interface FixedPriceOptionsNonNullableFields {
|
|
4883
5552
|
price: string;
|
|
@@ -4918,9 +5587,9 @@ interface PredefinedValidationNonNullableFields {
|
|
|
4918
5587
|
format: ValidationFormat;
|
|
4919
5588
|
}
|
|
4920
5589
|
interface ValidationNonNullableFields {
|
|
4921
|
-
string?:
|
|
4922
|
-
boolean?:
|
|
4923
|
-
array?:
|
|
5590
|
+
string?: FormFieldStringTypeNonNullableFields;
|
|
5591
|
+
boolean?: FormFieldBooleanTypeNonNullableFields;
|
|
5592
|
+
array?: FormFieldArrayTypeNonNullableFields;
|
|
4924
5593
|
predefined?: PredefinedValidationNonNullableFields;
|
|
4925
5594
|
required: boolean;
|
|
4926
5595
|
}
|
|
@@ -5222,14 +5891,14 @@ interface DatePickerNonNullableFields {
|
|
|
5222
5891
|
description?: RichContentNonNullableFields;
|
|
5223
5892
|
firstDayOfWeek: FirstDayOfWeek;
|
|
5224
5893
|
}
|
|
5225
|
-
interface
|
|
5894
|
+
interface InputFieldStringTypePhoneConstraintsNonNullableFields {
|
|
5226
5895
|
allowedCountryCodes: string[];
|
|
5227
5896
|
}
|
|
5228
5897
|
interface InputFieldStringTypeNonNullableFields {
|
|
5229
|
-
phoneOptions?:
|
|
5230
|
-
format:
|
|
5898
|
+
phoneOptions?: InputFieldStringTypePhoneConstraintsNonNullableFields;
|
|
5899
|
+
format: InputFieldStringTypeFormatEnumFormat;
|
|
5231
5900
|
}
|
|
5232
|
-
interface
|
|
5901
|
+
interface InputField_StringNonNullableFields {
|
|
5233
5902
|
textInputOptions?: TextInputNonNullableFields;
|
|
5234
5903
|
radioGroupOptions?: RadioGroupNonNullableFields;
|
|
5235
5904
|
dropdownOptions?: DropdownNonNullableFields;
|
|
@@ -5239,7 +5908,7 @@ interface _StringNonNullableFields {
|
|
|
5239
5908
|
timeInputOptions?: TimeInputNonNullableFields;
|
|
5240
5909
|
datePickerOptions?: DatePickerNonNullableFields;
|
|
5241
5910
|
validation?: InputFieldStringTypeNonNullableFields;
|
|
5242
|
-
componentType:
|
|
5911
|
+
componentType: InputFieldStringComponentType;
|
|
5243
5912
|
}
|
|
5244
5913
|
interface NumberInputNonNullableFields {
|
|
5245
5914
|
description?: RichContentNonNullableFields;
|
|
@@ -5247,10 +5916,10 @@ interface NumberInputNonNullableFields {
|
|
|
5247
5916
|
interface RatingInputNonNullableFields {
|
|
5248
5917
|
description?: RichContentNonNullableFields;
|
|
5249
5918
|
}
|
|
5250
|
-
interface
|
|
5919
|
+
interface InputField_NumberNonNullableFields {
|
|
5251
5920
|
numberInputOptions?: NumberInputNonNullableFields;
|
|
5252
5921
|
ratingInputOptions?: RatingInputNonNullableFields;
|
|
5253
|
-
componentType:
|
|
5922
|
+
componentType: InputFieldNumberComponentType;
|
|
5254
5923
|
}
|
|
5255
5924
|
interface CheckboxNonNullableFields {
|
|
5256
5925
|
label?: RichContentNonNullableFields;
|
|
@@ -5259,10 +5928,10 @@ interface CheckboxNonNullableFields {
|
|
|
5259
5928
|
interface InputFieldBooleanTypeNonNullableFields {
|
|
5260
5929
|
enum: boolean[];
|
|
5261
5930
|
}
|
|
5262
|
-
interface
|
|
5931
|
+
interface InputField_BooleanNonNullableFields {
|
|
5263
5932
|
checkboxOptions?: CheckboxNonNullableFields;
|
|
5264
5933
|
validation?: InputFieldBooleanTypeNonNullableFields;
|
|
5265
|
-
componentType:
|
|
5934
|
+
componentType: InputFieldBooleanComponentType;
|
|
5266
5935
|
}
|
|
5267
5936
|
interface ImageNonNullableFields {
|
|
5268
5937
|
id: string;
|
|
@@ -5293,19 +5962,19 @@ interface TagsNonNullableFields {
|
|
|
5293
5962
|
options: TagsOptionNonNullableFields[];
|
|
5294
5963
|
numberOfColumns: NumberOfColumns;
|
|
5295
5964
|
}
|
|
5296
|
-
interface
|
|
5965
|
+
interface InputFieldArrayTypeArrayItemsNonNullableFields {
|
|
5297
5966
|
stringOptions?: InputFieldStringTypeNonNullableFields;
|
|
5298
5967
|
booleanOptions?: InputFieldBooleanTypeNonNullableFields;
|
|
5299
|
-
itemType:
|
|
5968
|
+
itemType: ArrayItemsItemType;
|
|
5300
5969
|
}
|
|
5301
5970
|
interface InputFieldArrayTypeNonNullableFields {
|
|
5302
|
-
items?:
|
|
5971
|
+
items?: InputFieldArrayTypeArrayItemsNonNullableFields;
|
|
5303
5972
|
}
|
|
5304
|
-
interface
|
|
5973
|
+
interface InputField_ArrayNonNullableFields {
|
|
5305
5974
|
checkboxGroupOptions?: CheckboxGroupNonNullableFields;
|
|
5306
5975
|
tagsOptions?: TagsNonNullableFields;
|
|
5307
5976
|
validation?: InputFieldArrayTypeNonNullableFields;
|
|
5308
|
-
componentType:
|
|
5977
|
+
componentType: ArrayComponentType;
|
|
5309
5978
|
}
|
|
5310
5979
|
interface FileUploadNonNullableFields {
|
|
5311
5980
|
description?: RichContentNonNullableFields;
|
|
@@ -5316,10 +5985,10 @@ interface SignatureNonNullableFields {
|
|
|
5316
5985
|
description?: RichContentNonNullableFields;
|
|
5317
5986
|
imageUploadEnabled: boolean;
|
|
5318
5987
|
}
|
|
5319
|
-
interface
|
|
5988
|
+
interface InputFieldWixFileNonNullableFields {
|
|
5320
5989
|
fileUploadOptions?: FileUploadNonNullableFields;
|
|
5321
5990
|
signatureOptions?: SignatureNonNullableFields;
|
|
5322
|
-
componentType:
|
|
5991
|
+
componentType: InputFieldWixFileComponentType;
|
|
5323
5992
|
}
|
|
5324
5993
|
interface ProductCheckboxGroupOptionNonNullableFields {
|
|
5325
5994
|
id: string;
|
|
@@ -5346,12 +6015,12 @@ interface PaymentInputNonNullableFields {
|
|
|
5346
6015
|
interface FixedPaymentNonNullableFields {
|
|
5347
6016
|
description?: RichContentNonNullableFields;
|
|
5348
6017
|
}
|
|
5349
|
-
interface
|
|
6018
|
+
interface InputFieldPaymentNonNullableFields {
|
|
5350
6019
|
checkboxGroupOptions?: ProductCheckboxGroupNonNullableFields;
|
|
5351
6020
|
donationInputOptions?: DonationInputNonNullableFields;
|
|
5352
6021
|
paymentInputOptions?: PaymentInputNonNullableFields;
|
|
5353
6022
|
fixedPaymentOptions?: FixedPaymentNonNullableFields;
|
|
5354
|
-
componentType:
|
|
6023
|
+
componentType: InputFieldPaymentComponentType;
|
|
5355
6024
|
validation?: PaymentTypeNonNullableFields;
|
|
5356
6025
|
}
|
|
5357
6026
|
interface DefaultCountryConfigNonNullableFields {
|
|
@@ -5371,9 +6040,9 @@ interface MultilineAddressNonNullableFields {
|
|
|
5371
6040
|
fieldSettings?: FieldsSettingsNonNullableFields;
|
|
5372
6041
|
autocompleteEnabled: boolean;
|
|
5373
6042
|
}
|
|
5374
|
-
interface
|
|
6043
|
+
interface FormFieldV2InputFieldMultilineAddressNonNullableFields {
|
|
5375
6044
|
multilineAddressOptions?: MultilineAddressNonNullableFields;
|
|
5376
|
-
componentType:
|
|
6045
|
+
componentType: InputFieldMultilineAddressComponentType;
|
|
5377
6046
|
validation?: MultilineAddressValidationNonNullableFields;
|
|
5378
6047
|
}
|
|
5379
6048
|
interface AppointmentNonNullableFields {
|
|
@@ -5383,6 +6052,122 @@ interface SchedulingNonNullableFields {
|
|
|
5383
6052
|
appointmentOptions?: AppointmentNonNullableFields;
|
|
5384
6053
|
componentType: SchedulingComponentType;
|
|
5385
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
|
+
}
|
|
5386
6171
|
interface EmailInfoNonNullableFields {
|
|
5387
6172
|
tag: EmailInfoTag;
|
|
5388
6173
|
}
|
|
@@ -5396,7 +6181,7 @@ interface CustomFieldInfoNonNullableFields {
|
|
|
5396
6181
|
key: string;
|
|
5397
6182
|
}
|
|
5398
6183
|
interface SubscriptionInfoNonNullableFields {
|
|
5399
|
-
|
|
6184
|
+
confirmationLevel: ConfirmationLevel;
|
|
5400
6185
|
}
|
|
5401
6186
|
interface FormFieldContactInfoNonNullableFields {
|
|
5402
6187
|
emailInfo?: EmailInfoNonNullableFields;
|
|
@@ -5414,7 +6199,7 @@ interface InputFieldNonNullableFields {
|
|
|
5414
6199
|
wixFileOptions?: WixFileNonNullableFields;
|
|
5415
6200
|
paymentOptions?: PaymentNonNullableFields;
|
|
5416
6201
|
multilineAddressOptions?: InputFieldMultilineAddressNonNullableFields;
|
|
5417
|
-
|
|
6202
|
+
target: string;
|
|
5418
6203
|
pii: boolean;
|
|
5419
6204
|
required: boolean;
|
|
5420
6205
|
inputType: InputType;
|
|
@@ -5424,13 +6209,13 @@ interface InputFieldNonNullableFields {
|
|
|
5424
6209
|
interface RichContentOptionsNonNullableFields {
|
|
5425
6210
|
richContent?: RichContentNonNullableFields;
|
|
5426
6211
|
}
|
|
5427
|
-
interface
|
|
6212
|
+
interface FieldsDisplayFieldNonNullableFields {
|
|
5428
6213
|
richContentOptions?: RichContentOptionsNonNullableFields;
|
|
5429
|
-
displayFieldType:
|
|
6214
|
+
displayFieldType: DisplayFieldDisplayFieldType;
|
|
5430
6215
|
}
|
|
5431
|
-
interface
|
|
6216
|
+
interface FieldNonNullableFields {
|
|
5432
6217
|
inputOptions?: InputFieldNonNullableFields;
|
|
5433
|
-
displayOptions?:
|
|
6218
|
+
displayOptions?: FieldsDisplayFieldNonNullableFields;
|
|
5434
6219
|
id: string;
|
|
5435
6220
|
hidden: boolean;
|
|
5436
6221
|
fieldType: FieldType;
|
|
@@ -5543,6 +6328,7 @@ interface RuleNonNullableFields {
|
|
|
5543
6328
|
interface FormNonNullableFields {
|
|
5544
6329
|
fields: FormFieldNonNullableFields[];
|
|
5545
6330
|
fieldsV2: FormFieldV2NonNullableFields[];
|
|
6331
|
+
formFields: FieldNonNullableFields[];
|
|
5546
6332
|
steps: StepNonNullableFields[];
|
|
5547
6333
|
rules: FormRuleNonNullableFields[];
|
|
5548
6334
|
properties?: FormPropertiesNonNullableFields;
|
|
@@ -5634,14 +6420,14 @@ interface FormsSchemaProvidersConfigNonNullableFields {
|
|
|
5634
6420
|
export interface ListFormsProvidersConfigsResponseNonNullableFields {
|
|
5635
6421
|
configs: FormsSchemaProvidersConfigNonNullableFields[];
|
|
5636
6422
|
}
|
|
5637
|
-
interface
|
|
6423
|
+
interface FormSummaryFieldNonNullableFields {
|
|
5638
6424
|
type: FieldInputType;
|
|
5639
6425
|
deleted: boolean;
|
|
5640
6426
|
id: string;
|
|
5641
6427
|
}
|
|
5642
6428
|
interface FormSummaryNonNullableFields {
|
|
5643
6429
|
id: string;
|
|
5644
|
-
fields:
|
|
6430
|
+
fields: FormSummaryFieldNonNullableFields[];
|
|
5645
6431
|
}
|
|
5646
6432
|
export interface GetFormSummaryResponseNonNullableFields {
|
|
5647
6433
|
formSummary?: FormSummaryNonNullableFields;
|