@wix/forms 1.0.135 → 1.0.137
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/package.json +4 -4
- package/type-bundles/context.bundle.d.ts +236 -27
- package/type-bundles/index.bundle.d.ts +236 -27
- package/type-bundles/meta.bundle.d.ts +267 -27
|
@@ -561,12 +561,15 @@ interface StringTypePhoneConstraints$1 {
|
|
|
561
561
|
allowedCountryCodes?: string[];
|
|
562
562
|
}
|
|
563
563
|
declare enum StringComponentType$1 {
|
|
564
|
-
|
|
564
|
+
UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
|
|
565
565
|
TEXT_INPUT = "TEXT_INPUT",
|
|
566
566
|
RADIO_GROUP = "RADIO_GROUP",
|
|
567
567
|
DROPDOWN = "DROPDOWN",
|
|
568
568
|
DATE_TIME = "DATE_TIME",
|
|
569
|
-
PHONE_INPUT = "PHONE_INPUT"
|
|
569
|
+
PHONE_INPUT = "PHONE_INPUT",
|
|
570
|
+
DATE_INPUT = "DATE_INPUT",
|
|
571
|
+
TIME_INPUT = "TIME_INPUT",
|
|
572
|
+
DATE_PICKER = "DATE_PICKER"
|
|
570
573
|
}
|
|
571
574
|
interface TextInput$1 {
|
|
572
575
|
/** Label of the field */
|
|
@@ -1911,7 +1914,7 @@ interface DateTimeInputDateTimeInputTypeOptionsOneOf$1 {
|
|
|
1911
1914
|
/** Options specific to date picker type. */
|
|
1912
1915
|
datePickerOptions?: DatePickerOptions$1;
|
|
1913
1916
|
}
|
|
1914
|
-
declare enum
|
|
1917
|
+
declare enum FirstDayOfWeekEnumFirstDayOfWeek$1 {
|
|
1915
1918
|
MONDAY = "MONDAY",
|
|
1916
1919
|
SUNDAY = "SUNDAY"
|
|
1917
1920
|
}
|
|
@@ -1944,7 +1947,7 @@ interface TimeOptions$1 {
|
|
|
1944
1947
|
}
|
|
1945
1948
|
interface DatePickerOptions$1 {
|
|
1946
1949
|
/** First day of the week displayed on date picker. */
|
|
1947
|
-
firstDayOfWeek?:
|
|
1950
|
+
firstDayOfWeek?: FirstDayOfWeekEnumFirstDayOfWeek$1;
|
|
1948
1951
|
}
|
|
1949
1952
|
interface PhoneInput$1 {
|
|
1950
1953
|
/** Label of the field */
|
|
@@ -1961,6 +1964,62 @@ interface PhoneInput$1 {
|
|
|
1961
1964
|
/** Default value of the country code */
|
|
1962
1965
|
defaultCountryCode?: string | null;
|
|
1963
1966
|
}
|
|
1967
|
+
interface DateInput$1 {
|
|
1968
|
+
/** Label of the field. Displayed text for the date/time input. */
|
|
1969
|
+
label?: string | null;
|
|
1970
|
+
/** Description of the field. Additional information about the date/time input. */
|
|
1971
|
+
description?: RichContent$1;
|
|
1972
|
+
/**
|
|
1973
|
+
* Flag identifying whether to show or hide the label.
|
|
1974
|
+
* Default: true
|
|
1975
|
+
*/
|
|
1976
|
+
showLabel?: boolean | null;
|
|
1977
|
+
/**
|
|
1978
|
+
* Flag identifying whether to show or hide the placeholder.
|
|
1979
|
+
* Default: true
|
|
1980
|
+
*/
|
|
1981
|
+
showPlaceholder?: boolean | null;
|
|
1982
|
+
}
|
|
1983
|
+
interface TimeInput$1 {
|
|
1984
|
+
/** Label of the field. Displayed text for the date/time input. */
|
|
1985
|
+
label?: string | null;
|
|
1986
|
+
/** Description of the field. Additional information about the date/time input. */
|
|
1987
|
+
description?: RichContent$1;
|
|
1988
|
+
/**
|
|
1989
|
+
* Flag identifying whether to show or hide the label.
|
|
1990
|
+
* Default: true
|
|
1991
|
+
*/
|
|
1992
|
+
showLabel?: boolean | null;
|
|
1993
|
+
/**
|
|
1994
|
+
* Flag identifying whether to show or hide the placeholder.
|
|
1995
|
+
* Default: true
|
|
1996
|
+
*/
|
|
1997
|
+
showPlaceholder?: boolean | null;
|
|
1998
|
+
/**
|
|
1999
|
+
* Flag indicating whether to use the 24-hour time format.
|
|
2000
|
+
* Default: false.
|
|
2001
|
+
*/
|
|
2002
|
+
use24HourFormat?: boolean;
|
|
2003
|
+
}
|
|
2004
|
+
interface DatePicker$1 {
|
|
2005
|
+
/** Label of the field. Displayed text for the date/time input. */
|
|
2006
|
+
label?: string | null;
|
|
2007
|
+
/** Description of the field. Additional information about the date/time input. */
|
|
2008
|
+
description?: RichContent$1;
|
|
2009
|
+
/**
|
|
2010
|
+
* Flag identifying whether to show or hide the label.
|
|
2011
|
+
* Default: true
|
|
2012
|
+
*/
|
|
2013
|
+
showLabel?: boolean | null;
|
|
2014
|
+
/** Placeholder of date picker input */
|
|
2015
|
+
placeholder?: string | null;
|
|
2016
|
+
/** First day of the week displayed on date picker. */
|
|
2017
|
+
firstDayOfWeek?: FirstDayOfWeek$1;
|
|
2018
|
+
}
|
|
2019
|
+
declare enum FirstDayOfWeek$1 {
|
|
2020
|
+
MONDAY = "MONDAY",
|
|
2021
|
+
SUNDAY = "SUNDAY"
|
|
2022
|
+
}
|
|
1964
2023
|
interface InputFieldNumberType$1 {
|
|
1965
2024
|
/** Inclusive maximum value. */
|
|
1966
2025
|
maximum?: number | null;
|
|
@@ -1978,7 +2037,7 @@ interface InputFieldNumberErrorMessages$1 {
|
|
|
1978
2037
|
default?: string | null;
|
|
1979
2038
|
}
|
|
1980
2039
|
declare enum NumberComponentType$1 {
|
|
1981
|
-
|
|
2040
|
+
UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
|
|
1982
2041
|
NUMBER_INPUT = "NUMBER_INPUT",
|
|
1983
2042
|
RATING_INPUT = "RATING_INPUT"
|
|
1984
2043
|
}
|
|
@@ -2019,7 +2078,7 @@ interface InputFieldBooleanErrorMessages$1 {
|
|
|
2019
2078
|
default?: string | null;
|
|
2020
2079
|
}
|
|
2021
2080
|
declare enum BooleanComponentType$1 {
|
|
2022
|
-
|
|
2081
|
+
UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
|
|
2023
2082
|
CHECKBOX = "CHECKBOX"
|
|
2024
2083
|
}
|
|
2025
2084
|
interface Checkbox$1 {
|
|
@@ -2042,7 +2101,7 @@ interface InputFieldArrayType$1 {
|
|
|
2042
2101
|
errorMessages?: InputFieldArrayErrorMessages$1;
|
|
2043
2102
|
}
|
|
2044
2103
|
declare enum ItemType$1 {
|
|
2045
|
-
|
|
2104
|
+
UNKNOWN_ITEM_TYPE = "UNKNOWN_ITEM_TYPE",
|
|
2046
2105
|
STRING = "STRING",
|
|
2047
2106
|
NUMBER = "NUMBER",
|
|
2048
2107
|
BOOLEAN = "BOOLEAN",
|
|
@@ -2146,7 +2205,7 @@ interface InputFieldArrayErrorMessages$1 {
|
|
|
2146
2205
|
default?: string | null;
|
|
2147
2206
|
}
|
|
2148
2207
|
declare enum ComponentType$1 {
|
|
2149
|
-
|
|
2208
|
+
UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
|
|
2150
2209
|
CHECKBOX_GROUP = "CHECKBOX_GROUP"
|
|
2151
2210
|
}
|
|
2152
2211
|
interface CheckboxGroup$1 {
|
|
@@ -2220,7 +2279,7 @@ interface CustomOption$1 {
|
|
|
2220
2279
|
placeholder?: string | null;
|
|
2221
2280
|
}
|
|
2222
2281
|
declare enum WixFileComponentType$1 {
|
|
2223
|
-
|
|
2282
|
+
UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
|
|
2224
2283
|
FILE_UPLOAD = "FILE_UPLOAD",
|
|
2225
2284
|
SIGNATURE = "SIGNATURE"
|
|
2226
2285
|
}
|
|
@@ -2270,7 +2329,7 @@ interface Signature$1 {
|
|
|
2270
2329
|
imageUploadEnabled?: boolean;
|
|
2271
2330
|
}
|
|
2272
2331
|
declare enum PaymentComponentType$1 {
|
|
2273
|
-
|
|
2332
|
+
UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
|
|
2274
2333
|
CHECKBOX_GROUP = "CHECKBOX_GROUP",
|
|
2275
2334
|
DONATION_INPUT = "DONATION_INPUT"
|
|
2276
2335
|
}
|
|
@@ -2330,7 +2389,7 @@ interface CommonCustomOption$1 {
|
|
|
2330
2389
|
placeholder?: string | null;
|
|
2331
2390
|
}
|
|
2332
2391
|
declare enum MultilineAddressComponentType$1 {
|
|
2333
|
-
|
|
2392
|
+
UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
|
|
2334
2393
|
MULTILINE_ADDRESS = "MULTILINE_ADDRESS"
|
|
2335
2394
|
}
|
|
2336
2395
|
interface MultilineAddress$1 {
|
|
@@ -2374,7 +2433,7 @@ interface FieldsSettings$1 {
|
|
|
2374
2433
|
addressLine2?: AddressLine2$1;
|
|
2375
2434
|
}
|
|
2376
2435
|
declare enum InputType$1 {
|
|
2377
|
-
|
|
2436
|
+
UNKNOWN_INPUT_TYPE = "UNKNOWN_INPUT_TYPE",
|
|
2378
2437
|
STRING = "STRING",
|
|
2379
2438
|
NUMBER = "NUMBER",
|
|
2380
2439
|
BOOLEAN = "BOOLEAN",
|
|
@@ -2476,6 +2535,12 @@ interface _String$1 extends _StringComponentTypeOptionsOneOf$1 {
|
|
|
2476
2535
|
dateTimeOptions?: DateTimeInput$1;
|
|
2477
2536
|
/** Phone input field */
|
|
2478
2537
|
phoneInputOptions?: PhoneInput$1;
|
|
2538
|
+
/** Dropdown based component for selecting date */
|
|
2539
|
+
dateInputOptions?: DateInput$1;
|
|
2540
|
+
/** Field for selecting time */
|
|
2541
|
+
timeInputOptions?: TimeInput$1;
|
|
2542
|
+
/** Calendar type component for selecting date */
|
|
2543
|
+
datePickerOptions?: DatePicker$1;
|
|
2479
2544
|
/** Validation of field output value. */
|
|
2480
2545
|
validation?: InputFieldStringType$1;
|
|
2481
2546
|
/**
|
|
@@ -2496,6 +2561,12 @@ interface _StringComponentTypeOptionsOneOf$1 {
|
|
|
2496
2561
|
dateTimeOptions?: DateTimeInput$1;
|
|
2497
2562
|
/** Phone input field */
|
|
2498
2563
|
phoneInputOptions?: PhoneInput$1;
|
|
2564
|
+
/** Dropdown based component for selecting date */
|
|
2565
|
+
dateInputOptions?: DateInput$1;
|
|
2566
|
+
/** Field for selecting time */
|
|
2567
|
+
timeInputOptions?: TimeInput$1;
|
|
2568
|
+
/** Calendar type component for selecting date */
|
|
2569
|
+
datePickerOptions?: DatePicker$1;
|
|
2499
2570
|
}
|
|
2500
2571
|
interface _Number$1 extends _NumberComponentTypeOptionsOneOf$1 {
|
|
2501
2572
|
/** Number value input field */
|
|
@@ -3303,6 +3374,28 @@ interface UpdateExtendedFieldsResponse$1 {
|
|
|
3303
3374
|
/** only data from UpdateExtendedFieldsRequest namespace_data */
|
|
3304
3375
|
namespaceData?: Record<string, any> | null;
|
|
3305
3376
|
}
|
|
3377
|
+
interface ListFormsProvidersConfigsRequest$1 {
|
|
3378
|
+
}
|
|
3379
|
+
interface ListFormsProvidersConfigsResponse$1 {
|
|
3380
|
+
/** List of configs set by form providers */
|
|
3381
|
+
configs?: FormsSchemaProvidersConfig$1[];
|
|
3382
|
+
}
|
|
3383
|
+
interface FormsSchemaProvidersConfig$1 {
|
|
3384
|
+
/** Namespace which can be used to create form */
|
|
3385
|
+
namespace?: string;
|
|
3386
|
+
/** Id of app which provides this config. */
|
|
3387
|
+
appId?: string;
|
|
3388
|
+
/** Restrictions associated with this namespace. */
|
|
3389
|
+
restrictions?: FormProviderRestrictions$1;
|
|
3390
|
+
}
|
|
3391
|
+
interface FormProviderRestrictions$1 {
|
|
3392
|
+
/** Maximum amount of forms allowed per namespace. */
|
|
3393
|
+
maxFormsAmount?: number;
|
|
3394
|
+
/** Maximum amount of fields allowed per form. */
|
|
3395
|
+
maxFieldsAmount?: number;
|
|
3396
|
+
/** Maximum amount of deleted forms allowed per namespace. */
|
|
3397
|
+
maxDeletedFormsAmount?: number | null;
|
|
3398
|
+
}
|
|
3306
3399
|
interface PhoneConstraintsNonNullableFields$1 {
|
|
3307
3400
|
allowedCountryCodes: string[];
|
|
3308
3401
|
}
|
|
@@ -3645,7 +3738,7 @@ interface TimeOptionsNonNullableFields$1 {
|
|
|
3645
3738
|
use24HourFormat: boolean;
|
|
3646
3739
|
}
|
|
3647
3740
|
interface DatePickerOptionsNonNullableFields$1 {
|
|
3648
|
-
firstDayOfWeek:
|
|
3741
|
+
firstDayOfWeek: FirstDayOfWeekEnumFirstDayOfWeek$1;
|
|
3649
3742
|
}
|
|
3650
3743
|
interface DateTimeInputNonNullableFields$1 {
|
|
3651
3744
|
dateTimeOptions?: DateTimeOptionsNonNullableFields$1;
|
|
@@ -3657,6 +3750,17 @@ interface DateTimeInputNonNullableFields$1 {
|
|
|
3657
3750
|
interface PhoneInputNonNullableFields$1 {
|
|
3658
3751
|
description?: RichContentNonNullableFields$1;
|
|
3659
3752
|
}
|
|
3753
|
+
interface DateInputNonNullableFields$1 {
|
|
3754
|
+
description?: RichContentNonNullableFields$1;
|
|
3755
|
+
}
|
|
3756
|
+
interface TimeInputNonNullableFields$1 {
|
|
3757
|
+
description?: RichContentNonNullableFields$1;
|
|
3758
|
+
use24HourFormat: boolean;
|
|
3759
|
+
}
|
|
3760
|
+
interface DatePickerNonNullableFields$1 {
|
|
3761
|
+
description?: RichContentNonNullableFields$1;
|
|
3762
|
+
firstDayOfWeek: FirstDayOfWeek$1;
|
|
3763
|
+
}
|
|
3660
3764
|
interface StringTypePhoneConstraintsNonNullableFields$1 {
|
|
3661
3765
|
allowedCountryCodes: string[];
|
|
3662
3766
|
}
|
|
@@ -3670,6 +3774,9 @@ interface _StringNonNullableFields$1 {
|
|
|
3670
3774
|
dropdownOptions?: DropdownNonNullableFields$1;
|
|
3671
3775
|
dateTimeOptions?: DateTimeInputNonNullableFields$1;
|
|
3672
3776
|
phoneInputOptions?: PhoneInputNonNullableFields$1;
|
|
3777
|
+
dateInputOptions?: DateInputNonNullableFields$1;
|
|
3778
|
+
timeInputOptions?: TimeInputNonNullableFields$1;
|
|
3779
|
+
datePickerOptions?: DatePickerNonNullableFields$1;
|
|
3673
3780
|
validation?: InputFieldStringTypeNonNullableFields$1;
|
|
3674
3781
|
componentType: StringComponentType$1;
|
|
3675
3782
|
}
|
|
@@ -3993,6 +4100,18 @@ interface BulkRemoveDeletedFieldResponseNonNullableFields$1 {
|
|
|
3993
4100
|
interface UpdateExtendedFieldsResponseNonNullableFields$1 {
|
|
3994
4101
|
namespace: string;
|
|
3995
4102
|
}
|
|
4103
|
+
interface FormProviderRestrictionsNonNullableFields$1 {
|
|
4104
|
+
maxFormsAmount: number;
|
|
4105
|
+
maxFieldsAmount: number;
|
|
4106
|
+
}
|
|
4107
|
+
interface FormsSchemaProvidersConfigNonNullableFields$1 {
|
|
4108
|
+
namespace: string;
|
|
4109
|
+
appId: string;
|
|
4110
|
+
restrictions?: FormProviderRestrictionsNonNullableFields$1;
|
|
4111
|
+
}
|
|
4112
|
+
interface ListFormsProvidersConfigsResponseNonNullableFields$1 {
|
|
4113
|
+
configs: FormsSchemaProvidersConfigNonNullableFields$1[];
|
|
4114
|
+
}
|
|
3996
4115
|
|
|
3997
4116
|
interface Form {
|
|
3998
4117
|
/**
|
|
@@ -4557,12 +4676,15 @@ interface StringTypePhoneConstraints {
|
|
|
4557
4676
|
allowedCountryCodes?: string[];
|
|
4558
4677
|
}
|
|
4559
4678
|
declare enum StringComponentType {
|
|
4560
|
-
|
|
4679
|
+
UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
|
|
4561
4680
|
TEXT_INPUT = "TEXT_INPUT",
|
|
4562
4681
|
RADIO_GROUP = "RADIO_GROUP",
|
|
4563
4682
|
DROPDOWN = "DROPDOWN",
|
|
4564
4683
|
DATE_TIME = "DATE_TIME",
|
|
4565
|
-
PHONE_INPUT = "PHONE_INPUT"
|
|
4684
|
+
PHONE_INPUT = "PHONE_INPUT",
|
|
4685
|
+
DATE_INPUT = "DATE_INPUT",
|
|
4686
|
+
TIME_INPUT = "TIME_INPUT",
|
|
4687
|
+
DATE_PICKER = "DATE_PICKER"
|
|
4566
4688
|
}
|
|
4567
4689
|
interface TextInput {
|
|
4568
4690
|
/** Label of the field */
|
|
@@ -5907,7 +6029,7 @@ interface DateTimeInputDateTimeInputTypeOptionsOneOf {
|
|
|
5907
6029
|
/** Options specific to date picker type. */
|
|
5908
6030
|
datePickerOptions?: DatePickerOptions;
|
|
5909
6031
|
}
|
|
5910
|
-
declare enum
|
|
6032
|
+
declare enum FirstDayOfWeekEnumFirstDayOfWeek {
|
|
5911
6033
|
MONDAY = "MONDAY",
|
|
5912
6034
|
SUNDAY = "SUNDAY"
|
|
5913
6035
|
}
|
|
@@ -5940,7 +6062,7 @@ interface TimeOptions {
|
|
|
5940
6062
|
}
|
|
5941
6063
|
interface DatePickerOptions {
|
|
5942
6064
|
/** First day of the week displayed on date picker. */
|
|
5943
|
-
firstDayOfWeek?:
|
|
6065
|
+
firstDayOfWeek?: FirstDayOfWeekEnumFirstDayOfWeek;
|
|
5944
6066
|
}
|
|
5945
6067
|
interface PhoneInput {
|
|
5946
6068
|
/** Label of the field */
|
|
@@ -5957,6 +6079,62 @@ interface PhoneInput {
|
|
|
5957
6079
|
/** Default value of the country code */
|
|
5958
6080
|
defaultCountryCode?: string | null;
|
|
5959
6081
|
}
|
|
6082
|
+
interface DateInput {
|
|
6083
|
+
/** Label of the field. Displayed text for the date/time input. */
|
|
6084
|
+
label?: string | null;
|
|
6085
|
+
/** Description of the field. Additional information about the date/time input. */
|
|
6086
|
+
description?: RichContent;
|
|
6087
|
+
/**
|
|
6088
|
+
* Flag identifying whether to show or hide the label.
|
|
6089
|
+
* Default: true
|
|
6090
|
+
*/
|
|
6091
|
+
showLabel?: boolean | null;
|
|
6092
|
+
/**
|
|
6093
|
+
* Flag identifying whether to show or hide the placeholder.
|
|
6094
|
+
* Default: true
|
|
6095
|
+
*/
|
|
6096
|
+
showPlaceholder?: boolean | null;
|
|
6097
|
+
}
|
|
6098
|
+
interface TimeInput {
|
|
6099
|
+
/** Label of the field. Displayed text for the date/time input. */
|
|
6100
|
+
label?: string | null;
|
|
6101
|
+
/** Description of the field. Additional information about the date/time input. */
|
|
6102
|
+
description?: RichContent;
|
|
6103
|
+
/**
|
|
6104
|
+
* Flag identifying whether to show or hide the label.
|
|
6105
|
+
* Default: true
|
|
6106
|
+
*/
|
|
6107
|
+
showLabel?: boolean | null;
|
|
6108
|
+
/**
|
|
6109
|
+
* Flag identifying whether to show or hide the placeholder.
|
|
6110
|
+
* Default: true
|
|
6111
|
+
*/
|
|
6112
|
+
showPlaceholder?: boolean | null;
|
|
6113
|
+
/**
|
|
6114
|
+
* Flag indicating whether to use the 24-hour time format.
|
|
6115
|
+
* Default: false.
|
|
6116
|
+
*/
|
|
6117
|
+
use24HourFormat?: boolean;
|
|
6118
|
+
}
|
|
6119
|
+
interface DatePicker {
|
|
6120
|
+
/** Label of the field. Displayed text for the date/time input. */
|
|
6121
|
+
label?: string | null;
|
|
6122
|
+
/** Description of the field. Additional information about the date/time input. */
|
|
6123
|
+
description?: RichContent;
|
|
6124
|
+
/**
|
|
6125
|
+
* Flag identifying whether to show or hide the label.
|
|
6126
|
+
* Default: true
|
|
6127
|
+
*/
|
|
6128
|
+
showLabel?: boolean | null;
|
|
6129
|
+
/** Placeholder of date picker input */
|
|
6130
|
+
placeholder?: string | null;
|
|
6131
|
+
/** First day of the week displayed on date picker. */
|
|
6132
|
+
firstDayOfWeek?: FirstDayOfWeek;
|
|
6133
|
+
}
|
|
6134
|
+
declare enum FirstDayOfWeek {
|
|
6135
|
+
MONDAY = "MONDAY",
|
|
6136
|
+
SUNDAY = "SUNDAY"
|
|
6137
|
+
}
|
|
5960
6138
|
interface InputFieldNumberType {
|
|
5961
6139
|
/** Inclusive maximum value. */
|
|
5962
6140
|
maximum?: number | null;
|
|
@@ -5974,7 +6152,7 @@ interface InputFieldNumberErrorMessages {
|
|
|
5974
6152
|
default?: string | null;
|
|
5975
6153
|
}
|
|
5976
6154
|
declare enum NumberComponentType {
|
|
5977
|
-
|
|
6155
|
+
UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
|
|
5978
6156
|
NUMBER_INPUT = "NUMBER_INPUT",
|
|
5979
6157
|
RATING_INPUT = "RATING_INPUT"
|
|
5980
6158
|
}
|
|
@@ -6015,7 +6193,7 @@ interface InputFieldBooleanErrorMessages {
|
|
|
6015
6193
|
default?: string | null;
|
|
6016
6194
|
}
|
|
6017
6195
|
declare enum BooleanComponentType {
|
|
6018
|
-
|
|
6196
|
+
UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
|
|
6019
6197
|
CHECKBOX = "CHECKBOX"
|
|
6020
6198
|
}
|
|
6021
6199
|
interface Checkbox {
|
|
@@ -6038,7 +6216,7 @@ interface InputFieldArrayType {
|
|
|
6038
6216
|
errorMessages?: InputFieldArrayErrorMessages;
|
|
6039
6217
|
}
|
|
6040
6218
|
declare enum ItemType {
|
|
6041
|
-
|
|
6219
|
+
UNKNOWN_ITEM_TYPE = "UNKNOWN_ITEM_TYPE",
|
|
6042
6220
|
STRING = "STRING",
|
|
6043
6221
|
NUMBER = "NUMBER",
|
|
6044
6222
|
BOOLEAN = "BOOLEAN",
|
|
@@ -6142,7 +6320,7 @@ interface InputFieldArrayErrorMessages {
|
|
|
6142
6320
|
default?: string | null;
|
|
6143
6321
|
}
|
|
6144
6322
|
declare enum ComponentType {
|
|
6145
|
-
|
|
6323
|
+
UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
|
|
6146
6324
|
CHECKBOX_GROUP = "CHECKBOX_GROUP"
|
|
6147
6325
|
}
|
|
6148
6326
|
interface CheckboxGroup {
|
|
@@ -6193,7 +6371,7 @@ interface CustomOption {
|
|
|
6193
6371
|
placeholder?: string | null;
|
|
6194
6372
|
}
|
|
6195
6373
|
declare enum WixFileComponentType {
|
|
6196
|
-
|
|
6374
|
+
UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
|
|
6197
6375
|
FILE_UPLOAD = "FILE_UPLOAD",
|
|
6198
6376
|
SIGNATURE = "SIGNATURE"
|
|
6199
6377
|
}
|
|
@@ -6243,7 +6421,7 @@ interface Signature {
|
|
|
6243
6421
|
imageUploadEnabled?: boolean;
|
|
6244
6422
|
}
|
|
6245
6423
|
declare enum PaymentComponentType {
|
|
6246
|
-
|
|
6424
|
+
UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
|
|
6247
6425
|
CHECKBOX_GROUP = "CHECKBOX_GROUP",
|
|
6248
6426
|
DONATION_INPUT = "DONATION_INPUT"
|
|
6249
6427
|
}
|
|
@@ -6303,7 +6481,7 @@ interface CommonCustomOption {
|
|
|
6303
6481
|
placeholder?: string | null;
|
|
6304
6482
|
}
|
|
6305
6483
|
declare enum MultilineAddressComponentType {
|
|
6306
|
-
|
|
6484
|
+
UNKNOWN_COMPONENT_TYPE = "UNKNOWN_COMPONENT_TYPE",
|
|
6307
6485
|
MULTILINE_ADDRESS = "MULTILINE_ADDRESS"
|
|
6308
6486
|
}
|
|
6309
6487
|
interface MultilineAddress {
|
|
@@ -6347,7 +6525,7 @@ interface FieldsSettings {
|
|
|
6347
6525
|
addressLine2?: AddressLine2;
|
|
6348
6526
|
}
|
|
6349
6527
|
declare enum InputType {
|
|
6350
|
-
|
|
6528
|
+
UNKNOWN_INPUT_TYPE = "UNKNOWN_INPUT_TYPE",
|
|
6351
6529
|
STRING = "STRING",
|
|
6352
6530
|
NUMBER = "NUMBER",
|
|
6353
6531
|
BOOLEAN = "BOOLEAN",
|
|
@@ -6449,6 +6627,12 @@ interface _String extends _StringComponentTypeOptionsOneOf {
|
|
|
6449
6627
|
dateTimeOptions?: DateTimeInput;
|
|
6450
6628
|
/** Phone input field */
|
|
6451
6629
|
phoneInputOptions?: PhoneInput;
|
|
6630
|
+
/** Dropdown based component for selecting date */
|
|
6631
|
+
dateInputOptions?: DateInput;
|
|
6632
|
+
/** Field for selecting time */
|
|
6633
|
+
timeInputOptions?: TimeInput;
|
|
6634
|
+
/** Calendar type component for selecting date */
|
|
6635
|
+
datePickerOptions?: DatePicker;
|
|
6452
6636
|
/** Validation of field output value. */
|
|
6453
6637
|
validation?: InputFieldStringType;
|
|
6454
6638
|
/**
|
|
@@ -6469,6 +6653,12 @@ interface _StringComponentTypeOptionsOneOf {
|
|
|
6469
6653
|
dateTimeOptions?: DateTimeInput;
|
|
6470
6654
|
/** Phone input field */
|
|
6471
6655
|
phoneInputOptions?: PhoneInput;
|
|
6656
|
+
/** Dropdown based component for selecting date */
|
|
6657
|
+
dateInputOptions?: DateInput;
|
|
6658
|
+
/** Field for selecting time */
|
|
6659
|
+
timeInputOptions?: TimeInput;
|
|
6660
|
+
/** Calendar type component for selecting date */
|
|
6661
|
+
datePickerOptions?: DatePicker;
|
|
6472
6662
|
}
|
|
6473
6663
|
interface _Number extends _NumberComponentTypeOptionsOneOf {
|
|
6474
6664
|
/** Number value input field */
|
|
@@ -7276,6 +7466,28 @@ interface UpdateExtendedFieldsResponse {
|
|
|
7276
7466
|
/** only data from UpdateExtendedFieldsRequest namespace_data */
|
|
7277
7467
|
namespaceData?: Record<string, any> | null;
|
|
7278
7468
|
}
|
|
7469
|
+
interface ListFormsProvidersConfigsRequest {
|
|
7470
|
+
}
|
|
7471
|
+
interface ListFormsProvidersConfigsResponse {
|
|
7472
|
+
/** List of configs set by form providers */
|
|
7473
|
+
configs?: FormsSchemaProvidersConfig[];
|
|
7474
|
+
}
|
|
7475
|
+
interface FormsSchemaProvidersConfig {
|
|
7476
|
+
/** Namespace which can be used to create form */
|
|
7477
|
+
namespace?: string;
|
|
7478
|
+
/** Id of app which provides this config. */
|
|
7479
|
+
appId?: string;
|
|
7480
|
+
/** Restrictions associated with this namespace. */
|
|
7481
|
+
restrictions?: FormProviderRestrictions;
|
|
7482
|
+
}
|
|
7483
|
+
interface FormProviderRestrictions {
|
|
7484
|
+
/** Maximum amount of forms allowed per namespace. */
|
|
7485
|
+
maxFormsAmount?: number;
|
|
7486
|
+
/** Maximum amount of fields allowed per form. */
|
|
7487
|
+
maxFieldsAmount?: number;
|
|
7488
|
+
/** Maximum amount of deleted forms allowed per namespace. */
|
|
7489
|
+
maxDeletedFormsAmount?: number | null;
|
|
7490
|
+
}
|
|
7279
7491
|
interface PhoneConstraintsNonNullableFields {
|
|
7280
7492
|
allowedCountryCodes: string[];
|
|
7281
7493
|
}
|
|
@@ -7618,7 +7830,7 @@ interface TimeOptionsNonNullableFields {
|
|
|
7618
7830
|
use24HourFormat: boolean;
|
|
7619
7831
|
}
|
|
7620
7832
|
interface DatePickerOptionsNonNullableFields {
|
|
7621
|
-
firstDayOfWeek:
|
|
7833
|
+
firstDayOfWeek: FirstDayOfWeekEnumFirstDayOfWeek;
|
|
7622
7834
|
}
|
|
7623
7835
|
interface DateTimeInputNonNullableFields {
|
|
7624
7836
|
dateTimeOptions?: DateTimeOptionsNonNullableFields;
|
|
@@ -7630,6 +7842,17 @@ interface DateTimeInputNonNullableFields {
|
|
|
7630
7842
|
interface PhoneInputNonNullableFields {
|
|
7631
7843
|
description?: RichContentNonNullableFields;
|
|
7632
7844
|
}
|
|
7845
|
+
interface DateInputNonNullableFields {
|
|
7846
|
+
description?: RichContentNonNullableFields;
|
|
7847
|
+
}
|
|
7848
|
+
interface TimeInputNonNullableFields {
|
|
7849
|
+
description?: RichContentNonNullableFields;
|
|
7850
|
+
use24HourFormat: boolean;
|
|
7851
|
+
}
|
|
7852
|
+
interface DatePickerNonNullableFields {
|
|
7853
|
+
description?: RichContentNonNullableFields;
|
|
7854
|
+
firstDayOfWeek: FirstDayOfWeek;
|
|
7855
|
+
}
|
|
7633
7856
|
interface StringTypePhoneConstraintsNonNullableFields {
|
|
7634
7857
|
allowedCountryCodes: string[];
|
|
7635
7858
|
}
|
|
@@ -7643,6 +7866,9 @@ interface _StringNonNullableFields {
|
|
|
7643
7866
|
dropdownOptions?: DropdownNonNullableFields;
|
|
7644
7867
|
dateTimeOptions?: DateTimeInputNonNullableFields;
|
|
7645
7868
|
phoneInputOptions?: PhoneInputNonNullableFields;
|
|
7869
|
+
dateInputOptions?: DateInputNonNullableFields;
|
|
7870
|
+
timeInputOptions?: TimeInputNonNullableFields;
|
|
7871
|
+
datePickerOptions?: DatePickerNonNullableFields;
|
|
7646
7872
|
validation?: InputFieldStringTypeNonNullableFields;
|
|
7647
7873
|
componentType: StringComponentType;
|
|
7648
7874
|
}
|
|
@@ -7960,6 +8186,18 @@ interface BulkRemoveDeletedFieldResponseNonNullableFields {
|
|
|
7960
8186
|
interface UpdateExtendedFieldsResponseNonNullableFields {
|
|
7961
8187
|
namespace: string;
|
|
7962
8188
|
}
|
|
8189
|
+
interface FormProviderRestrictionsNonNullableFields {
|
|
8190
|
+
maxFormsAmount: number;
|
|
8191
|
+
maxFieldsAmount: number;
|
|
8192
|
+
}
|
|
8193
|
+
interface FormsSchemaProvidersConfigNonNullableFields {
|
|
8194
|
+
namespace: string;
|
|
8195
|
+
appId: string;
|
|
8196
|
+
restrictions?: FormProviderRestrictionsNonNullableFields;
|
|
8197
|
+
}
|
|
8198
|
+
interface ListFormsProvidersConfigsResponseNonNullableFields {
|
|
8199
|
+
configs: FormsSchemaProvidersConfigNonNullableFields[];
|
|
8200
|
+
}
|
|
7963
8201
|
|
|
7964
8202
|
type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
7965
8203
|
getUrl: (context: any) => string;
|
|
@@ -8003,6 +8241,7 @@ declare function bulkRemoveDeletedField(): __PublicMethodMetaInfo$2<'POST', {},
|
|
|
8003
8241
|
declare function updateExtendedFields(): __PublicMethodMetaInfo$2<'POST', {
|
|
8004
8242
|
id: string;
|
|
8005
8243
|
}, UpdateExtendedFieldsRequest, UpdateExtendedFieldsRequest$1, UpdateExtendedFieldsResponse & UpdateExtendedFieldsResponseNonNullableFields, UpdateExtendedFieldsResponse$1 & UpdateExtendedFieldsResponseNonNullableFields$1>;
|
|
8244
|
+
declare function listFormsProvidersConfigs(): __PublicMethodMetaInfo$2<'GET', {}, ListFormsProvidersConfigsRequest, ListFormsProvidersConfigsRequest$1, ListFormsProvidersConfigsResponse & ListFormsProvidersConfigsResponseNonNullableFields, ListFormsProvidersConfigsResponse$1 & ListFormsProvidersConfigsResponseNonNullableFields$1>;
|
|
8006
8245
|
|
|
8007
8246
|
declare const meta$2_bulkCreateForm: typeof bulkCreateForm;
|
|
8008
8247
|
declare const meta$2_bulkRemoveDeletedField: typeof bulkRemoveDeletedField;
|
|
@@ -8014,6 +8253,7 @@ declare const meta$2_getDeletedForm: typeof getDeletedForm;
|
|
|
8014
8253
|
declare const meta$2_getForm: typeof getForm;
|
|
8015
8254
|
declare const meta$2_listDeletedForms: typeof listDeletedForms;
|
|
8016
8255
|
declare const meta$2_listForms: typeof listForms;
|
|
8256
|
+
declare const meta$2_listFormsProvidersConfigs: typeof listFormsProvidersConfigs;
|
|
8017
8257
|
declare const meta$2_queryDeletedForms: typeof queryDeletedForms;
|
|
8018
8258
|
declare const meta$2_queryForms: typeof queryForms;
|
|
8019
8259
|
declare const meta$2_removeFormFromTrashBin: typeof removeFormFromTrashBin;
|
|
@@ -8021,7 +8261,7 @@ declare const meta$2_restoreFromTrashBin: typeof restoreFromTrashBin;
|
|
|
8021
8261
|
declare const meta$2_updateExtendedFields: typeof updateExtendedFields;
|
|
8022
8262
|
declare const meta$2_updateForm: typeof updateForm;
|
|
8023
8263
|
declare namespace meta$2 {
|
|
8024
|
-
export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$2_bulkCreateForm as bulkCreateForm, meta$2_bulkRemoveDeletedField as bulkRemoveDeletedField, meta$2_cloneForm as cloneForm, meta$2_countForms as countForms, meta$2_createForm as createForm, meta$2_deleteForm as deleteForm, meta$2_getDeletedForm as getDeletedForm, meta$2_getForm as getForm, meta$2_listDeletedForms as listDeletedForms, meta$2_listForms as listForms, meta$2_queryDeletedForms as queryDeletedForms, meta$2_queryForms as queryForms, meta$2_removeFormFromTrashBin as removeFormFromTrashBin, meta$2_restoreFromTrashBin as restoreFromTrashBin, meta$2_updateExtendedFields as updateExtendedFields, meta$2_updateForm as updateForm };
|
|
8264
|
+
export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$2_bulkCreateForm as bulkCreateForm, meta$2_bulkRemoveDeletedField as bulkRemoveDeletedField, meta$2_cloneForm as cloneForm, meta$2_countForms as countForms, meta$2_createForm as createForm, meta$2_deleteForm as deleteForm, meta$2_getDeletedForm as getDeletedForm, meta$2_getForm as getForm, meta$2_listDeletedForms as listDeletedForms, meta$2_listForms as listForms, meta$2_listFormsProvidersConfigs as listFormsProvidersConfigs, meta$2_queryDeletedForms as queryDeletedForms, meta$2_queryForms as queryForms, meta$2_removeFormFromTrashBin as removeFormFromTrashBin, meta$2_restoreFromTrashBin as restoreFromTrashBin, meta$2_updateExtendedFields as updateExtendedFields, meta$2_updateForm as updateForm };
|
|
8025
8265
|
}
|
|
8026
8266
|
|
|
8027
8267
|
/**
|