@wix/auto_sdk_forms_submissions 1.0.27 → 1.0.29
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/{internal/cjs/src/forms-v4-submission-submissions.universal.d.ts → cjs/forms-v4-submission-submissions.universal-BScz75Gj.d.ts} +1534 -1205
- package/build/cjs/index.d.ts +327 -1
- package/build/cjs/index.js +2974 -15
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +28 -1
- package/build/cjs/index.typings.js +2605 -15
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1043 -1
- package/build/cjs/meta.js +1277 -15
- package/build/cjs/meta.js.map +1 -1
- package/build/{internal/es/src/forms-v4-submission-submissions.universal.d.ts → es/forms-v4-submission-submissions.universal-BScz75Gj.d.mts} +1534 -1205
- package/build/es/index.d.mts +327 -0
- package/build/es/index.mjs +2815 -0
- package/build/es/index.mjs.map +1 -0
- package/build/es/index.typings.d.mts +28 -0
- package/build/es/index.typings.mjs +2453 -0
- package/build/es/index.typings.mjs.map +1 -0
- package/build/es/meta.d.mts +1043 -0
- package/build/es/meta.mjs +1228 -0
- package/build/es/meta.mjs.map +1 -0
- package/build/{cjs/src/forms-v4-submission-submissions.universal.d.ts → internal/cjs/forms-v4-submission-submissions.universal-BIIcc2WV.d.ts} +1561 -1170
- package/build/internal/cjs/index.d.ts +349 -1
- package/build/internal/cjs/index.js +2974 -15
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +28 -1
- package/build/internal/cjs/index.typings.js +2605 -15
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +1043 -1
- package/build/internal/cjs/meta.js +1277 -15
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/{es/src/forms-v4-submission-submissions.universal.d.ts → internal/es/forms-v4-submission-submissions.universal-BIIcc2WV.d.mts} +1561 -1170
- package/build/internal/es/index.d.mts +349 -0
- package/build/internal/es/index.mjs +2815 -0
- package/build/internal/es/index.mjs.map +1 -0
- package/build/internal/es/index.typings.d.mts +28 -0
- package/build/internal/es/index.typings.mjs +2453 -0
- package/build/internal/es/index.typings.mjs.map +1 -0
- package/build/internal/es/meta.d.mts +1043 -0
- package/build/internal/es/meta.mjs +1228 -0
- package/build/internal/es/meta.mjs.map +1 -0
- package/package.json +12 -10
- package/build/cjs/src/forms-v4-submission-submissions.context.d.ts +0 -65
- package/build/cjs/src/forms-v4-submission-submissions.context.js +0 -170
- package/build/cjs/src/forms-v4-submission-submissions.context.js.map +0 -1
- package/build/cjs/src/forms-v4-submission-submissions.http.d.ts +0 -126
- package/build/cjs/src/forms-v4-submission-submissions.http.js +0 -849
- package/build/cjs/src/forms-v4-submission-submissions.http.js.map +0 -1
- package/build/cjs/src/forms-v4-submission-submissions.meta.d.ts +0 -58
- package/build/cjs/src/forms-v4-submission-submissions.meta.js +0 -522
- package/build/cjs/src/forms-v4-submission-submissions.meta.js.map +0 -1
- package/build/cjs/src/forms-v4-submission-submissions.public.d.ts +0 -268
- package/build/cjs/src/forms-v4-submission-submissions.public.js +0 -332
- package/build/cjs/src/forms-v4-submission-submissions.public.js.map +0 -1
- package/build/cjs/src/forms-v4-submission-submissions.types.d.ts +0 -6288
- package/build/cjs/src/forms-v4-submission-submissions.types.js +0 -961
- package/build/cjs/src/forms-v4-submission-submissions.types.js.map +0 -1
- package/build/cjs/src/forms-v4-submission-submissions.universal.js +0 -2217
- package/build/cjs/src/forms-v4-submission-submissions.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/src/forms-v4-submission-submissions.context.d.ts +0 -65
- package/build/es/src/forms-v4-submission-submissions.context.js +0 -69
- package/build/es/src/forms-v4-submission-submissions.context.js.map +0 -1
- package/build/es/src/forms-v4-submission-submissions.http.d.ts +0 -126
- package/build/es/src/forms-v4-submission-submissions.http.js +0 -820
- package/build/es/src/forms-v4-submission-submissions.http.js.map +0 -1
- package/build/es/src/forms-v4-submission-submissions.meta.d.ts +0 -58
- package/build/es/src/forms-v4-submission-submissions.meta.js +0 -470
- package/build/es/src/forms-v4-submission-submissions.meta.js.map +0 -1
- package/build/es/src/forms-v4-submission-submissions.public.d.ts +0 -268
- package/build/es/src/forms-v4-submission-submissions.public.js +0 -205
- package/build/es/src/forms-v4-submission-submissions.public.js.map +0 -1
- package/build/es/src/forms-v4-submission-submissions.types.d.ts +0 -6288
- package/build/es/src/forms-v4-submission-submissions.types.js +0 -957
- package/build/es/src/forms-v4-submission-submissions.types.js.map +0 -1
- package/build/es/src/forms-v4-submission-submissions.universal.js +0 -2163
- package/build/es/src/forms-v4-submission-submissions.universal.js.map +0 -1
- package/build/internal/cjs/src/forms-v4-submission-submissions.context.d.ts +0 -69
- package/build/internal/cjs/src/forms-v4-submission-submissions.context.js +0 -170
- package/build/internal/cjs/src/forms-v4-submission-submissions.context.js.map +0 -1
- package/build/internal/cjs/src/forms-v4-submission-submissions.http.d.ts +0 -126
- package/build/internal/cjs/src/forms-v4-submission-submissions.http.js +0 -849
- package/build/internal/cjs/src/forms-v4-submission-submissions.http.js.map +0 -1
- package/build/internal/cjs/src/forms-v4-submission-submissions.meta.d.ts +0 -58
- package/build/internal/cjs/src/forms-v4-submission-submissions.meta.js +0 -522
- package/build/internal/cjs/src/forms-v4-submission-submissions.meta.js.map +0 -1
- package/build/internal/cjs/src/forms-v4-submission-submissions.public.d.ts +0 -286
- package/build/internal/cjs/src/forms-v4-submission-submissions.public.js +0 -332
- package/build/internal/cjs/src/forms-v4-submission-submissions.public.js.map +0 -1
- package/build/internal/cjs/src/forms-v4-submission-submissions.types.d.ts +0 -6288
- package/build/internal/cjs/src/forms-v4-submission-submissions.types.js +0 -961
- package/build/internal/cjs/src/forms-v4-submission-submissions.types.js.map +0 -1
- package/build/internal/cjs/src/forms-v4-submission-submissions.universal.js +0 -2217
- package/build/internal/cjs/src/forms-v4-submission-submissions.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/forms-v4-submission-submissions.context.d.ts +0 -69
- package/build/internal/es/src/forms-v4-submission-submissions.context.js +0 -69
- package/build/internal/es/src/forms-v4-submission-submissions.context.js.map +0 -1
- package/build/internal/es/src/forms-v4-submission-submissions.http.d.ts +0 -126
- package/build/internal/es/src/forms-v4-submission-submissions.http.js +0 -820
- package/build/internal/es/src/forms-v4-submission-submissions.http.js.map +0 -1
- package/build/internal/es/src/forms-v4-submission-submissions.meta.d.ts +0 -58
- package/build/internal/es/src/forms-v4-submission-submissions.meta.js +0 -470
- package/build/internal/es/src/forms-v4-submission-submissions.meta.js.map +0 -1
- package/build/internal/es/src/forms-v4-submission-submissions.public.d.ts +0 -286
- package/build/internal/es/src/forms-v4-submission-submissions.public.js +0 -205
- package/build/internal/es/src/forms-v4-submission-submissions.public.js.map +0 -1
- package/build/internal/es/src/forms-v4-submission-submissions.types.d.ts +0 -6288
- package/build/internal/es/src/forms-v4-submission-submissions.types.js +0 -957
- package/build/internal/es/src/forms-v4-submission-submissions.types.js.map +0 -1
- package/build/internal/es/src/forms-v4-submission-submissions.universal.js +0 -2163
- package/build/internal/es/src/forms-v4-submission-submissions.universal.js.map +0 -1
|
@@ -1,18 +1,2608 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
15
9
|
};
|
|
16
|
-
|
|
17
|
-
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// index.typings.ts
|
|
21
|
+
var index_typings_exports = {};
|
|
22
|
+
__export(index_typings_exports, {
|
|
23
|
+
AddressInfoTag: () => AddressInfoTag,
|
|
24
|
+
Alignment: () => Alignment,
|
|
25
|
+
AppType: () => AppType,
|
|
26
|
+
ArrayComponentType: () => ArrayComponentType,
|
|
27
|
+
ArrayItemsItemType: () => ArrayItemsItemType,
|
|
28
|
+
AspectRatio: () => AspectRatio,
|
|
29
|
+
BackgroundType: () => BackgroundType,
|
|
30
|
+
BooleanComponentType: () => BooleanComponentType,
|
|
31
|
+
ButtonDataType: () => ButtonDataType,
|
|
32
|
+
CardStylesAlignment: () => CardStylesAlignment,
|
|
33
|
+
CardStylesType: () => CardStylesType,
|
|
34
|
+
ChangeableProperty: () => ChangeableProperty,
|
|
35
|
+
ComponentType: () => ComponentType,
|
|
36
|
+
ConfirmationLevel: () => ConfirmationLevel,
|
|
37
|
+
ContactField: () => ContactField,
|
|
38
|
+
Crop: () => Crop,
|
|
39
|
+
DecorationType: () => DecorationType,
|
|
40
|
+
Direction: () => Direction,
|
|
41
|
+
DisplayFieldDisplayFieldType: () => DisplayFieldDisplayFieldType,
|
|
42
|
+
DisplayFieldType: () => DisplayFieldType,
|
|
43
|
+
DividerDataAlignment: () => DividerDataAlignment,
|
|
44
|
+
EmailInfoTag: () => EmailInfoTag,
|
|
45
|
+
ErrorType: () => ErrorType,
|
|
46
|
+
FieldType: () => FieldType,
|
|
47
|
+
FirstDayOfWeek: () => FirstDayOfWeek,
|
|
48
|
+
FontType: () => FontType,
|
|
49
|
+
FormFieldContactInfoContactField: () => FormFieldContactInfoContactField,
|
|
50
|
+
FormFieldContactInfoEmailInfoTag: () => FormFieldContactInfoEmailInfoTag,
|
|
51
|
+
FormFieldContactInfoPhoneInfoTag: () => FormFieldContactInfoPhoneInfoTag,
|
|
52
|
+
FormFieldV2FieldType: () => FormFieldV2FieldType,
|
|
53
|
+
Format: () => Format,
|
|
54
|
+
FormatEnumFormat: () => FormatEnumFormat,
|
|
55
|
+
GIFType: () => GIFType,
|
|
56
|
+
IdentityType: () => IdentityType,
|
|
57
|
+
ImageFit: () => ImageFit,
|
|
58
|
+
ImagePosition: () => ImagePosition,
|
|
59
|
+
InitialExpandedItems: () => InitialExpandedItems,
|
|
60
|
+
InputFieldArrayComponentType: () => InputFieldArrayComponentType,
|
|
61
|
+
InputFieldBooleanComponentType: () => InputFieldBooleanComponentType,
|
|
62
|
+
InputFieldInputType: () => InputFieldInputType,
|
|
63
|
+
InputFieldNumberComponentType: () => InputFieldNumberComponentType,
|
|
64
|
+
InputFieldPaymentComponentType: () => InputFieldPaymentComponentType,
|
|
65
|
+
InputFieldSchedulingComponentType: () => InputFieldSchedulingComponentType,
|
|
66
|
+
InputFieldStringComponentType: () => InputFieldStringComponentType,
|
|
67
|
+
InputFieldStringTypeFormatEnumFormat: () => InputFieldStringTypeFormatEnumFormat,
|
|
68
|
+
InputFieldWixFileComponentType: () => InputFieldWixFileComponentType,
|
|
69
|
+
InputType: () => InputType,
|
|
70
|
+
ItemType: () => ItemType,
|
|
71
|
+
Kind: () => Kind,
|
|
72
|
+
Layout: () => Layout,
|
|
73
|
+
LayoutType: () => LayoutType,
|
|
74
|
+
LineStyle: () => LineStyle,
|
|
75
|
+
LinkTarget: () => LinkTarget,
|
|
76
|
+
MapType: () => MapType,
|
|
77
|
+
Mode: () => Mode,
|
|
78
|
+
MultilineAddressComponentType: () => MultilineAddressComponentType,
|
|
79
|
+
NodeType: () => NodeType,
|
|
80
|
+
NullValue: () => NullValue,
|
|
81
|
+
NumberComponentType: () => NumberComponentType,
|
|
82
|
+
NumberOfColumns: () => NumberOfColumns,
|
|
83
|
+
Operator: () => Operator,
|
|
84
|
+
OptInLevel: () => OptInLevel,
|
|
85
|
+
Orientation: () => Orientation,
|
|
86
|
+
OverrideEntityType: () => OverrideEntityType,
|
|
87
|
+
OverrideEntityTypeEnumOverrideEntityType: () => OverrideEntityTypeEnumOverrideEntityType,
|
|
88
|
+
PaymentComponentType: () => PaymentComponentType,
|
|
89
|
+
PhoneInfoTag: () => PhoneInfoTag,
|
|
90
|
+
Placement: () => Placement,
|
|
91
|
+
PluginContainerDataAlignment: () => PluginContainerDataAlignment,
|
|
92
|
+
PollLayoutDirection: () => PollLayoutDirection,
|
|
93
|
+
PollLayoutType: () => PollLayoutType,
|
|
94
|
+
Position: () => Position,
|
|
95
|
+
PriceType: () => PriceType,
|
|
96
|
+
ProductType: () => ProductType,
|
|
97
|
+
PropertiesTypeEnum: () => PropertiesTypeEnum,
|
|
98
|
+
PropertiesTypePropertiesTypeEnum: () => PropertiesTypePropertiesTypeEnum,
|
|
99
|
+
RequiredIndicator: () => RequiredIndicator,
|
|
100
|
+
RequiredIndicatorPlacement: () => RequiredIndicatorPlacement,
|
|
101
|
+
Resizing: () => Resizing,
|
|
102
|
+
SchedulingComponentType: () => SchedulingComponentType,
|
|
103
|
+
SortOrder: () => SortOrder,
|
|
104
|
+
Source: () => Source,
|
|
105
|
+
SpamFilterProtectionLevel: () => SpamFilterProtectionLevel,
|
|
106
|
+
Status: () => Status,
|
|
107
|
+
StringComponentType: () => StringComponentType,
|
|
108
|
+
StringTypeFormatEnumFormat: () => StringTypeFormatEnumFormat,
|
|
109
|
+
StylesPosition: () => StylesPosition,
|
|
110
|
+
SubmissionErrorType: () => SubmissionErrorType,
|
|
111
|
+
SubmissionStatus: () => SubmissionStatus,
|
|
112
|
+
SubmitSuccessAction: () => SubmitSuccessAction,
|
|
113
|
+
SubscriptionInfoOptInLevel: () => SubscriptionInfoOptInLevel,
|
|
114
|
+
Tag: () => Tag,
|
|
115
|
+
Target: () => Target,
|
|
116
|
+
TextAlignment: () => TextAlignment,
|
|
117
|
+
ThumbnailsAlignment: () => ThumbnailsAlignment,
|
|
118
|
+
Type: () => Type,
|
|
119
|
+
UploadFileFormat: () => UploadFileFormat,
|
|
120
|
+
ValidationFormat: () => ValidationFormat,
|
|
121
|
+
VerticalAlignment: () => VerticalAlignment,
|
|
122
|
+
ViewMode: () => ViewMode,
|
|
123
|
+
ViewRole: () => ViewRole,
|
|
124
|
+
VoteRole: () => VoteRole,
|
|
125
|
+
WebhookIdentityType: () => WebhookIdentityType,
|
|
126
|
+
Width: () => Width,
|
|
127
|
+
WidthType: () => WidthType,
|
|
128
|
+
WixFileComponentType: () => WixFileComponentType,
|
|
129
|
+
bulkDeleteSubmission: () => bulkDeleteSubmission2,
|
|
130
|
+
bulkMarkSubmissionsAsSeen: () => bulkMarkSubmissionsAsSeen2,
|
|
131
|
+
bulkRemoveSubmissionFromTrashBin: () => bulkRemoveSubmissionFromTrashBin2,
|
|
132
|
+
bulkUpdateFormSubmissionTags: () => bulkUpdateFormSubmissionTags2,
|
|
133
|
+
bulkUpdateFormSubmissionTagsByFilter: () => bulkUpdateFormSubmissionTagsByFilter2,
|
|
134
|
+
confirmSubmission: () => confirmSubmission2,
|
|
135
|
+
countDeletedSubmissions: () => countDeletedSubmissions2,
|
|
136
|
+
countSubmissions: () => countSubmissions2,
|
|
137
|
+
countSubmissionsByFilter: () => countSubmissionsByFilter2,
|
|
138
|
+
createSubmission: () => createSubmission2,
|
|
139
|
+
deleteSubmission: () => deleteSubmission2,
|
|
140
|
+
getDeletedSubmission: () => getDeletedSubmission2,
|
|
141
|
+
getFormattedSubmission: () => getFormattedSubmission2,
|
|
142
|
+
getMediaUploadUrl: () => getMediaUploadUrl2,
|
|
143
|
+
getSubmission: () => getSubmission2,
|
|
144
|
+
getSubmissionDownloadUrl: () => getSubmissionDownloadUrl2,
|
|
145
|
+
listDeletedSubmissions: () => listDeletedSubmissions2,
|
|
146
|
+
querySubmission: () => querySubmission2,
|
|
147
|
+
querySubmissionsByNamespace: () => querySubmissionsByNamespace2,
|
|
148
|
+
removeSubmissionFromTrashBin: () => removeSubmissionFromTrashBin2,
|
|
149
|
+
restoreSubmissionFromTrashBin: () => restoreSubmissionFromTrashBin2,
|
|
150
|
+
searchSubmissionsByNamespace: () => searchSubmissionsByNamespace2,
|
|
151
|
+
updateExtendedFields: () => updateExtendedFields2,
|
|
152
|
+
updateSubmission: () => updateSubmission2,
|
|
153
|
+
upsertContactFromSubmission: () => upsertContactFromSubmission2,
|
|
154
|
+
validateFormSubmission: () => validateFormSubmission2
|
|
155
|
+
});
|
|
156
|
+
module.exports = __toCommonJS(index_typings_exports);
|
|
157
|
+
|
|
158
|
+
// src/forms-v4-submission-submissions.universal.ts
|
|
159
|
+
var import_transform_error = require("@wix/sdk-runtime/transform-error");
|
|
160
|
+
var import_query_builder = require("@wix/sdk-runtime/query-builder");
|
|
161
|
+
var import_rename_all_nested_keys = require("@wix/sdk-runtime/rename-all-nested-keys");
|
|
162
|
+
|
|
163
|
+
// src/forms-v4-submission-submissions.http.ts
|
|
164
|
+
var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
|
|
165
|
+
var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
|
|
166
|
+
var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
167
|
+
var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
|
|
168
|
+
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
169
|
+
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
170
|
+
function resolveWixFormsV4FormSubmissionServiceUrl(opts) {
|
|
171
|
+
const domainToMappings = {
|
|
172
|
+
"api._api_base_domain_": [
|
|
173
|
+
{
|
|
174
|
+
srcPath: "/form-submission-service",
|
|
175
|
+
destPath: ""
|
|
176
|
+
}
|
|
177
|
+
],
|
|
178
|
+
_: [
|
|
179
|
+
{
|
|
180
|
+
srcPath: "/_api/form-submission-service",
|
|
181
|
+
destPath: ""
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
"manage._base_domain_": [
|
|
185
|
+
{
|
|
186
|
+
srcPath: "/_api/form-submission-service",
|
|
187
|
+
destPath: ""
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
srcPath: "/form-submission-service",
|
|
191
|
+
destPath: ""
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
"www._base_domain_": [
|
|
195
|
+
{
|
|
196
|
+
srcPath: "/_api/form-submission-service",
|
|
197
|
+
destPath: ""
|
|
198
|
+
}
|
|
199
|
+
],
|
|
200
|
+
"bo._base_domain_": [
|
|
201
|
+
{
|
|
202
|
+
srcPath: "/form-submission-service",
|
|
203
|
+
destPath: ""
|
|
204
|
+
}
|
|
205
|
+
],
|
|
206
|
+
"wixbo.ai": [
|
|
207
|
+
{
|
|
208
|
+
srcPath: "/form-submission-service",
|
|
209
|
+
destPath: ""
|
|
210
|
+
}
|
|
211
|
+
],
|
|
212
|
+
"wix-bo.com": [
|
|
213
|
+
{
|
|
214
|
+
srcPath: "/form-submission-service",
|
|
215
|
+
destPath: ""
|
|
216
|
+
}
|
|
217
|
+
],
|
|
218
|
+
"www.wixapis.com": [
|
|
219
|
+
{
|
|
220
|
+
srcPath: "/form-submission-service",
|
|
221
|
+
destPath: ""
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
srcPath: "/_api/form-submission-service",
|
|
225
|
+
destPath: ""
|
|
226
|
+
}
|
|
227
|
+
],
|
|
228
|
+
"apps._base_domain_": [
|
|
229
|
+
{
|
|
230
|
+
srcPath: "/form-submission-service",
|
|
231
|
+
destPath: ""
|
|
232
|
+
}
|
|
233
|
+
],
|
|
234
|
+
"editor._base_domain_": [
|
|
235
|
+
{
|
|
236
|
+
srcPath: "/_api/form-submission-service",
|
|
237
|
+
destPath: ""
|
|
238
|
+
}
|
|
239
|
+
],
|
|
240
|
+
"blocks._base_domain_": [
|
|
241
|
+
{
|
|
242
|
+
srcPath: "/_api/form-submission-service",
|
|
243
|
+
destPath: ""
|
|
244
|
+
}
|
|
245
|
+
],
|
|
246
|
+
"create.editorx": [
|
|
247
|
+
{
|
|
248
|
+
srcPath: "/_api/form-submission-service",
|
|
249
|
+
destPath: ""
|
|
250
|
+
}
|
|
251
|
+
],
|
|
252
|
+
"*.dev.wix-code.com": [
|
|
253
|
+
{
|
|
254
|
+
srcPath: "/_api/form-submission-service",
|
|
255
|
+
destPath: ""
|
|
256
|
+
}
|
|
257
|
+
],
|
|
258
|
+
"*.wixforms.com": [
|
|
259
|
+
{
|
|
260
|
+
srcPath: "/_api/form-submission-service",
|
|
261
|
+
destPath: ""
|
|
262
|
+
}
|
|
263
|
+
]
|
|
264
|
+
};
|
|
265
|
+
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
266
|
+
}
|
|
267
|
+
function resolveWixFormsV4FormSubmissionContactUpsertServiceUrl(opts) {
|
|
268
|
+
const domainToMappings = {
|
|
269
|
+
"bo._base_domain_": [
|
|
270
|
+
{
|
|
271
|
+
srcPath: "/form-submission-contact-mapping-service",
|
|
272
|
+
destPath: ""
|
|
273
|
+
}
|
|
274
|
+
],
|
|
275
|
+
"wixbo.ai": [
|
|
276
|
+
{
|
|
277
|
+
srcPath: "/form-submission-contact-mapping-service",
|
|
278
|
+
destPath: ""
|
|
279
|
+
}
|
|
280
|
+
],
|
|
281
|
+
"wix-bo.com": [
|
|
282
|
+
{
|
|
283
|
+
srcPath: "/form-submission-contact-mapping-service",
|
|
284
|
+
destPath: ""
|
|
285
|
+
}
|
|
286
|
+
],
|
|
287
|
+
"www.wixapis.com": [
|
|
288
|
+
{
|
|
289
|
+
srcPath: "/form-submission-contact-mapping-service",
|
|
290
|
+
destPath: ""
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
srcPath: "/_api/form-submission-contact-mapping-service",
|
|
294
|
+
destPath: ""
|
|
295
|
+
}
|
|
296
|
+
]
|
|
297
|
+
};
|
|
298
|
+
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
299
|
+
}
|
|
300
|
+
var PACKAGE_NAME = "@wix/auto_sdk_forms_submissions";
|
|
301
|
+
function upsertContactFromSubmission(payload) {
|
|
302
|
+
function __upsertContactFromSubmission({ host }) {
|
|
303
|
+
const metadata = {
|
|
304
|
+
entityFqdn: "wix.forms.v4.submission",
|
|
305
|
+
method: "POST",
|
|
306
|
+
methodFqn: "wix.forms.v4.FormSubmissionContactUpsertService.UpsertContactFromSubmission",
|
|
307
|
+
packageName: PACKAGE_NAME,
|
|
308
|
+
url: resolveWixFormsV4FormSubmissionContactUpsertServiceUrl({
|
|
309
|
+
protoPath: "/v4/submissions-contacts",
|
|
310
|
+
data: payload,
|
|
311
|
+
host
|
|
312
|
+
}),
|
|
313
|
+
data: payload
|
|
314
|
+
};
|
|
315
|
+
return metadata;
|
|
316
|
+
}
|
|
317
|
+
return __upsertContactFromSubmission;
|
|
318
|
+
}
|
|
319
|
+
function createSubmission(payload) {
|
|
320
|
+
function __createSubmission({ host }) {
|
|
321
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
322
|
+
{
|
|
323
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
324
|
+
paths: [
|
|
325
|
+
{ path: "submission.createdDate" },
|
|
326
|
+
{ path: "submission.updatedDate" }
|
|
327
|
+
]
|
|
328
|
+
}
|
|
329
|
+
]);
|
|
330
|
+
const metadata = {
|
|
331
|
+
entityFqdn: "wix.forms.v4.submission",
|
|
332
|
+
method: "POST",
|
|
333
|
+
methodFqn: "wix.forms.v4.FormSubmissionService.CreateSubmission",
|
|
334
|
+
packageName: PACKAGE_NAME,
|
|
335
|
+
url: resolveWixFormsV4FormSubmissionServiceUrl({
|
|
336
|
+
protoPath: "/v4/submissions",
|
|
337
|
+
data: serializedData,
|
|
338
|
+
host
|
|
339
|
+
}),
|
|
340
|
+
data: serializedData,
|
|
341
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
342
|
+
{
|
|
343
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
344
|
+
paths: [
|
|
345
|
+
{ path: "submission.createdDate" },
|
|
346
|
+
{ path: "submission.updatedDate" }
|
|
347
|
+
]
|
|
348
|
+
}
|
|
349
|
+
])
|
|
350
|
+
};
|
|
351
|
+
return metadata;
|
|
352
|
+
}
|
|
353
|
+
return __createSubmission;
|
|
354
|
+
}
|
|
355
|
+
function getSubmission(payload) {
|
|
356
|
+
function __getSubmission({ host }) {
|
|
357
|
+
const metadata = {
|
|
358
|
+
entityFqdn: "wix.forms.v4.submission",
|
|
359
|
+
method: "GET",
|
|
360
|
+
methodFqn: "wix.forms.v4.FormSubmissionService.GetSubmission",
|
|
361
|
+
packageName: PACKAGE_NAME,
|
|
362
|
+
url: resolveWixFormsV4FormSubmissionServiceUrl({
|
|
363
|
+
protoPath: "/v4/submissions/{submissionId}",
|
|
364
|
+
data: payload,
|
|
365
|
+
host
|
|
366
|
+
}),
|
|
367
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload),
|
|
368
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
369
|
+
{
|
|
370
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
371
|
+
paths: [
|
|
372
|
+
{ path: "submission.createdDate" },
|
|
373
|
+
{ path: "submission.updatedDate" }
|
|
374
|
+
]
|
|
375
|
+
}
|
|
376
|
+
])
|
|
377
|
+
};
|
|
378
|
+
return metadata;
|
|
379
|
+
}
|
|
380
|
+
return __getSubmission;
|
|
381
|
+
}
|
|
382
|
+
function updateSubmission(payload) {
|
|
383
|
+
function __updateSubmission({ host }) {
|
|
384
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
385
|
+
{
|
|
386
|
+
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
387
|
+
paths: [{ path: "mask" }]
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
391
|
+
paths: [
|
|
392
|
+
{ path: "submission.createdDate" },
|
|
393
|
+
{ path: "submission.updatedDate" }
|
|
394
|
+
]
|
|
395
|
+
}
|
|
396
|
+
]);
|
|
397
|
+
const metadata = {
|
|
398
|
+
entityFqdn: "wix.forms.v4.submission",
|
|
399
|
+
method: "PATCH",
|
|
400
|
+
methodFqn: "wix.forms.v4.FormSubmissionService.UpdateSubmission",
|
|
401
|
+
packageName: PACKAGE_NAME,
|
|
402
|
+
url: resolveWixFormsV4FormSubmissionServiceUrl({
|
|
403
|
+
protoPath: "/v4/submissions/{submission.id}",
|
|
404
|
+
data: serializedData,
|
|
405
|
+
host
|
|
406
|
+
}),
|
|
407
|
+
data: serializedData,
|
|
408
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
409
|
+
{
|
|
410
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
411
|
+
paths: [
|
|
412
|
+
{ path: "submission.createdDate" },
|
|
413
|
+
{ path: "submission.updatedDate" }
|
|
414
|
+
]
|
|
415
|
+
}
|
|
416
|
+
])
|
|
417
|
+
};
|
|
418
|
+
return metadata;
|
|
419
|
+
}
|
|
420
|
+
return __updateSubmission;
|
|
421
|
+
}
|
|
422
|
+
function confirmSubmission(payload) {
|
|
423
|
+
function __confirmSubmission({ host }) {
|
|
424
|
+
const metadata = {
|
|
425
|
+
entityFqdn: "wix.forms.v4.submission",
|
|
426
|
+
method: "POST",
|
|
427
|
+
methodFqn: "wix.forms.v4.FormSubmissionService.ConfirmSubmission",
|
|
428
|
+
packageName: PACKAGE_NAME,
|
|
429
|
+
url: resolveWixFormsV4FormSubmissionServiceUrl({
|
|
430
|
+
protoPath: "/v4/submissions/{submissionId}/confirm",
|
|
431
|
+
data: payload,
|
|
432
|
+
host
|
|
433
|
+
}),
|
|
434
|
+
data: payload,
|
|
435
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
436
|
+
{
|
|
437
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
438
|
+
paths: [
|
|
439
|
+
{ path: "submission.createdDate" },
|
|
440
|
+
{ path: "submission.updatedDate" }
|
|
441
|
+
]
|
|
442
|
+
}
|
|
443
|
+
])
|
|
444
|
+
};
|
|
445
|
+
return metadata;
|
|
446
|
+
}
|
|
447
|
+
return __confirmSubmission;
|
|
448
|
+
}
|
|
449
|
+
function deleteSubmission(payload) {
|
|
450
|
+
function __deleteSubmission({ host }) {
|
|
451
|
+
const metadata = {
|
|
452
|
+
entityFqdn: "wix.forms.v4.submission",
|
|
453
|
+
method: "DELETE",
|
|
454
|
+
methodFqn: "wix.forms.v4.FormSubmissionService.DeleteSubmission",
|
|
455
|
+
packageName: PACKAGE_NAME,
|
|
456
|
+
url: resolveWixFormsV4FormSubmissionServiceUrl({
|
|
457
|
+
protoPath: "/v4/submissions/{submissionId}",
|
|
458
|
+
data: payload,
|
|
459
|
+
host
|
|
460
|
+
}),
|
|
461
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload)
|
|
462
|
+
};
|
|
463
|
+
return metadata;
|
|
464
|
+
}
|
|
465
|
+
return __deleteSubmission;
|
|
466
|
+
}
|
|
467
|
+
function bulkDeleteSubmission(payload) {
|
|
468
|
+
function __bulkDeleteSubmission({ host }) {
|
|
469
|
+
const metadata = {
|
|
470
|
+
entityFqdn: "wix.forms.v4.submission",
|
|
471
|
+
method: "POST",
|
|
472
|
+
methodFqn: "wix.forms.v4.FormSubmissionService.BulkDeleteSubmission",
|
|
473
|
+
packageName: PACKAGE_NAME,
|
|
474
|
+
url: resolveWixFormsV4FormSubmissionServiceUrl({
|
|
475
|
+
protoPath: "/v4/bulk/submissions/delete",
|
|
476
|
+
data: payload,
|
|
477
|
+
host
|
|
478
|
+
}),
|
|
479
|
+
data: payload
|
|
480
|
+
};
|
|
481
|
+
return metadata;
|
|
482
|
+
}
|
|
483
|
+
return __bulkDeleteSubmission;
|
|
484
|
+
}
|
|
485
|
+
function restoreSubmissionFromTrashBin(payload) {
|
|
486
|
+
function __restoreSubmissionFromTrashBin({ host }) {
|
|
487
|
+
const metadata = {
|
|
488
|
+
entityFqdn: "wix.forms.v4.submission",
|
|
489
|
+
method: "POST",
|
|
490
|
+
methodFqn: "wix.forms.v4.FormSubmissionService.RestoreSubmissionFromTrashBin",
|
|
491
|
+
packageName: PACKAGE_NAME,
|
|
492
|
+
url: resolveWixFormsV4FormSubmissionServiceUrl({
|
|
493
|
+
protoPath: "/v4/submissions/trash-bin/{submissionId}/restore",
|
|
494
|
+
data: payload,
|
|
495
|
+
host
|
|
496
|
+
}),
|
|
497
|
+
data: payload,
|
|
498
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
499
|
+
{
|
|
500
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
501
|
+
paths: [
|
|
502
|
+
{ path: "submission.createdDate" },
|
|
503
|
+
{ path: "submission.updatedDate" }
|
|
504
|
+
]
|
|
505
|
+
}
|
|
506
|
+
])
|
|
507
|
+
};
|
|
508
|
+
return metadata;
|
|
509
|
+
}
|
|
510
|
+
return __restoreSubmissionFromTrashBin;
|
|
511
|
+
}
|
|
512
|
+
function removeSubmissionFromTrashBin(payload) {
|
|
513
|
+
function __removeSubmissionFromTrashBin({ host }) {
|
|
514
|
+
const metadata = {
|
|
515
|
+
entityFqdn: "wix.forms.v4.submission",
|
|
516
|
+
method: "DELETE",
|
|
517
|
+
methodFqn: "wix.forms.v4.FormSubmissionService.RemoveSubmissionFromTrashBin",
|
|
518
|
+
packageName: PACKAGE_NAME,
|
|
519
|
+
url: resolveWixFormsV4FormSubmissionServiceUrl({
|
|
520
|
+
protoPath: "/v4/submissions/trash-bin/{submissionId}",
|
|
521
|
+
data: payload,
|
|
522
|
+
host
|
|
523
|
+
}),
|
|
524
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload)
|
|
525
|
+
};
|
|
526
|
+
return metadata;
|
|
527
|
+
}
|
|
528
|
+
return __removeSubmissionFromTrashBin;
|
|
529
|
+
}
|
|
530
|
+
function bulkRemoveSubmissionFromTrashBin(payload) {
|
|
531
|
+
function __bulkRemoveSubmissionFromTrashBin({ host }) {
|
|
532
|
+
const metadata = {
|
|
533
|
+
entityFqdn: "wix.forms.v4.submission",
|
|
534
|
+
method: "POST",
|
|
535
|
+
methodFqn: "wix.forms.v4.FormSubmissionService.BulkRemoveSubmissionFromTrashBin",
|
|
536
|
+
packageName: PACKAGE_NAME,
|
|
537
|
+
url: resolveWixFormsV4FormSubmissionServiceUrl({
|
|
538
|
+
protoPath: "/v4/submissions/trash-bin/delete",
|
|
539
|
+
data: payload,
|
|
540
|
+
host
|
|
541
|
+
}),
|
|
542
|
+
data: payload
|
|
543
|
+
};
|
|
544
|
+
return metadata;
|
|
545
|
+
}
|
|
546
|
+
return __bulkRemoveSubmissionFromTrashBin;
|
|
547
|
+
}
|
|
548
|
+
function listDeletedSubmissions(payload) {
|
|
549
|
+
function __listDeletedSubmissions({ host }) {
|
|
550
|
+
const metadata = {
|
|
551
|
+
entityFqdn: "wix.forms.v4.submission",
|
|
552
|
+
method: "GET",
|
|
553
|
+
methodFqn: "wix.forms.v4.FormSubmissionService.ListDeletedSubmissions",
|
|
554
|
+
packageName: PACKAGE_NAME,
|
|
555
|
+
url: resolveWixFormsV4FormSubmissionServiceUrl({
|
|
556
|
+
protoPath: "/v4/submissions/trash-bin",
|
|
557
|
+
data: payload,
|
|
558
|
+
host
|
|
559
|
+
}),
|
|
560
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload),
|
|
561
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
562
|
+
{
|
|
563
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
564
|
+
paths: [
|
|
565
|
+
{ path: "submissions.createdDate" },
|
|
566
|
+
{ path: "submissions.updatedDate" }
|
|
567
|
+
]
|
|
568
|
+
}
|
|
569
|
+
])
|
|
570
|
+
};
|
|
571
|
+
return metadata;
|
|
572
|
+
}
|
|
573
|
+
return __listDeletedSubmissions;
|
|
574
|
+
}
|
|
575
|
+
function getDeletedSubmission(payload) {
|
|
576
|
+
function __getDeletedSubmission({ host }) {
|
|
577
|
+
const metadata = {
|
|
578
|
+
entityFqdn: "wix.forms.v4.submission",
|
|
579
|
+
method: "GET",
|
|
580
|
+
methodFqn: "wix.forms.v4.FormSubmissionService.GetDeletedSubmission",
|
|
581
|
+
packageName: PACKAGE_NAME,
|
|
582
|
+
url: resolveWixFormsV4FormSubmissionServiceUrl({
|
|
583
|
+
protoPath: "/v4/submissions/trash-bin/{submissionId}",
|
|
584
|
+
data: payload,
|
|
585
|
+
host
|
|
586
|
+
}),
|
|
587
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload),
|
|
588
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
589
|
+
{
|
|
590
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
591
|
+
paths: [
|
|
592
|
+
{ path: "submission.createdDate" },
|
|
593
|
+
{ path: "submission.updatedDate" }
|
|
594
|
+
]
|
|
595
|
+
}
|
|
596
|
+
])
|
|
597
|
+
};
|
|
598
|
+
return metadata;
|
|
599
|
+
}
|
|
600
|
+
return __getDeletedSubmission;
|
|
601
|
+
}
|
|
602
|
+
function querySubmission(payload) {
|
|
603
|
+
function __querySubmission({ host }) {
|
|
604
|
+
const metadata = {
|
|
605
|
+
entityFqdn: "wix.forms.v4.submission",
|
|
606
|
+
method: "POST",
|
|
607
|
+
methodFqn: "wix.forms.v4.FormSubmissionService.QuerySubmission",
|
|
608
|
+
packageName: PACKAGE_NAME,
|
|
609
|
+
url: resolveWixFormsV4FormSubmissionServiceUrl({
|
|
610
|
+
protoPath: "/v4/submissions/query",
|
|
611
|
+
data: payload,
|
|
612
|
+
host
|
|
613
|
+
}),
|
|
614
|
+
data: payload,
|
|
615
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
616
|
+
{
|
|
617
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
618
|
+
paths: [
|
|
619
|
+
{ path: "submissions.createdDate" },
|
|
620
|
+
{ path: "submissions.updatedDate" }
|
|
621
|
+
]
|
|
622
|
+
}
|
|
623
|
+
])
|
|
624
|
+
};
|
|
625
|
+
return metadata;
|
|
626
|
+
}
|
|
627
|
+
return __querySubmission;
|
|
628
|
+
}
|
|
629
|
+
function searchSubmissionsByNamespace(payload) {
|
|
630
|
+
function __searchSubmissionsByNamespace({ host }) {
|
|
631
|
+
const metadata = {
|
|
632
|
+
entityFqdn: "wix.forms.v4.submission",
|
|
633
|
+
method: "POST",
|
|
634
|
+
methodFqn: "wix.forms.v4.FormSubmissionService.SearchSubmissionsByNamespace",
|
|
635
|
+
packageName: PACKAGE_NAME,
|
|
636
|
+
url: resolveWixFormsV4FormSubmissionServiceUrl({
|
|
637
|
+
protoPath: "/v4/submissions/namespace/search",
|
|
638
|
+
data: payload,
|
|
639
|
+
host
|
|
640
|
+
}),
|
|
641
|
+
data: payload,
|
|
642
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
643
|
+
{
|
|
644
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
645
|
+
paths: [
|
|
646
|
+
{ path: "submissions.createdDate" },
|
|
647
|
+
{ path: "submissions.updatedDate" }
|
|
648
|
+
]
|
|
649
|
+
}
|
|
650
|
+
])
|
|
651
|
+
};
|
|
652
|
+
return metadata;
|
|
653
|
+
}
|
|
654
|
+
return __searchSubmissionsByNamespace;
|
|
655
|
+
}
|
|
656
|
+
function querySubmissionsByNamespace(payload) {
|
|
657
|
+
function __querySubmissionsByNamespace({ host }) {
|
|
658
|
+
const metadata = {
|
|
659
|
+
entityFqdn: "wix.forms.v4.submission",
|
|
660
|
+
method: "POST",
|
|
661
|
+
methodFqn: "wix.forms.v4.FormSubmissionService.QuerySubmissionsByNamespace",
|
|
662
|
+
packageName: PACKAGE_NAME,
|
|
663
|
+
url: resolveWixFormsV4FormSubmissionServiceUrl({
|
|
664
|
+
protoPath: "/v4/submissions/namespace/query",
|
|
665
|
+
data: payload,
|
|
666
|
+
host
|
|
667
|
+
}),
|
|
668
|
+
data: payload,
|
|
669
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
670
|
+
{
|
|
671
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
672
|
+
paths: [
|
|
673
|
+
{ path: "submissions.createdDate" },
|
|
674
|
+
{ path: "submissions.updatedDate" }
|
|
675
|
+
]
|
|
676
|
+
}
|
|
677
|
+
])
|
|
678
|
+
};
|
|
679
|
+
return metadata;
|
|
680
|
+
}
|
|
681
|
+
return __querySubmissionsByNamespace;
|
|
682
|
+
}
|
|
683
|
+
function countSubmissionsByFilter(payload) {
|
|
684
|
+
function __countSubmissionsByFilter({ host }) {
|
|
685
|
+
const metadata = {
|
|
686
|
+
entityFqdn: "wix.forms.v4.submission",
|
|
687
|
+
method: "POST",
|
|
688
|
+
methodFqn: "wix.forms.v4.FormSubmissionService.CountSubmissionsByFilter",
|
|
689
|
+
packageName: PACKAGE_NAME,
|
|
690
|
+
url: resolveWixFormsV4FormSubmissionServiceUrl({
|
|
691
|
+
protoPath: "/v4/submissions/count-by-filter",
|
|
692
|
+
data: payload,
|
|
693
|
+
host
|
|
694
|
+
}),
|
|
695
|
+
data: payload
|
|
696
|
+
};
|
|
697
|
+
return metadata;
|
|
698
|
+
}
|
|
699
|
+
return __countSubmissionsByFilter;
|
|
700
|
+
}
|
|
701
|
+
function countSubmissions(payload) {
|
|
702
|
+
function __countSubmissions({ host }) {
|
|
703
|
+
const metadata = {
|
|
704
|
+
entityFqdn: "wix.forms.v4.submission",
|
|
705
|
+
method: "POST",
|
|
706
|
+
methodFqn: "wix.forms.v4.FormSubmissionService.CountSubmissions",
|
|
707
|
+
packageName: PACKAGE_NAME,
|
|
708
|
+
url: resolveWixFormsV4FormSubmissionServiceUrl({
|
|
709
|
+
protoPath: "/v4/submissions/count",
|
|
710
|
+
data: payload,
|
|
711
|
+
host
|
|
712
|
+
}),
|
|
713
|
+
data: payload
|
|
714
|
+
};
|
|
715
|
+
return metadata;
|
|
716
|
+
}
|
|
717
|
+
return __countSubmissions;
|
|
718
|
+
}
|
|
719
|
+
function countDeletedSubmissions(payload) {
|
|
720
|
+
function __countDeletedSubmissions({ host }) {
|
|
721
|
+
const metadata = {
|
|
722
|
+
entityFqdn: "wix.forms.v4.submission",
|
|
723
|
+
method: "POST",
|
|
724
|
+
methodFqn: "wix.forms.v4.FormSubmissionService.CountDeletedSubmissions",
|
|
725
|
+
packageName: PACKAGE_NAME,
|
|
726
|
+
url: resolveWixFormsV4FormSubmissionServiceUrl({
|
|
727
|
+
protoPath: "/v4/submissions/trash-bin/count",
|
|
728
|
+
data: payload,
|
|
729
|
+
host
|
|
730
|
+
}),
|
|
731
|
+
data: payload
|
|
732
|
+
};
|
|
733
|
+
return metadata;
|
|
734
|
+
}
|
|
735
|
+
return __countDeletedSubmissions;
|
|
736
|
+
}
|
|
737
|
+
function getMediaUploadUrl(payload) {
|
|
738
|
+
function __getMediaUploadUrl({ host }) {
|
|
739
|
+
const metadata = {
|
|
740
|
+
entityFqdn: "wix.forms.v4.submission",
|
|
741
|
+
method: "POST",
|
|
742
|
+
methodFqn: "wix.forms.v4.FormSubmissionService.GetMediaUploadURL",
|
|
743
|
+
packageName: PACKAGE_NAME,
|
|
744
|
+
url: resolveWixFormsV4FormSubmissionServiceUrl({
|
|
745
|
+
protoPath: "/v4/submissions/media-upload-url",
|
|
746
|
+
data: payload,
|
|
747
|
+
host
|
|
748
|
+
}),
|
|
749
|
+
data: payload
|
|
750
|
+
};
|
|
751
|
+
return metadata;
|
|
752
|
+
}
|
|
753
|
+
return __getMediaUploadUrl;
|
|
754
|
+
}
|
|
755
|
+
function bulkMarkSubmissionsAsSeen(payload) {
|
|
756
|
+
function __bulkMarkSubmissionsAsSeen({ host }) {
|
|
757
|
+
const metadata = {
|
|
758
|
+
entityFqdn: "wix.forms.v4.submission",
|
|
759
|
+
method: "POST",
|
|
760
|
+
methodFqn: "wix.forms.v4.FormSubmissionService.BulkMarkSubmissionsAsSeen",
|
|
761
|
+
packageName: PACKAGE_NAME,
|
|
762
|
+
url: resolveWixFormsV4FormSubmissionServiceUrl({
|
|
763
|
+
protoPath: "/v4/bulk/submissions/mark-as-seen",
|
|
764
|
+
data: payload,
|
|
765
|
+
host
|
|
766
|
+
}),
|
|
767
|
+
data: payload
|
|
768
|
+
};
|
|
769
|
+
return metadata;
|
|
770
|
+
}
|
|
771
|
+
return __bulkMarkSubmissionsAsSeen;
|
|
772
|
+
}
|
|
773
|
+
function getSubmissionDownloadUrl(payload) {
|
|
774
|
+
function __getSubmissionDownloadUrl({ host }) {
|
|
775
|
+
const metadata = {
|
|
776
|
+
entityFqdn: "wix.forms.v4.submission",
|
|
777
|
+
method: "GET",
|
|
778
|
+
methodFqn: "wix.forms.v4.FormSubmissionService.GetSubmissionDownloadUrl",
|
|
779
|
+
packageName: PACKAGE_NAME,
|
|
780
|
+
url: resolveWixFormsV4FormSubmissionServiceUrl({
|
|
781
|
+
protoPath: "/v4/submissions/{submissionId}/document",
|
|
782
|
+
data: payload,
|
|
783
|
+
host
|
|
784
|
+
}),
|
|
785
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload)
|
|
786
|
+
};
|
|
787
|
+
return metadata;
|
|
788
|
+
}
|
|
789
|
+
return __getSubmissionDownloadUrl;
|
|
790
|
+
}
|
|
791
|
+
function getFormattedSubmission(payload) {
|
|
792
|
+
function __getFormattedSubmission({ host }) {
|
|
793
|
+
const metadata = {
|
|
794
|
+
entityFqdn: "wix.forms.v4.submission",
|
|
795
|
+
method: "GET",
|
|
796
|
+
methodFqn: "wix.forms.v4.FormSubmissionService.GetFormattedSubmission",
|
|
797
|
+
packageName: PACKAGE_NAME,
|
|
798
|
+
url: resolveWixFormsV4FormSubmissionServiceUrl({
|
|
799
|
+
protoPath: "/v4/submissions/{submissionId}/formatted",
|
|
800
|
+
data: payload,
|
|
801
|
+
host
|
|
802
|
+
}),
|
|
803
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload)
|
|
804
|
+
};
|
|
805
|
+
return metadata;
|
|
806
|
+
}
|
|
807
|
+
return __getFormattedSubmission;
|
|
808
|
+
}
|
|
809
|
+
function updateExtendedFields(payload) {
|
|
810
|
+
function __updateExtendedFields({ host }) {
|
|
811
|
+
const metadata = {
|
|
812
|
+
entityFqdn: "wix.forms.v4.submission",
|
|
813
|
+
method: "POST",
|
|
814
|
+
methodFqn: "wix.forms.v4.FormSubmissionService.UpdateExtendedFields",
|
|
815
|
+
packageName: PACKAGE_NAME,
|
|
816
|
+
url: resolveWixFormsV4FormSubmissionServiceUrl({
|
|
817
|
+
protoPath: "/v4/submissions/{id}/extended-fields",
|
|
818
|
+
data: payload,
|
|
819
|
+
host
|
|
820
|
+
}),
|
|
821
|
+
data: payload
|
|
822
|
+
};
|
|
823
|
+
return metadata;
|
|
824
|
+
}
|
|
825
|
+
return __updateExtendedFields;
|
|
826
|
+
}
|
|
827
|
+
function bulkUpdateFormSubmissionTags(payload) {
|
|
828
|
+
function __bulkUpdateFormSubmissionTags({ host }) {
|
|
829
|
+
const metadata = {
|
|
830
|
+
entityFqdn: "wix.forms.v4.submission",
|
|
831
|
+
method: "POST",
|
|
832
|
+
methodFqn: "wix.forms.v4.FormSubmissionService.BulkUpdateFormSubmissionTags",
|
|
833
|
+
packageName: PACKAGE_NAME,
|
|
834
|
+
url: resolveWixFormsV4FormSubmissionServiceUrl({
|
|
835
|
+
protoPath: "/v4/bulk/submissions/update-tags",
|
|
836
|
+
data: payload,
|
|
837
|
+
host
|
|
838
|
+
}),
|
|
839
|
+
data: payload
|
|
840
|
+
};
|
|
841
|
+
return metadata;
|
|
842
|
+
}
|
|
843
|
+
return __bulkUpdateFormSubmissionTags;
|
|
844
|
+
}
|
|
845
|
+
function bulkUpdateFormSubmissionTagsByFilter(payload) {
|
|
846
|
+
function __bulkUpdateFormSubmissionTagsByFilter({ host }) {
|
|
847
|
+
const metadata = {
|
|
848
|
+
entityFqdn: "wix.forms.v4.submission",
|
|
849
|
+
method: "POST",
|
|
850
|
+
methodFqn: "wix.forms.v4.FormSubmissionService.BulkUpdateFormSubmissionTagsByFilter",
|
|
851
|
+
packageName: PACKAGE_NAME,
|
|
852
|
+
url: resolveWixFormsV4FormSubmissionServiceUrl({
|
|
853
|
+
protoPath: "/v4/bulk/submissions/update-tags-by-filter",
|
|
854
|
+
data: payload,
|
|
855
|
+
host
|
|
856
|
+
}),
|
|
857
|
+
data: payload
|
|
858
|
+
};
|
|
859
|
+
return metadata;
|
|
860
|
+
}
|
|
861
|
+
return __bulkUpdateFormSubmissionTagsByFilter;
|
|
862
|
+
}
|
|
863
|
+
function validateFormSubmission(payload) {
|
|
864
|
+
function __validateFormSubmission({ host }) {
|
|
865
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
866
|
+
{
|
|
867
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
868
|
+
paths: [
|
|
869
|
+
{ path: "submission.createdDate" },
|
|
870
|
+
{ path: "submission.updatedDate" }
|
|
871
|
+
]
|
|
872
|
+
}
|
|
873
|
+
]);
|
|
874
|
+
const metadata = {
|
|
875
|
+
entityFqdn: "wix.forms.v4.submission",
|
|
876
|
+
method: "POST",
|
|
877
|
+
methodFqn: "wix.forms.v4.FormSubmissionService.ValidateFormSubmission",
|
|
878
|
+
packageName: PACKAGE_NAME,
|
|
879
|
+
url: resolveWixFormsV4FormSubmissionServiceUrl({
|
|
880
|
+
protoPath: "/v4/submissions/validate",
|
|
881
|
+
data: serializedData,
|
|
882
|
+
host
|
|
883
|
+
}),
|
|
884
|
+
data: serializedData
|
|
885
|
+
};
|
|
886
|
+
return metadata;
|
|
887
|
+
}
|
|
888
|
+
return __validateFormSubmission;
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
// src/forms-v4-submission-submissions.universal.ts
|
|
892
|
+
var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
893
|
+
var SubmissionStatus = /* @__PURE__ */ ((SubmissionStatus2) => {
|
|
894
|
+
SubmissionStatus2["UNKNOWN_SUBMISSION_STATUS"] = "UNKNOWN_SUBMISSION_STATUS";
|
|
895
|
+
SubmissionStatus2["PENDING"] = "PENDING";
|
|
896
|
+
SubmissionStatus2["CONFIRMED"] = "CONFIRMED";
|
|
897
|
+
SubmissionStatus2["PAYMENT_WAITING"] = "PAYMENT_WAITING";
|
|
898
|
+
SubmissionStatus2["PAYMENT_CANCELED"] = "PAYMENT_CANCELED";
|
|
899
|
+
return SubmissionStatus2;
|
|
900
|
+
})(SubmissionStatus || {});
|
|
901
|
+
var OptInLevel = /* @__PURE__ */ ((OptInLevel2) => {
|
|
902
|
+
OptInLevel2["SINGLE_CONFIRMATION"] = "SINGLE_CONFIRMATION";
|
|
903
|
+
OptInLevel2["DOUBLE_CONFIRMATION"] = "DOUBLE_CONFIRMATION";
|
|
904
|
+
return OptInLevel2;
|
|
905
|
+
})(OptInLevel || {});
|
|
906
|
+
var StringTypeFormatEnumFormat = /* @__PURE__ */ ((StringTypeFormatEnumFormat2) => {
|
|
907
|
+
StringTypeFormatEnumFormat2["UNDEFINED"] = "UNDEFINED";
|
|
908
|
+
StringTypeFormatEnumFormat2["DATE"] = "DATE";
|
|
909
|
+
StringTypeFormatEnumFormat2["TIME"] = "TIME";
|
|
910
|
+
StringTypeFormatEnumFormat2["DATE_TIME"] = "DATE_TIME";
|
|
911
|
+
StringTypeFormatEnumFormat2["EMAIL"] = "EMAIL";
|
|
912
|
+
StringTypeFormatEnumFormat2["URL"] = "URL";
|
|
913
|
+
StringTypeFormatEnumFormat2["UUID"] = "UUID";
|
|
914
|
+
StringTypeFormatEnumFormat2["PHONE"] = "PHONE";
|
|
915
|
+
StringTypeFormatEnumFormat2["URI"] = "URI";
|
|
916
|
+
StringTypeFormatEnumFormat2["HOSTNAME"] = "HOSTNAME";
|
|
917
|
+
StringTypeFormatEnumFormat2["COLOR_HEX"] = "COLOR_HEX";
|
|
918
|
+
StringTypeFormatEnumFormat2["CURRENCY"] = "CURRENCY";
|
|
919
|
+
StringTypeFormatEnumFormat2["LANGUAGE"] = "LANGUAGE";
|
|
920
|
+
StringTypeFormatEnumFormat2["DATE_OPTIONAL_TIME"] = "DATE_OPTIONAL_TIME";
|
|
921
|
+
return StringTypeFormatEnumFormat2;
|
|
922
|
+
})(StringTypeFormatEnumFormat || {});
|
|
923
|
+
var ValidationFormat = /* @__PURE__ */ ((ValidationFormat2) => {
|
|
924
|
+
ValidationFormat2["UNDEFINED"] = "UNDEFINED";
|
|
925
|
+
ValidationFormat2["WIX_FILE"] = "WIX_FILE";
|
|
926
|
+
ValidationFormat2["PAYMENT"] = "PAYMENT";
|
|
927
|
+
ValidationFormat2["MULTILINE_ADDRESS"] = "MULTILINE_ADDRESS";
|
|
928
|
+
ValidationFormat2["SCHEDULING"] = "SCHEDULING";
|
|
929
|
+
return ValidationFormat2;
|
|
930
|
+
})(ValidationFormat || {});
|
|
931
|
+
var ProductType = /* @__PURE__ */ ((ProductType2) => {
|
|
932
|
+
ProductType2["UNKNOWN_PRODUCT_TYPE"] = "UNKNOWN_PRODUCT_TYPE";
|
|
933
|
+
ProductType2["SHIPPABLE"] = "SHIPPABLE";
|
|
934
|
+
ProductType2["DIGITAL"] = "DIGITAL";
|
|
935
|
+
return ProductType2;
|
|
936
|
+
})(ProductType || {});
|
|
937
|
+
var PriceType = /* @__PURE__ */ ((PriceType2) => {
|
|
938
|
+
PriceType2["UNKNOWN_PRICE_TYPE"] = "UNKNOWN_PRICE_TYPE";
|
|
939
|
+
PriceType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
940
|
+
PriceType2["DYNAMIC_PRICE"] = "DYNAMIC_PRICE";
|
|
941
|
+
return PriceType2;
|
|
942
|
+
})(PriceType || {});
|
|
943
|
+
var InputFieldStringTypeFormatEnumFormat = /* @__PURE__ */ ((InputFieldStringTypeFormatEnumFormat2) => {
|
|
944
|
+
InputFieldStringTypeFormatEnumFormat2["UNKNOWN_FORMAT"] = "UNKNOWN_FORMAT";
|
|
945
|
+
InputFieldStringTypeFormatEnumFormat2["DATE"] = "DATE";
|
|
946
|
+
InputFieldStringTypeFormatEnumFormat2["TIME"] = "TIME";
|
|
947
|
+
InputFieldStringTypeFormatEnumFormat2["DATE_TIME"] = "DATE_TIME";
|
|
948
|
+
InputFieldStringTypeFormatEnumFormat2["EMAIL"] = "EMAIL";
|
|
949
|
+
InputFieldStringTypeFormatEnumFormat2["URL"] = "URL";
|
|
950
|
+
InputFieldStringTypeFormatEnumFormat2["UUID"] = "UUID";
|
|
951
|
+
InputFieldStringTypeFormatEnumFormat2["PHONE"] = "PHONE";
|
|
952
|
+
InputFieldStringTypeFormatEnumFormat2["URI"] = "URI";
|
|
953
|
+
InputFieldStringTypeFormatEnumFormat2["HOSTNAME"] = "HOSTNAME";
|
|
954
|
+
InputFieldStringTypeFormatEnumFormat2["COLOR_HEX"] = "COLOR_HEX";
|
|
955
|
+
InputFieldStringTypeFormatEnumFormat2["CURRENCY"] = "CURRENCY";
|
|
956
|
+
InputFieldStringTypeFormatEnumFormat2["LANGUAGE"] = "LANGUAGE";
|
|
957
|
+
InputFieldStringTypeFormatEnumFormat2["DATE_OPTIONAL_TIME"] = "DATE_OPTIONAL_TIME";
|
|
958
|
+
return InputFieldStringTypeFormatEnumFormat2;
|
|
959
|
+
})(InputFieldStringTypeFormatEnumFormat || {});
|
|
960
|
+
var InputFieldStringComponentType = /* @__PURE__ */ ((InputFieldStringComponentType2) => {
|
|
961
|
+
InputFieldStringComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
962
|
+
InputFieldStringComponentType2["TEXT_INPUT"] = "TEXT_INPUT";
|
|
963
|
+
InputFieldStringComponentType2["RADIO_GROUP"] = "RADIO_GROUP";
|
|
964
|
+
InputFieldStringComponentType2["DROPDOWN"] = "DROPDOWN";
|
|
965
|
+
InputFieldStringComponentType2["DATE_TIME"] = "DATE_TIME";
|
|
966
|
+
InputFieldStringComponentType2["PHONE_INPUT"] = "PHONE_INPUT";
|
|
967
|
+
InputFieldStringComponentType2["DATE_INPUT"] = "DATE_INPUT";
|
|
968
|
+
InputFieldStringComponentType2["TIME_INPUT"] = "TIME_INPUT";
|
|
969
|
+
InputFieldStringComponentType2["DATE_PICKER"] = "DATE_PICKER";
|
|
970
|
+
InputFieldStringComponentType2["SERVICES_DROPDOWN"] = "SERVICES_DROPDOWN";
|
|
971
|
+
return InputFieldStringComponentType2;
|
|
972
|
+
})(InputFieldStringComponentType || {});
|
|
973
|
+
var NodeType = /* @__PURE__ */ ((NodeType2) => {
|
|
974
|
+
NodeType2["PARAGRAPH"] = "PARAGRAPH";
|
|
975
|
+
NodeType2["TEXT"] = "TEXT";
|
|
976
|
+
NodeType2["HEADING"] = "HEADING";
|
|
977
|
+
NodeType2["BULLETED_LIST"] = "BULLETED_LIST";
|
|
978
|
+
NodeType2["ORDERED_LIST"] = "ORDERED_LIST";
|
|
979
|
+
NodeType2["LIST_ITEM"] = "LIST_ITEM";
|
|
980
|
+
NodeType2["BLOCKQUOTE"] = "BLOCKQUOTE";
|
|
981
|
+
NodeType2["CODE_BLOCK"] = "CODE_BLOCK";
|
|
982
|
+
NodeType2["VIDEO"] = "VIDEO";
|
|
983
|
+
NodeType2["DIVIDER"] = "DIVIDER";
|
|
984
|
+
NodeType2["FILE"] = "FILE";
|
|
985
|
+
NodeType2["GALLERY"] = "GALLERY";
|
|
986
|
+
NodeType2["GIF"] = "GIF";
|
|
987
|
+
NodeType2["HTML"] = "HTML";
|
|
988
|
+
NodeType2["IMAGE"] = "IMAGE";
|
|
989
|
+
NodeType2["LINK_PREVIEW"] = "LINK_PREVIEW";
|
|
990
|
+
NodeType2["MAP"] = "MAP";
|
|
991
|
+
NodeType2["POLL"] = "POLL";
|
|
992
|
+
NodeType2["APP_EMBED"] = "APP_EMBED";
|
|
993
|
+
NodeType2["BUTTON"] = "BUTTON";
|
|
994
|
+
NodeType2["COLLAPSIBLE_LIST"] = "COLLAPSIBLE_LIST";
|
|
995
|
+
NodeType2["TABLE"] = "TABLE";
|
|
996
|
+
NodeType2["EMBED"] = "EMBED";
|
|
997
|
+
NodeType2["COLLAPSIBLE_ITEM"] = "COLLAPSIBLE_ITEM";
|
|
998
|
+
NodeType2["COLLAPSIBLE_ITEM_TITLE"] = "COLLAPSIBLE_ITEM_TITLE";
|
|
999
|
+
NodeType2["COLLAPSIBLE_ITEM_BODY"] = "COLLAPSIBLE_ITEM_BODY";
|
|
1000
|
+
NodeType2["TABLE_CELL"] = "TABLE_CELL";
|
|
1001
|
+
NodeType2["TABLE_ROW"] = "TABLE_ROW";
|
|
1002
|
+
NodeType2["EXTERNAL"] = "EXTERNAL";
|
|
1003
|
+
NodeType2["AUDIO"] = "AUDIO";
|
|
1004
|
+
NodeType2["CAPTION"] = "CAPTION";
|
|
1005
|
+
NodeType2["LAYOUT"] = "LAYOUT";
|
|
1006
|
+
NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
|
|
1007
|
+
return NodeType2;
|
|
1008
|
+
})(NodeType || {});
|
|
1009
|
+
var WidthType = /* @__PURE__ */ ((WidthType2) => {
|
|
1010
|
+
WidthType2["CONTENT"] = "CONTENT";
|
|
1011
|
+
WidthType2["SMALL"] = "SMALL";
|
|
1012
|
+
WidthType2["ORIGINAL"] = "ORIGINAL";
|
|
1013
|
+
WidthType2["FULL_WIDTH"] = "FULL_WIDTH";
|
|
1014
|
+
return WidthType2;
|
|
1015
|
+
})(WidthType || {});
|
|
1016
|
+
var PluginContainerDataAlignment = /* @__PURE__ */ ((PluginContainerDataAlignment2) => {
|
|
1017
|
+
PluginContainerDataAlignment2["CENTER"] = "CENTER";
|
|
1018
|
+
PluginContainerDataAlignment2["LEFT"] = "LEFT";
|
|
1019
|
+
PluginContainerDataAlignment2["RIGHT"] = "RIGHT";
|
|
1020
|
+
return PluginContainerDataAlignment2;
|
|
1021
|
+
})(PluginContainerDataAlignment || {});
|
|
1022
|
+
var ButtonDataType = /* @__PURE__ */ ((ButtonDataType2) => {
|
|
1023
|
+
ButtonDataType2["LINK"] = "LINK";
|
|
1024
|
+
ButtonDataType2["ACTION"] = "ACTION";
|
|
1025
|
+
return ButtonDataType2;
|
|
1026
|
+
})(ButtonDataType || {});
|
|
1027
|
+
var LinkTarget = /* @__PURE__ */ ((LinkTarget2) => {
|
|
1028
|
+
LinkTarget2["SELF"] = "SELF";
|
|
1029
|
+
LinkTarget2["BLANK"] = "BLANK";
|
|
1030
|
+
LinkTarget2["PARENT"] = "PARENT";
|
|
1031
|
+
LinkTarget2["TOP"] = "TOP";
|
|
1032
|
+
return LinkTarget2;
|
|
1033
|
+
})(LinkTarget || {});
|
|
1034
|
+
var TextAlignment = /* @__PURE__ */ ((TextAlignment2) => {
|
|
1035
|
+
TextAlignment2["AUTO"] = "AUTO";
|
|
1036
|
+
TextAlignment2["LEFT"] = "LEFT";
|
|
1037
|
+
TextAlignment2["RIGHT"] = "RIGHT";
|
|
1038
|
+
TextAlignment2["CENTER"] = "CENTER";
|
|
1039
|
+
TextAlignment2["JUSTIFY"] = "JUSTIFY";
|
|
1040
|
+
return TextAlignment2;
|
|
1041
|
+
})(TextAlignment || {});
|
|
1042
|
+
var LineStyle = /* @__PURE__ */ ((LineStyle2) => {
|
|
1043
|
+
LineStyle2["SINGLE"] = "SINGLE";
|
|
1044
|
+
LineStyle2["DOUBLE"] = "DOUBLE";
|
|
1045
|
+
LineStyle2["DASHED"] = "DASHED";
|
|
1046
|
+
LineStyle2["DOTTED"] = "DOTTED";
|
|
1047
|
+
return LineStyle2;
|
|
1048
|
+
})(LineStyle || {});
|
|
1049
|
+
var Width = /* @__PURE__ */ ((Width2) => {
|
|
1050
|
+
Width2["LARGE"] = "LARGE";
|
|
1051
|
+
Width2["MEDIUM"] = "MEDIUM";
|
|
1052
|
+
Width2["SMALL"] = "SMALL";
|
|
1053
|
+
return Width2;
|
|
1054
|
+
})(Width || {});
|
|
1055
|
+
var DividerDataAlignment = /* @__PURE__ */ ((DividerDataAlignment2) => {
|
|
1056
|
+
DividerDataAlignment2["CENTER"] = "CENTER";
|
|
1057
|
+
DividerDataAlignment2["LEFT"] = "LEFT";
|
|
1058
|
+
DividerDataAlignment2["RIGHT"] = "RIGHT";
|
|
1059
|
+
return DividerDataAlignment2;
|
|
1060
|
+
})(DividerDataAlignment || {});
|
|
1061
|
+
var ViewMode = /* @__PURE__ */ ((ViewMode2) => {
|
|
1062
|
+
ViewMode2["NONE"] = "NONE";
|
|
1063
|
+
ViewMode2["FULL"] = "FULL";
|
|
1064
|
+
ViewMode2["MINI"] = "MINI";
|
|
1065
|
+
return ViewMode2;
|
|
1066
|
+
})(ViewMode || {});
|
|
1067
|
+
var LayoutType = /* @__PURE__ */ ((LayoutType2) => {
|
|
1068
|
+
LayoutType2["COLLAGE"] = "COLLAGE";
|
|
1069
|
+
LayoutType2["MASONRY"] = "MASONRY";
|
|
1070
|
+
LayoutType2["GRID"] = "GRID";
|
|
1071
|
+
LayoutType2["THUMBNAIL"] = "THUMBNAIL";
|
|
1072
|
+
LayoutType2["SLIDER"] = "SLIDER";
|
|
1073
|
+
LayoutType2["SLIDESHOW"] = "SLIDESHOW";
|
|
1074
|
+
LayoutType2["PANORAMA"] = "PANORAMA";
|
|
1075
|
+
LayoutType2["COLUMN"] = "COLUMN";
|
|
1076
|
+
LayoutType2["MAGIC"] = "MAGIC";
|
|
1077
|
+
LayoutType2["FULLSIZE"] = "FULLSIZE";
|
|
1078
|
+
return LayoutType2;
|
|
1079
|
+
})(LayoutType || {});
|
|
1080
|
+
var Orientation = /* @__PURE__ */ ((Orientation2) => {
|
|
1081
|
+
Orientation2["ROWS"] = "ROWS";
|
|
1082
|
+
Orientation2["COLUMNS"] = "COLUMNS";
|
|
1083
|
+
return Orientation2;
|
|
1084
|
+
})(Orientation || {});
|
|
1085
|
+
var Crop = /* @__PURE__ */ ((Crop2) => {
|
|
1086
|
+
Crop2["FILL"] = "FILL";
|
|
1087
|
+
Crop2["FIT"] = "FIT";
|
|
1088
|
+
return Crop2;
|
|
1089
|
+
})(Crop || {});
|
|
1090
|
+
var ThumbnailsAlignment = /* @__PURE__ */ ((ThumbnailsAlignment2) => {
|
|
1091
|
+
ThumbnailsAlignment2["TOP"] = "TOP";
|
|
1092
|
+
ThumbnailsAlignment2["RIGHT"] = "RIGHT";
|
|
1093
|
+
ThumbnailsAlignment2["BOTTOM"] = "BOTTOM";
|
|
1094
|
+
ThumbnailsAlignment2["LEFT"] = "LEFT";
|
|
1095
|
+
ThumbnailsAlignment2["NONE"] = "NONE";
|
|
1096
|
+
return ThumbnailsAlignment2;
|
|
1097
|
+
})(ThumbnailsAlignment || {});
|
|
1098
|
+
var GIFType = /* @__PURE__ */ ((GIFType2) => {
|
|
1099
|
+
GIFType2["NORMAL"] = "NORMAL";
|
|
1100
|
+
GIFType2["STICKER"] = "STICKER";
|
|
1101
|
+
return GIFType2;
|
|
1102
|
+
})(GIFType || {});
|
|
1103
|
+
var Source = /* @__PURE__ */ ((Source2) => {
|
|
1104
|
+
Source2["HTML"] = "HTML";
|
|
1105
|
+
Source2["ADSENSE"] = "ADSENSE";
|
|
1106
|
+
return Source2;
|
|
1107
|
+
})(Source || {});
|
|
1108
|
+
var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
|
|
1109
|
+
StylesPosition2["START"] = "START";
|
|
1110
|
+
StylesPosition2["END"] = "END";
|
|
1111
|
+
StylesPosition2["TOP"] = "TOP";
|
|
1112
|
+
StylesPosition2["HIDDEN"] = "HIDDEN";
|
|
1113
|
+
return StylesPosition2;
|
|
1114
|
+
})(StylesPosition || {});
|
|
1115
|
+
var MapType = /* @__PURE__ */ ((MapType2) => {
|
|
1116
|
+
MapType2["ROADMAP"] = "ROADMAP";
|
|
1117
|
+
MapType2["SATELITE"] = "SATELITE";
|
|
1118
|
+
MapType2["HYBRID"] = "HYBRID";
|
|
1119
|
+
MapType2["TERRAIN"] = "TERRAIN";
|
|
1120
|
+
return MapType2;
|
|
1121
|
+
})(MapType || {});
|
|
1122
|
+
var ViewRole = /* @__PURE__ */ ((ViewRole2) => {
|
|
1123
|
+
ViewRole2["CREATOR"] = "CREATOR";
|
|
1124
|
+
ViewRole2["VOTERS"] = "VOTERS";
|
|
1125
|
+
ViewRole2["EVERYONE"] = "EVERYONE";
|
|
1126
|
+
return ViewRole2;
|
|
1127
|
+
})(ViewRole || {});
|
|
1128
|
+
var VoteRole = /* @__PURE__ */ ((VoteRole2) => {
|
|
1129
|
+
VoteRole2["SITE_MEMBERS"] = "SITE_MEMBERS";
|
|
1130
|
+
VoteRole2["ALL"] = "ALL";
|
|
1131
|
+
return VoteRole2;
|
|
1132
|
+
})(VoteRole || {});
|
|
1133
|
+
var PollLayoutType = /* @__PURE__ */ ((PollLayoutType2) => {
|
|
1134
|
+
PollLayoutType2["LIST"] = "LIST";
|
|
1135
|
+
PollLayoutType2["GRID"] = "GRID";
|
|
1136
|
+
return PollLayoutType2;
|
|
1137
|
+
})(PollLayoutType || {});
|
|
1138
|
+
var PollLayoutDirection = /* @__PURE__ */ ((PollLayoutDirection2) => {
|
|
1139
|
+
PollLayoutDirection2["LTR"] = "LTR";
|
|
1140
|
+
PollLayoutDirection2["RTL"] = "RTL";
|
|
1141
|
+
return PollLayoutDirection2;
|
|
1142
|
+
})(PollLayoutDirection || {});
|
|
1143
|
+
var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
|
|
1144
|
+
BackgroundType2["COLOR"] = "COLOR";
|
|
1145
|
+
BackgroundType2["IMAGE"] = "IMAGE";
|
|
1146
|
+
BackgroundType2["GRADIENT"] = "GRADIENT";
|
|
1147
|
+
return BackgroundType2;
|
|
1148
|
+
})(BackgroundType || {});
|
|
1149
|
+
var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
|
|
1150
|
+
DecorationType2["BOLD"] = "BOLD";
|
|
1151
|
+
DecorationType2["ITALIC"] = "ITALIC";
|
|
1152
|
+
DecorationType2["UNDERLINE"] = "UNDERLINE";
|
|
1153
|
+
DecorationType2["SPOILER"] = "SPOILER";
|
|
1154
|
+
DecorationType2["ANCHOR"] = "ANCHOR";
|
|
1155
|
+
DecorationType2["MENTION"] = "MENTION";
|
|
1156
|
+
DecorationType2["LINK"] = "LINK";
|
|
1157
|
+
DecorationType2["COLOR"] = "COLOR";
|
|
1158
|
+
DecorationType2["FONT_SIZE"] = "FONT_SIZE";
|
|
1159
|
+
DecorationType2["EXTERNAL"] = "EXTERNAL";
|
|
1160
|
+
DecorationType2["STRIKETHROUGH"] = "STRIKETHROUGH";
|
|
1161
|
+
DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
|
|
1162
|
+
DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
|
|
1163
|
+
return DecorationType2;
|
|
1164
|
+
})(DecorationType || {});
|
|
1165
|
+
var FontType = /* @__PURE__ */ ((FontType2) => {
|
|
1166
|
+
FontType2["PX"] = "PX";
|
|
1167
|
+
FontType2["EM"] = "EM";
|
|
1168
|
+
return FontType2;
|
|
1169
|
+
})(FontType || {});
|
|
1170
|
+
var Position = /* @__PURE__ */ ((Position2) => {
|
|
1171
|
+
Position2["START"] = "START";
|
|
1172
|
+
Position2["END"] = "END";
|
|
1173
|
+
Position2["TOP"] = "TOP";
|
|
1174
|
+
return Position2;
|
|
1175
|
+
})(Position || {});
|
|
1176
|
+
var AspectRatio = /* @__PURE__ */ ((AspectRatio2) => {
|
|
1177
|
+
AspectRatio2["SQUARE"] = "SQUARE";
|
|
1178
|
+
AspectRatio2["RECTANGLE"] = "RECTANGLE";
|
|
1179
|
+
return AspectRatio2;
|
|
1180
|
+
})(AspectRatio || {});
|
|
1181
|
+
var Resizing = /* @__PURE__ */ ((Resizing2) => {
|
|
1182
|
+
Resizing2["FILL"] = "FILL";
|
|
1183
|
+
Resizing2["FIT"] = "FIT";
|
|
1184
|
+
return Resizing2;
|
|
1185
|
+
})(Resizing || {});
|
|
1186
|
+
var Placement = /* @__PURE__ */ ((Placement2) => {
|
|
1187
|
+
Placement2["IMAGE"] = "IMAGE";
|
|
1188
|
+
Placement2["PRODUCT_INFO"] = "PRODUCT_INFO";
|
|
1189
|
+
return Placement2;
|
|
1190
|
+
})(Placement || {});
|
|
1191
|
+
var CardStylesType = /* @__PURE__ */ ((CardStylesType2) => {
|
|
1192
|
+
CardStylesType2["CONTAINED"] = "CONTAINED";
|
|
1193
|
+
CardStylesType2["FRAMELESS"] = "FRAMELESS";
|
|
1194
|
+
return CardStylesType2;
|
|
1195
|
+
})(CardStylesType || {});
|
|
1196
|
+
var CardStylesAlignment = /* @__PURE__ */ ((CardStylesAlignment2) => {
|
|
1197
|
+
CardStylesAlignment2["START"] = "START";
|
|
1198
|
+
CardStylesAlignment2["CENTER"] = "CENTER";
|
|
1199
|
+
CardStylesAlignment2["END"] = "END";
|
|
1200
|
+
return CardStylesAlignment2;
|
|
1201
|
+
})(CardStylesAlignment || {});
|
|
1202
|
+
var Layout = /* @__PURE__ */ ((Layout2) => {
|
|
1203
|
+
Layout2["STACKED"] = "STACKED";
|
|
1204
|
+
Layout2["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
|
|
1205
|
+
return Layout2;
|
|
1206
|
+
})(Layout || {});
|
|
1207
|
+
var AppType = /* @__PURE__ */ ((AppType2) => {
|
|
1208
|
+
AppType2["PRODUCT"] = "PRODUCT";
|
|
1209
|
+
AppType2["EVENT"] = "EVENT";
|
|
1210
|
+
AppType2["BOOKING"] = "BOOKING";
|
|
1211
|
+
return AppType2;
|
|
1212
|
+
})(AppType || {});
|
|
1213
|
+
var InitialExpandedItems = /* @__PURE__ */ ((InitialExpandedItems2) => {
|
|
1214
|
+
InitialExpandedItems2["FIRST"] = "FIRST";
|
|
1215
|
+
InitialExpandedItems2["ALL"] = "ALL";
|
|
1216
|
+
InitialExpandedItems2["NONE"] = "NONE";
|
|
1217
|
+
return InitialExpandedItems2;
|
|
1218
|
+
})(InitialExpandedItems || {});
|
|
1219
|
+
var Direction = /* @__PURE__ */ ((Direction2) => {
|
|
1220
|
+
Direction2["LTR"] = "LTR";
|
|
1221
|
+
Direction2["RTL"] = "RTL";
|
|
1222
|
+
return Direction2;
|
|
1223
|
+
})(Direction || {});
|
|
1224
|
+
var VerticalAlignment = /* @__PURE__ */ ((VerticalAlignment2) => {
|
|
1225
|
+
VerticalAlignment2["TOP"] = "TOP";
|
|
1226
|
+
VerticalAlignment2["MIDDLE"] = "MIDDLE";
|
|
1227
|
+
VerticalAlignment2["BOTTOM"] = "BOTTOM";
|
|
1228
|
+
return VerticalAlignment2;
|
|
1229
|
+
})(VerticalAlignment || {});
|
|
1230
|
+
var NullValue = /* @__PURE__ */ ((NullValue2) => {
|
|
1231
|
+
NullValue2["NULL_VALUE"] = "NULL_VALUE";
|
|
1232
|
+
return NullValue2;
|
|
1233
|
+
})(NullValue || {});
|
|
1234
|
+
var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
|
|
1235
|
+
ImagePosition2["UNKNOWN_IMAGE_POSITION"] = "UNKNOWN_IMAGE_POSITION";
|
|
1236
|
+
ImagePosition2["ABOVE"] = "ABOVE";
|
|
1237
|
+
ImagePosition2["BELOW"] = "BELOW";
|
|
1238
|
+
return ImagePosition2;
|
|
1239
|
+
})(ImagePosition || {});
|
|
1240
|
+
var Alignment = /* @__PURE__ */ ((Alignment2) => {
|
|
1241
|
+
Alignment2["UNKNOWN_ALIGNMENT"] = "UNKNOWN_ALIGNMENT";
|
|
1242
|
+
Alignment2["LEFT"] = "LEFT";
|
|
1243
|
+
Alignment2["CENTER"] = "CENTER";
|
|
1244
|
+
Alignment2["RIGHT"] = "RIGHT";
|
|
1245
|
+
return Alignment2;
|
|
1246
|
+
})(Alignment || {});
|
|
1247
|
+
var ImageFit = /* @__PURE__ */ ((ImageFit2) => {
|
|
1248
|
+
ImageFit2["UNKNOWN_IMAGE_FIT"] = "UNKNOWN_IMAGE_FIT";
|
|
1249
|
+
ImageFit2["COVER"] = "COVER";
|
|
1250
|
+
ImageFit2["CONTAIN"] = "CONTAIN";
|
|
1251
|
+
return ImageFit2;
|
|
1252
|
+
})(ImageFit || {});
|
|
1253
|
+
var NumberOfColumns = /* @__PURE__ */ ((NumberOfColumns2) => {
|
|
1254
|
+
NumberOfColumns2["UNKNOWN"] = "UNKNOWN";
|
|
1255
|
+
NumberOfColumns2["ZERO"] = "ZERO";
|
|
1256
|
+
NumberOfColumns2["ONE"] = "ONE";
|
|
1257
|
+
NumberOfColumns2["TWO"] = "TWO";
|
|
1258
|
+
NumberOfColumns2["THREE"] = "THREE";
|
|
1259
|
+
return NumberOfColumns2;
|
|
1260
|
+
})(NumberOfColumns || {});
|
|
1261
|
+
var FirstDayOfWeek = /* @__PURE__ */ ((FirstDayOfWeek2) => {
|
|
1262
|
+
FirstDayOfWeek2["MONDAY"] = "MONDAY";
|
|
1263
|
+
FirstDayOfWeek2["SUNDAY"] = "SUNDAY";
|
|
1264
|
+
return FirstDayOfWeek2;
|
|
1265
|
+
})(FirstDayOfWeek || {});
|
|
1266
|
+
var InputFieldNumberComponentType = /* @__PURE__ */ ((InputFieldNumberComponentType2) => {
|
|
1267
|
+
InputFieldNumberComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
1268
|
+
InputFieldNumberComponentType2["NUMBER_INPUT"] = "NUMBER_INPUT";
|
|
1269
|
+
InputFieldNumberComponentType2["RATING_INPUT"] = "RATING_INPUT";
|
|
1270
|
+
return InputFieldNumberComponentType2;
|
|
1271
|
+
})(InputFieldNumberComponentType || {});
|
|
1272
|
+
var InputFieldBooleanComponentType = /* @__PURE__ */ ((InputFieldBooleanComponentType2) => {
|
|
1273
|
+
InputFieldBooleanComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
1274
|
+
InputFieldBooleanComponentType2["CHECKBOX"] = "CHECKBOX";
|
|
1275
|
+
return InputFieldBooleanComponentType2;
|
|
1276
|
+
})(InputFieldBooleanComponentType || {});
|
|
1277
|
+
var ArrayItemsItemType = /* @__PURE__ */ ((ArrayItemsItemType2) => {
|
|
1278
|
+
ArrayItemsItemType2["UNKNOWN_ITEM_TYPE"] = "UNKNOWN_ITEM_TYPE";
|
|
1279
|
+
ArrayItemsItemType2["STRING"] = "STRING";
|
|
1280
|
+
ArrayItemsItemType2["NUMBER"] = "NUMBER";
|
|
1281
|
+
ArrayItemsItemType2["BOOLEAN"] = "BOOLEAN";
|
|
1282
|
+
ArrayItemsItemType2["INTEGER"] = "INTEGER";
|
|
1283
|
+
ArrayItemsItemType2["OBJECT"] = "OBJECT";
|
|
1284
|
+
return ArrayItemsItemType2;
|
|
1285
|
+
})(ArrayItemsItemType || {});
|
|
1286
|
+
var PropertiesTypePropertiesTypeEnum = /* @__PURE__ */ ((PropertiesTypePropertiesTypeEnum2) => {
|
|
1287
|
+
PropertiesTypePropertiesTypeEnum2["UNKNOWN_PROPERTIES_TYPE"] = "UNKNOWN_PROPERTIES_TYPE";
|
|
1288
|
+
PropertiesTypePropertiesTypeEnum2["STRING"] = "STRING";
|
|
1289
|
+
PropertiesTypePropertiesTypeEnum2["NUMBER"] = "NUMBER";
|
|
1290
|
+
PropertiesTypePropertiesTypeEnum2["BOOLEAN"] = "BOOLEAN";
|
|
1291
|
+
PropertiesTypePropertiesTypeEnum2["INTEGER"] = "INTEGER";
|
|
1292
|
+
PropertiesTypePropertiesTypeEnum2["ARRAY"] = "ARRAY";
|
|
1293
|
+
return PropertiesTypePropertiesTypeEnum2;
|
|
1294
|
+
})(PropertiesTypePropertiesTypeEnum || {});
|
|
1295
|
+
var InputFieldArrayComponentType = /* @__PURE__ */ ((InputFieldArrayComponentType2) => {
|
|
1296
|
+
InputFieldArrayComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
1297
|
+
InputFieldArrayComponentType2["CHECKBOX_GROUP"] = "CHECKBOX_GROUP";
|
|
1298
|
+
InputFieldArrayComponentType2["TAGS"] = "TAGS";
|
|
1299
|
+
return InputFieldArrayComponentType2;
|
|
1300
|
+
})(InputFieldArrayComponentType || {});
|
|
1301
|
+
var InputFieldWixFileComponentType = /* @__PURE__ */ ((InputFieldWixFileComponentType2) => {
|
|
1302
|
+
InputFieldWixFileComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
1303
|
+
InputFieldWixFileComponentType2["FILE_UPLOAD"] = "FILE_UPLOAD";
|
|
1304
|
+
InputFieldWixFileComponentType2["SIGNATURE"] = "SIGNATURE";
|
|
1305
|
+
return InputFieldWixFileComponentType2;
|
|
1306
|
+
})(InputFieldWixFileComponentType || {});
|
|
1307
|
+
var UploadFileFormat = /* @__PURE__ */ ((UploadFileFormat2) => {
|
|
1308
|
+
UploadFileFormat2["UNDEFINED"] = "UNDEFINED";
|
|
1309
|
+
UploadFileFormat2["VIDEO"] = "VIDEO";
|
|
1310
|
+
UploadFileFormat2["IMAGE"] = "IMAGE";
|
|
1311
|
+
UploadFileFormat2["AUDIO"] = "AUDIO";
|
|
1312
|
+
UploadFileFormat2["DOCUMENT"] = "DOCUMENT";
|
|
1313
|
+
UploadFileFormat2["ARCHIVE"] = "ARCHIVE";
|
|
1314
|
+
return UploadFileFormat2;
|
|
1315
|
+
})(UploadFileFormat || {});
|
|
1316
|
+
var InputFieldPaymentComponentType = /* @__PURE__ */ ((InputFieldPaymentComponentType2) => {
|
|
1317
|
+
InputFieldPaymentComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
1318
|
+
InputFieldPaymentComponentType2["CHECKBOX_GROUP"] = "CHECKBOX_GROUP";
|
|
1319
|
+
InputFieldPaymentComponentType2["DONATION_INPUT"] = "DONATION_INPUT";
|
|
1320
|
+
InputFieldPaymentComponentType2["PAYMENT_INPUT"] = "PAYMENT_INPUT";
|
|
1321
|
+
InputFieldPaymentComponentType2["FIXED_PAYMENT"] = "FIXED_PAYMENT";
|
|
1322
|
+
return InputFieldPaymentComponentType2;
|
|
1323
|
+
})(InputFieldPaymentComponentType || {});
|
|
1324
|
+
var InputFieldSchedulingComponentType = /* @__PURE__ */ ((InputFieldSchedulingComponentType2) => {
|
|
1325
|
+
InputFieldSchedulingComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
1326
|
+
InputFieldSchedulingComponentType2["APPOINTMENT"] = "APPOINTMENT";
|
|
1327
|
+
return InputFieldSchedulingComponentType2;
|
|
1328
|
+
})(InputFieldSchedulingComponentType || {});
|
|
1329
|
+
var Format = /* @__PURE__ */ ((Format2) => {
|
|
1330
|
+
Format2["UNKNOWN_FORMAT_TYPE"] = "UNKNOWN_FORMAT_TYPE";
|
|
1331
|
+
Format2["IN_PERSON"] = "IN_PERSON";
|
|
1332
|
+
Format2["VIDEO_CONFERENCE"] = "VIDEO_CONFERENCE";
|
|
1333
|
+
Format2["PHONE"] = "PHONE";
|
|
1334
|
+
return Format2;
|
|
1335
|
+
})(Format || {});
|
|
1336
|
+
var MultilineAddressComponentType = /* @__PURE__ */ ((MultilineAddressComponentType2) => {
|
|
1337
|
+
MultilineAddressComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
1338
|
+
MultilineAddressComponentType2["MULTILINE_ADDRESS"] = "MULTILINE_ADDRESS";
|
|
1339
|
+
return MultilineAddressComponentType2;
|
|
1340
|
+
})(MultilineAddressComponentType || {});
|
|
1341
|
+
var Type = /* @__PURE__ */ ((Type2) => {
|
|
1342
|
+
Type2["UNKNOWN_DEFAULT_COUNTRY"] = "UNKNOWN_DEFAULT_COUNTRY";
|
|
1343
|
+
Type2["BY_IP"] = "BY_IP";
|
|
1344
|
+
Type2["COUNTRY"] = "COUNTRY";
|
|
1345
|
+
return Type2;
|
|
1346
|
+
})(Type || {});
|
|
1347
|
+
var InputFieldInputType = /* @__PURE__ */ ((InputFieldInputType2) => {
|
|
1348
|
+
InputFieldInputType2["UNKNOWN_INPUT_TYPE"] = "UNKNOWN_INPUT_TYPE";
|
|
1349
|
+
InputFieldInputType2["STRING"] = "STRING";
|
|
1350
|
+
InputFieldInputType2["NUMBER"] = "NUMBER";
|
|
1351
|
+
InputFieldInputType2["BOOLEAN"] = "BOOLEAN";
|
|
1352
|
+
InputFieldInputType2["ARRAY"] = "ARRAY";
|
|
1353
|
+
InputFieldInputType2["OBJECT"] = "OBJECT";
|
|
1354
|
+
InputFieldInputType2["WIX_FILE"] = "WIX_FILE";
|
|
1355
|
+
InputFieldInputType2["PAYMENT"] = "PAYMENT";
|
|
1356
|
+
InputFieldInputType2["MULTILINE_ADDRESS"] = "MULTILINE_ADDRESS";
|
|
1357
|
+
InputFieldInputType2["SCHEDULING"] = "SCHEDULING";
|
|
1358
|
+
return InputFieldInputType2;
|
|
1359
|
+
})(InputFieldInputType || {});
|
|
1360
|
+
var FormFieldContactInfoEmailInfoTag = /* @__PURE__ */ ((FormFieldContactInfoEmailInfoTag2) => {
|
|
1361
|
+
FormFieldContactInfoEmailInfoTag2["UNTAGGED"] = "UNTAGGED";
|
|
1362
|
+
FormFieldContactInfoEmailInfoTag2["MAIN"] = "MAIN";
|
|
1363
|
+
return FormFieldContactInfoEmailInfoTag2;
|
|
1364
|
+
})(FormFieldContactInfoEmailInfoTag || {});
|
|
1365
|
+
var FormFieldContactInfoPhoneInfoTag = /* @__PURE__ */ ((FormFieldContactInfoPhoneInfoTag2) => {
|
|
1366
|
+
FormFieldContactInfoPhoneInfoTag2["UNTAGGED"] = "UNTAGGED";
|
|
1367
|
+
FormFieldContactInfoPhoneInfoTag2["MAIN"] = "MAIN";
|
|
1368
|
+
return FormFieldContactInfoPhoneInfoTag2;
|
|
1369
|
+
})(FormFieldContactInfoPhoneInfoTag || {});
|
|
1370
|
+
var AddressInfoTag = /* @__PURE__ */ ((AddressInfoTag2) => {
|
|
1371
|
+
AddressInfoTag2["UNTAGGED"] = "UNTAGGED";
|
|
1372
|
+
AddressInfoTag2["HOME"] = "HOME";
|
|
1373
|
+
return AddressInfoTag2;
|
|
1374
|
+
})(AddressInfoTag || {});
|
|
1375
|
+
var SubscriptionInfoOptInLevel = /* @__PURE__ */ ((SubscriptionInfoOptInLevel2) => {
|
|
1376
|
+
SubscriptionInfoOptInLevel2["UNKNOWN"] = "UNKNOWN";
|
|
1377
|
+
SubscriptionInfoOptInLevel2["SINGLE_CONFIRMATION"] = "SINGLE_CONFIRMATION";
|
|
1378
|
+
SubscriptionInfoOptInLevel2["DOUBLE_CONFIRMATION"] = "DOUBLE_CONFIRMATION";
|
|
1379
|
+
return SubscriptionInfoOptInLevel2;
|
|
1380
|
+
})(SubscriptionInfoOptInLevel || {});
|
|
1381
|
+
var FormFieldContactInfoContactField = /* @__PURE__ */ ((FormFieldContactInfoContactField2) => {
|
|
1382
|
+
FormFieldContactInfoContactField2["UNDEFINED"] = "UNDEFINED";
|
|
1383
|
+
FormFieldContactInfoContactField2["FIRST_NAME"] = "FIRST_NAME";
|
|
1384
|
+
FormFieldContactInfoContactField2["LAST_NAME"] = "LAST_NAME";
|
|
1385
|
+
FormFieldContactInfoContactField2["COMPANY"] = "COMPANY";
|
|
1386
|
+
FormFieldContactInfoContactField2["POSITION"] = "POSITION";
|
|
1387
|
+
FormFieldContactInfoContactField2["EMAIL"] = "EMAIL";
|
|
1388
|
+
FormFieldContactInfoContactField2["PHONE"] = "PHONE";
|
|
1389
|
+
FormFieldContactInfoContactField2["ADDRESS"] = "ADDRESS";
|
|
1390
|
+
FormFieldContactInfoContactField2["BIRTHDATE"] = "BIRTHDATE";
|
|
1391
|
+
FormFieldContactInfoContactField2["CUSTOM_FIELD"] = "CUSTOM_FIELD";
|
|
1392
|
+
FormFieldContactInfoContactField2["SUBSCRIPTION"] = "SUBSCRIPTION";
|
|
1393
|
+
FormFieldContactInfoContactField2["VAT_ID"] = "VAT_ID";
|
|
1394
|
+
return FormFieldContactInfoContactField2;
|
|
1395
|
+
})(FormFieldContactInfoContactField || {});
|
|
1396
|
+
var FormFieldV2FieldType = /* @__PURE__ */ ((FormFieldV2FieldType2) => {
|
|
1397
|
+
FormFieldV2FieldType2["UNKNOWN_FIELD_TYPE"] = "UNKNOWN_FIELD_TYPE";
|
|
1398
|
+
FormFieldV2FieldType2["INPUT"] = "INPUT";
|
|
1399
|
+
FormFieldV2FieldType2["DISPLAY"] = "DISPLAY";
|
|
1400
|
+
return FormFieldV2FieldType2;
|
|
1401
|
+
})(FormFieldV2FieldType || {});
|
|
1402
|
+
var DisplayFieldType = /* @__PURE__ */ ((DisplayFieldType2) => {
|
|
1403
|
+
DisplayFieldType2["UNKNOWN_FIELD_TYPE"] = "UNKNOWN_FIELD_TYPE";
|
|
1404
|
+
DisplayFieldType2["RICH_CONTENT"] = "RICH_CONTENT";
|
|
1405
|
+
DisplayFieldType2["PAGE_NAVIGATION"] = "PAGE_NAVIGATION";
|
|
1406
|
+
return DisplayFieldType2;
|
|
1407
|
+
})(DisplayFieldType || {});
|
|
1408
|
+
var FieldType = /* @__PURE__ */ ((FieldType2) => {
|
|
1409
|
+
FieldType2["UNKNOWN_FIELD_TYPE"] = "UNKNOWN_FIELD_TYPE";
|
|
1410
|
+
FieldType2["INPUT"] = "INPUT";
|
|
1411
|
+
FieldType2["DISPLAY"] = "DISPLAY";
|
|
1412
|
+
return FieldType2;
|
|
1413
|
+
})(FieldType || {});
|
|
1414
|
+
var FormatEnumFormat = /* @__PURE__ */ ((FormatEnumFormat2) => {
|
|
1415
|
+
FormatEnumFormat2["UNKNOWN_FORMAT"] = "UNKNOWN_FORMAT";
|
|
1416
|
+
FormatEnumFormat2["DATE"] = "DATE";
|
|
1417
|
+
FormatEnumFormat2["TIME"] = "TIME";
|
|
1418
|
+
FormatEnumFormat2["DATE_TIME"] = "DATE_TIME";
|
|
1419
|
+
FormatEnumFormat2["EMAIL"] = "EMAIL";
|
|
1420
|
+
FormatEnumFormat2["URL"] = "URL";
|
|
1421
|
+
FormatEnumFormat2["UUID"] = "UUID";
|
|
1422
|
+
FormatEnumFormat2["PHONE"] = "PHONE";
|
|
1423
|
+
FormatEnumFormat2["URI"] = "URI";
|
|
1424
|
+
FormatEnumFormat2["HOSTNAME"] = "HOSTNAME";
|
|
1425
|
+
FormatEnumFormat2["COLOR_HEX"] = "COLOR_HEX";
|
|
1426
|
+
FormatEnumFormat2["CURRENCY"] = "CURRENCY";
|
|
1427
|
+
FormatEnumFormat2["LANGUAGE"] = "LANGUAGE";
|
|
1428
|
+
FormatEnumFormat2["DATE_OPTIONAL_TIME"] = "DATE_OPTIONAL_TIME";
|
|
1429
|
+
return FormatEnumFormat2;
|
|
1430
|
+
})(FormatEnumFormat || {});
|
|
1431
|
+
var StringComponentType = /* @__PURE__ */ ((StringComponentType2) => {
|
|
1432
|
+
StringComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
1433
|
+
StringComponentType2["TEXT_INPUT"] = "TEXT_INPUT";
|
|
1434
|
+
StringComponentType2["RADIO_GROUP"] = "RADIO_GROUP";
|
|
1435
|
+
StringComponentType2["DROPDOWN"] = "DROPDOWN";
|
|
1436
|
+
StringComponentType2["DATE_TIME"] = "DATE_TIME";
|
|
1437
|
+
StringComponentType2["PHONE_INPUT"] = "PHONE_INPUT";
|
|
1438
|
+
StringComponentType2["DATE_INPUT"] = "DATE_INPUT";
|
|
1439
|
+
StringComponentType2["TIME_INPUT"] = "TIME_INPUT";
|
|
1440
|
+
StringComponentType2["DATE_PICKER"] = "DATE_PICKER";
|
|
1441
|
+
StringComponentType2["SERVICES_DROPDOWN"] = "SERVICES_DROPDOWN";
|
|
1442
|
+
return StringComponentType2;
|
|
1443
|
+
})(StringComponentType || {});
|
|
1444
|
+
var NumberComponentType = /* @__PURE__ */ ((NumberComponentType2) => {
|
|
1445
|
+
NumberComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
1446
|
+
NumberComponentType2["NUMBER_INPUT"] = "NUMBER_INPUT";
|
|
1447
|
+
NumberComponentType2["RATING_INPUT"] = "RATING_INPUT";
|
|
1448
|
+
return NumberComponentType2;
|
|
1449
|
+
})(NumberComponentType || {});
|
|
1450
|
+
var BooleanComponentType = /* @__PURE__ */ ((BooleanComponentType2) => {
|
|
1451
|
+
BooleanComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
1452
|
+
BooleanComponentType2["CHECKBOX"] = "CHECKBOX";
|
|
1453
|
+
return BooleanComponentType2;
|
|
1454
|
+
})(BooleanComponentType || {});
|
|
1455
|
+
var ItemType = /* @__PURE__ */ ((ItemType2) => {
|
|
1456
|
+
ItemType2["UNKNOWN_ITEM_TYPE"] = "UNKNOWN_ITEM_TYPE";
|
|
1457
|
+
ItemType2["STRING"] = "STRING";
|
|
1458
|
+
ItemType2["NUMBER"] = "NUMBER";
|
|
1459
|
+
ItemType2["BOOLEAN"] = "BOOLEAN";
|
|
1460
|
+
ItemType2["OBJECT"] = "OBJECT";
|
|
1461
|
+
return ItemType2;
|
|
1462
|
+
})(ItemType || {});
|
|
1463
|
+
var PropertiesTypeEnum = /* @__PURE__ */ ((PropertiesTypeEnum2) => {
|
|
1464
|
+
PropertiesTypeEnum2["UNKNOWN_PROPERTY_TYPE"] = "UNKNOWN_PROPERTY_TYPE";
|
|
1465
|
+
PropertiesTypeEnum2["STRING"] = "STRING";
|
|
1466
|
+
PropertiesTypeEnum2["NUMBER"] = "NUMBER";
|
|
1467
|
+
PropertiesTypeEnum2["BOOLEAN"] = "BOOLEAN";
|
|
1468
|
+
PropertiesTypeEnum2["ARRAY"] = "ARRAY";
|
|
1469
|
+
return PropertiesTypeEnum2;
|
|
1470
|
+
})(PropertiesTypeEnum || {});
|
|
1471
|
+
var ArrayComponentType = /* @__PURE__ */ ((ArrayComponentType2) => {
|
|
1472
|
+
ArrayComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
1473
|
+
ArrayComponentType2["CHECKBOX_GROUP"] = "CHECKBOX_GROUP";
|
|
1474
|
+
ArrayComponentType2["TAGS"] = "TAGS";
|
|
1475
|
+
return ArrayComponentType2;
|
|
1476
|
+
})(ArrayComponentType || {});
|
|
1477
|
+
var WixFileComponentType = /* @__PURE__ */ ((WixFileComponentType2) => {
|
|
1478
|
+
WixFileComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
1479
|
+
WixFileComponentType2["FILE_UPLOAD"] = "FILE_UPLOAD";
|
|
1480
|
+
WixFileComponentType2["SIGNATURE"] = "SIGNATURE";
|
|
1481
|
+
return WixFileComponentType2;
|
|
1482
|
+
})(WixFileComponentType || {});
|
|
1483
|
+
var PaymentComponentType = /* @__PURE__ */ ((PaymentComponentType2) => {
|
|
1484
|
+
PaymentComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
1485
|
+
PaymentComponentType2["CHECKBOX_GROUP"] = "CHECKBOX_GROUP";
|
|
1486
|
+
PaymentComponentType2["DONATION_INPUT"] = "DONATION_INPUT";
|
|
1487
|
+
PaymentComponentType2["PAYMENT_INPUT"] = "PAYMENT_INPUT";
|
|
1488
|
+
PaymentComponentType2["FIXED_PAYMENT"] = "FIXED_PAYMENT";
|
|
1489
|
+
return PaymentComponentType2;
|
|
1490
|
+
})(PaymentComponentType || {});
|
|
1491
|
+
var ComponentType = /* @__PURE__ */ ((ComponentType2) => {
|
|
1492
|
+
ComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
1493
|
+
ComponentType2["MULTILINE_ADDRESS"] = "MULTILINE_ADDRESS";
|
|
1494
|
+
return ComponentType2;
|
|
1495
|
+
})(ComponentType || {});
|
|
1496
|
+
var SchedulingComponentType = /* @__PURE__ */ ((SchedulingComponentType2) => {
|
|
1497
|
+
SchedulingComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
1498
|
+
SchedulingComponentType2["APPOINTMENT"] = "APPOINTMENT";
|
|
1499
|
+
return SchedulingComponentType2;
|
|
1500
|
+
})(SchedulingComponentType || {});
|
|
1501
|
+
var InputType = /* @__PURE__ */ ((InputType2) => {
|
|
1502
|
+
InputType2["UNKNOWN_INPUT_TYPE"] = "UNKNOWN_INPUT_TYPE";
|
|
1503
|
+
InputType2["STRING"] = "STRING";
|
|
1504
|
+
InputType2["NUMBER"] = "NUMBER";
|
|
1505
|
+
InputType2["BOOLEAN"] = "BOOLEAN";
|
|
1506
|
+
InputType2["ARRAY"] = "ARRAY";
|
|
1507
|
+
InputType2["OBJECT"] = "OBJECT";
|
|
1508
|
+
InputType2["WIX_FILE"] = "WIX_FILE";
|
|
1509
|
+
InputType2["PAYMENT"] = "PAYMENT";
|
|
1510
|
+
InputType2["SCHEDULING"] = "SCHEDULING";
|
|
1511
|
+
InputType2["ADDRESS"] = "ADDRESS";
|
|
1512
|
+
return InputType2;
|
|
1513
|
+
})(InputType || {});
|
|
1514
|
+
var EmailInfoTag = /* @__PURE__ */ ((EmailInfoTag2) => {
|
|
1515
|
+
EmailInfoTag2["UNTAGGED"] = "UNTAGGED";
|
|
1516
|
+
EmailInfoTag2["MAIN"] = "MAIN";
|
|
1517
|
+
return EmailInfoTag2;
|
|
1518
|
+
})(EmailInfoTag || {});
|
|
1519
|
+
var PhoneInfoTag = /* @__PURE__ */ ((PhoneInfoTag2) => {
|
|
1520
|
+
PhoneInfoTag2["UNTAGGED"] = "UNTAGGED";
|
|
1521
|
+
PhoneInfoTag2["MAIN"] = "MAIN";
|
|
1522
|
+
return PhoneInfoTag2;
|
|
1523
|
+
})(PhoneInfoTag || {});
|
|
1524
|
+
var Tag = /* @__PURE__ */ ((Tag2) => {
|
|
1525
|
+
Tag2["UNTAGGED"] = "UNTAGGED";
|
|
1526
|
+
Tag2["HOME"] = "HOME";
|
|
1527
|
+
return Tag2;
|
|
1528
|
+
})(Tag || {});
|
|
1529
|
+
var ConfirmationLevel = /* @__PURE__ */ ((ConfirmationLevel2) => {
|
|
1530
|
+
ConfirmationLevel2["UNKNOWN_CONFIRMATION_LEVEL"] = "UNKNOWN_CONFIRMATION_LEVEL";
|
|
1531
|
+
ConfirmationLevel2["SINGLE_CONFIRMATION"] = "SINGLE_CONFIRMATION";
|
|
1532
|
+
ConfirmationLevel2["DOUBLE_CONFIRMATION"] = "DOUBLE_CONFIRMATION";
|
|
1533
|
+
return ConfirmationLevel2;
|
|
1534
|
+
})(ConfirmationLevel || {});
|
|
1535
|
+
var ContactField = /* @__PURE__ */ ((ContactField2) => {
|
|
1536
|
+
ContactField2["UNKNOWN_CONTACT_FIELD"] = "UNKNOWN_CONTACT_FIELD";
|
|
1537
|
+
ContactField2["FIRST_NAME"] = "FIRST_NAME";
|
|
1538
|
+
ContactField2["LAST_NAME"] = "LAST_NAME";
|
|
1539
|
+
ContactField2["COMPANY"] = "COMPANY";
|
|
1540
|
+
ContactField2["POSITION"] = "POSITION";
|
|
1541
|
+
ContactField2["EMAIL"] = "EMAIL";
|
|
1542
|
+
ContactField2["PHONE"] = "PHONE";
|
|
1543
|
+
ContactField2["ADDRESS"] = "ADDRESS";
|
|
1544
|
+
ContactField2["BIRTHDATE"] = "BIRTHDATE";
|
|
1545
|
+
ContactField2["CUSTOM_FIELD"] = "CUSTOM_FIELD";
|
|
1546
|
+
ContactField2["SUBSCRIPTION"] = "SUBSCRIPTION";
|
|
1547
|
+
ContactField2["VAT_ID"] = "VAT_ID";
|
|
1548
|
+
return ContactField2;
|
|
1549
|
+
})(ContactField || {});
|
|
1550
|
+
var DisplayFieldDisplayFieldType = /* @__PURE__ */ ((DisplayFieldDisplayFieldType2) => {
|
|
1551
|
+
DisplayFieldDisplayFieldType2["UNKNOWN_FIELD_TYPE"] = "UNKNOWN_FIELD_TYPE";
|
|
1552
|
+
DisplayFieldDisplayFieldType2["RICH_CONTENT"] = "RICH_CONTENT";
|
|
1553
|
+
DisplayFieldDisplayFieldType2["PAGE_NAVIGATION"] = "PAGE_NAVIGATION";
|
|
1554
|
+
DisplayFieldDisplayFieldType2["LOGIN_BAR"] = "LOGIN_BAR";
|
|
1555
|
+
return DisplayFieldDisplayFieldType2;
|
|
1556
|
+
})(DisplayFieldDisplayFieldType || {});
|
|
1557
|
+
var OverrideEntityType = /* @__PURE__ */ ((OverrideEntityType2) => {
|
|
1558
|
+
OverrideEntityType2["UNKNOWN"] = "UNKNOWN";
|
|
1559
|
+
OverrideEntityType2["FIELD"] = "FIELD";
|
|
1560
|
+
return OverrideEntityType2;
|
|
1561
|
+
})(OverrideEntityType || {});
|
|
1562
|
+
var Kind = /* @__PURE__ */ ((Kind2) => {
|
|
1563
|
+
Kind2["REGULAR"] = "REGULAR";
|
|
1564
|
+
Kind2["EXTENSION"] = "EXTENSION";
|
|
1565
|
+
return Kind2;
|
|
1566
|
+
})(Kind || {});
|
|
1567
|
+
var SpamFilterProtectionLevel = /* @__PURE__ */ ((SpamFilterProtectionLevel2) => {
|
|
1568
|
+
SpamFilterProtectionLevel2["UNKNOWN"] = "UNKNOWN";
|
|
1569
|
+
SpamFilterProtectionLevel2["NONE"] = "NONE";
|
|
1570
|
+
SpamFilterProtectionLevel2["BASIC"] = "BASIC";
|
|
1571
|
+
SpamFilterProtectionLevel2["ADVANCED"] = "ADVANCED";
|
|
1572
|
+
return SpamFilterProtectionLevel2;
|
|
1573
|
+
})(SpamFilterProtectionLevel || {});
|
|
1574
|
+
var RequiredIndicator = /* @__PURE__ */ ((RequiredIndicator2) => {
|
|
1575
|
+
RequiredIndicator2["UNKNOWN_INDICATOR"] = "UNKNOWN_INDICATOR";
|
|
1576
|
+
RequiredIndicator2["ASTERISK"] = "ASTERISK";
|
|
1577
|
+
RequiredIndicator2["TEXT"] = "TEXT";
|
|
1578
|
+
RequiredIndicator2["NONE"] = "NONE";
|
|
1579
|
+
return RequiredIndicator2;
|
|
1580
|
+
})(RequiredIndicator || {});
|
|
1581
|
+
var RequiredIndicatorPlacement = /* @__PURE__ */ ((RequiredIndicatorPlacement2) => {
|
|
1582
|
+
RequiredIndicatorPlacement2["UNKNOWN_PLACEMENT"] = "UNKNOWN_PLACEMENT";
|
|
1583
|
+
RequiredIndicatorPlacement2["AFTER_FIELD_TITLE"] = "AFTER_FIELD_TITLE";
|
|
1584
|
+
RequiredIndicatorPlacement2["BEFORE_FIELD_TITLE"] = "BEFORE_FIELD_TITLE";
|
|
1585
|
+
return RequiredIndicatorPlacement2;
|
|
1586
|
+
})(RequiredIndicatorPlacement || {});
|
|
1587
|
+
var Target = /* @__PURE__ */ ((Target2) => {
|
|
1588
|
+
Target2["UNKNOWN_TARGET"] = "UNKNOWN_TARGET";
|
|
1589
|
+
Target2["SELF"] = "SELF";
|
|
1590
|
+
Target2["BLANK"] = "BLANK";
|
|
1591
|
+
return Target2;
|
|
1592
|
+
})(Target || {});
|
|
1593
|
+
var SubmitSuccessAction = /* @__PURE__ */ ((SubmitSuccessAction2) => {
|
|
1594
|
+
SubmitSuccessAction2["UNKNOWN_SUBMIT_SUCCESS_ACTION"] = "UNKNOWN_SUBMIT_SUCCESS_ACTION";
|
|
1595
|
+
SubmitSuccessAction2["NO_ACTION"] = "NO_ACTION";
|
|
1596
|
+
SubmitSuccessAction2["THANK_YOU_MESSAGE"] = "THANK_YOU_MESSAGE";
|
|
1597
|
+
SubmitSuccessAction2["REDIRECT"] = "REDIRECT";
|
|
1598
|
+
return SubmitSuccessAction2;
|
|
1599
|
+
})(SubmitSuccessAction || {});
|
|
1600
|
+
var ChangeableProperty = /* @__PURE__ */ ((ChangeableProperty2) => {
|
|
1601
|
+
ChangeableProperty2["UNKNOWN_CHANGEABLE_PROPERTY"] = "UNKNOWN_CHANGEABLE_PROPERTY";
|
|
1602
|
+
ChangeableProperty2["REQUIRED"] = "REQUIRED";
|
|
1603
|
+
ChangeableProperty2["HIDDEN"] = "HIDDEN";
|
|
1604
|
+
ChangeableProperty2["ALLOWED_VALUES"] = "ALLOWED_VALUES";
|
|
1605
|
+
return ChangeableProperty2;
|
|
1606
|
+
})(ChangeableProperty || {});
|
|
1607
|
+
var OverrideEntityTypeEnumOverrideEntityType = /* @__PURE__ */ ((OverrideEntityTypeEnumOverrideEntityType2) => {
|
|
1608
|
+
OverrideEntityTypeEnumOverrideEntityType2["UNKNOWN_OVERRIDE_ENTITY_TYPE"] = "UNKNOWN_OVERRIDE_ENTITY_TYPE";
|
|
1609
|
+
OverrideEntityTypeEnumOverrideEntityType2["FIELD"] = "FIELD";
|
|
1610
|
+
return OverrideEntityTypeEnumOverrideEntityType2;
|
|
1611
|
+
})(OverrideEntityTypeEnumOverrideEntityType || {});
|
|
1612
|
+
var Operator = /* @__PURE__ */ ((Operator2) => {
|
|
1613
|
+
Operator2["UNKNOWN_OPERATOR"] = "UNKNOWN_OPERATOR";
|
|
1614
|
+
Operator2["EQUAL"] = "EQUAL";
|
|
1615
|
+
Operator2["NOT_EQUAL"] = "NOT_EQUAL";
|
|
1616
|
+
Operator2["EMPTY"] = "EMPTY";
|
|
1617
|
+
Operator2["NOT_EMPTY"] = "NOT_EMPTY";
|
|
1618
|
+
Operator2["CONTAINS"] = "CONTAINS";
|
|
1619
|
+
Operator2["NOT_CONTAINS"] = "NOT_CONTAINS";
|
|
1620
|
+
Operator2["LESS_THAN"] = "LESS_THAN";
|
|
1621
|
+
Operator2["LESS_THAN_OR_EQUALS"] = "LESS_THAN_OR_EQUALS";
|
|
1622
|
+
Operator2["GREATER_THAN"] = "GREATER_THAN";
|
|
1623
|
+
Operator2["GREATER_THAN_OR_EQUALS"] = "GREATER_THAN_OR_EQUALS";
|
|
1624
|
+
Operator2["BEFORE"] = "BEFORE";
|
|
1625
|
+
Operator2["BEFORE_OR_EQUAL"] = "BEFORE_OR_EQUAL";
|
|
1626
|
+
Operator2["AFTER"] = "AFTER";
|
|
1627
|
+
Operator2["AFTER_OR_EQUAL"] = "AFTER_OR_EQUAL";
|
|
1628
|
+
Operator2["BETWEEN"] = "BETWEEN";
|
|
1629
|
+
Operator2["ANY"] = "ANY";
|
|
1630
|
+
Operator2["ARRAY_EQUAL"] = "ARRAY_EQUAL";
|
|
1631
|
+
Operator2["ARRAY_NOT_EQUAL"] = "ARRAY_NOT_EQUAL";
|
|
1632
|
+
Operator2["CHECKED"] = "CHECKED";
|
|
1633
|
+
Operator2["NOT_CHECKED"] = "NOT_CHECKED";
|
|
1634
|
+
Operator2["IN"] = "IN";
|
|
1635
|
+
Operator2["NOT_IN"] = "NOT_IN";
|
|
1636
|
+
Operator2["IS_DATE_OLDER_THAN"] = "IS_DATE_OLDER_THAN";
|
|
1637
|
+
Operator2["IS_DATE_OLDER_THAN_OR_EQUAL"] = "IS_DATE_OLDER_THAN_OR_EQUAL";
|
|
1638
|
+
Operator2["IS_DATE_NEWER_THAN"] = "IS_DATE_NEWER_THAN";
|
|
1639
|
+
Operator2["IS_DATE_NEWER_THAN_OR_EQUAL"] = "IS_DATE_NEWER_THAN_OR_EQUAL";
|
|
1640
|
+
return Operator2;
|
|
1641
|
+
})(Operator || {});
|
|
1642
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1643
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1644
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1645
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1646
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1647
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
1648
|
+
return WebhookIdentityType2;
|
|
1649
|
+
})(WebhookIdentityType || {});
|
|
1650
|
+
var IdentityType = /* @__PURE__ */ ((IdentityType2) => {
|
|
1651
|
+
IdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1652
|
+
IdentityType2["CONTACT"] = "CONTACT";
|
|
1653
|
+
IdentityType2["MEMBER"] = "MEMBER";
|
|
1654
|
+
IdentityType2["NOT_AUTHENTICATED_MEMBER"] = "NOT_AUTHENTICATED_MEMBER";
|
|
1655
|
+
return IdentityType2;
|
|
1656
|
+
})(IdentityType || {});
|
|
1657
|
+
var ErrorType = /* @__PURE__ */ ((ErrorType2) => {
|
|
1658
|
+
ErrorType2["UNKNOWN_ERROR"] = "UNKNOWN_ERROR";
|
|
1659
|
+
ErrorType2["TYPE_ERROR"] = "TYPE_ERROR";
|
|
1660
|
+
ErrorType2["REQUIRED_VALUE_ERROR"] = "REQUIRED_VALUE_ERROR";
|
|
1661
|
+
ErrorType2["UNKNOWN_VALUE_ERROR"] = "UNKNOWN_VALUE_ERROR";
|
|
1662
|
+
ErrorType2["MAX_LENGTH_ERROR"] = "MAX_LENGTH_ERROR";
|
|
1663
|
+
ErrorType2["MIN_LENGTH_ERROR"] = "MIN_LENGTH_ERROR";
|
|
1664
|
+
ErrorType2["PATTERN_ERROR"] = "PATTERN_ERROR";
|
|
1665
|
+
ErrorType2["FORMAT_ERROR"] = "FORMAT_ERROR";
|
|
1666
|
+
ErrorType2["MAX_VALUE_ERROR"] = "MAX_VALUE_ERROR";
|
|
1667
|
+
ErrorType2["MIN_VALUE_ERROR"] = "MIN_VALUE_ERROR";
|
|
1668
|
+
ErrorType2["MULTIPLE_OF_VALUE_ERROR"] = "MULTIPLE_OF_VALUE_ERROR";
|
|
1669
|
+
ErrorType2["MIN_ITEMS_ERROR"] = "MIN_ITEMS_ERROR";
|
|
1670
|
+
ErrorType2["MAX_ITEMS_ERROR"] = "MAX_ITEMS_ERROR";
|
|
1671
|
+
ErrorType2["NOT_ALLOWED_VALUE_ERROR"] = "NOT_ALLOWED_VALUE_ERROR";
|
|
1672
|
+
ErrorType2["FIELDS_COMPATIBILITY_ERROR"] = "FIELDS_COMPATIBILITY_ERROR";
|
|
1673
|
+
ErrorType2["DISABLED_FORM_ERROR"] = "DISABLED_FORM_ERROR";
|
|
1674
|
+
ErrorType2["FORMS_COUNT_RESTRICTIONS_ERROR"] = "FORMS_COUNT_RESTRICTIONS_ERROR";
|
|
1675
|
+
ErrorType2["FIELDS_COUNT_RESTRICTIONS_ERROR"] = "FIELDS_COUNT_RESTRICTIONS_ERROR";
|
|
1676
|
+
ErrorType2["STEPS_COUNT_RESTRICTIONS_ERROR"] = "STEPS_COUNT_RESTRICTIONS_ERROR";
|
|
1677
|
+
ErrorType2["RULES_COUNT_RESTRICTIONS_ERROR"] = "RULES_COUNT_RESTRICTIONS_ERROR";
|
|
1678
|
+
ErrorType2["FILE_UPLOAD_RESTRICTIONS_ERROR"] = "FILE_UPLOAD_RESTRICTIONS_ERROR";
|
|
1679
|
+
ErrorType2["INVALID_PHONE_COUNTRY_CODE_ERROR"] = "INVALID_PHONE_COUNTRY_CODE_ERROR";
|
|
1680
|
+
ErrorType2["INVALID_STAFF_ID_ERROR"] = "INVALID_STAFF_ID_ERROR";
|
|
1681
|
+
ErrorType2["INVALID_LOCATION_ID_ERROR"] = "INVALID_LOCATION_ID_ERROR";
|
|
1682
|
+
return ErrorType2;
|
|
1683
|
+
})(ErrorType || {});
|
|
1684
|
+
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
1685
|
+
SortOrder2["ASC"] = "ASC";
|
|
1686
|
+
SortOrder2["DESC"] = "DESC";
|
|
1687
|
+
return SortOrder2;
|
|
1688
|
+
})(SortOrder || {});
|
|
1689
|
+
var Mode = /* @__PURE__ */ ((Mode2) => {
|
|
1690
|
+
Mode2["OR"] = "OR";
|
|
1691
|
+
Mode2["AND"] = "AND";
|
|
1692
|
+
return Mode2;
|
|
1693
|
+
})(Mode || {});
|
|
1694
|
+
var Status = /* @__PURE__ */ ((Status2) => {
|
|
1695
|
+
Status2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
1696
|
+
Status2["READY"] = "READY";
|
|
1697
|
+
Status2["PENDING"] = "PENDING";
|
|
1698
|
+
Status2["FAILED"] = "FAILED";
|
|
1699
|
+
return Status2;
|
|
1700
|
+
})(Status || {});
|
|
1701
|
+
var SubmissionErrorType = /* @__PURE__ */ ((SubmissionErrorType2) => {
|
|
1702
|
+
SubmissionErrorType2["UNKNOWN_ERROR"] = "UNKNOWN_ERROR";
|
|
1703
|
+
SubmissionErrorType2["TYPE_ERROR"] = "TYPE_ERROR";
|
|
1704
|
+
SubmissionErrorType2["REQUIRED_VALUE_ERROR"] = "REQUIRED_VALUE_ERROR";
|
|
1705
|
+
SubmissionErrorType2["UNKNOWN_VALUE_ERROR"] = "UNKNOWN_VALUE_ERROR";
|
|
1706
|
+
SubmissionErrorType2["MAX_LENGTH_ERROR"] = "MAX_LENGTH_ERROR";
|
|
1707
|
+
SubmissionErrorType2["MIN_LENGTH_ERROR"] = "MIN_LENGTH_ERROR";
|
|
1708
|
+
SubmissionErrorType2["PATTERN_ERROR"] = "PATTERN_ERROR";
|
|
1709
|
+
SubmissionErrorType2["FORMAT_ERROR"] = "FORMAT_ERROR";
|
|
1710
|
+
SubmissionErrorType2["MAX_VALUE_ERROR"] = "MAX_VALUE_ERROR";
|
|
1711
|
+
SubmissionErrorType2["MIN_VALUE_ERROR"] = "MIN_VALUE_ERROR";
|
|
1712
|
+
SubmissionErrorType2["MULTIPLE_OF_VALUE_ERROR"] = "MULTIPLE_OF_VALUE_ERROR";
|
|
1713
|
+
SubmissionErrorType2["MIN_ITEMS_ERROR"] = "MIN_ITEMS_ERROR";
|
|
1714
|
+
SubmissionErrorType2["MAX_ITEMS_ERROR"] = "MAX_ITEMS_ERROR";
|
|
1715
|
+
SubmissionErrorType2["NOT_ALLOWED_VALUE_ERROR"] = "NOT_ALLOWED_VALUE_ERROR";
|
|
1716
|
+
SubmissionErrorType2["DISABLED_FORM_ERROR"] = "DISABLED_FORM_ERROR";
|
|
1717
|
+
return SubmissionErrorType2;
|
|
1718
|
+
})(SubmissionErrorType || {});
|
|
1719
|
+
async function upsertContactFromSubmission2(submissionId, options) {
|
|
1720
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1721
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1722
|
+
submissionId,
|
|
1723
|
+
contactId: options?.contactId,
|
|
1724
|
+
emailVerified: options?.emailVerified
|
|
1725
|
+
});
|
|
1726
|
+
const reqOpts = upsertContactFromSubmission(payload);
|
|
1727
|
+
sideEffects?.onSiteCall?.();
|
|
1728
|
+
try {
|
|
1729
|
+
const result = await httpClient.request(reqOpts);
|
|
1730
|
+
sideEffects?.onSuccess?.(result);
|
|
1731
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1732
|
+
} catch (err) {
|
|
1733
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1734
|
+
err,
|
|
1735
|
+
{
|
|
1736
|
+
spreadPathsToArguments: {},
|
|
1737
|
+
explicitPathsToArguments: {
|
|
1738
|
+
submissionId: "$[0]",
|
|
1739
|
+
contactId: "$[1].contactId",
|
|
1740
|
+
emailVerified: "$[1].emailVerified"
|
|
1741
|
+
},
|
|
1742
|
+
singleArgumentUnchanged: false
|
|
1743
|
+
},
|
|
1744
|
+
["submissionId", "options"]
|
|
1745
|
+
);
|
|
1746
|
+
sideEffects?.onError?.(err);
|
|
1747
|
+
throw transformedError;
|
|
1748
|
+
}
|
|
1749
|
+
}
|
|
1750
|
+
async function createSubmission2(submission, options) {
|
|
1751
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1752
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1753
|
+
submission,
|
|
1754
|
+
captchaToken: options?.captchaToken
|
|
1755
|
+
});
|
|
1756
|
+
const reqOpts = createSubmission(payload);
|
|
1757
|
+
sideEffects?.onSiteCall?.();
|
|
1758
|
+
try {
|
|
1759
|
+
const result = await httpClient.request(reqOpts);
|
|
1760
|
+
sideEffects?.onSuccess?.(result);
|
|
1761
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data)?.submission;
|
|
1762
|
+
} catch (err) {
|
|
1763
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1764
|
+
err,
|
|
1765
|
+
{
|
|
1766
|
+
spreadPathsToArguments: {},
|
|
1767
|
+
explicitPathsToArguments: {
|
|
1768
|
+
submission: "$[0]",
|
|
1769
|
+
captchaToken: "$[1].captchaToken"
|
|
1770
|
+
},
|
|
1771
|
+
singleArgumentUnchanged: false
|
|
1772
|
+
},
|
|
1773
|
+
["submission", "options"]
|
|
1774
|
+
);
|
|
1775
|
+
sideEffects?.onError?.(err);
|
|
1776
|
+
throw transformedError;
|
|
1777
|
+
}
|
|
1778
|
+
}
|
|
1779
|
+
async function getSubmission2(submissionId) {
|
|
1780
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
1781
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1782
|
+
submissionId
|
|
1783
|
+
});
|
|
1784
|
+
const reqOpts = getSubmission(payload);
|
|
1785
|
+
sideEffects?.onSiteCall?.();
|
|
1786
|
+
try {
|
|
1787
|
+
const result = await httpClient.request(reqOpts);
|
|
1788
|
+
sideEffects?.onSuccess?.(result);
|
|
1789
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data)?.submission;
|
|
1790
|
+
} catch (err) {
|
|
1791
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1792
|
+
err,
|
|
1793
|
+
{
|
|
1794
|
+
spreadPathsToArguments: {},
|
|
1795
|
+
explicitPathsToArguments: { submissionId: "$[0]" },
|
|
1796
|
+
singleArgumentUnchanged: false
|
|
1797
|
+
},
|
|
1798
|
+
["submissionId"]
|
|
1799
|
+
);
|
|
1800
|
+
sideEffects?.onError?.(err);
|
|
1801
|
+
throw transformedError;
|
|
1802
|
+
}
|
|
1803
|
+
}
|
|
1804
|
+
async function updateSubmission2(_id, submission) {
|
|
1805
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1806
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1807
|
+
submission: { ...submission, id: _id }
|
|
1808
|
+
});
|
|
1809
|
+
const reqOpts = updateSubmission(payload);
|
|
1810
|
+
sideEffects?.onSiteCall?.();
|
|
1811
|
+
try {
|
|
1812
|
+
const result = await httpClient.request(reqOpts);
|
|
1813
|
+
sideEffects?.onSuccess?.(result);
|
|
1814
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data)?.submission;
|
|
1815
|
+
} catch (err) {
|
|
1816
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1817
|
+
err,
|
|
1818
|
+
{
|
|
1819
|
+
spreadPathsToArguments: { submission: "$[1]" },
|
|
1820
|
+
explicitPathsToArguments: { "submission.id": "$[0]" },
|
|
1821
|
+
singleArgumentUnchanged: false
|
|
1822
|
+
},
|
|
1823
|
+
["_id", "submission"]
|
|
1824
|
+
);
|
|
1825
|
+
sideEffects?.onError?.(err);
|
|
1826
|
+
throw transformedError;
|
|
1827
|
+
}
|
|
1828
|
+
}
|
|
1829
|
+
async function confirmSubmission2(submissionId) {
|
|
1830
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
1831
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1832
|
+
submissionId
|
|
1833
|
+
});
|
|
1834
|
+
const reqOpts = confirmSubmission(payload);
|
|
1835
|
+
sideEffects?.onSiteCall?.();
|
|
1836
|
+
try {
|
|
1837
|
+
const result = await httpClient.request(reqOpts);
|
|
1838
|
+
sideEffects?.onSuccess?.(result);
|
|
1839
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1840
|
+
} catch (err) {
|
|
1841
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1842
|
+
err,
|
|
1843
|
+
{
|
|
1844
|
+
spreadPathsToArguments: {},
|
|
1845
|
+
explicitPathsToArguments: { submissionId: "$[0]" },
|
|
1846
|
+
singleArgumentUnchanged: false
|
|
1847
|
+
},
|
|
1848
|
+
["submissionId"]
|
|
1849
|
+
);
|
|
1850
|
+
sideEffects?.onError?.(err);
|
|
1851
|
+
throw transformedError;
|
|
1852
|
+
}
|
|
1853
|
+
}
|
|
1854
|
+
async function deleteSubmission2(submissionId, options) {
|
|
1855
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1856
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1857
|
+
submissionId,
|
|
1858
|
+
permanent: options?.permanent,
|
|
1859
|
+
preserveFiles: options?.preserveFiles
|
|
1860
|
+
});
|
|
1861
|
+
const reqOpts = deleteSubmission(payload);
|
|
1862
|
+
sideEffects?.onSiteCall?.();
|
|
1863
|
+
try {
|
|
1864
|
+
const result = await httpClient.request(reqOpts);
|
|
1865
|
+
sideEffects?.onSuccess?.(result);
|
|
1866
|
+
} catch (err) {
|
|
1867
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1868
|
+
err,
|
|
1869
|
+
{
|
|
1870
|
+
spreadPathsToArguments: {},
|
|
1871
|
+
explicitPathsToArguments: {
|
|
1872
|
+
submissionId: "$[0]",
|
|
1873
|
+
permanent: "$[1].permanent",
|
|
1874
|
+
preserveFiles: "$[1].preserveFiles"
|
|
1875
|
+
},
|
|
1876
|
+
singleArgumentUnchanged: false
|
|
1877
|
+
},
|
|
1878
|
+
["submissionId", "options"]
|
|
1879
|
+
);
|
|
1880
|
+
sideEffects?.onError?.(err);
|
|
1881
|
+
throw transformedError;
|
|
1882
|
+
}
|
|
1883
|
+
}
|
|
1884
|
+
async function bulkDeleteSubmission2(formId, options) {
|
|
1885
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1886
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1887
|
+
formId,
|
|
1888
|
+
submissionIds: options?.submissionIds,
|
|
1889
|
+
permanent: options?.permanent,
|
|
1890
|
+
preserveFiles: options?.preserveFiles
|
|
1891
|
+
});
|
|
1892
|
+
const reqOpts = bulkDeleteSubmission(payload);
|
|
1893
|
+
sideEffects?.onSiteCall?.();
|
|
1894
|
+
try {
|
|
1895
|
+
const result = await httpClient.request(reqOpts);
|
|
1896
|
+
sideEffects?.onSuccess?.(result);
|
|
1897
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1898
|
+
} catch (err) {
|
|
1899
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1900
|
+
err,
|
|
1901
|
+
{
|
|
1902
|
+
spreadPathsToArguments: {},
|
|
1903
|
+
explicitPathsToArguments: {
|
|
1904
|
+
formId: "$[0]",
|
|
1905
|
+
submissionIds: "$[1].submissionIds",
|
|
1906
|
+
permanent: "$[1].permanent",
|
|
1907
|
+
preserveFiles: "$[1].preserveFiles"
|
|
1908
|
+
},
|
|
1909
|
+
singleArgumentUnchanged: false
|
|
1910
|
+
},
|
|
1911
|
+
["formId", "options"]
|
|
1912
|
+
);
|
|
1913
|
+
sideEffects?.onError?.(err);
|
|
1914
|
+
throw transformedError;
|
|
1915
|
+
}
|
|
1916
|
+
}
|
|
1917
|
+
async function restoreSubmissionFromTrashBin2(submissionId) {
|
|
1918
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
1919
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1920
|
+
submissionId
|
|
1921
|
+
});
|
|
1922
|
+
const reqOpts = restoreSubmissionFromTrashBin(payload);
|
|
1923
|
+
sideEffects?.onSiteCall?.();
|
|
1924
|
+
try {
|
|
1925
|
+
const result = await httpClient.request(reqOpts);
|
|
1926
|
+
sideEffects?.onSuccess?.(result);
|
|
1927
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1928
|
+
} catch (err) {
|
|
1929
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1930
|
+
err,
|
|
1931
|
+
{
|
|
1932
|
+
spreadPathsToArguments: {},
|
|
1933
|
+
explicitPathsToArguments: { submissionId: "$[0]" },
|
|
1934
|
+
singleArgumentUnchanged: false
|
|
1935
|
+
},
|
|
1936
|
+
["submissionId"]
|
|
1937
|
+
);
|
|
1938
|
+
sideEffects?.onError?.(err);
|
|
1939
|
+
throw transformedError;
|
|
1940
|
+
}
|
|
1941
|
+
}
|
|
1942
|
+
async function removeSubmissionFromTrashBin2(submissionId) {
|
|
1943
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
1944
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1945
|
+
submissionId
|
|
1946
|
+
});
|
|
1947
|
+
const reqOpts = removeSubmissionFromTrashBin(payload);
|
|
1948
|
+
sideEffects?.onSiteCall?.();
|
|
1949
|
+
try {
|
|
1950
|
+
const result = await httpClient.request(reqOpts);
|
|
1951
|
+
sideEffects?.onSuccess?.(result);
|
|
1952
|
+
} catch (err) {
|
|
1953
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1954
|
+
err,
|
|
1955
|
+
{
|
|
1956
|
+
spreadPathsToArguments: {},
|
|
1957
|
+
explicitPathsToArguments: { submissionId: "$[0]" },
|
|
1958
|
+
singleArgumentUnchanged: false
|
|
1959
|
+
},
|
|
1960
|
+
["submissionId"]
|
|
1961
|
+
);
|
|
1962
|
+
sideEffects?.onError?.(err);
|
|
1963
|
+
throw transformedError;
|
|
1964
|
+
}
|
|
1965
|
+
}
|
|
1966
|
+
async function bulkRemoveSubmissionFromTrashBin2(formId, options) {
|
|
1967
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1968
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1969
|
+
formId,
|
|
1970
|
+
submissionIds: options?.submissionIds
|
|
1971
|
+
});
|
|
1972
|
+
const reqOpts = bulkRemoveSubmissionFromTrashBin(payload);
|
|
1973
|
+
sideEffects?.onSiteCall?.();
|
|
1974
|
+
try {
|
|
1975
|
+
const result = await httpClient.request(reqOpts);
|
|
1976
|
+
sideEffects?.onSuccess?.(result);
|
|
1977
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
1978
|
+
} catch (err) {
|
|
1979
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1980
|
+
err,
|
|
1981
|
+
{
|
|
1982
|
+
spreadPathsToArguments: {},
|
|
1983
|
+
explicitPathsToArguments: {
|
|
1984
|
+
formId: "$[0]",
|
|
1985
|
+
submissionIds: "$[1].submissionIds"
|
|
1986
|
+
},
|
|
1987
|
+
singleArgumentUnchanged: false
|
|
1988
|
+
},
|
|
1989
|
+
["formId", "options"]
|
|
1990
|
+
);
|
|
1991
|
+
sideEffects?.onError?.(err);
|
|
1992
|
+
throw transformedError;
|
|
1993
|
+
}
|
|
1994
|
+
}
|
|
1995
|
+
async function listDeletedSubmissions2(formId, options) {
|
|
1996
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
1997
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
1998
|
+
formId,
|
|
1999
|
+
submissionIds: options?.submissionIds,
|
|
2000
|
+
paging: options?.paging,
|
|
2001
|
+
statuses: options?.statuses
|
|
2002
|
+
});
|
|
2003
|
+
const reqOpts = listDeletedSubmissions(payload);
|
|
2004
|
+
sideEffects?.onSiteCall?.();
|
|
2005
|
+
try {
|
|
2006
|
+
const result = await httpClient.request(reqOpts);
|
|
2007
|
+
sideEffects?.onSuccess?.(result);
|
|
2008
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
2009
|
+
} catch (err) {
|
|
2010
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2011
|
+
err,
|
|
2012
|
+
{
|
|
2013
|
+
spreadPathsToArguments: {},
|
|
2014
|
+
explicitPathsToArguments: {
|
|
2015
|
+
formId: "$[0]",
|
|
2016
|
+
submissionIds: "$[1].submissionIds",
|
|
2017
|
+
paging: "$[1].paging",
|
|
2018
|
+
statuses: "$[1].statuses"
|
|
2019
|
+
},
|
|
2020
|
+
singleArgumentUnchanged: false
|
|
2021
|
+
},
|
|
2022
|
+
["formId", "options"]
|
|
2023
|
+
);
|
|
2024
|
+
sideEffects?.onError?.(err);
|
|
2025
|
+
throw transformedError;
|
|
2026
|
+
}
|
|
2027
|
+
}
|
|
2028
|
+
async function getDeletedSubmission2(submissionId) {
|
|
2029
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
2030
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2031
|
+
submissionId
|
|
2032
|
+
});
|
|
2033
|
+
const reqOpts = getDeletedSubmission(payload);
|
|
2034
|
+
sideEffects?.onSiteCall?.();
|
|
2035
|
+
try {
|
|
2036
|
+
const result = await httpClient.request(reqOpts);
|
|
2037
|
+
sideEffects?.onSuccess?.(result);
|
|
2038
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
2039
|
+
} catch (err) {
|
|
2040
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2041
|
+
err,
|
|
2042
|
+
{
|
|
2043
|
+
spreadPathsToArguments: {},
|
|
2044
|
+
explicitPathsToArguments: { submissionId: "$[0]" },
|
|
2045
|
+
singleArgumentUnchanged: false
|
|
2046
|
+
},
|
|
2047
|
+
["submissionId"]
|
|
2048
|
+
);
|
|
2049
|
+
sideEffects?.onError?.(err);
|
|
2050
|
+
throw transformedError;
|
|
2051
|
+
}
|
|
2052
|
+
}
|
|
2053
|
+
async function querySubmission2(query, options) {
|
|
2054
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
2055
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2056
|
+
query,
|
|
2057
|
+
onlyYourOwn: options?.onlyYourOwn
|
|
2058
|
+
});
|
|
2059
|
+
const reqOpts = querySubmission(payload);
|
|
2060
|
+
sideEffects?.onSiteCall?.();
|
|
2061
|
+
try {
|
|
2062
|
+
const result = await httpClient.request(reqOpts);
|
|
2063
|
+
sideEffects?.onSuccess?.(result);
|
|
2064
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
2065
|
+
} catch (err) {
|
|
2066
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2067
|
+
err,
|
|
2068
|
+
{
|
|
2069
|
+
spreadPathsToArguments: {},
|
|
2070
|
+
explicitPathsToArguments: {
|
|
2071
|
+
query: "$[0]",
|
|
2072
|
+
onlyYourOwn: "$[1].onlyYourOwn"
|
|
2073
|
+
},
|
|
2074
|
+
singleArgumentUnchanged: false
|
|
2075
|
+
},
|
|
2076
|
+
["query", "options"]
|
|
2077
|
+
);
|
|
2078
|
+
sideEffects?.onError?.(err);
|
|
2079
|
+
throw transformedError;
|
|
2080
|
+
}
|
|
2081
|
+
}
|
|
2082
|
+
async function searchSubmissionsByNamespace2(search) {
|
|
2083
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
2084
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({ search });
|
|
2085
|
+
const reqOpts = searchSubmissionsByNamespace(payload);
|
|
2086
|
+
sideEffects?.onSiteCall?.();
|
|
2087
|
+
try {
|
|
2088
|
+
const result = await httpClient.request(reqOpts);
|
|
2089
|
+
sideEffects?.onSuccess?.(result);
|
|
2090
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
2091
|
+
} catch (err) {
|
|
2092
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2093
|
+
err,
|
|
2094
|
+
{
|
|
2095
|
+
spreadPathsToArguments: {},
|
|
2096
|
+
explicitPathsToArguments: { search: "$[0]" },
|
|
2097
|
+
singleArgumentUnchanged: false
|
|
2098
|
+
},
|
|
2099
|
+
["search"]
|
|
2100
|
+
);
|
|
2101
|
+
sideEffects?.onError?.(err);
|
|
2102
|
+
throw transformedError;
|
|
2103
|
+
}
|
|
2104
|
+
}
|
|
2105
|
+
function querySubmissionsByNamespace2(options) {
|
|
2106
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
2107
|
+
return (0, import_query_builder.queryBuilder)({
|
|
2108
|
+
func: async (payload) => {
|
|
2109
|
+
const reqOpts = querySubmissionsByNamespace({
|
|
2110
|
+
...payload,
|
|
2111
|
+
...options ?? {}
|
|
2112
|
+
});
|
|
2113
|
+
sideEffects?.onSiteCall?.();
|
|
2114
|
+
try {
|
|
2115
|
+
const result = await httpClient.request(reqOpts);
|
|
2116
|
+
sideEffects?.onSuccess?.(result);
|
|
2117
|
+
return result;
|
|
2118
|
+
} catch (err) {
|
|
2119
|
+
sideEffects?.onError?.(err);
|
|
2120
|
+
throw err;
|
|
2121
|
+
}
|
|
2122
|
+
},
|
|
2123
|
+
requestTransformer: (query) => {
|
|
2124
|
+
const args = [query, options];
|
|
2125
|
+
return (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2126
|
+
...args?.[1],
|
|
2127
|
+
query: args?.[0]
|
|
2128
|
+
});
|
|
2129
|
+
},
|
|
2130
|
+
responseTransformer: ({
|
|
2131
|
+
data
|
|
2132
|
+
}) => {
|
|
2133
|
+
const transformedData = (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
|
|
2134
|
+
(0, import_transform_paths2.transformPaths)(data, [])
|
|
2135
|
+
);
|
|
2136
|
+
return {
|
|
2137
|
+
items: transformedData?.submissions,
|
|
2138
|
+
pagingMetadata: transformedData?.metadata
|
|
2139
|
+
};
|
|
2140
|
+
},
|
|
2141
|
+
errorTransformer: (err) => {
|
|
2142
|
+
const transformedError = (0, import_transform_error.transformError)(err, {
|
|
2143
|
+
spreadPathsToArguments: {},
|
|
2144
|
+
explicitPathsToArguments: { query: "$[0]" },
|
|
2145
|
+
singleArgumentUnchanged: false
|
|
2146
|
+
});
|
|
2147
|
+
throw transformedError;
|
|
2148
|
+
},
|
|
2149
|
+
pagingMethod: "CURSOR",
|
|
2150
|
+
transformationPaths: {}
|
|
2151
|
+
});
|
|
2152
|
+
}
|
|
2153
|
+
async function countSubmissionsByFilter2(filter, options) {
|
|
2154
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
2155
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2156
|
+
filter,
|
|
2157
|
+
search: options?.search
|
|
2158
|
+
});
|
|
2159
|
+
const reqOpts = countSubmissionsByFilter(payload);
|
|
2160
|
+
sideEffects?.onSiteCall?.();
|
|
2161
|
+
try {
|
|
2162
|
+
const result = await httpClient.request(reqOpts);
|
|
2163
|
+
sideEffects?.onSuccess?.(result);
|
|
2164
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
2165
|
+
} catch (err) {
|
|
2166
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2167
|
+
err,
|
|
2168
|
+
{
|
|
2169
|
+
spreadPathsToArguments: {},
|
|
2170
|
+
explicitPathsToArguments: { filter: "$[0]", search: "$[1].search" },
|
|
2171
|
+
singleArgumentUnchanged: false
|
|
2172
|
+
},
|
|
2173
|
+
["filter", "options"]
|
|
2174
|
+
);
|
|
2175
|
+
sideEffects?.onError?.(err);
|
|
2176
|
+
throw transformedError;
|
|
2177
|
+
}
|
|
2178
|
+
}
|
|
2179
|
+
async function countSubmissions2(formIds, namespace, options) {
|
|
2180
|
+
const { httpClient, sideEffects } = arguments[3];
|
|
2181
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2182
|
+
formIds,
|
|
2183
|
+
namespace,
|
|
2184
|
+
statuses: options?.statuses
|
|
2185
|
+
});
|
|
2186
|
+
const reqOpts = countSubmissions(payload);
|
|
2187
|
+
sideEffects?.onSiteCall?.();
|
|
2188
|
+
try {
|
|
2189
|
+
const result = await httpClient.request(reqOpts);
|
|
2190
|
+
sideEffects?.onSuccess?.(result);
|
|
2191
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
2192
|
+
} catch (err) {
|
|
2193
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2194
|
+
err,
|
|
2195
|
+
{
|
|
2196
|
+
spreadPathsToArguments: {},
|
|
2197
|
+
explicitPathsToArguments: {
|
|
2198
|
+
formIds: "$[0]",
|
|
2199
|
+
namespace: "$[1]",
|
|
2200
|
+
statuses: "$[2].statuses"
|
|
2201
|
+
},
|
|
2202
|
+
singleArgumentUnchanged: false
|
|
2203
|
+
},
|
|
2204
|
+
["formIds", "namespace", "options"]
|
|
2205
|
+
);
|
|
2206
|
+
sideEffects?.onError?.(err);
|
|
2207
|
+
throw transformedError;
|
|
2208
|
+
}
|
|
2209
|
+
}
|
|
2210
|
+
async function countDeletedSubmissions2(formIds, namespace, options) {
|
|
2211
|
+
const { httpClient, sideEffects } = arguments[3];
|
|
2212
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2213
|
+
formIds,
|
|
2214
|
+
namespace,
|
|
2215
|
+
statuses: options?.statuses
|
|
2216
|
+
});
|
|
2217
|
+
const reqOpts = countDeletedSubmissions(payload);
|
|
2218
|
+
sideEffects?.onSiteCall?.();
|
|
2219
|
+
try {
|
|
2220
|
+
const result = await httpClient.request(reqOpts);
|
|
2221
|
+
sideEffects?.onSuccess?.(result);
|
|
2222
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
2223
|
+
} catch (err) {
|
|
2224
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2225
|
+
err,
|
|
2226
|
+
{
|
|
2227
|
+
spreadPathsToArguments: {},
|
|
2228
|
+
explicitPathsToArguments: {
|
|
2229
|
+
formIds: "$[0]",
|
|
2230
|
+
namespace: "$[1]",
|
|
2231
|
+
statuses: "$[2].statuses"
|
|
2232
|
+
},
|
|
2233
|
+
singleArgumentUnchanged: false
|
|
2234
|
+
},
|
|
2235
|
+
["formIds", "namespace", "options"]
|
|
2236
|
+
);
|
|
2237
|
+
sideEffects?.onError?.(err);
|
|
2238
|
+
throw transformedError;
|
|
2239
|
+
}
|
|
2240
|
+
}
|
|
2241
|
+
async function getMediaUploadUrl2(formId, filename, mimeType) {
|
|
2242
|
+
const { httpClient, sideEffects } = arguments[3];
|
|
2243
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2244
|
+
formId,
|
|
2245
|
+
filename,
|
|
2246
|
+
mimeType
|
|
2247
|
+
});
|
|
2248
|
+
const reqOpts = getMediaUploadUrl(payload);
|
|
2249
|
+
sideEffects?.onSiteCall?.();
|
|
2250
|
+
try {
|
|
2251
|
+
const result = await httpClient.request(reqOpts);
|
|
2252
|
+
sideEffects?.onSuccess?.(result);
|
|
2253
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
2254
|
+
} catch (err) {
|
|
2255
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2256
|
+
err,
|
|
2257
|
+
{
|
|
2258
|
+
spreadPathsToArguments: {},
|
|
2259
|
+
explicitPathsToArguments: {
|
|
2260
|
+
formId: "$[0]",
|
|
2261
|
+
filename: "$[1]",
|
|
2262
|
+
mimeType: "$[2]"
|
|
2263
|
+
},
|
|
2264
|
+
singleArgumentUnchanged: false
|
|
2265
|
+
},
|
|
2266
|
+
["formId", "filename", "mimeType"]
|
|
2267
|
+
);
|
|
2268
|
+
sideEffects?.onError?.(err);
|
|
2269
|
+
throw transformedError;
|
|
2270
|
+
}
|
|
2271
|
+
}
|
|
2272
|
+
async function bulkMarkSubmissionsAsSeen2(ids, formId) {
|
|
2273
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
2274
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2275
|
+
ids,
|
|
2276
|
+
formId
|
|
2277
|
+
});
|
|
2278
|
+
const reqOpts = bulkMarkSubmissionsAsSeen(payload);
|
|
2279
|
+
sideEffects?.onSiteCall?.();
|
|
2280
|
+
try {
|
|
2281
|
+
const result = await httpClient.request(reqOpts);
|
|
2282
|
+
sideEffects?.onSuccess?.(result);
|
|
2283
|
+
} catch (err) {
|
|
2284
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2285
|
+
err,
|
|
2286
|
+
{
|
|
2287
|
+
spreadPathsToArguments: {},
|
|
2288
|
+
explicitPathsToArguments: { ids: "$[0]", formId: "$[1]" },
|
|
2289
|
+
singleArgumentUnchanged: false
|
|
2290
|
+
},
|
|
2291
|
+
["ids", "formId"]
|
|
2292
|
+
);
|
|
2293
|
+
sideEffects?.onError?.(err);
|
|
2294
|
+
throw transformedError;
|
|
2295
|
+
}
|
|
2296
|
+
}
|
|
2297
|
+
async function getSubmissionDownloadUrl2(submissionId) {
|
|
2298
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
2299
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2300
|
+
submissionId
|
|
2301
|
+
});
|
|
2302
|
+
const reqOpts = getSubmissionDownloadUrl(payload);
|
|
2303
|
+
sideEffects?.onSiteCall?.();
|
|
2304
|
+
try {
|
|
2305
|
+
const result = await httpClient.request(reqOpts);
|
|
2306
|
+
sideEffects?.onSuccess?.(result);
|
|
2307
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
2308
|
+
} catch (err) {
|
|
2309
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2310
|
+
err,
|
|
2311
|
+
{
|
|
2312
|
+
spreadPathsToArguments: {},
|
|
2313
|
+
explicitPathsToArguments: { submissionId: "$[0]" },
|
|
2314
|
+
singleArgumentUnchanged: false
|
|
2315
|
+
},
|
|
2316
|
+
["submissionId"]
|
|
2317
|
+
);
|
|
2318
|
+
sideEffects?.onError?.(err);
|
|
2319
|
+
throw transformedError;
|
|
2320
|
+
}
|
|
2321
|
+
}
|
|
2322
|
+
async function getFormattedSubmission2(submissionId) {
|
|
2323
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
2324
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2325
|
+
submissionId
|
|
2326
|
+
});
|
|
2327
|
+
const reqOpts = getFormattedSubmission(payload);
|
|
2328
|
+
sideEffects?.onSiteCall?.();
|
|
2329
|
+
try {
|
|
2330
|
+
const result = await httpClient.request(reqOpts);
|
|
2331
|
+
sideEffects?.onSuccess?.(result);
|
|
2332
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
2333
|
+
} catch (err) {
|
|
2334
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2335
|
+
err,
|
|
2336
|
+
{
|
|
2337
|
+
spreadPathsToArguments: {},
|
|
2338
|
+
explicitPathsToArguments: { submissionId: "$[0]" },
|
|
2339
|
+
singleArgumentUnchanged: false
|
|
2340
|
+
},
|
|
2341
|
+
["submissionId"]
|
|
2342
|
+
);
|
|
2343
|
+
sideEffects?.onError?.(err);
|
|
2344
|
+
throw transformedError;
|
|
2345
|
+
}
|
|
2346
|
+
}
|
|
2347
|
+
async function updateExtendedFields2(_id, namespace, options) {
|
|
2348
|
+
const { httpClient, sideEffects } = arguments[3];
|
|
2349
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2350
|
+
id: _id,
|
|
2351
|
+
namespace,
|
|
2352
|
+
namespaceData: options?.namespaceData
|
|
2353
|
+
});
|
|
2354
|
+
const reqOpts = updateExtendedFields(payload);
|
|
2355
|
+
sideEffects?.onSiteCall?.();
|
|
2356
|
+
try {
|
|
2357
|
+
const result = await httpClient.request(reqOpts);
|
|
2358
|
+
sideEffects?.onSuccess?.(result);
|
|
2359
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
2360
|
+
} catch (err) {
|
|
2361
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2362
|
+
err,
|
|
2363
|
+
{
|
|
2364
|
+
spreadPathsToArguments: {},
|
|
2365
|
+
explicitPathsToArguments: {
|
|
2366
|
+
id: "$[0]",
|
|
2367
|
+
namespace: "$[1]",
|
|
2368
|
+
namespaceData: "$[2].namespaceData"
|
|
2369
|
+
},
|
|
2370
|
+
singleArgumentUnchanged: false
|
|
2371
|
+
},
|
|
2372
|
+
["_id", "namespace", "options"]
|
|
2373
|
+
);
|
|
2374
|
+
sideEffects?.onError?.(err);
|
|
2375
|
+
throw transformedError;
|
|
2376
|
+
}
|
|
2377
|
+
}
|
|
2378
|
+
async function bulkUpdateFormSubmissionTags2(submissionIds, options) {
|
|
2379
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
2380
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2381
|
+
submissionIds,
|
|
2382
|
+
assignTags: options?.assignTags,
|
|
2383
|
+
unassignTags: options?.unassignTags
|
|
2384
|
+
});
|
|
2385
|
+
const reqOpts = bulkUpdateFormSubmissionTags(payload);
|
|
2386
|
+
sideEffects?.onSiteCall?.();
|
|
2387
|
+
try {
|
|
2388
|
+
const result = await httpClient.request(reqOpts);
|
|
2389
|
+
sideEffects?.onSuccess?.(result);
|
|
2390
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
2391
|
+
} catch (err) {
|
|
2392
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2393
|
+
err,
|
|
2394
|
+
{
|
|
2395
|
+
spreadPathsToArguments: {},
|
|
2396
|
+
explicitPathsToArguments: {
|
|
2397
|
+
submissionIds: "$[0]",
|
|
2398
|
+
assignTags: "$[1].assignTags",
|
|
2399
|
+
unassignTags: "$[1].unassignTags"
|
|
2400
|
+
},
|
|
2401
|
+
singleArgumentUnchanged: false
|
|
2402
|
+
},
|
|
2403
|
+
["submissionIds", "options"]
|
|
2404
|
+
);
|
|
2405
|
+
sideEffects?.onError?.(err);
|
|
2406
|
+
throw transformedError;
|
|
2407
|
+
}
|
|
2408
|
+
}
|
|
2409
|
+
async function bulkUpdateFormSubmissionTagsByFilter2(filter, options) {
|
|
2410
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
2411
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2412
|
+
filter,
|
|
2413
|
+
assignTags: options?.assignTags,
|
|
2414
|
+
unassignTags: options?.unassignTags
|
|
2415
|
+
});
|
|
2416
|
+
const reqOpts = bulkUpdateFormSubmissionTagsByFilter(
|
|
2417
|
+
payload
|
|
2418
|
+
);
|
|
2419
|
+
sideEffects?.onSiteCall?.();
|
|
2420
|
+
try {
|
|
2421
|
+
const result = await httpClient.request(reqOpts);
|
|
2422
|
+
sideEffects?.onSuccess?.(result);
|
|
2423
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
2424
|
+
} catch (err) {
|
|
2425
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2426
|
+
err,
|
|
2427
|
+
{
|
|
2428
|
+
spreadPathsToArguments: {},
|
|
2429
|
+
explicitPathsToArguments: {
|
|
2430
|
+
filter: "$[0]",
|
|
2431
|
+
assignTags: "$[1].assignTags",
|
|
2432
|
+
unassignTags: "$[1].unassignTags"
|
|
2433
|
+
},
|
|
2434
|
+
singleArgumentUnchanged: false
|
|
2435
|
+
},
|
|
2436
|
+
["filter", "options"]
|
|
2437
|
+
);
|
|
2438
|
+
sideEffects?.onError?.(err);
|
|
2439
|
+
throw transformedError;
|
|
2440
|
+
}
|
|
2441
|
+
}
|
|
2442
|
+
async function validateFormSubmission2(submission, options) {
|
|
2443
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
2444
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2445
|
+
submission,
|
|
2446
|
+
additionalMetadata: options?.additionalMetadata,
|
|
2447
|
+
fieldsToValidate: options?.fieldsToValidate
|
|
2448
|
+
});
|
|
2449
|
+
const reqOpts = validateFormSubmission(payload);
|
|
2450
|
+
sideEffects?.onSiteCall?.();
|
|
2451
|
+
try {
|
|
2452
|
+
const result = await httpClient.request(reqOpts);
|
|
2453
|
+
sideEffects?.onSuccess?.(result);
|
|
2454
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
2455
|
+
} catch (err) {
|
|
2456
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2457
|
+
err,
|
|
2458
|
+
{
|
|
2459
|
+
spreadPathsToArguments: {},
|
|
2460
|
+
explicitPathsToArguments: {
|
|
2461
|
+
submission: "$[0]",
|
|
2462
|
+
additionalMetadata: "$[1].additionalMetadata",
|
|
2463
|
+
fieldsToValidate: "$[1].fieldsToValidate"
|
|
2464
|
+
},
|
|
2465
|
+
singleArgumentUnchanged: false
|
|
2466
|
+
},
|
|
2467
|
+
["submission", "options"]
|
|
2468
|
+
);
|
|
2469
|
+
sideEffects?.onError?.(err);
|
|
2470
|
+
throw transformedError;
|
|
2471
|
+
}
|
|
2472
|
+
}
|
|
2473
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
2474
|
+
0 && (module.exports = {
|
|
2475
|
+
AddressInfoTag,
|
|
2476
|
+
Alignment,
|
|
2477
|
+
AppType,
|
|
2478
|
+
ArrayComponentType,
|
|
2479
|
+
ArrayItemsItemType,
|
|
2480
|
+
AspectRatio,
|
|
2481
|
+
BackgroundType,
|
|
2482
|
+
BooleanComponentType,
|
|
2483
|
+
ButtonDataType,
|
|
2484
|
+
CardStylesAlignment,
|
|
2485
|
+
CardStylesType,
|
|
2486
|
+
ChangeableProperty,
|
|
2487
|
+
ComponentType,
|
|
2488
|
+
ConfirmationLevel,
|
|
2489
|
+
ContactField,
|
|
2490
|
+
Crop,
|
|
2491
|
+
DecorationType,
|
|
2492
|
+
Direction,
|
|
2493
|
+
DisplayFieldDisplayFieldType,
|
|
2494
|
+
DisplayFieldType,
|
|
2495
|
+
DividerDataAlignment,
|
|
2496
|
+
EmailInfoTag,
|
|
2497
|
+
ErrorType,
|
|
2498
|
+
FieldType,
|
|
2499
|
+
FirstDayOfWeek,
|
|
2500
|
+
FontType,
|
|
2501
|
+
FormFieldContactInfoContactField,
|
|
2502
|
+
FormFieldContactInfoEmailInfoTag,
|
|
2503
|
+
FormFieldContactInfoPhoneInfoTag,
|
|
2504
|
+
FormFieldV2FieldType,
|
|
2505
|
+
Format,
|
|
2506
|
+
FormatEnumFormat,
|
|
2507
|
+
GIFType,
|
|
2508
|
+
IdentityType,
|
|
2509
|
+
ImageFit,
|
|
2510
|
+
ImagePosition,
|
|
2511
|
+
InitialExpandedItems,
|
|
2512
|
+
InputFieldArrayComponentType,
|
|
2513
|
+
InputFieldBooleanComponentType,
|
|
2514
|
+
InputFieldInputType,
|
|
2515
|
+
InputFieldNumberComponentType,
|
|
2516
|
+
InputFieldPaymentComponentType,
|
|
2517
|
+
InputFieldSchedulingComponentType,
|
|
2518
|
+
InputFieldStringComponentType,
|
|
2519
|
+
InputFieldStringTypeFormatEnumFormat,
|
|
2520
|
+
InputFieldWixFileComponentType,
|
|
2521
|
+
InputType,
|
|
2522
|
+
ItemType,
|
|
2523
|
+
Kind,
|
|
2524
|
+
Layout,
|
|
2525
|
+
LayoutType,
|
|
2526
|
+
LineStyle,
|
|
2527
|
+
LinkTarget,
|
|
2528
|
+
MapType,
|
|
2529
|
+
Mode,
|
|
2530
|
+
MultilineAddressComponentType,
|
|
2531
|
+
NodeType,
|
|
2532
|
+
NullValue,
|
|
2533
|
+
NumberComponentType,
|
|
2534
|
+
NumberOfColumns,
|
|
2535
|
+
Operator,
|
|
2536
|
+
OptInLevel,
|
|
2537
|
+
Orientation,
|
|
2538
|
+
OverrideEntityType,
|
|
2539
|
+
OverrideEntityTypeEnumOverrideEntityType,
|
|
2540
|
+
PaymentComponentType,
|
|
2541
|
+
PhoneInfoTag,
|
|
2542
|
+
Placement,
|
|
2543
|
+
PluginContainerDataAlignment,
|
|
2544
|
+
PollLayoutDirection,
|
|
2545
|
+
PollLayoutType,
|
|
2546
|
+
Position,
|
|
2547
|
+
PriceType,
|
|
2548
|
+
ProductType,
|
|
2549
|
+
PropertiesTypeEnum,
|
|
2550
|
+
PropertiesTypePropertiesTypeEnum,
|
|
2551
|
+
RequiredIndicator,
|
|
2552
|
+
RequiredIndicatorPlacement,
|
|
2553
|
+
Resizing,
|
|
2554
|
+
SchedulingComponentType,
|
|
2555
|
+
SortOrder,
|
|
2556
|
+
Source,
|
|
2557
|
+
SpamFilterProtectionLevel,
|
|
2558
|
+
Status,
|
|
2559
|
+
StringComponentType,
|
|
2560
|
+
StringTypeFormatEnumFormat,
|
|
2561
|
+
StylesPosition,
|
|
2562
|
+
SubmissionErrorType,
|
|
2563
|
+
SubmissionStatus,
|
|
2564
|
+
SubmitSuccessAction,
|
|
2565
|
+
SubscriptionInfoOptInLevel,
|
|
2566
|
+
Tag,
|
|
2567
|
+
Target,
|
|
2568
|
+
TextAlignment,
|
|
2569
|
+
ThumbnailsAlignment,
|
|
2570
|
+
Type,
|
|
2571
|
+
UploadFileFormat,
|
|
2572
|
+
ValidationFormat,
|
|
2573
|
+
VerticalAlignment,
|
|
2574
|
+
ViewMode,
|
|
2575
|
+
ViewRole,
|
|
2576
|
+
VoteRole,
|
|
2577
|
+
WebhookIdentityType,
|
|
2578
|
+
Width,
|
|
2579
|
+
WidthType,
|
|
2580
|
+
WixFileComponentType,
|
|
2581
|
+
bulkDeleteSubmission,
|
|
2582
|
+
bulkMarkSubmissionsAsSeen,
|
|
2583
|
+
bulkRemoveSubmissionFromTrashBin,
|
|
2584
|
+
bulkUpdateFormSubmissionTags,
|
|
2585
|
+
bulkUpdateFormSubmissionTagsByFilter,
|
|
2586
|
+
confirmSubmission,
|
|
2587
|
+
countDeletedSubmissions,
|
|
2588
|
+
countSubmissions,
|
|
2589
|
+
countSubmissionsByFilter,
|
|
2590
|
+
createSubmission,
|
|
2591
|
+
deleteSubmission,
|
|
2592
|
+
getDeletedSubmission,
|
|
2593
|
+
getFormattedSubmission,
|
|
2594
|
+
getMediaUploadUrl,
|
|
2595
|
+
getSubmission,
|
|
2596
|
+
getSubmissionDownloadUrl,
|
|
2597
|
+
listDeletedSubmissions,
|
|
2598
|
+
querySubmission,
|
|
2599
|
+
querySubmissionsByNamespace,
|
|
2600
|
+
removeSubmissionFromTrashBin,
|
|
2601
|
+
restoreSubmissionFromTrashBin,
|
|
2602
|
+
searchSubmissionsByNamespace,
|
|
2603
|
+
updateExtendedFields,
|
|
2604
|
+
updateSubmission,
|
|
2605
|
+
upsertContactFromSubmission,
|
|
2606
|
+
validateFormSubmission
|
|
2607
|
+
});
|
|
18
2608
|
//# sourceMappingURL=index.typings.js.map
|