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