@wix/auto_sdk_forms_forms 1.0.22 → 1.0.24
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 +5 -4
- package/build/cjs/src/forms-v4-form-forms.context.js +7 -6
- package/build/cjs/src/forms-v4-form-forms.context.js.map +1 -1
- package/build/cjs/src/forms-v4-form-forms.http.d.ts +3 -1
- package/build/cjs/src/forms-v4-form-forms.http.js +27 -7
- package/build/cjs/src/forms-v4-form-forms.http.js.map +1 -1
- package/build/cjs/src/forms-v4-form-forms.meta.d.ts +2 -1
- package/build/cjs/src/forms-v4-form-forms.meta.js +24 -5
- package/build/cjs/src/forms-v4-form-forms.meta.js.map +1 -1
- package/build/cjs/src/forms-v4-form-forms.public.d.ts +12 -6
- package/build/cjs/src/forms-v4-form-forms.public.js +12 -6
- package/build/cjs/src/forms-v4-form-forms.public.js.map +1 -1
- package/build/cjs/src/forms-v4-form-forms.types.d.ts +133 -36
- package/build/cjs/src/forms-v4-form-forms.types.js +22 -22
- package/build/cjs/src/forms-v4-form-forms.types.js.map +1 -1
- package/build/cjs/src/forms-v4-form-forms.universal.d.ts +217 -44
- package/build/cjs/src/forms-v4-form-forms.universal.js +123 -35
- package/build/cjs/src/forms-v4-form-forms.universal.js.map +1 -1
- package/build/es/src/forms-v4-form-forms.context.d.ts +5 -4
- package/build/es/src/forms-v4-form-forms.context.js +4 -3
- package/build/es/src/forms-v4-form-forms.context.js.map +1 -1
- package/build/es/src/forms-v4-form-forms.http.d.ts +3 -1
- package/build/es/src/forms-v4-form-forms.http.js +24 -5
- package/build/es/src/forms-v4-form-forms.http.js.map +1 -1
- package/build/es/src/forms-v4-form-forms.meta.d.ts +2 -1
- package/build/es/src/forms-v4-form-forms.meta.js +21 -3
- package/build/es/src/forms-v4-form-forms.meta.js.map +1 -1
- package/build/es/src/forms-v4-form-forms.public.d.ts +12 -6
- package/build/es/src/forms-v4-form-forms.public.js +8 -3
- package/build/es/src/forms-v4-form-forms.public.js.map +1 -1
- package/build/es/src/forms-v4-form-forms.types.d.ts +133 -36
- package/build/es/src/forms-v4-form-forms.types.js +20 -20
- package/build/es/src/forms-v4-form-forms.types.js.map +1 -1
- package/build/es/src/forms-v4-form-forms.universal.d.ts +217 -44
- package/build/es/src/forms-v4-form-forms.universal.js +118 -31
- 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 +5 -4
- package/build/internal/cjs/src/forms-v4-form-forms.context.js +7 -6
- package/build/internal/cjs/src/forms-v4-form-forms.context.js.map +1 -1
- package/build/internal/cjs/src/forms-v4-form-forms.http.d.ts +3 -1
- package/build/internal/cjs/src/forms-v4-form-forms.http.js +27 -7
- package/build/internal/cjs/src/forms-v4-form-forms.http.js.map +1 -1
- package/build/internal/cjs/src/forms-v4-form-forms.meta.d.ts +2 -1
- package/build/internal/cjs/src/forms-v4-form-forms.meta.js +24 -5
- package/build/internal/cjs/src/forms-v4-form-forms.meta.js.map +1 -1
- package/build/internal/cjs/src/forms-v4-form-forms.public.d.ts +12 -6
- package/build/internal/cjs/src/forms-v4-form-forms.public.js +12 -6
- 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 +133 -36
- package/build/internal/cjs/src/forms-v4-form-forms.types.js +22 -22
- 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 +217 -44
- package/build/internal/cjs/src/forms-v4-form-forms.universal.js +123 -35
- 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 +5 -4
- package/build/internal/es/src/forms-v4-form-forms.context.js +4 -3
- package/build/internal/es/src/forms-v4-form-forms.context.js.map +1 -1
- package/build/internal/es/src/forms-v4-form-forms.http.d.ts +3 -1
- package/build/internal/es/src/forms-v4-form-forms.http.js +24 -5
- package/build/internal/es/src/forms-v4-form-forms.http.js.map +1 -1
- package/build/internal/es/src/forms-v4-form-forms.meta.d.ts +2 -1
- package/build/internal/es/src/forms-v4-form-forms.meta.js +21 -3
- package/build/internal/es/src/forms-v4-form-forms.meta.js.map +1 -1
- package/build/internal/es/src/forms-v4-form-forms.public.d.ts +12 -6
- package/build/internal/es/src/forms-v4-form-forms.public.js +8 -3
- 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 +133 -36
- package/build/internal/es/src/forms-v4-form-forms.types.js +20 -20
- 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 +217 -44
- package/build/internal/es/src/forms-v4-form-forms.universal.js +118 -31
- package/build/internal/es/src/forms-v4-form-forms.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -94,24 +94,6 @@ export interface Form {
|
|
|
94
94
|
*/
|
|
95
95
|
formRules?: Rule[];
|
|
96
96
|
}
|
|
97
|
-
export declare enum RequiredIndicator {
|
|
98
|
-
/** Unknown required indicator. */
|
|
99
|
-
UNKNOWN_INDICATOR = "UNKNOWN_INDICATOR",
|
|
100
|
-
/** Asterisk (*). */
|
|
101
|
-
ASTERISK = "ASTERISK",
|
|
102
|
-
/** Text (default: "Required"). */
|
|
103
|
-
TEXT = "TEXT",
|
|
104
|
-
/** None. */
|
|
105
|
-
NONE = "NONE"
|
|
106
|
-
}
|
|
107
|
-
export declare enum RequiredIndicatorPlacement {
|
|
108
|
-
/** Unknown required indicator placement. */
|
|
109
|
-
UNKNOWN_PLACEMENT = "UNKNOWN_PLACEMENT",
|
|
110
|
-
/** After field title. */
|
|
111
|
-
AFTER_FIELD_TITLE = "AFTER_FIELD_TITLE",
|
|
112
|
-
/** Before field title. */
|
|
113
|
-
BEFORE_FIELD_TITLE = "BEFORE_FIELD_TITLE"
|
|
114
|
-
}
|
|
115
97
|
export interface FormField {
|
|
116
98
|
/**
|
|
117
99
|
* Item ID.
|
|
@@ -934,17 +916,32 @@ export interface ButtonData {
|
|
|
934
916
|
link?: Link;
|
|
935
917
|
}
|
|
936
918
|
export interface Border {
|
|
937
|
-
/**
|
|
919
|
+
/**
|
|
920
|
+
* Deprecated: Use `borderWidth` in `styles` instead.
|
|
921
|
+
* @deprecated
|
|
922
|
+
*/
|
|
938
923
|
width?: number | null;
|
|
939
|
-
/**
|
|
924
|
+
/**
|
|
925
|
+
* Deprecated: Use `borderRadius` in `styles` instead.
|
|
926
|
+
* @deprecated
|
|
927
|
+
*/
|
|
940
928
|
radius?: number | null;
|
|
941
929
|
}
|
|
942
930
|
export interface Colors {
|
|
943
|
-
/**
|
|
931
|
+
/**
|
|
932
|
+
* Deprecated: Use `textColor` in `styles` instead.
|
|
933
|
+
* @deprecated
|
|
934
|
+
*/
|
|
944
935
|
text?: string | null;
|
|
945
|
-
/**
|
|
936
|
+
/**
|
|
937
|
+
* Deprecated: Use `borderColor` in `styles` instead.
|
|
938
|
+
* @deprecated
|
|
939
|
+
*/
|
|
946
940
|
border?: string | null;
|
|
947
|
-
/**
|
|
941
|
+
/**
|
|
942
|
+
* Deprecated: Use `backgroundColor` in `styles` instead.
|
|
943
|
+
* @deprecated
|
|
944
|
+
*/
|
|
948
945
|
background?: string | null;
|
|
949
946
|
}
|
|
950
947
|
export interface PluginContainerData {
|
|
@@ -1021,10 +1018,57 @@ export declare enum ButtonDataType {
|
|
|
1021
1018
|
ACTION = "ACTION"
|
|
1022
1019
|
}
|
|
1023
1020
|
export interface Styles {
|
|
1024
|
-
/**
|
|
1021
|
+
/**
|
|
1022
|
+
* Deprecated: Use `borderWidth` and `borderRadius` instead.
|
|
1023
|
+
* @deprecated
|
|
1024
|
+
*/
|
|
1025
1025
|
border?: Border;
|
|
1026
|
-
/**
|
|
1026
|
+
/**
|
|
1027
|
+
* Deprecated: Use `textColor`, `borderColor` and `backgroundColor` instead.
|
|
1028
|
+
* @deprecated
|
|
1029
|
+
*/
|
|
1027
1030
|
colors?: Colors;
|
|
1031
|
+
/** Border width in pixels. */
|
|
1032
|
+
borderWidth?: number | null;
|
|
1033
|
+
/**
|
|
1034
|
+
* Deprecated: Use `borderWidth` for normal/hover states instead.
|
|
1035
|
+
* @deprecated
|
|
1036
|
+
*/
|
|
1037
|
+
borderWidthHover?: number | null;
|
|
1038
|
+
/** Border radius in pixels. */
|
|
1039
|
+
borderRadius?: number | null;
|
|
1040
|
+
/**
|
|
1041
|
+
* Border color as a hexadecimal value.
|
|
1042
|
+
* @format COLOR_HEX
|
|
1043
|
+
*/
|
|
1044
|
+
borderColor?: string | null;
|
|
1045
|
+
/**
|
|
1046
|
+
* Border color as a hexadecimal value (hover state).
|
|
1047
|
+
* @format COLOR_HEX
|
|
1048
|
+
*/
|
|
1049
|
+
borderColorHover?: string | null;
|
|
1050
|
+
/**
|
|
1051
|
+
* Text color as a hexadecimal value.
|
|
1052
|
+
* @format COLOR_HEX
|
|
1053
|
+
*/
|
|
1054
|
+
textColor?: string | null;
|
|
1055
|
+
/**
|
|
1056
|
+
* Text color as a hexadecimal value (hover state).
|
|
1057
|
+
* @format COLOR_HEX
|
|
1058
|
+
*/
|
|
1059
|
+
textColorHover?: string | null;
|
|
1060
|
+
/**
|
|
1061
|
+
* Background color as a hexadecimal value.
|
|
1062
|
+
* @format COLOR_HEX
|
|
1063
|
+
*/
|
|
1064
|
+
backgroundColor?: string | null;
|
|
1065
|
+
/**
|
|
1066
|
+
* Background color as a hexadecimal value (hover state).
|
|
1067
|
+
* @format COLOR_HEX
|
|
1068
|
+
*/
|
|
1069
|
+
backgroundColorHover?: string | null;
|
|
1070
|
+
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
|
1071
|
+
buttonSize?: string | null;
|
|
1028
1072
|
}
|
|
1029
1073
|
export interface Link extends LinkDataOneOf {
|
|
1030
1074
|
/** The absolute URL for the linked document. */
|
|
@@ -4397,6 +4441,24 @@ export interface RequiredIndicatorProperties {
|
|
|
4397
4441
|
/** Required indicator placement. */
|
|
4398
4442
|
requiredIndicatorPlacement?: RequiredIndicatorPlacement;
|
|
4399
4443
|
}
|
|
4444
|
+
export declare enum RequiredIndicator {
|
|
4445
|
+
/** Unknown required indicator. */
|
|
4446
|
+
UNKNOWN_INDICATOR = "UNKNOWN_INDICATOR",
|
|
4447
|
+
/** Asterisk (*). */
|
|
4448
|
+
ASTERISK = "ASTERISK",
|
|
4449
|
+
/** Text (default: "Required"). */
|
|
4450
|
+
TEXT = "TEXT",
|
|
4451
|
+
/** None. */
|
|
4452
|
+
NONE = "NONE"
|
|
4453
|
+
}
|
|
4454
|
+
export declare enum RequiredIndicatorPlacement {
|
|
4455
|
+
/** Unknown required indicator placement. */
|
|
4456
|
+
UNKNOWN_PLACEMENT = "UNKNOWN_PLACEMENT",
|
|
4457
|
+
/** After field title. */
|
|
4458
|
+
AFTER_FIELD_TITLE = "AFTER_FIELD_TITLE",
|
|
4459
|
+
/** Before field title. */
|
|
4460
|
+
BEFORE_FIELD_TITLE = "BEFORE_FIELD_TITLE"
|
|
4461
|
+
}
|
|
4400
4462
|
export interface SubmitSettings extends SubmitSettingsSubmitSuccessActionOptionsOneOf {
|
|
4401
4463
|
/** Options for showing a thank you message after submission. */
|
|
4402
4464
|
thankYouMessageOptions?: ThankYouMessageOptions;
|
|
@@ -4575,11 +4637,8 @@ export interface Condition {
|
|
|
4575
4637
|
target?: string;
|
|
4576
4638
|
/** The operator to use for comparison. */
|
|
4577
4639
|
operator?: Operator;
|
|
4578
|
-
/**
|
|
4579
|
-
|
|
4580
|
-
* @maxLength 500
|
|
4581
|
-
*/
|
|
4582
|
-
value?: string;
|
|
4640
|
+
/** The value to compare against. */
|
|
4641
|
+
value?: any;
|
|
4583
4642
|
}
|
|
4584
4643
|
export declare enum Operator {
|
|
4585
4644
|
UNKNOWN_OPERATOR = "UNKNOWN_OPERATOR",
|
|
@@ -5134,7 +5193,7 @@ export interface CountFormsRequest {
|
|
|
5134
5193
|
* @minLength 10
|
|
5135
5194
|
* @maxLength 50
|
|
5136
5195
|
*/
|
|
5137
|
-
namespace
|
|
5196
|
+
namespace?: string;
|
|
5138
5197
|
/**
|
|
5139
5198
|
* Fieldsets.
|
|
5140
5199
|
* @maxSize 3
|
|
@@ -5156,6 +5215,36 @@ export interface CountFormsResponse {
|
|
|
5156
5215
|
/** Deleted forms count. Counted only if specifically requested using a fieldset. */
|
|
5157
5216
|
deletedCount?: number | null;
|
|
5158
5217
|
}
|
|
5218
|
+
export interface CountFormsByFilterRequest {
|
|
5219
|
+
/** Filter */
|
|
5220
|
+
filter?: Record<string, any> | null;
|
|
5221
|
+
/**
|
|
5222
|
+
* Namespace
|
|
5223
|
+
* @minLength 10
|
|
5224
|
+
* @maxLength 50
|
|
5225
|
+
* @immutable
|
|
5226
|
+
*/
|
|
5227
|
+
namespace: string;
|
|
5228
|
+
}
|
|
5229
|
+
export interface CountFormsByFilterResponse {
|
|
5230
|
+
/** Total forms count. Includes active and disabled forms. Does not include deleted forms. */
|
|
5231
|
+
count?: number;
|
|
5232
|
+
}
|
|
5233
|
+
export interface CountDeletedFormsRequest {
|
|
5234
|
+
/** Filter */
|
|
5235
|
+
filter?: Record<string, any> | null;
|
|
5236
|
+
/**
|
|
5237
|
+
* Namespace
|
|
5238
|
+
* @minLength 10
|
|
5239
|
+
* @maxLength 50
|
|
5240
|
+
* @immutable
|
|
5241
|
+
*/
|
|
5242
|
+
namespace: string;
|
|
5243
|
+
}
|
|
5244
|
+
export interface CountDeletedFormsResponse {
|
|
5245
|
+
/** Deleted forms count. */
|
|
5246
|
+
count?: number;
|
|
5247
|
+
}
|
|
5159
5248
|
export interface ListTemplateExtensionsRequest {
|
|
5160
5249
|
/**
|
|
5161
5250
|
* Namespace name.
|
|
@@ -5561,6 +5650,14 @@ export interface FormSummaryField {
|
|
|
5561
5650
|
*/
|
|
5562
5651
|
_id?: string;
|
|
5563
5652
|
}
|
|
5653
|
+
export interface CreateMigratedFormRequest {
|
|
5654
|
+
/** Form to be created. */
|
|
5655
|
+
form?: Form;
|
|
5656
|
+
}
|
|
5657
|
+
export interface CreateMigratedFormResponse {
|
|
5658
|
+
/** The created form. */
|
|
5659
|
+
form?: Form;
|
|
5660
|
+
}
|
|
5564
5661
|
interface StringTypePhoneConstraintsNonNullableFields {
|
|
5565
5662
|
allowedCountryCodes: string[];
|
|
5566
5663
|
}
|
|
@@ -6326,7 +6423,6 @@ interface OrConditionNonNullableFields {
|
|
|
6326
6423
|
interface ConditionNonNullableFields {
|
|
6327
6424
|
target: string;
|
|
6328
6425
|
operator: Operator;
|
|
6329
|
-
value: string;
|
|
6330
6426
|
}
|
|
6331
6427
|
interface ConditionNodeNonNullableFields {
|
|
6332
6428
|
and?: AndConditionNonNullableFields;
|
|
@@ -6418,10 +6514,11 @@ export interface RestoreFromTrashBinResponseNonNullableFields {
|
|
|
6418
6514
|
export interface QueryFormsResponseNonNullableFields {
|
|
6419
6515
|
forms: FormNonNullableFields[];
|
|
6420
6516
|
}
|
|
6421
|
-
export interface
|
|
6422
|
-
|
|
6423
|
-
|
|
6424
|
-
|
|
6517
|
+
export interface CountFormsByFilterResponseNonNullableFields {
|
|
6518
|
+
count: number;
|
|
6519
|
+
}
|
|
6520
|
+
export interface CountDeletedFormsResponseNonNullableFields {
|
|
6521
|
+
count: number;
|
|
6425
6522
|
}
|
|
6426
6523
|
export interface ListFormsResponseNonNullableFields {
|
|
6427
6524
|
forms: FormNonNullableFields[];
|
|
@@ -6475,6 +6572,9 @@ export interface GetFormSummaryResponseNonNullableFields {
|
|
|
6475
6572
|
* @requiredField form.rules._id
|
|
6476
6573
|
* @requiredField form.steps._id
|
|
6477
6574
|
* @permissionId WIX_FORMS.FORM_SCHEMA_CREATE
|
|
6575
|
+
* @permissionScope Manage Challenges
|
|
6576
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
6577
|
+
* @applicableIdentity APP
|
|
6478
6578
|
* @returns The created form.
|
|
6479
6579
|
* @fqn wix.forms.v4.FormSchemaService.CreateForm
|
|
6480
6580
|
*/
|
|
@@ -6487,6 +6587,9 @@ export declare function createForm(form: Form): Promise<Form & FormNonNullableFi
|
|
|
6487
6587
|
* @requiredField options.forms.rules._id
|
|
6488
6588
|
* @requiredField options.forms.steps._id
|
|
6489
6589
|
* @permissionId WIX_FORMS.FORM_SCHEMA_CREATE
|
|
6590
|
+
* @permissionScope Manage Challenges
|
|
6591
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
6592
|
+
* @applicableIdentity APP
|
|
6490
6593
|
* @fqn wix.forms.v4.FormSchemaService.BulkCreateForm
|
|
6491
6594
|
*/
|
|
6492
6595
|
export declare function bulkCreateForm(options?: BulkCreateFormOptions): Promise<BulkCreateFormResponse & BulkCreateFormResponseNonNullableFields>;
|
|
@@ -6507,6 +6610,9 @@ export interface BulkCreateFormOptions {
|
|
|
6507
6610
|
* @documentationMaturity preview
|
|
6508
6611
|
* @requiredField formId
|
|
6509
6612
|
* @permissionId WIX_FORMS.FORM_SCHEMA_CREATE
|
|
6613
|
+
* @permissionScope Manage Challenges
|
|
6614
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
6615
|
+
* @applicableIdentity APP
|
|
6510
6616
|
* @fqn wix.forms.v4.FormSchemaService.CloneForm
|
|
6511
6617
|
*/
|
|
6512
6618
|
export declare function cloneForm(formId: string): Promise<CloneFormResponse & CloneFormResponseNonNullableFields>;
|
|
@@ -6521,6 +6627,8 @@ export declare function cloneForm(formId: string): Promise<CloneFormResponse & C
|
|
|
6521
6627
|
* @permissionScopeId SCOPE.DC-FORMS.MANAGE-SUBMISSIONS
|
|
6522
6628
|
* @permissionScope Manage form submissions.
|
|
6523
6629
|
* @permissionScopeId SCOPE.FORMS.MANAGE-SUBMISSIONS
|
|
6630
|
+
* @permissionScope Manage Challenges
|
|
6631
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
6524
6632
|
* @permissionScope Set Up Automations
|
|
6525
6633
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
6526
6634
|
* @applicableIdentity APP
|
|
@@ -6545,6 +6653,9 @@ export interface GetFormOptions {
|
|
|
6545
6653
|
* @requiredField form.rules._id
|
|
6546
6654
|
* @requiredField form.steps._id
|
|
6547
6655
|
* @permissionId WIX_FORMS.FORM_SCHEMA_UPDATE
|
|
6656
|
+
* @permissionScope Manage Challenges
|
|
6657
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
6658
|
+
* @applicableIdentity APP
|
|
6548
6659
|
* @returns The updated form.
|
|
6549
6660
|
* @fqn wix.forms.v4.FormSchemaService.UpdateForm
|
|
6550
6661
|
*/
|
|
@@ -6653,6 +6764,9 @@ export interface UpdateForm {
|
|
|
6653
6764
|
* @documentationMaturity preview
|
|
6654
6765
|
* @requiredField formId
|
|
6655
6766
|
* @permissionId WIX_FORMS.FORM_SCHEMA_DELETE
|
|
6767
|
+
* @permissionScope Manage Challenges
|
|
6768
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
6769
|
+
* @applicableIdentity APP
|
|
6656
6770
|
* @fqn wix.forms.v4.FormSchemaService.RemoveFormFromTrashBin
|
|
6657
6771
|
*/
|
|
6658
6772
|
export declare function removeFormFromTrashBin(formId: string): Promise<void>;
|
|
@@ -6664,6 +6778,9 @@ export declare function removeFormFromTrashBin(formId: string): Promise<void>;
|
|
|
6664
6778
|
* @documentationMaturity preview
|
|
6665
6779
|
* @requiredField formId
|
|
6666
6780
|
* @permissionId WIX_FORMS.FORM_SCHEMA_DELETE
|
|
6781
|
+
* @permissionScope Manage Challenges
|
|
6782
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
6783
|
+
* @applicableIdentity APP
|
|
6667
6784
|
* @fqn wix.forms.v4.FormSchemaService.DeleteForm
|
|
6668
6785
|
*/
|
|
6669
6786
|
export declare function deleteForm(formId: string, options?: DeleteFormOptions): Promise<void>;
|
|
@@ -6681,6 +6798,9 @@ export interface DeleteFormOptions {
|
|
|
6681
6798
|
* @documentationMaturity preview
|
|
6682
6799
|
* @requiredField formId
|
|
6683
6800
|
* @permissionId WIX_FORMS.FORM_SCHEMA_CREATE
|
|
6801
|
+
* @permissionScope Manage Challenges
|
|
6802
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
6803
|
+
* @applicableIdentity APP
|
|
6684
6804
|
* @fqn wix.forms.v4.FormSchemaService.RestoreFromTrashBin
|
|
6685
6805
|
*/
|
|
6686
6806
|
export declare function restoreFromTrashBin(formId: string): Promise<RestoreFromTrashBinResponse & RestoreFromTrashBinResponseNonNullableFields>;
|
|
@@ -6692,6 +6812,8 @@ export declare function restoreFromTrashBin(formId: string): Promise<RestoreFrom
|
|
|
6692
6812
|
* @permissionScopeId SCOPE.DC-FORMS.MANAGE-SUBMISSIONS
|
|
6693
6813
|
* @permissionScope Manage form submissions.
|
|
6694
6814
|
* @permissionScopeId SCOPE.FORMS.MANAGE-SUBMISSIONS
|
|
6815
|
+
* @permissionScope Manage Challenges
|
|
6816
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
6695
6817
|
* @permissionScope Set Up Automations
|
|
6696
6818
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
6697
6819
|
* @permissionId WIX_FORMS.FORM_SCHEMA_READ
|
|
@@ -6776,28 +6898,63 @@ export interface FormsQueryBuilder {
|
|
|
6776
6898
|
}
|
|
6777
6899
|
/**
|
|
6778
6900
|
* Counts forms.
|
|
6779
|
-
* @param namespace - Namespace name.
|
|
6780
6901
|
* @public
|
|
6781
6902
|
* @documentationMaturity preview
|
|
6782
|
-
* @requiredField namespace
|
|
6903
|
+
* @requiredField options.namespace
|
|
6783
6904
|
* @permissionId WIX_FORMS.FORM_SCHEMA_READ
|
|
6784
6905
|
* @permissionScope Manage Submissions
|
|
6785
6906
|
* @permissionScopeId SCOPE.DC-FORMS.MANAGE-SUBMISSIONS
|
|
6786
6907
|
* @permissionScope Manage form submissions.
|
|
6787
6908
|
* @permissionScopeId SCOPE.FORMS.MANAGE-SUBMISSIONS
|
|
6909
|
+
* @permissionScope Manage Challenges
|
|
6910
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
6788
6911
|
* @permissionScope Set Up Automations
|
|
6789
6912
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
6790
6913
|
* @applicableIdentity APP
|
|
6791
6914
|
* @applicableIdentity VISITOR
|
|
6792
|
-
* @fqn wix.forms.v4.FormSchemaService.
|
|
6915
|
+
* @fqn wix.forms.v4.FormSchemaService.CountFormsByFilter
|
|
6793
6916
|
*/
|
|
6794
|
-
export declare function
|
|
6795
|
-
export interface
|
|
6917
|
+
export declare function countFormsByFilter(options?: CountFormsByFilterOptions): Promise<CountFormsByFilterResponse & CountFormsByFilterResponseNonNullableFields>;
|
|
6918
|
+
export interface CountFormsByFilterOptions {
|
|
6919
|
+
/** Filter */
|
|
6920
|
+
filter?: Record<string, any> | null;
|
|
6796
6921
|
/**
|
|
6797
|
-
*
|
|
6798
|
-
* @
|
|
6922
|
+
* Namespace
|
|
6923
|
+
* @minLength 10
|
|
6924
|
+
* @maxLength 50
|
|
6925
|
+
* @immutable
|
|
6799
6926
|
*/
|
|
6800
|
-
|
|
6927
|
+
namespace: string;
|
|
6928
|
+
}
|
|
6929
|
+
/**
|
|
6930
|
+
* Counts deleted forms.
|
|
6931
|
+
* @public
|
|
6932
|
+
* @documentationMaturity preview
|
|
6933
|
+
* @requiredField options.namespace
|
|
6934
|
+
* @permissionId WIX_FORMS.FORM_SCHEMA_READ
|
|
6935
|
+
* @permissionScope Manage Submissions
|
|
6936
|
+
* @permissionScopeId SCOPE.DC-FORMS.MANAGE-SUBMISSIONS
|
|
6937
|
+
* @permissionScope Manage form submissions.
|
|
6938
|
+
* @permissionScopeId SCOPE.FORMS.MANAGE-SUBMISSIONS
|
|
6939
|
+
* @permissionScope Manage Challenges
|
|
6940
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
6941
|
+
* @permissionScope Set Up Automations
|
|
6942
|
+
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
6943
|
+
* @applicableIdentity APP
|
|
6944
|
+
* @applicableIdentity VISITOR
|
|
6945
|
+
* @fqn wix.forms.v4.FormSchemaService.CountDeletedForms
|
|
6946
|
+
*/
|
|
6947
|
+
export declare function countDeletedForms(options?: CountDeletedFormsOptions): Promise<CountDeletedFormsResponse & CountDeletedFormsResponseNonNullableFields>;
|
|
6948
|
+
export interface CountDeletedFormsOptions {
|
|
6949
|
+
/** Filter */
|
|
6950
|
+
filter?: Record<string, any> | null;
|
|
6951
|
+
/**
|
|
6952
|
+
* Namespace
|
|
6953
|
+
* @minLength 10
|
|
6954
|
+
* @maxLength 50
|
|
6955
|
+
* @immutable
|
|
6956
|
+
*/
|
|
6957
|
+
namespace: string;
|
|
6801
6958
|
}
|
|
6802
6959
|
/**
|
|
6803
6960
|
* Lists forms, filtered by namespace and its disabled status. If specified, sorts forms in the desired order.
|
|
@@ -6811,6 +6968,8 @@ export interface CountFormsOptions {
|
|
|
6811
6968
|
* @permissionScopeId SCOPE.DC-FORMS.MANAGE-SUBMISSIONS
|
|
6812
6969
|
* @permissionScope Manage form submissions.
|
|
6813
6970
|
* @permissionScopeId SCOPE.FORMS.MANAGE-SUBMISSIONS
|
|
6971
|
+
* @permissionScope Manage Challenges
|
|
6972
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
6814
6973
|
* @permissionScope Set Up Automations
|
|
6815
6974
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
6816
6975
|
* @applicableIdentity APP
|
|
@@ -6877,6 +7036,8 @@ export interface ListFormsOptions {
|
|
|
6877
7036
|
* @permissionScopeId SCOPE.DC-FORMS.MANAGE-SUBMISSIONS
|
|
6878
7037
|
* @permissionScope Manage form submissions.
|
|
6879
7038
|
* @permissionScopeId SCOPE.FORMS.MANAGE-SUBMISSIONS
|
|
7039
|
+
* @permissionScope Manage Challenges
|
|
7040
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
6880
7041
|
* @permissionScope Set Up Automations
|
|
6881
7042
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
6882
7043
|
* @applicableIdentity APP
|
|
@@ -6895,6 +7056,8 @@ export declare function getDeletedForm(formId: string): Promise<GetDeletedFormRe
|
|
|
6895
7056
|
* @permissionScopeId SCOPE.DC-FORMS.MANAGE-SUBMISSIONS
|
|
6896
7057
|
* @permissionScope Manage form submissions.
|
|
6897
7058
|
* @permissionScopeId SCOPE.FORMS.MANAGE-SUBMISSIONS
|
|
7059
|
+
* @permissionScope Manage Challenges
|
|
7060
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
6898
7061
|
* @permissionScope Set Up Automations
|
|
6899
7062
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
6900
7063
|
* @applicableIdentity APP
|
|
@@ -6913,6 +7076,8 @@ export declare function queryDeletedForms(query: CursorQuery): Promise<QueryDele
|
|
|
6913
7076
|
* @permissionScopeId SCOPE.DC-FORMS.MANAGE-SUBMISSIONS
|
|
6914
7077
|
* @permissionScope Manage form submissions.
|
|
6915
7078
|
* @permissionScopeId SCOPE.FORMS.MANAGE-SUBMISSIONS
|
|
7079
|
+
* @permissionScope Manage Challenges
|
|
7080
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
6916
7081
|
* @permissionScope Set Up Automations
|
|
6917
7082
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
6918
7083
|
* @applicableIdentity APP
|
|
@@ -6974,6 +7139,9 @@ export interface BulkRemoveDeletedFieldOptions {
|
|
|
6974
7139
|
* @requiredField options
|
|
6975
7140
|
* @requiredField options.namespaceData
|
|
6976
7141
|
* @permissionId WIX_FORMS.FORM_SCHEMA_UPDATE
|
|
7142
|
+
* @permissionScope Manage Challenges
|
|
7143
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
7144
|
+
* @applicableIdentity APP
|
|
6977
7145
|
* @fqn wix.forms.v4.FormSchemaService.UpdateExtendedFields
|
|
6978
7146
|
*/
|
|
6979
7147
|
export declare function updateExtendedFields(_id: string, namespace: string, options: UpdateExtendedFieldsOptions): Promise<UpdateExtendedFieldsResponse & UpdateExtendedFieldsResponseNonNullableFields>;
|
|
@@ -6986,6 +7154,9 @@ export interface UpdateExtendedFieldsOptions {
|
|
|
6986
7154
|
* @public
|
|
6987
7155
|
* @documentationMaturity preview
|
|
6988
7156
|
* @permissionId WIX_FORMS.FORM_SCHEMA_UPDATE
|
|
7157
|
+
* @permissionScope Manage Challenges
|
|
7158
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
7159
|
+
* @applicableIdentity APP
|
|
6989
7160
|
* @fqn wix.forms.v4.FormSchemaService.ListFormsProvidersConfigs
|
|
6990
7161
|
*/
|
|
6991
7162
|
export declare function listFormsProvidersConfigs(): Promise<ListFormsProvidersConfigsResponse & ListFormsProvidersConfigsResponseNonNullableFields>;
|
|
@@ -7000,6 +7171,8 @@ export declare function listFormsProvidersConfigs(): Promise<ListFormsProvidersC
|
|
|
7000
7171
|
* @permissionScopeId SCOPE.DC-FORMS.MANAGE-SUBMISSIONS
|
|
7001
7172
|
* @permissionScope Manage form submissions.
|
|
7002
7173
|
* @permissionScopeId SCOPE.FORMS.MANAGE-SUBMISSIONS
|
|
7174
|
+
* @permissionScope Manage Challenges
|
|
7175
|
+
* @permissionScopeId SCOPE.CHALLENGES.MANAGE
|
|
7003
7176
|
* @permissionScope Set Up Automations
|
|
7004
7177
|
* @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
|
|
7005
7178
|
* @applicableIdentity APP
|