@wix/auto_sdk_stores_customizations-v-3 1.0.98 → 1.0.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +4 -1
- package/build/cjs/index.js +203 -432
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +4 -1
- package/build/cjs/index.typings.js +175 -401
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +126 -313
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +4 -1
- package/build/es/index.mjs +203 -432
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +4 -1
- package/build/es/index.typings.mjs +175 -401
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +126 -313
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +4 -1
- package/build/internal/cjs/index.typings.d.ts +4 -1
- package/build/internal/es/index.d.mts +4 -1
- package/build/internal/es/index.typings.d.mts +4 -1
- package/package.json +2 -2
package/build/cjs/meta.js
CHANGED
|
@@ -53,6 +53,89 @@ var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
|
53
53
|
var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
|
|
54
54
|
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
55
55
|
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
56
|
+
var TRANSFORM_PATHS_0 = [
|
|
57
|
+
{ path: "customization.createdDate" },
|
|
58
|
+
{ path: "customization.updatedDate" },
|
|
59
|
+
{ path: "customization.choicesSettings.choices.image.urlExpirationDate" },
|
|
60
|
+
{
|
|
61
|
+
path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
62
|
+
}
|
|
63
|
+
];
|
|
64
|
+
var TRANSFORM_PATHS_1 = [
|
|
65
|
+
{ path: "customization.choicesSettings.choices.image.focalPoint.x" },
|
|
66
|
+
{ path: "customization.choicesSettings.choices.image.focalPoint.y" }
|
|
67
|
+
];
|
|
68
|
+
var TRANSFORM_PATHS_2 = [{ path: "fieldMask" }];
|
|
69
|
+
var TRANSFORM_PATHS_3 = [
|
|
70
|
+
{ path: "customizations.createdDate" },
|
|
71
|
+
{ path: "customizations.updatedDate" },
|
|
72
|
+
{ path: "customizations.choicesSettings.choices.image.urlExpirationDate" },
|
|
73
|
+
{
|
|
74
|
+
path: "customizations.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
75
|
+
}
|
|
76
|
+
];
|
|
77
|
+
var TRANSFORM_PATHS_4 = [
|
|
78
|
+
{ path: "customizations.choicesSettings.choices.image.focalPoint.x" },
|
|
79
|
+
{ path: "customizations.choicesSettings.choices.image.focalPoint.y" }
|
|
80
|
+
];
|
|
81
|
+
var TRANSFORM_PATHS_5 = [
|
|
82
|
+
{ path: "results.customization.createdDate" },
|
|
83
|
+
{ path: "results.customization.updatedDate" },
|
|
84
|
+
{
|
|
85
|
+
path: "results.customization.choicesSettings.choices.image.urlExpirationDate"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
path: "results.customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
89
|
+
}
|
|
90
|
+
];
|
|
91
|
+
var TRANSFORM_PATHS_6 = [
|
|
92
|
+
{ path: "results.customization.choicesSettings.choices.image.focalPoint.x" },
|
|
93
|
+
{ path: "results.customization.choicesSettings.choices.image.focalPoint.y" }
|
|
94
|
+
];
|
|
95
|
+
var TRANSFORM_PATHS_7 = [
|
|
96
|
+
{ path: "choices.image.urlExpirationDate" },
|
|
97
|
+
{ path: "choices.displayImage.urlExpirationDate" }
|
|
98
|
+
];
|
|
99
|
+
var TRANSFORM_PATHS_8 = [
|
|
100
|
+
{ path: "choices.image.focalPoint.x" },
|
|
101
|
+
{ path: "choices.image.focalPoint.y" }
|
|
102
|
+
];
|
|
103
|
+
var TRANSFORM_PATHS_9 = [{ path: "choices.fieldMask" }];
|
|
104
|
+
var TRANSFORM_PATHS_10 = [
|
|
105
|
+
{ path: "choices.choice.image.urlExpirationDate" },
|
|
106
|
+
{ path: "choices.choice.displayImage.urlExpirationDate" }
|
|
107
|
+
];
|
|
108
|
+
var TRANSFORM_PATHS_11 = [
|
|
109
|
+
{ path: "choices.choice.image.focalPoint.x" },
|
|
110
|
+
{ path: "choices.choice.image.focalPoint.y" }
|
|
111
|
+
];
|
|
112
|
+
var TRANSFORM_PATHS_12 = [
|
|
113
|
+
{ path: "customizationsChoices.choices.image.urlExpirationDate" },
|
|
114
|
+
{ path: "customizationsChoices.choices.displayImage.urlExpirationDate" }
|
|
115
|
+
];
|
|
116
|
+
var TRANSFORM_PATHS_13 = [
|
|
117
|
+
{ path: "customizationsChoices.choices.image.focalPoint.x" },
|
|
118
|
+
{ path: "customizationsChoices.choices.image.focalPoint.y" }
|
|
119
|
+
];
|
|
120
|
+
var TRANSFORM_PATHS_14 = [{ path: "customizations.fieldMask" }];
|
|
121
|
+
var TRANSFORM_PATHS_15 = [
|
|
122
|
+
{ path: "customizations.customization.createdDate" },
|
|
123
|
+
{ path: "customizations.customization.updatedDate" },
|
|
124
|
+
{
|
|
125
|
+
path: "customizations.customization.choicesSettings.choices.image.urlExpirationDate"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
path: "customizations.customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
129
|
+
}
|
|
130
|
+
];
|
|
131
|
+
var TRANSFORM_PATHS_16 = [
|
|
132
|
+
{
|
|
133
|
+
path: "customizations.customization.choicesSettings.choices.image.focalPoint.x"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
path: "customizations.customization.choicesSettings.choices.image.focalPoint.y"
|
|
137
|
+
}
|
|
138
|
+
];
|
|
56
139
|
function resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl(opts) {
|
|
57
140
|
const domainToMappings = {
|
|
58
141
|
"manage._base_domain_": [
|
|
@@ -110,23 +193,11 @@ function createCustomization(payload) {
|
|
|
110
193
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
111
194
|
{
|
|
112
195
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
113
|
-
paths:
|
|
114
|
-
{ path: "customization.createdDate" },
|
|
115
|
-
{ path: "customization.updatedDate" },
|
|
116
|
-
{
|
|
117
|
-
path: "customization.choicesSettings.choices.image.urlExpirationDate"
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
121
|
-
}
|
|
122
|
-
]
|
|
196
|
+
paths: TRANSFORM_PATHS_0
|
|
123
197
|
},
|
|
124
198
|
{
|
|
125
199
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
126
|
-
paths:
|
|
127
|
-
{ path: "customization.choicesSettings.choices.image.focalPoint.x" },
|
|
128
|
-
{ path: "customization.choicesSettings.choices.image.focalPoint.y" }
|
|
129
|
-
]
|
|
200
|
+
paths: TRANSFORM_PATHS_1
|
|
130
201
|
}
|
|
131
202
|
]);
|
|
132
203
|
const metadata = {
|
|
@@ -146,27 +217,11 @@ function createCustomization(payload) {
|
|
|
146
217
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
147
218
|
{
|
|
148
219
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
149
|
-
paths:
|
|
150
|
-
{ path: "customization.createdDate" },
|
|
151
|
-
{ path: "customization.updatedDate" },
|
|
152
|
-
{
|
|
153
|
-
path: "customization.choicesSettings.choices.image.urlExpirationDate"
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
157
|
-
}
|
|
158
|
-
]
|
|
220
|
+
paths: TRANSFORM_PATHS_0
|
|
159
221
|
},
|
|
160
222
|
{
|
|
161
223
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
162
|
-
paths:
|
|
163
|
-
{
|
|
164
|
-
path: "customization.choicesSettings.choices.image.focalPoint.x"
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
path: "customization.choicesSettings.choices.image.focalPoint.y"
|
|
168
|
-
}
|
|
169
|
-
]
|
|
224
|
+
paths: TRANSFORM_PATHS_1
|
|
170
225
|
}
|
|
171
226
|
])
|
|
172
227
|
};
|
|
@@ -193,27 +248,11 @@ function getCustomization(payload) {
|
|
|
193
248
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
194
249
|
{
|
|
195
250
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
196
|
-
paths:
|
|
197
|
-
{ path: "customization.createdDate" },
|
|
198
|
-
{ path: "customization.updatedDate" },
|
|
199
|
-
{
|
|
200
|
-
path: "customization.choicesSettings.choices.image.urlExpirationDate"
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
204
|
-
}
|
|
205
|
-
]
|
|
251
|
+
paths: TRANSFORM_PATHS_0
|
|
206
252
|
},
|
|
207
253
|
{
|
|
208
254
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
209
|
-
paths:
|
|
210
|
-
{
|
|
211
|
-
path: "customization.choicesSettings.choices.image.focalPoint.x"
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
path: "customization.choicesSettings.choices.image.focalPoint.y"
|
|
215
|
-
}
|
|
216
|
-
]
|
|
255
|
+
paths: TRANSFORM_PATHS_1
|
|
217
256
|
}
|
|
218
257
|
])
|
|
219
258
|
};
|
|
@@ -226,27 +265,15 @@ function updateCustomization(payload) {
|
|
|
226
265
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
227
266
|
{
|
|
228
267
|
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
229
|
-
paths:
|
|
268
|
+
paths: TRANSFORM_PATHS_2
|
|
230
269
|
},
|
|
231
270
|
{
|
|
232
271
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
233
|
-
paths:
|
|
234
|
-
{ path: "customization.createdDate" },
|
|
235
|
-
{ path: "customization.updatedDate" },
|
|
236
|
-
{
|
|
237
|
-
path: "customization.choicesSettings.choices.image.urlExpirationDate"
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
241
|
-
}
|
|
242
|
-
]
|
|
272
|
+
paths: TRANSFORM_PATHS_0
|
|
243
273
|
},
|
|
244
274
|
{
|
|
245
275
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
246
|
-
paths:
|
|
247
|
-
{ path: "customization.choicesSettings.choices.image.focalPoint.x" },
|
|
248
|
-
{ path: "customization.choicesSettings.choices.image.focalPoint.y" }
|
|
249
|
-
]
|
|
276
|
+
paths: TRANSFORM_PATHS_1
|
|
250
277
|
}
|
|
251
278
|
]);
|
|
252
279
|
const metadata = {
|
|
@@ -266,27 +293,11 @@ function updateCustomization(payload) {
|
|
|
266
293
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
267
294
|
{
|
|
268
295
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
269
|
-
paths:
|
|
270
|
-
{ path: "customization.createdDate" },
|
|
271
|
-
{ path: "customization.updatedDate" },
|
|
272
|
-
{
|
|
273
|
-
path: "customization.choicesSettings.choices.image.urlExpirationDate"
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
277
|
-
}
|
|
278
|
-
]
|
|
296
|
+
paths: TRANSFORM_PATHS_0
|
|
279
297
|
},
|
|
280
298
|
{
|
|
281
299
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
282
|
-
paths:
|
|
283
|
-
{
|
|
284
|
-
path: "customization.choicesSettings.choices.image.focalPoint.x"
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
path: "customization.choicesSettings.choices.image.focalPoint.y"
|
|
288
|
-
}
|
|
289
|
-
]
|
|
300
|
+
paths: TRANSFORM_PATHS_1
|
|
290
301
|
}
|
|
291
302
|
])
|
|
292
303
|
};
|
|
@@ -334,27 +345,11 @@ function queryCustomizations(payload) {
|
|
|
334
345
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
335
346
|
{
|
|
336
347
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
337
|
-
paths:
|
|
338
|
-
{ path: "customizations.createdDate" },
|
|
339
|
-
{ path: "customizations.updatedDate" },
|
|
340
|
-
{
|
|
341
|
-
path: "customizations.choicesSettings.choices.image.urlExpirationDate"
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
path: "customizations.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
345
|
-
}
|
|
346
|
-
]
|
|
348
|
+
paths: TRANSFORM_PATHS_3
|
|
347
349
|
},
|
|
348
350
|
{
|
|
349
351
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
350
|
-
paths:
|
|
351
|
-
{
|
|
352
|
-
path: "customizations.choicesSettings.choices.image.focalPoint.x"
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
path: "customizations.choicesSettings.choices.image.focalPoint.y"
|
|
356
|
-
}
|
|
357
|
-
]
|
|
352
|
+
paths: TRANSFORM_PATHS_4
|
|
358
353
|
}
|
|
359
354
|
]),
|
|
360
355
|
fallback: [
|
|
@@ -399,23 +394,11 @@ function bulkCreateCustomizations(payload) {
|
|
|
399
394
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
400
395
|
{
|
|
401
396
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
402
|
-
paths:
|
|
403
|
-
{ path: "customizations.createdDate" },
|
|
404
|
-
{ path: "customizations.updatedDate" },
|
|
405
|
-
{
|
|
406
|
-
path: "customizations.choicesSettings.choices.image.urlExpirationDate"
|
|
407
|
-
},
|
|
408
|
-
{
|
|
409
|
-
path: "customizations.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
410
|
-
}
|
|
411
|
-
]
|
|
397
|
+
paths: TRANSFORM_PATHS_3
|
|
412
398
|
},
|
|
413
399
|
{
|
|
414
400
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
415
|
-
paths:
|
|
416
|
-
{ path: "customizations.choicesSettings.choices.image.focalPoint.x" },
|
|
417
|
-
{ path: "customizations.choicesSettings.choices.image.focalPoint.y" }
|
|
418
|
-
]
|
|
401
|
+
paths: TRANSFORM_PATHS_4
|
|
419
402
|
}
|
|
420
403
|
]);
|
|
421
404
|
const metadata = {
|
|
@@ -435,27 +418,11 @@ function bulkCreateCustomizations(payload) {
|
|
|
435
418
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
436
419
|
{
|
|
437
420
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
438
|
-
paths:
|
|
439
|
-
{ path: "results.customization.createdDate" },
|
|
440
|
-
{ path: "results.customization.updatedDate" },
|
|
441
|
-
{
|
|
442
|
-
path: "results.customization.choicesSettings.choices.image.urlExpirationDate"
|
|
443
|
-
},
|
|
444
|
-
{
|
|
445
|
-
path: "results.customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
446
|
-
}
|
|
447
|
-
]
|
|
421
|
+
paths: TRANSFORM_PATHS_5
|
|
448
422
|
},
|
|
449
423
|
{
|
|
450
424
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
451
|
-
paths:
|
|
452
|
-
{
|
|
453
|
-
path: "results.customization.choicesSettings.choices.image.focalPoint.x"
|
|
454
|
-
},
|
|
455
|
-
{
|
|
456
|
-
path: "results.customization.choicesSettings.choices.image.focalPoint.y"
|
|
457
|
-
}
|
|
458
|
-
]
|
|
425
|
+
paths: TRANSFORM_PATHS_6
|
|
459
426
|
}
|
|
460
427
|
])
|
|
461
428
|
};
|
|
@@ -468,17 +435,11 @@ function addCustomizationChoices(payload) {
|
|
|
468
435
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
469
436
|
{
|
|
470
437
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
471
|
-
paths:
|
|
472
|
-
{ path: "choices.image.urlExpirationDate" },
|
|
473
|
-
{ path: "choices.displayImage.urlExpirationDate" }
|
|
474
|
-
]
|
|
438
|
+
paths: TRANSFORM_PATHS_7
|
|
475
439
|
},
|
|
476
440
|
{
|
|
477
441
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
478
|
-
paths:
|
|
479
|
-
{ path: "choices.image.focalPoint.x" },
|
|
480
|
-
{ path: "choices.image.focalPoint.y" }
|
|
481
|
-
]
|
|
442
|
+
paths: TRANSFORM_PATHS_8
|
|
482
443
|
}
|
|
483
444
|
]);
|
|
484
445
|
const metadata = {
|
|
@@ -498,27 +459,11 @@ function addCustomizationChoices(payload) {
|
|
|
498
459
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
499
460
|
{
|
|
500
461
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
501
|
-
paths:
|
|
502
|
-
{ path: "customization.createdDate" },
|
|
503
|
-
{ path: "customization.updatedDate" },
|
|
504
|
-
{
|
|
505
|
-
path: "customization.choicesSettings.choices.image.urlExpirationDate"
|
|
506
|
-
},
|
|
507
|
-
{
|
|
508
|
-
path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
509
|
-
}
|
|
510
|
-
]
|
|
462
|
+
paths: TRANSFORM_PATHS_0
|
|
511
463
|
},
|
|
512
464
|
{
|
|
513
465
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
514
|
-
paths:
|
|
515
|
-
{
|
|
516
|
-
path: "customization.choicesSettings.choices.image.focalPoint.x"
|
|
517
|
-
},
|
|
518
|
-
{
|
|
519
|
-
path: "customization.choicesSettings.choices.image.focalPoint.y"
|
|
520
|
-
}
|
|
521
|
-
]
|
|
466
|
+
paths: TRANSFORM_PATHS_1
|
|
522
467
|
}
|
|
523
468
|
])
|
|
524
469
|
};
|
|
@@ -531,17 +476,11 @@ function setCustomizationChoices(payload) {
|
|
|
531
476
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
532
477
|
{
|
|
533
478
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
534
|
-
paths:
|
|
535
|
-
{ path: "choices.image.urlExpirationDate" },
|
|
536
|
-
{ path: "choices.displayImage.urlExpirationDate" }
|
|
537
|
-
]
|
|
479
|
+
paths: TRANSFORM_PATHS_7
|
|
538
480
|
},
|
|
539
481
|
{
|
|
540
482
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
541
|
-
paths:
|
|
542
|
-
{ path: "choices.image.focalPoint.x" },
|
|
543
|
-
{ path: "choices.image.focalPoint.y" }
|
|
544
|
-
]
|
|
483
|
+
paths: TRANSFORM_PATHS_8
|
|
545
484
|
}
|
|
546
485
|
]);
|
|
547
486
|
const metadata = {
|
|
@@ -561,27 +500,11 @@ function setCustomizationChoices(payload) {
|
|
|
561
500
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
562
501
|
{
|
|
563
502
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
564
|
-
paths:
|
|
565
|
-
{ path: "customization.createdDate" },
|
|
566
|
-
{ path: "customization.updatedDate" },
|
|
567
|
-
{
|
|
568
|
-
path: "customization.choicesSettings.choices.image.urlExpirationDate"
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
572
|
-
}
|
|
573
|
-
]
|
|
503
|
+
paths: TRANSFORM_PATHS_0
|
|
574
504
|
},
|
|
575
505
|
{
|
|
576
506
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
577
|
-
paths:
|
|
578
|
-
{
|
|
579
|
-
path: "customization.choicesSettings.choices.image.focalPoint.x"
|
|
580
|
-
},
|
|
581
|
-
{
|
|
582
|
-
path: "customization.choicesSettings.choices.image.focalPoint.y"
|
|
583
|
-
}
|
|
584
|
-
]
|
|
507
|
+
paths: TRANSFORM_PATHS_1
|
|
585
508
|
}
|
|
586
509
|
])
|
|
587
510
|
};
|
|
@@ -608,27 +531,11 @@ function removeCustomizationChoices(payload) {
|
|
|
608
531
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
609
532
|
{
|
|
610
533
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
611
|
-
paths:
|
|
612
|
-
{ path: "customization.createdDate" },
|
|
613
|
-
{ path: "customization.updatedDate" },
|
|
614
|
-
{
|
|
615
|
-
path: "customization.choicesSettings.choices.image.urlExpirationDate"
|
|
616
|
-
},
|
|
617
|
-
{
|
|
618
|
-
path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
619
|
-
}
|
|
620
|
-
]
|
|
534
|
+
paths: TRANSFORM_PATHS_0
|
|
621
535
|
},
|
|
622
536
|
{
|
|
623
537
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
624
|
-
paths:
|
|
625
|
-
{
|
|
626
|
-
path: "customization.choicesSettings.choices.image.focalPoint.x"
|
|
627
|
-
},
|
|
628
|
-
{
|
|
629
|
-
path: "customization.choicesSettings.choices.image.focalPoint.y"
|
|
630
|
-
}
|
|
631
|
-
]
|
|
538
|
+
paths: TRANSFORM_PATHS_1
|
|
632
539
|
}
|
|
633
540
|
])
|
|
634
541
|
};
|
|
@@ -641,21 +548,15 @@ function updateCustomizationChoices(payload) {
|
|
|
641
548
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
642
549
|
{
|
|
643
550
|
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
644
|
-
paths:
|
|
551
|
+
paths: TRANSFORM_PATHS_9
|
|
645
552
|
},
|
|
646
553
|
{
|
|
647
554
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
648
|
-
paths:
|
|
649
|
-
{ path: "choices.choice.image.urlExpirationDate" },
|
|
650
|
-
{ path: "choices.choice.displayImage.urlExpirationDate" }
|
|
651
|
-
]
|
|
555
|
+
paths: TRANSFORM_PATHS_10
|
|
652
556
|
},
|
|
653
557
|
{
|
|
654
558
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
655
|
-
paths:
|
|
656
|
-
{ path: "choices.choice.image.focalPoint.x" },
|
|
657
|
-
{ path: "choices.choice.image.focalPoint.y" }
|
|
658
|
-
]
|
|
559
|
+
paths: TRANSFORM_PATHS_11
|
|
659
560
|
}
|
|
660
561
|
]);
|
|
661
562
|
const metadata = {
|
|
@@ -675,27 +576,11 @@ function updateCustomizationChoices(payload) {
|
|
|
675
576
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
676
577
|
{
|
|
677
578
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
678
|
-
paths:
|
|
679
|
-
{ path: "customization.createdDate" },
|
|
680
|
-
{ path: "customization.updatedDate" },
|
|
681
|
-
{
|
|
682
|
-
path: "customization.choicesSettings.choices.image.urlExpirationDate"
|
|
683
|
-
},
|
|
684
|
-
{
|
|
685
|
-
path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
686
|
-
}
|
|
687
|
-
]
|
|
579
|
+
paths: TRANSFORM_PATHS_0
|
|
688
580
|
},
|
|
689
581
|
{
|
|
690
582
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
691
|
-
paths:
|
|
692
|
-
{
|
|
693
|
-
path: "customization.choicesSettings.choices.image.focalPoint.x"
|
|
694
|
-
},
|
|
695
|
-
{
|
|
696
|
-
path: "customization.choicesSettings.choices.image.focalPoint.y"
|
|
697
|
-
}
|
|
698
|
-
]
|
|
583
|
+
paths: TRANSFORM_PATHS_1
|
|
699
584
|
}
|
|
700
585
|
])
|
|
701
586
|
};
|
|
@@ -722,27 +607,11 @@ function reorderCustomizationChoices(payload) {
|
|
|
722
607
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
723
608
|
{
|
|
724
609
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
725
|
-
paths:
|
|
726
|
-
{ path: "customization.createdDate" },
|
|
727
|
-
{ path: "customization.updatedDate" },
|
|
728
|
-
{
|
|
729
|
-
path: "customization.choicesSettings.choices.image.urlExpirationDate"
|
|
730
|
-
},
|
|
731
|
-
{
|
|
732
|
-
path: "customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
733
|
-
}
|
|
734
|
-
]
|
|
610
|
+
paths: TRANSFORM_PATHS_0
|
|
735
611
|
},
|
|
736
612
|
{
|
|
737
613
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
738
|
-
paths:
|
|
739
|
-
{
|
|
740
|
-
path: "customization.choicesSettings.choices.image.focalPoint.x"
|
|
741
|
-
},
|
|
742
|
-
{
|
|
743
|
-
path: "customization.choicesSettings.choices.image.focalPoint.y"
|
|
744
|
-
}
|
|
745
|
-
]
|
|
614
|
+
paths: TRANSFORM_PATHS_1
|
|
746
615
|
}
|
|
747
616
|
])
|
|
748
617
|
};
|
|
@@ -755,19 +624,11 @@ function bulkAddCustomizationChoices(payload) {
|
|
|
755
624
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
756
625
|
{
|
|
757
626
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
758
|
-
paths:
|
|
759
|
-
{ path: "customizationsChoices.choices.image.urlExpirationDate" },
|
|
760
|
-
{
|
|
761
|
-
path: "customizationsChoices.choices.displayImage.urlExpirationDate"
|
|
762
|
-
}
|
|
763
|
-
]
|
|
627
|
+
paths: TRANSFORM_PATHS_12
|
|
764
628
|
},
|
|
765
629
|
{
|
|
766
630
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
767
|
-
paths:
|
|
768
|
-
{ path: "customizationsChoices.choices.image.focalPoint.x" },
|
|
769
|
-
{ path: "customizationsChoices.choices.image.focalPoint.y" }
|
|
770
|
-
]
|
|
631
|
+
paths: TRANSFORM_PATHS_13
|
|
771
632
|
}
|
|
772
633
|
]);
|
|
773
634
|
const metadata = {
|
|
@@ -787,27 +648,11 @@ function bulkAddCustomizationChoices(payload) {
|
|
|
787
648
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
788
649
|
{
|
|
789
650
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
790
|
-
paths:
|
|
791
|
-
{ path: "results.customization.createdDate" },
|
|
792
|
-
{ path: "results.customization.updatedDate" },
|
|
793
|
-
{
|
|
794
|
-
path: "results.customization.choicesSettings.choices.image.urlExpirationDate"
|
|
795
|
-
},
|
|
796
|
-
{
|
|
797
|
-
path: "results.customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
798
|
-
}
|
|
799
|
-
]
|
|
651
|
+
paths: TRANSFORM_PATHS_5
|
|
800
652
|
},
|
|
801
653
|
{
|
|
802
654
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
803
|
-
paths:
|
|
804
|
-
{
|
|
805
|
-
path: "results.customization.choicesSettings.choices.image.focalPoint.x"
|
|
806
|
-
},
|
|
807
|
-
{
|
|
808
|
-
path: "results.customization.choicesSettings.choices.image.focalPoint.y"
|
|
809
|
-
}
|
|
810
|
-
]
|
|
655
|
+
paths: TRANSFORM_PATHS_6
|
|
811
656
|
}
|
|
812
657
|
])
|
|
813
658
|
};
|
|
@@ -820,31 +665,15 @@ function bulkUpdateCustomizations(payload) {
|
|
|
820
665
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
821
666
|
{
|
|
822
667
|
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
823
|
-
paths:
|
|
668
|
+
paths: TRANSFORM_PATHS_14
|
|
824
669
|
},
|
|
825
670
|
{
|
|
826
671
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
827
|
-
paths:
|
|
828
|
-
{ path: "customizations.customization.createdDate" },
|
|
829
|
-
{ path: "customizations.customization.updatedDate" },
|
|
830
|
-
{
|
|
831
|
-
path: "customizations.customization.choicesSettings.choices.image.urlExpirationDate"
|
|
832
|
-
},
|
|
833
|
-
{
|
|
834
|
-
path: "customizations.customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
835
|
-
}
|
|
836
|
-
]
|
|
672
|
+
paths: TRANSFORM_PATHS_15
|
|
837
673
|
},
|
|
838
674
|
{
|
|
839
675
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
840
|
-
paths:
|
|
841
|
-
{
|
|
842
|
-
path: "customizations.customization.choicesSettings.choices.image.focalPoint.x"
|
|
843
|
-
},
|
|
844
|
-
{
|
|
845
|
-
path: "customizations.customization.choicesSettings.choices.image.focalPoint.y"
|
|
846
|
-
}
|
|
847
|
-
]
|
|
676
|
+
paths: TRANSFORM_PATHS_16
|
|
848
677
|
}
|
|
849
678
|
]);
|
|
850
679
|
const metadata = {
|
|
@@ -864,27 +693,11 @@ function bulkUpdateCustomizations(payload) {
|
|
|
864
693
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
865
694
|
{
|
|
866
695
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
867
|
-
paths:
|
|
868
|
-
{ path: "results.customization.createdDate" },
|
|
869
|
-
{ path: "results.customization.updatedDate" },
|
|
870
|
-
{
|
|
871
|
-
path: "results.customization.choicesSettings.choices.image.urlExpirationDate"
|
|
872
|
-
},
|
|
873
|
-
{
|
|
874
|
-
path: "results.customization.choicesSettings.choices.displayImage.urlExpirationDate"
|
|
875
|
-
}
|
|
876
|
-
]
|
|
696
|
+
paths: TRANSFORM_PATHS_5
|
|
877
697
|
},
|
|
878
698
|
{
|
|
879
699
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
880
|
-
paths:
|
|
881
|
-
{
|
|
882
|
-
path: "results.customization.choicesSettings.choices.image.focalPoint.x"
|
|
883
|
-
},
|
|
884
|
-
{
|
|
885
|
-
path: "results.customization.choicesSettings.choices.image.focalPoint.y"
|
|
886
|
-
}
|
|
887
|
-
]
|
|
700
|
+
paths: TRANSFORM_PATHS_6
|
|
888
701
|
}
|
|
889
702
|
])
|
|
890
703
|
};
|