@wix/auto_sdk_stores_customizations-v-3 1.0.23 → 1.0.25

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.
@@ -0,0 +1,1208 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // index.typings.ts
21
+ var index_typings_exports = {};
22
+ __export(index_typings_exports, {
23
+ ChoiceType: () => ChoiceType,
24
+ CustomizationRenderType: () => CustomizationRenderType,
25
+ CustomizationType: () => CustomizationType,
26
+ RequestedFields: () => RequestedFields,
27
+ SortOrder: () => SortOrder,
28
+ WebhookIdentityType: () => WebhookIdentityType,
29
+ addCustomizationChoices: () => addCustomizationChoices2,
30
+ bulkAddCustomizationChoices: () => bulkAddCustomizationChoices2,
31
+ bulkCreateCustomizations: () => bulkCreateCustomizations2,
32
+ bulkUpdateCustomizations: () => bulkUpdateCustomizations2,
33
+ createCustomization: () => createCustomization2,
34
+ deleteCustomization: () => deleteCustomization2,
35
+ getCustomization: () => getCustomization2,
36
+ queryCustomizations: () => queryCustomizations2,
37
+ removeCustomizationChoices: () => removeCustomizationChoices2,
38
+ setCustomizationChoices: () => setCustomizationChoices2,
39
+ updateCustomization: () => updateCustomization2
40
+ });
41
+ module.exports = __toCommonJS(index_typings_exports);
42
+
43
+ // src/stores-catalog-v3-customization-customizations-v-3.universal.ts
44
+ var import_transform_error = require("@wix/sdk-runtime/transform-error");
45
+ var import_query_builder = require("@wix/sdk-runtime/query-builder");
46
+ var import_rename_all_nested_keys = require("@wix/sdk-runtime/rename-all-nested-keys");
47
+
48
+ // src/stores-catalog-v3-customization-customizations-v-3.http.ts
49
+ var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
50
+ var import_float = require("@wix/sdk-runtime/transformations/float");
51
+ var import_float2 = require("@wix/sdk-runtime/transformations/float");
52
+ var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
53
+ var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
54
+ var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
55
+ var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
56
+ var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
57
+ function resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl(opts) {
58
+ const domainToMappings = {
59
+ "manage._base_domain_": [
60
+ {
61
+ srcPath: "/customization",
62
+ destPath: ""
63
+ }
64
+ ],
65
+ "www.wixapis.com": [
66
+ {
67
+ srcPath: "/stores/v3/customizations",
68
+ destPath: "/v3/customizations"
69
+ },
70
+ {
71
+ srcPath: "/stores/v3/bulk/customizations",
72
+ destPath: "/v3/bulk/customizations"
73
+ }
74
+ ],
75
+ "editor._base_domain_": [
76
+ {
77
+ srcPath: "/_api/customization",
78
+ destPath: ""
79
+ }
80
+ ],
81
+ "blocks._base_domain_": [
82
+ {
83
+ srcPath: "/_api/customization",
84
+ destPath: ""
85
+ }
86
+ ],
87
+ "create.editorx": [
88
+ {
89
+ srcPath: "/_api/customization",
90
+ destPath: ""
91
+ }
92
+ ],
93
+ _: [
94
+ {
95
+ srcPath: "/_api/customization",
96
+ destPath: ""
97
+ }
98
+ ],
99
+ "*.dev.wix-code.com": [
100
+ {
101
+ srcPath: "/_api/customization",
102
+ destPath: ""
103
+ }
104
+ ]
105
+ };
106
+ return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
107
+ }
108
+ var PACKAGE_NAME = "@wix/auto_sdk_stores_customizations-v-3";
109
+ function createCustomization(payload) {
110
+ function __createCustomization({ host }) {
111
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
112
+ {
113
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
114
+ paths: [
115
+ { path: "customization.createdDate" },
116
+ { path: "customization.updatedDate" },
117
+ {
118
+ path: "customization.choicesSettings.choices.image.urlExpirationDate"
119
+ }
120
+ ]
121
+ },
122
+ {
123
+ transformFn: import_float.transformSDKFloatToRESTFloat,
124
+ paths: [
125
+ { path: "customization.choicesSettings.choices.image.focalPoint.x" },
126
+ { path: "customization.choicesSettings.choices.image.focalPoint.y" }
127
+ ]
128
+ }
129
+ ]);
130
+ const metadata = {
131
+ entityFqdn: "wix.stores.catalog.v3.customization",
132
+ method: "POST",
133
+ methodFqn: "wix.stores.catalog.customization.v3.CustomizationService.CreateCustomization",
134
+ packageName: PACKAGE_NAME,
135
+ url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({
136
+ protoPath: "/v3/customizations",
137
+ data: serializedData,
138
+ host
139
+ }),
140
+ data: serializedData,
141
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
142
+ {
143
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
144
+ paths: [
145
+ { path: "customization.createdDate" },
146
+ { path: "customization.updatedDate" },
147
+ {
148
+ path: "customization.choicesSettings.choices.image.urlExpirationDate"
149
+ }
150
+ ]
151
+ },
152
+ {
153
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
154
+ paths: [
155
+ {
156
+ path: "customization.choicesSettings.choices.image.focalPoint.x"
157
+ },
158
+ {
159
+ path: "customization.choicesSettings.choices.image.focalPoint.y"
160
+ }
161
+ ]
162
+ }
163
+ ])
164
+ };
165
+ return metadata;
166
+ }
167
+ return __createCustomization;
168
+ }
169
+ function getCustomization(payload) {
170
+ function __getCustomization({ host }) {
171
+ const metadata = {
172
+ entityFqdn: "wix.stores.catalog.v3.customization",
173
+ method: "GET",
174
+ methodFqn: "wix.stores.catalog.customization.v3.CustomizationService.GetCustomization",
175
+ packageName: PACKAGE_NAME,
176
+ url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({
177
+ protoPath: "/v3/customizations/{customizationId}",
178
+ data: payload,
179
+ host
180
+ }),
181
+ params: (0, import_rest_modules.toURLSearchParams)(payload),
182
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
183
+ {
184
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
185
+ paths: [
186
+ { path: "customization.createdDate" },
187
+ { path: "customization.updatedDate" },
188
+ {
189
+ path: "customization.choicesSettings.choices.image.urlExpirationDate"
190
+ }
191
+ ]
192
+ },
193
+ {
194
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
195
+ paths: [
196
+ {
197
+ path: "customization.choicesSettings.choices.image.focalPoint.x"
198
+ },
199
+ {
200
+ path: "customization.choicesSettings.choices.image.focalPoint.y"
201
+ }
202
+ ]
203
+ }
204
+ ])
205
+ };
206
+ return metadata;
207
+ }
208
+ return __getCustomization;
209
+ }
210
+ function updateCustomization(payload) {
211
+ function __updateCustomization({ host }) {
212
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
213
+ {
214
+ transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
215
+ paths: [{ path: "fieldMask" }]
216
+ },
217
+ {
218
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
219
+ paths: [
220
+ { path: "customization.createdDate" },
221
+ { path: "customization.updatedDate" },
222
+ {
223
+ path: "customization.choicesSettings.choices.image.urlExpirationDate"
224
+ }
225
+ ]
226
+ },
227
+ {
228
+ transformFn: import_float.transformSDKFloatToRESTFloat,
229
+ paths: [
230
+ { path: "customization.choicesSettings.choices.image.focalPoint.x" },
231
+ { path: "customization.choicesSettings.choices.image.focalPoint.y" }
232
+ ]
233
+ }
234
+ ]);
235
+ const metadata = {
236
+ entityFqdn: "wix.stores.catalog.v3.customization",
237
+ method: "PATCH",
238
+ methodFqn: "wix.stores.catalog.customization.v3.CustomizationService.UpdateCustomization",
239
+ packageName: PACKAGE_NAME,
240
+ url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({
241
+ protoPath: "/v3/customizations/{customization.id}",
242
+ data: serializedData,
243
+ host
244
+ }),
245
+ data: serializedData,
246
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
247
+ {
248
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
249
+ paths: [
250
+ { path: "customization.createdDate" },
251
+ { path: "customization.updatedDate" },
252
+ {
253
+ path: "customization.choicesSettings.choices.image.urlExpirationDate"
254
+ }
255
+ ]
256
+ },
257
+ {
258
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
259
+ paths: [
260
+ {
261
+ path: "customization.choicesSettings.choices.image.focalPoint.x"
262
+ },
263
+ {
264
+ path: "customization.choicesSettings.choices.image.focalPoint.y"
265
+ }
266
+ ]
267
+ }
268
+ ])
269
+ };
270
+ return metadata;
271
+ }
272
+ return __updateCustomization;
273
+ }
274
+ function deleteCustomization(payload) {
275
+ function __deleteCustomization({ host }) {
276
+ const metadata = {
277
+ entityFqdn: "wix.stores.catalog.v3.customization",
278
+ method: "DELETE",
279
+ methodFqn: "wix.stores.catalog.customization.v3.CustomizationService.DeleteCustomization",
280
+ packageName: PACKAGE_NAME,
281
+ url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({
282
+ protoPath: "/v3/customizations/{customizationId}",
283
+ data: payload,
284
+ host
285
+ }),
286
+ params: (0, import_rest_modules.toURLSearchParams)(payload)
287
+ };
288
+ return metadata;
289
+ }
290
+ return __deleteCustomization;
291
+ }
292
+ function queryCustomizations(payload) {
293
+ function __queryCustomizations({ host }) {
294
+ const metadata = {
295
+ entityFqdn: "wix.stores.catalog.v3.customization",
296
+ method: "POST",
297
+ methodFqn: "wix.stores.catalog.customization.v3.CustomizationService.QueryCustomizations",
298
+ packageName: PACKAGE_NAME,
299
+ url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({
300
+ protoPath: "/v3/customizations/query",
301
+ data: payload,
302
+ host
303
+ }),
304
+ data: payload,
305
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
306
+ {
307
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
308
+ paths: [
309
+ { path: "customizations.createdDate" },
310
+ { path: "customizations.updatedDate" },
311
+ {
312
+ path: "customizations.choicesSettings.choices.image.urlExpirationDate"
313
+ }
314
+ ]
315
+ },
316
+ {
317
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
318
+ paths: [
319
+ {
320
+ path: "customizations.choicesSettings.choices.image.focalPoint.x"
321
+ },
322
+ {
323
+ path: "customizations.choicesSettings.choices.image.focalPoint.y"
324
+ }
325
+ ]
326
+ }
327
+ ])
328
+ };
329
+ return metadata;
330
+ }
331
+ return __queryCustomizations;
332
+ }
333
+ function bulkCreateCustomizations(payload) {
334
+ function __bulkCreateCustomizations({ host }) {
335
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
336
+ {
337
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
338
+ paths: [
339
+ { path: "customizations.createdDate" },
340
+ { path: "customizations.updatedDate" },
341
+ {
342
+ path: "customizations.choicesSettings.choices.image.urlExpirationDate"
343
+ }
344
+ ]
345
+ },
346
+ {
347
+ transformFn: import_float.transformSDKFloatToRESTFloat,
348
+ paths: [
349
+ { path: "customizations.choicesSettings.choices.image.focalPoint.x" },
350
+ { path: "customizations.choicesSettings.choices.image.focalPoint.y" }
351
+ ]
352
+ }
353
+ ]);
354
+ const metadata = {
355
+ entityFqdn: "wix.stores.catalog.v3.customization",
356
+ method: "POST",
357
+ methodFqn: "wix.stores.catalog.customization.v3.CustomizationService.BulkCreateCustomizations",
358
+ packageName: PACKAGE_NAME,
359
+ url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({
360
+ protoPath: "/v3/bulk/customizations/create",
361
+ data: serializedData,
362
+ host
363
+ }),
364
+ data: serializedData,
365
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
366
+ {
367
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
368
+ paths: [
369
+ { path: "results.customization.createdDate" },
370
+ { path: "results.customization.updatedDate" },
371
+ {
372
+ path: "results.customization.choicesSettings.choices.image.urlExpirationDate"
373
+ }
374
+ ]
375
+ },
376
+ {
377
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
378
+ paths: [
379
+ {
380
+ path: "results.customization.choicesSettings.choices.image.focalPoint.x"
381
+ },
382
+ {
383
+ path: "results.customization.choicesSettings.choices.image.focalPoint.y"
384
+ }
385
+ ]
386
+ }
387
+ ])
388
+ };
389
+ return metadata;
390
+ }
391
+ return __bulkCreateCustomizations;
392
+ }
393
+ function addCustomizationChoices(payload) {
394
+ function __addCustomizationChoices({ host }) {
395
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
396
+ {
397
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
398
+ paths: [{ path: "choices.image.urlExpirationDate" }]
399
+ },
400
+ {
401
+ transformFn: import_float.transformSDKFloatToRESTFloat,
402
+ paths: [
403
+ { path: "choices.image.focalPoint.x" },
404
+ { path: "choices.image.focalPoint.y" }
405
+ ]
406
+ }
407
+ ]);
408
+ const metadata = {
409
+ entityFqdn: "wix.stores.catalog.v3.customization",
410
+ method: "POST",
411
+ methodFqn: "wix.stores.catalog.customization.v3.CustomizationService.AddCustomizationChoices",
412
+ packageName: PACKAGE_NAME,
413
+ url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({
414
+ protoPath: "/v3/customizations/{customizationId}/add-choices",
415
+ data: serializedData,
416
+ host
417
+ }),
418
+ data: serializedData,
419
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
420
+ {
421
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
422
+ paths: [
423
+ { path: "customization.createdDate" },
424
+ { path: "customization.updatedDate" },
425
+ {
426
+ path: "customization.choicesSettings.choices.image.urlExpirationDate"
427
+ }
428
+ ]
429
+ },
430
+ {
431
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
432
+ paths: [
433
+ {
434
+ path: "customization.choicesSettings.choices.image.focalPoint.x"
435
+ },
436
+ {
437
+ path: "customization.choicesSettings.choices.image.focalPoint.y"
438
+ }
439
+ ]
440
+ }
441
+ ])
442
+ };
443
+ return metadata;
444
+ }
445
+ return __addCustomizationChoices;
446
+ }
447
+ function setCustomizationChoices(payload) {
448
+ function __setCustomizationChoices({ host }) {
449
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
450
+ {
451
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
452
+ paths: [{ path: "choices.image.urlExpirationDate" }]
453
+ },
454
+ {
455
+ transformFn: import_float.transformSDKFloatToRESTFloat,
456
+ paths: [
457
+ { path: "choices.image.focalPoint.x" },
458
+ { path: "choices.image.focalPoint.y" }
459
+ ]
460
+ }
461
+ ]);
462
+ const metadata = {
463
+ entityFqdn: "wix.stores.catalog.v3.customization",
464
+ method: "POST",
465
+ methodFqn: "wix.stores.catalog.customization.v3.CustomizationService.SetCustomizationChoices",
466
+ packageName: PACKAGE_NAME,
467
+ url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({
468
+ protoPath: "/v3/customizations/{customizationId}/set-choices",
469
+ data: serializedData,
470
+ host
471
+ }),
472
+ data: serializedData,
473
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
474
+ {
475
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
476
+ paths: [
477
+ { path: "customization.createdDate" },
478
+ { path: "customization.updatedDate" },
479
+ {
480
+ path: "customization.choicesSettings.choices.image.urlExpirationDate"
481
+ }
482
+ ]
483
+ },
484
+ {
485
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
486
+ paths: [
487
+ {
488
+ path: "customization.choicesSettings.choices.image.focalPoint.x"
489
+ },
490
+ {
491
+ path: "customization.choicesSettings.choices.image.focalPoint.y"
492
+ }
493
+ ]
494
+ }
495
+ ])
496
+ };
497
+ return metadata;
498
+ }
499
+ return __setCustomizationChoices;
500
+ }
501
+ function removeCustomizationChoices(payload) {
502
+ function __removeCustomizationChoices({ host }) {
503
+ const metadata = {
504
+ entityFqdn: "wix.stores.catalog.v3.customization",
505
+ method: "POST",
506
+ methodFqn: "wix.stores.catalog.customization.v3.CustomizationService.RemoveCustomizationChoices",
507
+ packageName: PACKAGE_NAME,
508
+ url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({
509
+ protoPath: "/v3/customizations/{customizationId}/remove-choices",
510
+ data: payload,
511
+ host
512
+ }),
513
+ data: payload,
514
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
515
+ {
516
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
517
+ paths: [
518
+ { path: "customization.createdDate" },
519
+ { path: "customization.updatedDate" },
520
+ {
521
+ path: "customization.choicesSettings.choices.image.urlExpirationDate"
522
+ }
523
+ ]
524
+ },
525
+ {
526
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
527
+ paths: [
528
+ {
529
+ path: "customization.choicesSettings.choices.image.focalPoint.x"
530
+ },
531
+ {
532
+ path: "customization.choicesSettings.choices.image.focalPoint.y"
533
+ }
534
+ ]
535
+ }
536
+ ])
537
+ };
538
+ return metadata;
539
+ }
540
+ return __removeCustomizationChoices;
541
+ }
542
+ function bulkAddCustomizationChoices(payload) {
543
+ function __bulkAddCustomizationChoices({ host }) {
544
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
545
+ {
546
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
547
+ paths: [
548
+ { path: "customizationsChoices.choices.image.urlExpirationDate" }
549
+ ]
550
+ },
551
+ {
552
+ transformFn: import_float.transformSDKFloatToRESTFloat,
553
+ paths: [
554
+ { path: "customizationsChoices.choices.image.focalPoint.x" },
555
+ { path: "customizationsChoices.choices.image.focalPoint.y" }
556
+ ]
557
+ }
558
+ ]);
559
+ const metadata = {
560
+ entityFqdn: "wix.stores.catalog.v3.customization",
561
+ method: "POST",
562
+ methodFqn: "wix.stores.catalog.customization.v3.CustomizationService.BulkAddCustomizationChoices",
563
+ packageName: PACKAGE_NAME,
564
+ url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({
565
+ protoPath: "/v3/bulk/customizations/add-choices",
566
+ data: serializedData,
567
+ host
568
+ }),
569
+ data: serializedData,
570
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
571
+ {
572
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
573
+ paths: [
574
+ { path: "results.customization.createdDate" },
575
+ { path: "results.customization.updatedDate" },
576
+ {
577
+ path: "results.customization.choicesSettings.choices.image.urlExpirationDate"
578
+ }
579
+ ]
580
+ },
581
+ {
582
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
583
+ paths: [
584
+ {
585
+ path: "results.customization.choicesSettings.choices.image.focalPoint.x"
586
+ },
587
+ {
588
+ path: "results.customization.choicesSettings.choices.image.focalPoint.y"
589
+ }
590
+ ]
591
+ }
592
+ ])
593
+ };
594
+ return metadata;
595
+ }
596
+ return __bulkAddCustomizationChoices;
597
+ }
598
+ function bulkUpdateCustomizations(payload) {
599
+ function __bulkUpdateCustomizations({ host }) {
600
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
601
+ {
602
+ transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
603
+ paths: [{ path: "customizations.fieldMask" }]
604
+ },
605
+ {
606
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
607
+ paths: [
608
+ { path: "customizations.customization.createdDate" },
609
+ { path: "customizations.customization.updatedDate" },
610
+ {
611
+ path: "customizations.customization.choicesSettings.choices.image.urlExpirationDate"
612
+ }
613
+ ]
614
+ },
615
+ {
616
+ transformFn: import_float.transformSDKFloatToRESTFloat,
617
+ paths: [
618
+ {
619
+ path: "customizations.customization.choicesSettings.choices.image.focalPoint.x"
620
+ },
621
+ {
622
+ path: "customizations.customization.choicesSettings.choices.image.focalPoint.y"
623
+ }
624
+ ]
625
+ }
626
+ ]);
627
+ const metadata = {
628
+ entityFqdn: "wix.stores.catalog.v3.customization",
629
+ method: "POST",
630
+ methodFqn: "wix.stores.catalog.customization.v3.CustomizationService.BulkUpdateCustomizations",
631
+ packageName: PACKAGE_NAME,
632
+ url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({
633
+ protoPath: "/v3/bulk/customizations/update",
634
+ data: serializedData,
635
+ host
636
+ }),
637
+ data: serializedData,
638
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
639
+ {
640
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
641
+ paths: [
642
+ { path: "results.customization.createdDate" },
643
+ { path: "results.customization.updatedDate" },
644
+ {
645
+ path: "results.customization.choicesSettings.choices.image.urlExpirationDate"
646
+ }
647
+ ]
648
+ },
649
+ {
650
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
651
+ paths: [
652
+ {
653
+ path: "results.customization.choicesSettings.choices.image.focalPoint.x"
654
+ },
655
+ {
656
+ path: "results.customization.choicesSettings.choices.image.focalPoint.y"
657
+ }
658
+ ]
659
+ }
660
+ ])
661
+ };
662
+ return metadata;
663
+ }
664
+ return __bulkUpdateCustomizations;
665
+ }
666
+
667
+ // src/stores-catalog-v3-customization-customizations-v-3.universal.ts
668
+ var import_image = require("@wix/sdk-runtime/transformations/image");
669
+ var import_image2 = require("@wix/sdk-runtime/transformations/image");
670
+ var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
671
+ var CustomizationType = /* @__PURE__ */ ((CustomizationType2) => {
672
+ CustomizationType2["UNKNOWN_CUSTOMIZATION_TYPE"] = "UNKNOWN_CUSTOMIZATION_TYPE";
673
+ CustomizationType2["PRODUCT_OPTION"] = "PRODUCT_OPTION";
674
+ CustomizationType2["MODIFIER"] = "MODIFIER";
675
+ return CustomizationType2;
676
+ })(CustomizationType || {});
677
+ var CustomizationRenderType = /* @__PURE__ */ ((CustomizationRenderType2) => {
678
+ CustomizationRenderType2["UNKNOWN_CUSTOMIZATION_RENDER_TYPE"] = "UNKNOWN_CUSTOMIZATION_RENDER_TYPE";
679
+ CustomizationRenderType2["FREE_TEXT"] = "FREE_TEXT";
680
+ CustomizationRenderType2["TEXT_CHOICES"] = "TEXT_CHOICES";
681
+ CustomizationRenderType2["SWATCH_CHOICES"] = "SWATCH_CHOICES";
682
+ return CustomizationRenderType2;
683
+ })(CustomizationRenderType || {});
684
+ var ChoiceType = /* @__PURE__ */ ((ChoiceType2) => {
685
+ ChoiceType2["UNKNOWN_CHOICE_TYPE"] = "UNKNOWN_CHOICE_TYPE";
686
+ ChoiceType2["CHOICE_TEXT"] = "CHOICE_TEXT";
687
+ ChoiceType2["ONE_COLOR"] = "ONE_COLOR";
688
+ ChoiceType2["MULTIPLE_COLORS"] = "MULTIPLE_COLORS";
689
+ ChoiceType2["IMAGE"] = "IMAGE";
690
+ return ChoiceType2;
691
+ })(ChoiceType || {});
692
+ var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
693
+ RequestedFields2["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
694
+ RequestedFields2["ASSIGNED_PRODUCTS_COUNT"] = "ASSIGNED_PRODUCTS_COUNT";
695
+ return RequestedFields2;
696
+ })(RequestedFields || {});
697
+ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
698
+ SortOrder2["ASC"] = "ASC";
699
+ SortOrder2["DESC"] = "DESC";
700
+ return SortOrder2;
701
+ })(SortOrder || {});
702
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
703
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
704
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
705
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
706
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
707
+ WebhookIdentityType2["APP"] = "APP";
708
+ return WebhookIdentityType2;
709
+ })(WebhookIdentityType || {});
710
+ async function createCustomization2(customization) {
711
+ const { httpClient, sideEffects } = arguments[1];
712
+ const payload = (0, import_transform_paths2.transformPaths)(
713
+ (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({ customization }),
714
+ [
715
+ {
716
+ transformFn: import_image.transformSDKImageToRESTImage,
717
+ paths: [{ path: "customization.choicesSettings.choices.image" }]
718
+ }
719
+ ]
720
+ );
721
+ const reqOpts = createCustomization(payload);
722
+ sideEffects?.onSiteCall?.();
723
+ try {
724
+ const result = await httpClient.request(reqOpts);
725
+ sideEffects?.onSuccess?.(result);
726
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
727
+ (0, import_transform_paths2.transformPaths)(result.data, [
728
+ {
729
+ transformFn: import_image2.transformRESTImageToSDKImage,
730
+ paths: [{ path: "customization.choicesSettings.choices.image" }]
731
+ }
732
+ ])
733
+ )?.customization;
734
+ } catch (err) {
735
+ const transformedError = (0, import_transform_error.transformError)(
736
+ err,
737
+ {
738
+ spreadPathsToArguments: {},
739
+ explicitPathsToArguments: { customization: "$[0]" },
740
+ singleArgumentUnchanged: false
741
+ },
742
+ ["customization"]
743
+ );
744
+ sideEffects?.onError?.(err);
745
+ throw transformedError;
746
+ }
747
+ }
748
+ async function getCustomization2(customizationId, options) {
749
+ const { httpClient, sideEffects } = arguments[2];
750
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
751
+ customizationId,
752
+ fields: options?.fields
753
+ });
754
+ const reqOpts = getCustomization(payload);
755
+ sideEffects?.onSiteCall?.();
756
+ try {
757
+ const result = await httpClient.request(reqOpts);
758
+ sideEffects?.onSuccess?.(result);
759
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
760
+ (0, import_transform_paths2.transformPaths)(result.data, [
761
+ {
762
+ transformFn: import_image2.transformRESTImageToSDKImage,
763
+ paths: [{ path: "customization.choicesSettings.choices.image" }]
764
+ }
765
+ ])
766
+ )?.customization;
767
+ } catch (err) {
768
+ const transformedError = (0, import_transform_error.transformError)(
769
+ err,
770
+ {
771
+ spreadPathsToArguments: {},
772
+ explicitPathsToArguments: {
773
+ customizationId: "$[0]",
774
+ fields: "$[1].fields"
775
+ },
776
+ singleArgumentUnchanged: false
777
+ },
778
+ ["customizationId", "options"]
779
+ );
780
+ sideEffects?.onError?.(err);
781
+ throw transformedError;
782
+ }
783
+ }
784
+ async function updateCustomization2(_id, customization, options) {
785
+ const { httpClient, sideEffects } = arguments[3];
786
+ const payload = (0, import_transform_paths2.transformPaths)(
787
+ (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
788
+ customization: { ...customization, id: _id },
789
+ fields: options?.fields
790
+ }),
791
+ [
792
+ {
793
+ transformFn: import_image.transformSDKImageToRESTImage,
794
+ paths: [{ path: "customization.choicesSettings.choices.image" }]
795
+ }
796
+ ]
797
+ );
798
+ const reqOpts = updateCustomization(payload);
799
+ sideEffects?.onSiteCall?.();
800
+ try {
801
+ const result = await httpClient.request(reqOpts);
802
+ sideEffects?.onSuccess?.(result);
803
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
804
+ (0, import_transform_paths2.transformPaths)(result.data, [
805
+ {
806
+ transformFn: import_image2.transformRESTImageToSDKImage,
807
+ paths: [{ path: "customization.choicesSettings.choices.image" }]
808
+ }
809
+ ])
810
+ )?.customization;
811
+ } catch (err) {
812
+ const transformedError = (0, import_transform_error.transformError)(
813
+ err,
814
+ {
815
+ spreadPathsToArguments: { customization: "$[1]" },
816
+ explicitPathsToArguments: {
817
+ "customization.id": "$[0]",
818
+ fields: "$[2].fields"
819
+ },
820
+ singleArgumentUnchanged: false
821
+ },
822
+ ["_id", "customization", "options"]
823
+ );
824
+ sideEffects?.onError?.(err);
825
+ throw transformedError;
826
+ }
827
+ }
828
+ async function deleteCustomization2(customizationId) {
829
+ const { httpClient, sideEffects } = arguments[1];
830
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
831
+ customizationId
832
+ });
833
+ const reqOpts = deleteCustomization(payload);
834
+ sideEffects?.onSiteCall?.();
835
+ try {
836
+ const result = await httpClient.request(reqOpts);
837
+ sideEffects?.onSuccess?.(result);
838
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
839
+ } catch (err) {
840
+ const transformedError = (0, import_transform_error.transformError)(
841
+ err,
842
+ {
843
+ spreadPathsToArguments: {},
844
+ explicitPathsToArguments: { customizationId: "$[0]" },
845
+ singleArgumentUnchanged: false
846
+ },
847
+ ["customizationId"]
848
+ );
849
+ sideEffects?.onError?.(err);
850
+ throw transformedError;
851
+ }
852
+ }
853
+ function queryCustomizations2(options) {
854
+ const { httpClient, sideEffects } = arguments[1];
855
+ return (0, import_query_builder.queryBuilder)({
856
+ func: async (payload) => {
857
+ const reqOpts = queryCustomizations({
858
+ ...payload,
859
+ ...options ?? {}
860
+ });
861
+ sideEffects?.onSiteCall?.();
862
+ try {
863
+ const result = await httpClient.request(reqOpts);
864
+ sideEffects?.onSuccess?.(result);
865
+ return result;
866
+ } catch (err) {
867
+ sideEffects?.onError?.(err);
868
+ throw err;
869
+ }
870
+ },
871
+ requestTransformer: (query) => {
872
+ const args = [query, options];
873
+ return (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
874
+ ...args?.[1],
875
+ query: args?.[0]
876
+ });
877
+ },
878
+ responseTransformer: ({
879
+ data
880
+ }) => {
881
+ const transformedData = (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
882
+ (0, import_transform_paths2.transformPaths)(data, [
883
+ {
884
+ transformFn: import_image2.transformRESTImageToSDKImage,
885
+ paths: [{ path: "customizations.choicesSettings.choices.image" }]
886
+ }
887
+ ])
888
+ );
889
+ return {
890
+ items: transformedData?.customizations,
891
+ pagingMetadata: transformedData?.pagingMetadata
892
+ };
893
+ },
894
+ errorTransformer: (err) => {
895
+ const transformedError = (0, import_transform_error.transformError)(err, {
896
+ spreadPathsToArguments: {},
897
+ explicitPathsToArguments: { query: "$[0]" },
898
+ singleArgumentUnchanged: false
899
+ });
900
+ throw transformedError;
901
+ },
902
+ pagingMethod: "CURSOR",
903
+ transformationPaths: {}
904
+ });
905
+ }
906
+ async function bulkCreateCustomizations2(customizations, options) {
907
+ const { httpClient, sideEffects } = arguments[2];
908
+ const payload = (0, import_transform_paths2.transformPaths)(
909
+ (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
910
+ customizations,
911
+ returnEntity: options?.returnEntity
912
+ }),
913
+ [
914
+ {
915
+ transformFn: import_image.transformSDKImageToRESTImage,
916
+ paths: [{ path: "customizations.choicesSettings.choices.image" }]
917
+ }
918
+ ]
919
+ );
920
+ const reqOpts = bulkCreateCustomizations(payload);
921
+ sideEffects?.onSiteCall?.();
922
+ try {
923
+ const result = await httpClient.request(reqOpts);
924
+ sideEffects?.onSuccess?.(result);
925
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
926
+ (0, import_transform_paths2.transformPaths)(result.data, [
927
+ {
928
+ transformFn: import_image2.transformRESTImageToSDKImage,
929
+ paths: [
930
+ { path: "results.customization.choicesSettings.choices.image" }
931
+ ]
932
+ }
933
+ ])
934
+ );
935
+ } catch (err) {
936
+ const transformedError = (0, import_transform_error.transformError)(
937
+ err,
938
+ {
939
+ spreadPathsToArguments: {},
940
+ explicitPathsToArguments: {
941
+ customizations: "$[0]",
942
+ returnEntity: "$[1].returnEntity"
943
+ },
944
+ singleArgumentUnchanged: false
945
+ },
946
+ ["customizations", "options"]
947
+ );
948
+ sideEffects?.onError?.(err);
949
+ throw transformedError;
950
+ }
951
+ }
952
+ async function addCustomizationChoices2(customizationId, choices, options) {
953
+ const { httpClient, sideEffects } = arguments[3];
954
+ const payload = (0, import_transform_paths2.transformPaths)(
955
+ (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
956
+ customizationId,
957
+ choices,
958
+ fields: options?.fields
959
+ }),
960
+ [
961
+ {
962
+ transformFn: import_image.transformSDKImageToRESTImage,
963
+ paths: [{ path: "choices.image" }]
964
+ }
965
+ ]
966
+ );
967
+ const reqOpts = addCustomizationChoices(payload);
968
+ sideEffects?.onSiteCall?.();
969
+ try {
970
+ const result = await httpClient.request(reqOpts);
971
+ sideEffects?.onSuccess?.(result);
972
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
973
+ (0, import_transform_paths2.transformPaths)(result.data, [
974
+ {
975
+ transformFn: import_image2.transformRESTImageToSDKImage,
976
+ paths: [{ path: "customization.choicesSettings.choices.image" }]
977
+ }
978
+ ])
979
+ );
980
+ } catch (err) {
981
+ const transformedError = (0, import_transform_error.transformError)(
982
+ err,
983
+ {
984
+ spreadPathsToArguments: {},
985
+ explicitPathsToArguments: {
986
+ customizationId: "$[0]",
987
+ choices: "$[1]",
988
+ fields: "$[2].fields"
989
+ },
990
+ singleArgumentUnchanged: false
991
+ },
992
+ ["customizationId", "choices", "options"]
993
+ );
994
+ sideEffects?.onError?.(err);
995
+ throw transformedError;
996
+ }
997
+ }
998
+ async function setCustomizationChoices2(customizationId, choices, options) {
999
+ const { httpClient, sideEffects } = arguments[3];
1000
+ const payload = (0, import_transform_paths2.transformPaths)(
1001
+ (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
1002
+ customizationId,
1003
+ choices,
1004
+ fields: options?.fields
1005
+ }),
1006
+ [
1007
+ {
1008
+ transformFn: import_image.transformSDKImageToRESTImage,
1009
+ paths: [{ path: "choices.image" }]
1010
+ }
1011
+ ]
1012
+ );
1013
+ const reqOpts = setCustomizationChoices(payload);
1014
+ sideEffects?.onSiteCall?.();
1015
+ try {
1016
+ const result = await httpClient.request(reqOpts);
1017
+ sideEffects?.onSuccess?.(result);
1018
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
1019
+ (0, import_transform_paths2.transformPaths)(result.data, [
1020
+ {
1021
+ transformFn: import_image2.transformRESTImageToSDKImage,
1022
+ paths: [{ path: "customization.choicesSettings.choices.image" }]
1023
+ }
1024
+ ])
1025
+ );
1026
+ } catch (err) {
1027
+ const transformedError = (0, import_transform_error.transformError)(
1028
+ err,
1029
+ {
1030
+ spreadPathsToArguments: {},
1031
+ explicitPathsToArguments: {
1032
+ customizationId: "$[0]",
1033
+ choices: "$[1]",
1034
+ fields: "$[2].fields"
1035
+ },
1036
+ singleArgumentUnchanged: false
1037
+ },
1038
+ ["customizationId", "choices", "options"]
1039
+ );
1040
+ sideEffects?.onError?.(err);
1041
+ throw transformedError;
1042
+ }
1043
+ }
1044
+ async function removeCustomizationChoices2(customizationId, choiceIds, options) {
1045
+ const { httpClient, sideEffects } = arguments[3];
1046
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
1047
+ customizationId,
1048
+ choiceIds,
1049
+ revision: options?.revision,
1050
+ fields: options?.fields
1051
+ });
1052
+ const reqOpts = removeCustomizationChoices(
1053
+ payload
1054
+ );
1055
+ sideEffects?.onSiteCall?.();
1056
+ try {
1057
+ const result = await httpClient.request(reqOpts);
1058
+ sideEffects?.onSuccess?.(result);
1059
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
1060
+ (0, import_transform_paths2.transformPaths)(result.data, [
1061
+ {
1062
+ transformFn: import_image2.transformRESTImageToSDKImage,
1063
+ paths: [{ path: "customization.choicesSettings.choices.image" }]
1064
+ }
1065
+ ])
1066
+ );
1067
+ } catch (err) {
1068
+ const transformedError = (0, import_transform_error.transformError)(
1069
+ err,
1070
+ {
1071
+ spreadPathsToArguments: {},
1072
+ explicitPathsToArguments: {
1073
+ customizationId: "$[0]",
1074
+ choiceIds: "$[1]",
1075
+ revision: "$[2].revision",
1076
+ fields: "$[2].fields"
1077
+ },
1078
+ singleArgumentUnchanged: false
1079
+ },
1080
+ ["customizationId", "choiceIds", "options"]
1081
+ );
1082
+ sideEffects?.onError?.(err);
1083
+ throw transformedError;
1084
+ }
1085
+ }
1086
+ async function bulkAddCustomizationChoices2(customizationsChoices, options) {
1087
+ const { httpClient, sideEffects } = arguments[2];
1088
+ const payload = (0, import_transform_paths2.transformPaths)(
1089
+ (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
1090
+ customizationsChoices,
1091
+ returnEntity: options?.returnEntity,
1092
+ fields: options?.fields
1093
+ }),
1094
+ [
1095
+ {
1096
+ transformFn: import_image.transformSDKImageToRESTImage,
1097
+ paths: [{ path: "customizationsChoices.choices.image" }]
1098
+ }
1099
+ ]
1100
+ );
1101
+ const reqOpts = bulkAddCustomizationChoices(
1102
+ payload
1103
+ );
1104
+ sideEffects?.onSiteCall?.();
1105
+ try {
1106
+ const result = await httpClient.request(reqOpts);
1107
+ sideEffects?.onSuccess?.(result);
1108
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
1109
+ (0, import_transform_paths2.transformPaths)(result.data, [
1110
+ {
1111
+ transformFn: import_image2.transformRESTImageToSDKImage,
1112
+ paths: [
1113
+ { path: "results.customization.choicesSettings.choices.image" }
1114
+ ]
1115
+ }
1116
+ ])
1117
+ );
1118
+ } catch (err) {
1119
+ const transformedError = (0, import_transform_error.transformError)(
1120
+ err,
1121
+ {
1122
+ spreadPathsToArguments: {},
1123
+ explicitPathsToArguments: {
1124
+ customizationsChoices: "$[0]",
1125
+ returnEntity: "$[1].returnEntity",
1126
+ fields: "$[1].fields"
1127
+ },
1128
+ singleArgumentUnchanged: false
1129
+ },
1130
+ ["customizationsChoices", "options"]
1131
+ );
1132
+ sideEffects?.onError?.(err);
1133
+ throw transformedError;
1134
+ }
1135
+ }
1136
+ async function bulkUpdateCustomizations2(customizations, options) {
1137
+ const { httpClient, sideEffects } = arguments[2];
1138
+ const payload = (0, import_transform_paths2.transformPaths)(
1139
+ (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
1140
+ customizations,
1141
+ returnEntity: options?.returnEntity,
1142
+ fields: options?.fields
1143
+ }),
1144
+ [
1145
+ {
1146
+ transformFn: import_image.transformSDKImageToRESTImage,
1147
+ paths: [
1148
+ {
1149
+ path: "customizations.customization.choicesSettings.choices.image"
1150
+ }
1151
+ ]
1152
+ }
1153
+ ]
1154
+ );
1155
+ const reqOpts = bulkUpdateCustomizations(payload);
1156
+ sideEffects?.onSiteCall?.();
1157
+ try {
1158
+ const result = await httpClient.request(reqOpts);
1159
+ sideEffects?.onSuccess?.(result);
1160
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
1161
+ (0, import_transform_paths2.transformPaths)(result.data, [
1162
+ {
1163
+ transformFn: import_image2.transformRESTImageToSDKImage,
1164
+ paths: [
1165
+ { path: "results.customization.choicesSettings.choices.image" }
1166
+ ]
1167
+ }
1168
+ ])
1169
+ );
1170
+ } catch (err) {
1171
+ const transformedError = (0, import_transform_error.transformError)(
1172
+ err,
1173
+ {
1174
+ spreadPathsToArguments: {},
1175
+ explicitPathsToArguments: {
1176
+ customizations: "$[0]",
1177
+ returnEntity: "$[1].returnEntity",
1178
+ fields: "$[1].fields"
1179
+ },
1180
+ singleArgumentUnchanged: false
1181
+ },
1182
+ ["customizations", "options"]
1183
+ );
1184
+ sideEffects?.onError?.(err);
1185
+ throw transformedError;
1186
+ }
1187
+ }
1188
+ // Annotate the CommonJS export names for ESM import in node:
1189
+ 0 && (module.exports = {
1190
+ ChoiceType,
1191
+ CustomizationRenderType,
1192
+ CustomizationType,
1193
+ RequestedFields,
1194
+ SortOrder,
1195
+ WebhookIdentityType,
1196
+ addCustomizationChoices,
1197
+ bulkAddCustomizationChoices,
1198
+ bulkCreateCustomizations,
1199
+ bulkUpdateCustomizations,
1200
+ createCustomization,
1201
+ deleteCustomization,
1202
+ getCustomization,
1203
+ queryCustomizations,
1204
+ removeCustomizationChoices,
1205
+ setCustomizationChoices,
1206
+ updateCustomization
1207
+ });
1208
+ //# sourceMappingURL=index.typings.js.map