@wix/auto_sdk_forms_submissions 1.0.27 → 1.0.28

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